/* ===================================================
   DON'T SAY GAME STUDIO - Main Site Stylesheet
   CA-165 Design / CA-222 Production Deploy
   =================================================== */

/* --- CSS VARIABLES --- */
:root {
    --bg-primary: #090C14;
    --bg-card: #121827;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --orange: #FF8A2A;
    --orange-hover: #FF9F4A;
    --purple: #9C4DFF;
    --purple-hover: #B06FFF;
    --white: #F4F4F4;
    --gray: #B5B8C5;
    --nav-bg: #080B14;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 14px;
    --container-max: 100%;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    display: block;
    height: auto;
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 72px;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 165px;
    width: auto;
    margin: -66px 0;
}

.nav-links {
    display: flex;
    gap: 48px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-links a.active {
    color: var(--orange);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.nav-socials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-icon {
    color: var(--white);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--orange);
}

.social-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: -20px 0;
}

.footer-socials .social-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: -20px 0;
}

/* --- HERO BANNER --- */
.hero {
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(9, 12, 20, 0.4) 0%,
        rgba(9, 12, 20, 0.7) 60%,
        rgba(9, 12, 20, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 24px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero-line1 {
    display: block;
    color: var(--white);
}

.hero-line2 {
    display: block;
    color: var(--orange);
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--orange) 20%, var(--orange) 80%, transparent);
    margin: 0 auto 10px;
    border-radius: 2px;
}

.hero-description {
    font-family: var(--font-body);
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 300;
    max-width: 580px;
    margin: 0 auto 16px;
    line-height: 1.5;
}

.btn-outline {
    display: inline-block;
    padding: 9px 24px;
    border: 2px solid var(--orange);
    border-radius: var(--radius);
    color: var(--orange);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.25s, color 0.25s;
}

.btn-outline:hover {
    background: var(--orange);
    color: var(--bg-primary);
}


/* --- FEATURED GAMES SECTION --- */
.featured-games {
    padding: 80px 48px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-divider-line {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    margin-top: calc(1.1em + 3px);
}

.section-header .section-divider-line:first-child {
    background: linear-gradient(90deg, transparent, var(--orange));
}

.section-header .section-divider-line:last-child {
    background: linear-gradient(90deg, var(--orange), transparent);
}

.section-title-block {
    text-align: center;
}

.section-title-block h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 300;
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* --- GAME CARD --- */
.game-card-new {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.game-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 138, 42, 0.15);
}

.card-ribbon {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.card-ribbon.orange {
    background: var(--orange);
}

.card-ribbon.purple {
    background: var(--purple);
}

.card-artwork {
    width: 100%;
    aspect-ratio: 2.5 / 1;
    overflow: hidden;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s;
}

.game-card-new:hover .card-artwork img {
    transform: scale(1.03);
}

.card-body {
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.card-body p {
    font-family: var(--font-body);
    color: var(--gray);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.platform-icons {
    display: flex;
    gap: 10px;
}

.platform-icon {
    color: var(--gray);
    display: flex;
    align-items: center;
}

.platform-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: -14px 0;
}

.card-buttons {
    display: flex;
    gap: 10px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background: var(--orange);
    color: #fff;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--orange-hover);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.btn-outline-purple {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--purple);
    color: var(--purple);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.btn-outline-purple:hover {
    background: var(--purple);
    color: #fff;
}

.btn-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    vertical-align: middle;
    margin: -15px -8px -15px 6px;
    display: inline-block;
    max-width: none;
}

.coming-soon-card:hover {
    box-shadow: 0 8px 32px rgba(156, 77, 255, 0.15);
}

/* --- STUDIO VALUES --- */
.values-section {
    padding: 60px 48px 80px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s, border-color 0.3s;
}

.value-card:hover {
    transform: translateY(-3px);
    border-color: var(--orange);
}

.value-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(255, 138, 42, 0.08);
    border: 1px solid rgba(255, 138, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    overflow: hidden;
}

.value-icon img {
    width: 150%;
    height: 150%;
    object-fit: contain;
    max-width: none;
}

.value-icon.diverse-icon img {
    width: 120%;
    height: 120%;
}

.value-icon.evolving-icon img {
    width: 120%;
    height: 120%;
}

.value-text {
    flex: 1;
    min-width: 0;
}

.value-text h4 {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.value-text p {
    font-family: var(--font-body);
    color: var(--gray);
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.5;
}

/* --- NEWSLETTER SECTION --- */
.newsletter-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 40px 24px;
}

.newsletter-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.newsletter-left h3,
.newsletter-right h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.newsletter-left p {
    color: var(--gray);
    font-size: 0.8rem;
}

.newsletter-center {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 420px;
}

.newsletter-center input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-center input::placeholder {
    color: var(--gray);
}

.newsletter-center input:focus {
    border-color: var(--orange);
}

.btn-subscribe {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-subscribe:hover {
    background: var(--orange-hover);
}

.newsletter-right {
    text-align: right;
}

.footer-socials {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
}

.footer-socials a {
    color: var(--gray);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    color: var(--orange);
}

/* --- FOOTER --- */
.site-footer {
    background: #060810;
    padding: 32px 24px;
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    margin: -45px 0;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-copyright {
    color: var(--gray);
    font-size: 0.75rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .newsletter-right {
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .newsletter-center {
        flex-direction: column;
    }
}
