/* =========================================================
   NEW WORLD MEDIA — INTRO PAGE
   
   ========================================================= */

/* ------------------------------
   1. DESIGN TOKENS
------------------------------ */
:root {
    --bg-black: #050505;
    --bg-card: #0e0e0e;
    --bg-card-hover: #151515;

    --gold-primary: #ffd447;
    --gold-secondary: #c99755;
    --gold-light: #fff4d5;
    --gold-metal: #e9c66f;
    --gold-dim: rgba(217, 166, 93, 0.25);

    --text-white: #ffffff;
    --text-muted: #c7c0b5;

    --border-subtle: rgba(255, 212, 71, 0.16);
    --border-glow: rgba(255, 212, 71, 0.4);

    --font-main: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: "Space Grotesk", sans-serif;

    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------
   2. RESET / BASE
------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg-black);
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
    max-width: 100%;
}

/* Hide the system cursor only when the custom cursor can be used. */
@media (pointer: fine) {
    html,
    body,
    a,
    button {
        cursor: none !important;
    }
}

/* ------------------------------
   3. CUSTOM CURSOR
------------------------------ */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
    width: 24px;
    height: 24px;
    pointer-events: none;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.2s ease;
    will-change: transform;
}

.cursor svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 7px rgba(255, 212, 71, 0.6));
    transition: transform 0.2s var(--ease-smooth);
}

.cursor svg path {
    fill: var(--gold-primary);
    stroke: #ffffff;
    stroke-width: 1.6;
    stroke-linejoin: round;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

.cursor.active svg {
    transform: scale(1.25) translate(-1px, -1px);
}

.cursor.active svg path {
    fill: #ffffff;
    stroke: var(--gold-primary);
}

@media (pointer: coarse) {
    .cursor {
        display: none !important;
    }
}

/* ------------------------------
   4. INTRO BACKGROUND
------------------------------ */
.intro-page {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background-color: var(--bg-black);
    background-image: url("../images/intro-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Contrast overlay keeps text readable without hiding the artwork. */
.intro-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at center,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.38) 48%,
            rgba(0, 0, 0, 0.72) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.28),
            rgba(0, 0, 0, 0.08) 50%,
            rgba(0, 0, 0, 0.28)
        );
}

/* ------------------------------
   5. HERO LAYOUT
------------------------------ */
.intro-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(80px, 10vh, 120px) 24px;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 1080px);
    margin-inline: auto;
    text-align: center;
}

.hero-content > img {
    width: 150px;
    height: auto;
    margin: 0 0 24px;
    object-fit: contain;
    filter:
        drop-shadow(0 3px 2px rgba(0, 0, 0, 0.9))
        drop-shadow(0 0 18px rgba(255, 190, 50, 0.28));
}

/* Optional eyebrow if an h6 is added back into the HTML. */
.hero-content h6 {
    margin: 0 0 18px;
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    line-height: 1.4;
    text-transform: uppercase;
}

/* ------------------------------
   6. METALLIC 3D HERO HEADING
------------------------------ */
.hero-content h2.hero-title {
    position: relative;
    max-width: 100%;
    margin: 0 0 26px;
    color: #fff8e6;
    font-family: var(--font-heading);
    font-size: clamp(34px, 4.1vw, 70px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: clamp(-2px, -0.12vw, -0.7px);
    text-wrap: balance;

    background: linear-gradient(
        105deg,
        #fffdf5 0%,
        #fff0bd 16%,
        #d5a94b 31%,
        #fff9d9 44%,
        #ffffff 50%,
        #e6c16b 61%,
        #b77b22 76%,
        #fff0b3 91%,
        #fffdf5 100%
    );
    background-size: 220% auto;
    background-position: 100% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 1px 0 #c79c49)
        drop-shadow(0 3px 0 #79551f)
        drop-shadow(0 6px 0 #30200d)
        drop-shadow(0 12px 18px rgba(0, 0, 0, 0.95))
        drop-shadow(0 0 24px rgba(255, 190, 65, 0.2));

    animation: headingGoldShine 6s ease-in-out infinite;
}

/* Utility class if you want to apply metallic gold to other text. */
.gold-grad {
    color: var(--gold-primary);
    background: linear-gradient(
        176deg,
        #fff9d7 0%,
        #ffd447 45%,
        #c88a2b 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ------------------------------
   7. TAGLINE AND DESCRIPTION
------------------------------ */
.hero-content p {
    margin-top: 0;
    font-family: var(--font-main);
    text-align: center;
    text-wrap: pretty;
}

.hero-content .hero-tagline {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 20px;
    color: var(--gold-light);
    font-size: clamp(17px, 2vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.05px;
    text-shadow:
        0 2px 2px #000000,
        0 4px 12px rgba(0, 0, 0, 0.98),
        0 0 22px rgba(0, 0, 0, 0.85);
}

.hero-content .hero-tagline strong {
    color: #ffffff;
    font-weight: 400;
    text-shadow:
        0 1px 0 rgba(255, 212, 71, 0.4),
        0 3px 10px rgba(0, 0, 0, 1);
}

.hero-content .hero-description {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(15px, 1.45vw, 18px);
    font-weight: 400;
    line-height: 1.8;
    text-shadow:
        0 2px 3px #000000,
        0 4px 12px rgba(0, 0, 0, 0.98),
        0 0 20px rgba(0, 0, 0, 0.9);
}

.hero-content .description-highlight {
    color: #ffe7a0;
}

.hero-content .hero-description strong {
    color: #ffffff;
    font-weight: 700;
}

/* ------------------------------
   8. CTA BUTTON
------------------------------ */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.btn--gold {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 27px;
    overflow: hidden;
    border: 1px solid #c99c4e;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        #24170a 0%,
        #4a2d0f 45%,
        #76501f 100%
    );
    color: #fff0c3;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 6px 20px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(255, 190, 60, 0.08);
    transition:
        transform 0.3s var(--ease-smooth),
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.btn--gold::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.24),
        transparent
    );
    transform: rotate(22deg);
    transition: left 0.65s ease;
    pointer-events: none;
}

.btn--gold:hover {
    transform: translateY(-3px);
    border-color: #fff0bd;
    background: linear-gradient(
        135deg,
        #3a230c,
        #654116,
        #8b6228
    );
    color: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 10px 28px rgba(0, 0, 0, 0.55),
        0 0 24px rgba(255, 190, 60, 0.2);
}

.btn--gold:hover::before {
    left: 130%;
}

.btn--gold:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 5px;
}

/* ------------------------------
   9. ANIMATIONS
------------------------------ */
@keyframes headingGoldShine {
    0%,
    100% {
        background-position: 100% center;
    }

    50% {
        background-position: 0% center;
    }
}

/* ------------------------------
   10. RESPONSIVE
------------------------------ */
@media (max-width: 768px) {
    .intro-hero {
        padding: 96px 22px 72px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content > img {
        width: 120px;
        margin-bottom: 22px;
    }

    .hero-content h2.hero-title {
        margin-bottom: 20px;
        font-size: clamp(30px, 7.8vw, 44px);
        line-height: 1.16;
        letter-spacing: -0.8px;
    }

    .hero-content .hero-tagline {
        max-width: 620px;
        margin-bottom: 17px;
        font-size: 17px;
        line-height: 1.65;
    }

    .hero-content .hero-description {
        max-width: 600px;
        font-size: 15px;
        line-height: 1.75;
    }

    .hero-buttons {
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .intro-hero {
        padding: 88px 20px 56px;
    }

    .hero-content > img {
        width: 108px;
        margin-bottom: 20px;
    }

    .hero-content h2.hero-title {
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.18;
        letter-spacing: -0.65px;
    }

    .hero-content .hero-tagline {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-content .hero-description {
        font-size: 14px;
        line-height: 1.75;
    }

    .btn--gold {
        min-height: 46px;
        padding: 12px 21px;
        font-size: 11px;
        letter-spacing: 1.2px;
    }
}

/* ------------------------------
   11. REDUCED MOTION
------------------------------ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-content h2.hero-title {
        animation: none;
        background-position: 50% center;
    }

    .btn--gold,
    .btn--gold::before,
    .cursor svg,
    .cursor svg path {
        transition: none;
    }
}