/* =========================================================
MEDIA PAGE
========================================================= */

/* =========================================================
MEDIA HEADER
========================================================= */

.media-header {
    padding: 75px 0 70px;
    max-width: 800px;
}

.media-header h1 {
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.075em;
    font-weight: 800;
    margin-top: 5px;
}

.media-header h1 span {
    display: block;
    background: linear-gradient( 100deg,#a9f8ff,#c391ff,#ff9ff8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.media-header p {
    margin-top: 25px;
    max-width: 600px;
    color: #747b87;
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
ANNOUNCEMENTS
========================================================= */

.announcement-section {
    padding-bottom: 105px;
}

.announcement-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 25px 28px;
    border-radius: 13px;
    background:linear-gradient(100deg, rgba(169,248,255,0.045), rgba(195,145,255,0.025), rgba(255,255,255,0.01));
    border: 1px solid #272b35;
    overflow: hidden;
}

.announcement-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #a9f8ff, #c391ff);
}

.announcement-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #11151b;
    border: 1px solid #2b303a;
    color: #a9f8ff;
    font-size: 18px;
    font-weight: 800;
}

.announcement-content {
    min-width: 0;
}

.announcement-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}

.announcement-badge {
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(169,248,255,0.08);
    color: #a9f8ff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.announcement-date {
    color: #4e5561;
    font-size: 9px;
    letter-spacing: 0.08em;
}

.announcement-card h3 {
    font-size: 15px;
    letter-spacing: -0.02em;
}

.announcement-card p {
    margin-top: 6px;
    max-width: 750px;
    color: #6e7580;
    font-size: 12px;
    line-height: 1.65;
}

.announcement-arrow {
    color: #555c68;
    font-size: 22px;
    transition: transform 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.announcement-card
.announcement-arrow {
    transform: translateX(5px);
    color: #a9f8ff;
}

/* =========================================================
FEATURED VIDEO
========================================================= */

.featured-section {
    padding-bottom: 110px;
}

.featured-video {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 16px;
    background: #0c0e13;
    border: 1px solid #252a33;
    cursor: pointer;
    box-shadow: 0 35px 80px rgba(0,0,0,0.35);
}

.featured-video > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-video > img {
    transform: scale(1.025);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 20%, rgba(0,0,0,0.8) 100%);
}

.featured-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(10,12,16,0.65);
    backdrop-filter: blur(12px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.featured-play span {
    margin-left: 4px;
    font-size: 19px;
}

.featured-video
.featured-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(195,145,255,0.18);
}

.featured-info {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 30px;
}

.featured-label {
    color: #a9f8ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.featured-info h3 {
    margin-top: 7px;
    max-width: 800px;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.featured-info p {
    margin-top: 7px;
    color: #a2a7b0;
    font-size: 11px;
}

/* Loaded iframe */
.featured-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================================
MEDIA LIBRARY
========================================================= */

.media-library {
    padding-bottom: 120px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

/* =========================================================
MEDIA CARD
========================================================= */

.media-card {
    overflow: hidden;
    border-radius: 13px;
    background: linear-gradient( 145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
    border: 1px solid #20242d;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.media-card {
    transform: translateY(-4px);
    border-color: #343a46;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* Thumbnail */
.media-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0b0d11;
    cursor: pointer;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-card
.media-thumbnail img {
    transform: scale(1.04);
}

/* Play */
.media-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.08);
    transition: background 0.2s ease;
}

.media-play span {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 3px;
    border-radius: 50%;
    background: rgba(10,12,16,0.72);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    font-size: 12px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.media-card
.media-play span {
    transform: scale(1.08);
    background: rgba(195,145,255,0.22);
}

/* Iframe */
.media-thumbnail iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Card info */
.media-card-info {
    padding: 17px 17px 18px;
}

.media-card-info h3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: -0.015em;
}

.media-card-info p {
    margin-top: 6px;
    color: #626975;
    font-size: 10px;
}

.media-card-info a {
    display: inline-block;
    margin-top: 14px;
    color: #858c98;
    font-size: 10px;
    transition: color 0.2s ease;
}

.media-card-info a {
    color: #a9f8ff;
}

/* =========================================================
MEDIA RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-video {
        min-height: 480px;
    }
}

@media (max-width: 700px) {

    .media-header {
        padding: 55px 0 55px;
    }

    .media-header h1 {
        font-size: 3.7rem;
    }

    .announcement-card {
        grid-template-columns: auto 1fr;
        padding: 22px;
    }

    .announcement-arrow {
        display: none;
    }

    .featured-video {
        min-height: 350px;
    }

    .featured-info {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {

    .media-header h1 {
        font-size: 3.2rem;
    }

    .featured-video {
        min-height: 280px;
        border-radius: 12px;
    }

    .featured-play {
        width: 58px;
        height: 58px;
    }

    .announcement-card {
        gap: 15px;
    }

}