.fenomen-page {
    position: relative;
    overflow: hidden;
    background: #1c0e08;
}
.fenomen-page > img { display: block; width: 100%; }
.fenomen-grid {
    position: absolute;
    z-index: 1;
    inset: 28% 6% 6%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 4% 4%;
}
.fenomen-card {
    position: relative;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 5px;
    border: 1px solid #e4aa55;
    border-radius: 3px;
    background: linear-gradient(145deg, #f9d891, #a45b22 15%, #f1bb61 50%, #7c3b18 85%, #eec175);
    box-shadow: 0 14px 25px #0e0708b3, inset 0 0 0 1px #48220e;
}
.fenomen-card::before {
    content: "◆";
    position: absolute;
    z-index: 3;
    top: -13px;
    left: 50%;
    padding: 0 7px;
    transform: translateX(-50%);
    color: #f6cf7d;
    font-size: 17px;
    line-height: 1;
    text-shadow: 0 1px 2px #150907, 0 0 7px #ffc87880;
}
.fenomen-screen {
    position: relative;
    min-height: 0;
    flex: 1;
    overflow: hidden;
    border: 1px solid #593117;
    background: #090708;
}
.fenomen-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 0 0 2px #f7cc7640, inset 0 0 22px #000b;
}
.fenomen-play {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: #100c0b;
    color: #ffe2a3;
    cursor: pointer;
}
.fenomen-play[hidden], .fenomen-screen video[hidden] { display: none; }
.fenomen-play::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #1b0a020f, transparent 65%, #0c040568);
    pointer-events: none;
}
.fenomen-play img,
.fenomen-screen video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fenomen-play img { transition: transform .3s ease, filter .3s ease; }
.fenomen-play:hover img,
.fenomen-play:focus-visible img { transform: scale(1.04); filter: brightness(.75); }
.fenomen-play i {
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    padding-left: 4px;
    border: 2px solid #f6cf8b;
    border-radius: 50%;
    background: #2b120cba;
    box-shadow: 0 0 0 6px #1a0c0a55, 0 7px 20px #000b;
    font-size: 20px;
    transition: background .2s ease, transform .2s ease;
}
.fenomen-play:hover i,
.fenomen-play:focus-visible i { transform: scale(1.08); background: #913d23e8; }
.fenomen-play:focus-visible { outline: 3px solid #fff1cb; outline-offset: -4px; }
.fenomen-screen video { object-fit: contain; }
.fenomen-card h3 {
    min-height: 48px;
    display: grid;
    place-items: center;
    margin: 4px 0 0;
    padding: 6px 4px;
    border: 1px solid #8f4e21;
    background: linear-gradient(180deg, #3a1b0f, #1a0e0b 62%, #2b150d);
    color: #f6d39c;
    font: 700 clamp(13px, 1.5vw, 20px)/1.15 Arial, sans-serif;
    text-align: center;
    text-shadow: 0 1px 2px #000;
}
@media (max-width: 700px) {
    body.fenomen-section-active .discord-banner { animation: none; opacity: 0; pointer-events: none; transform: translateY(14px); }
    .fenomen-page { padding: 37% 14px 27px; }
    .fenomen-page > img { position: absolute; top: 0; left: 0; }
    .fenomen-grid {
        position: relative;
        inset: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 19px 13px;
    }
    .fenomen-card { aspect-ratio: .72; }
    .fenomen-card h3 { min-height: 36px; font-size: clamp(12px, 3.3vw, 17px); }
    .fenomen-play i { width: 47px; height: 47px; font-size: 16px; }
}
@media (max-width: 360px) {
    .fenomen-page { padding-inline: 9px; }
    .fenomen-grid { gap: 16px 9px; }
}
