/* =========================================================
   RESET & BASICS
========================================================= */

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

/* =========================================================
   HTML & ROOT
========================================================= */

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* =========================================================
   BODY
========================================================= */

body {
    background: #050505;
    color: #f2efe7;
    font-family:
        "Montserrat",
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   LINKS & FOCUS STATES
========================================================= */

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #d0aa5b;
    outline-offset: 4px;
}

/* =========================================================
   HEADER / SIDE NAV
========================================================= */

.side-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px;
    padding: 22px 55px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 100;
    pointer-events: none;
}

/* =========================================================
   GOLDEN DAWN HEADER BRAND
========================================================= */

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 170px;
    min-height: 120px;
    text-decoration: none;
    pointer-events: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 200;
}

/* =========================================================
   SUN LOGO IMAGE
========================================================= */

.nav-logo-image {
    display: block;
    width: 90px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 8px auto;
}

/* =========================================================
   GOLDEN DAWN / GAMES TEXT
========================================================= */

.nav-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    text-align: center;
    line-height: 1;
    position: relative;
    z-index: 201;
}

/* GOLDEN DAWN */

.nav-logo-golden {
    display: block;
    color: #d0aa5b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3.5px;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

/* GAMES */

.nav-logo-games {
    display: block;
    color: #f2efe7;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    line-height: 1.3;
    margin-top: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* =========================================================
   TOP NAVIGATION
========================================================= */

.side-nav nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 10px;
    pointer-events: auto;
}

.side-nav nav a {
    color: #f2efe7;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    white-space: nowrap;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.side-nav nav a:hover {
    color: #d0aa5b;
    transform: translateY(-2px);
}

/* =========================================================
   RIGHT SIDE SOCIALS
========================================================= */

.nav-social {
    position: fixed;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    z-index: 100;
    pointer-events: auto;
}

/* SOCIAL TITLE */

.social-title {
    color: #555;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

/* SOCIAL LINKS */

.nav-social a {
    color: #777;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.nav-social a:hover {
    color: #d0aa5b;
    transform: translateX(-5px);
}

/* =========================================================
   MAIN
========================================================= */

main {
    margin: 0;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 170px 6.5% 100px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 72% 50%,
            rgba(143, 109, 36, 0.12),
            transparent 35%
        ),
        #050505;
}

/* =========================================================
   HERO LARGE CIRCLE
========================================================= */

.hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(208, 170, 91, 0.08);
    border-radius: 50%;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* =========================================================
   HERO VERTICAL GOLD LINE
========================================================= */

.hero::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 180px;
    right: 55px;
    bottom: 0;
    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(208, 170, 91, 0.6),
            transparent
        );
    pointer-events: none;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

/* =========================================================
   HERO TITLE
========================================================= */

.hero h1 {
    margin: 0;
    font-size:
        clamp(
            60px,
            7vw,
            110px
        );
    line-height: 0.97;
    letter-spacing: -4px;
    font-weight: 800;
    max-width: 900px;
}

.hero h1 span {
    color: #d0aa5b;
}

/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-description {
    margin-top: 45px;
    max-width: 500px;
    color: #999;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

/* =========================================================
   DAWNOVEN
========================================================= */

.dawnoven {
    margin-top: 60px;
    color: #d0aa5b;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 6px;
}

/* =========================================================
   SECTIONS
========================================================= */

.section {
    min-height: 80vh;
    padding: 140px 12%;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

/* =========================================================
   SECTION NUMBER
========================================================= */

.section-number {
    color: #d0aa5b;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

/* =========================================================
   SECTION TITLE
========================================================= */

.section h2 {
    font-size:
        clamp(
            45px,
            6vw,
            80px
        );
    font-weight: 500;
    letter-spacing: -2px;
}

/* =========================================================
   GOLD LINE
========================================================= */

.gold-line {
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            #d0aa5b,
            rgba(208, 170, 91, 0.05)
        );
    margin: 35px 0 60px;
}

/* =========================================================
   SECTION INTRO
========================================================= */

.section-intro {
    max-width: 700px;
    font-size: 22px;
    color: #d0cdc5;
    font-weight: 400;
}

/* =========================================================
   COMPANY
========================================================= */

.company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 100px;
}

.company-grid div {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.company-grid span {
    display: block;
    color: #777;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.company-grid strong {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* =========================================================
   PRODUCTS
========================================================= */

.game-list {
    display: flex;
    flex-direction: column;
}

.game {
    display: block;
    padding: 35px 0;
    border-bottom: 1px solid #222;
    transition:
        padding 0.4s ease,
        background 0.3s ease;
}

.game-link {
    color: inherit;
    text-decoration: none;
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    width: 100%;
}

.game-link > span {
    color: #555;
    font-size: 12px;
    letter-spacing: 2px;
}

.game h3 {
    font-size:
        clamp(
            25px,
            3vw,
            45px
        );
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.game p {
    margin-top: 8px;
    color: #d0aa5b;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
}

.game:hover {
    padding-left: 20px;
}

.game:hover h3,
.game.featured h3 {
    color: #d0aa5b;
}

/* =========================================================
   PRESS
========================================================= */

.press-list {
    max-width: 900px;
}

.press-list article {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    padding: 35px 0;
    border-bottom: 1px solid #222;
}

.press-list time {
    color: #d0aa5b;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
}

.press-list h3 {
    font-size: 20px;
    font-weight: 500;
}

.press-list p {
    color: #777;
    margin-top: 8px;
    font-size: 14px;
}

/* =========================================================
   RECRUIT
========================================================= */

.recruit-section {
    min-height: 60vh;
}

.muted {
    color: #555;
    margin-top: 20px;
    font-size: 15px;
}

/* =========================================================
   SUPPORT
========================================================= */

.support-content {
    max-width: 850px;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-block {
    margin-bottom: 70px;
}

.contact-block h3 {
    color: #d0aa5b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.contact-block p {
    color: #999;
    margin-bottom: 8px;
    font-size: 15px;
}

.contact-block a {
    color: #f2efe7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-block a:hover {
    color: #d0aa5b;
}

/* =========================================================
   SEND MESSAGE
========================================================= */

.contact-button {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 24px;
    border: 1px solid rgba(208, 170, 91, 0.5);
    color: #d0aa5b;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.contact-button:hover {
    background: #d0aa5b;
    color: #050505;
    transform: translateY(-2px);
}

/* =========================================================
   LEGAL LINKS
========================================================= */

.support-links {
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.support-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #222;
    color: #f2efe7;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}

.support-links a:hover {
    color: #d0aa5b;
    padding-left: 15px;
}

.support-links a > span:last-child {
    color: #d0aa5b;
}

/* =========================================================
   SUPPORT SOCIALS
========================================================= */

.socials {
    margin-top: 90px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.socials a {
    color: #777;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: #d0aa5b;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    min-height: 180px;
    padding: 50px 12%;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
}

/* =========================================================
   TABLET RESPONSIVE (max-width: 900px)
========================================================= */

@media (max-width: 900px) {

    /* HEADER */
    .side-nav {
        height: 90px;
        padding: 18px 25px;
    }

    .nav-logo {
        width: 110px;
    }

    .nav-logo-image {
        max-height: 55px;
    }

    .side-nav nav {
        display: none;
    }

    /* SOCIALS */
    .nav-social {
        right: 25px;
        top: 50%;
        gap: 13px;
    }

    .social-title {
        font-size: 7px;
    }

    .nav-social a {
        font-size: 9px;
    }

    /* HERO */
    .hero {
        padding: 130px 8% 80px;
    }

    .hero::after {
        right: 25px;
    }

    .hero h1 {
        font-size: clamp(48px, 12vw, 80px);
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 15px;
    }

    /* SECTIONS */
    .section {
        padding: 100px 8%;
    }

    /* COMPANY */
    .company-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 60px;
    }

    /* PRODUCTS */
    .game-link {
        grid-template-columns: 55px 1fr;
    }

    /* PRESS */
    .press-list article {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* SOCIALS */
    .socials {
        flex-direction: column;
        gap: 20px;
    }

    /* FOOTER */
    footer {
        padding: 40px 8%;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

/* =========================================================
   SMALL MOBILE RESPONSIVE (max-width: 500px)
========================================================= */

@media (max-width: 500px) {

    .side-nav {
        height: 80px;
        padding: 15px 20px;
    }

    .nav-social {
        display: none; /* Hide floating socials on mobile to free up viewport */
    }

    .hero {
        padding: 110px 6% 60px;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 55px);
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
        margin-top: 25px;
    }

    .section {
        padding: 70px 6%;
    }

    .section-intro {
        font-size: 18px;
    }

    .contact-button {
        width: 100%;
        text-align: center;
    }
}
