:root {
    --black: #090909;
    --paper: #f4efe8;
    --red: #c92e23;
    --yellow: #e0ad32;
    --line: rgba(244, 239, 232, 0.34);
    --font-display: "Kanit", Impact, sans-serif;
    --font-body: "Inter", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--paper);
    background: var(--black);
    font-family: var(--font-body);
}

a {
    color: inherit;
    text-decoration: none;
}

.campaign-video,
.video-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
}

.campaign-video {
    object-fit: cover;
    object-position: center center;
}

.video-overlay {
    background:
        linear-gradient(180deg, rgba(9, 9, 9, 0.58) 0%, rgba(9, 9, 9, 0.23) 38%, rgba(9, 9, 9, 0.9) 100%),
        rgba(9, 9, 9, 0.18);
}

.video-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px);
    pointer-events: none;
}

.campaign {
    position: relative;
    z-index: 1;
    width: min(100% - 28px, 620px);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding: max(18px, env(safe-area-inset-top)) 0 max(22px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
}

.campaign-logo {
    align-self: center;
    display: block;
    width: 162px;
    height: 88px;
    overflow: hidden;
}

.campaign-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.15);
    filter: brightness(1.65) contrast(1.22);
}

.campaign-content {
    width: 100%;
    margin: auto 0;
    text-align: center;
}

.release-label {
    margin: 0 0 7px;
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

h1 {
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 13vw, 5rem);
    font-style: italic;
    font-weight: 900;
    line-height: 0.79;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: 5px 6px 0 rgba(201, 46, 35, 0.82);
}

.release-date {
    margin: 16px 0 7px;
    font-family: var(--font-display);
    font-size: clamp(1rem, 4.3vw, 1.35rem);
    font-weight: 900;
    text-transform: uppercase;
}

.countdown {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    margin-bottom: 18px;
    font-family: var(--font-display);
}

.countdown > span {
    min-width: 38px;
    display: grid;
    justify-items: center;
}

.countdown strong {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
    line-height: 1;
}

.countdown small {
    margin-top: 3px;
    color: rgba(244, 239, 232, 0.72);
    font-family: var(--font-body);
    font-size: 0.56rem;
    font-weight: 800;
    text-transform: uppercase;
}

.countdown i {
    font-size: 1.35rem;
    font-style: normal;
    line-height: 0.9;
}

.countdown-live {
    margin: 0 0 18px;
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
}

.platform-links {
    display: grid;
    grid-template-columns: repeat(4, 52px);
    gap: 14px;
    align-items: center;
    justify-content: center;
}

.platform-link {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--paper);
    transition: transform 180ms ease, color 180ms ease;
}

.platform-link:hover,
.platform-link:focus-visible {
    transform: translateY(-3px) scale(1.06);
    color: var(--yellow);
    outline: 2px solid var(--paper);
    outline-offset: 2px;
}

.platform-link svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.full-site-link {
    align-self: center;
    margin-top: 15px;
    border-bottom: 1px solid var(--paper);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sound-toggle {
    position: fixed;
    z-index: 3;
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--paper);
    border-radius: 50%;
    color: var(--paper);
    background: rgba(9, 9, 9, 0.68);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
    color: var(--black);
    background: var(--paper);
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

.sound-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sound-icon-playing {
    display: none;
}

.sound-toggle[aria-pressed="true"] .sound-icon-muted {
    display: none;
}

.sound-toggle[aria-pressed="true"] .sound-icon-playing {
    display: block;
}

@media (min-width: 768px) {
    .campaign {
        width: min(100% - 64px, 1120px);
    }

    .campaign-logo {
        width: 210px;
        height: 112px;
    }

    .campaign-content {
        width: min(720px, 72vw);
        align-self: center;
    }

    .platform-links {
        grid-template-columns: repeat(4, 58px);
        gap: 18px;
    }

    .platform-link {
        width: 58px;
        height: 58px;
    }
}

@media (max-height: 680px) {
    .campaign-logo {
        width: 138px;
        height: 72px;
    }

    h1 {
        font-size: clamp(2.4rem, 10.5vh, 3.9rem);
    }

    .release-date {
        margin-block: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .platform-link {
        transition: none;
    }
}
