/* 
   Naughty Match - Premium Experience 
   (c) 2024 darLong Studios 
*/

:root {
    /* Premium Palette */
    --bg-deep: #0f0c29;
    --bg-dark: #302b63;
    --bg-plum: #24243e;

    --accent-gold: #FFD700;
    --accent-gold-dim: #C5A000;
    --accent-pink: #FF007F;
    --accent-magenta: #da006b;

    --text-white: #ffffff;
    --text-offwhite: #f0f0f5;
    --text-muted: #b0b0c0;

    --glass-surface: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 16px;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: linear-gradient(135deg, var(--bg-deep), var(--bg-dark), var(--bg-plum));
    color: var(--text-offwhite);
    font-family: var(--font-body);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-gold);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-muted);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--text-white);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    box-sizing: content-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.text-gradient-gold {
    background: linear-gradient(to right, var(--accent-gold), #FFF8DC);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-pink {
    background: linear-gradient(to right, var(--accent-pink), #ff99cc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

.section-padding-large {
    padding: var(--spacing-xl) 0;
}

.hidden-mobile {
    display: block;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-pink);
    box-shadow: 0 10px 30px rgba(255, 0, 127, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-magenta));
    color: white;
    box-shadow: 0 4px 15px rgba(218, 0, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 0, 107, 0.6);
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dim));
    color: var(--bg-deep);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.nav-logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-offwhite);
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--accent-gold);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-deep);
        padding: 2rem;
        flex-direction: column;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }
}

/* Nav Dropdown */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: var(--radius-sm);
    min-width: 260px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    color: var(--text-offwhite);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: 0.2s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
}

/* Hero Typography Fix */
.hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
    max-width: 15ch;
}

@media (min-width: 1200px) {
    .hero h1 {
        font-size: clamp(2.4rem, 2.8vw, 3.3rem);
        max-width: 15ch;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.4;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-deep) 95%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-phone {
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

.hero-phone {
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    max-width: 90%;
    margin: 0 auto;
}

.hero-phone img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .hero-badges {
        justify-content: center;
    }
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-badge i {
    color: var(--accent-gold);
}

/* Features Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 3rem 2rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-pink);
    display: inline-block;
}

/* Intimacy Levels */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .levels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .levels-grid {
        grid-template-columns: 1fr;
    }
}

.level-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    transition: 0.4s;
    background: rgba(0, 0, 0, 0.3);
}

.level-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.level-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin: 1rem 0;
    color: white;
}

.level-light .level-title {
    color: #87CEEB;
}

.level-medium .level-title {
    color: #ADFF2F;
}

.level-hot .level-title {
    color: #FFD700;
}

.level-extreme .level-title {
    color: #FF4500;
}

/* Game Modes Grid */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.mode-card {
    position: relative;
    overflow: hidden;
    height: 250px;
    border-radius: var(--radius-md);

}

.mode-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.mode-card:hover .mode-bg {
    transform: scale(1.1);
}

.mode-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    font-family: var(--font-heading);
    cursor: pointer;
    text-align: left;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-answer.open {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

/* Blog Hub */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    padding: 0;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: #050510;
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-lg);
}

.footer-links a {
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

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

.copyright {
    border-top: 1px solid #ffffff10;
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

/* =========================================
   MOBILE HERO OPTIMIZATIONS (Max Width 768px)
   ========================================= */
@media (max-width: 768px) {

    /* 1. Layout & Header */
    .hero {
        padding-top: 100px;
        /* Reduced padding from 120px */
        min-height: auto;
        display: block;
        /* Stack content naturally */
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: left;
        /* Force left align */
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-logo {
        font-size: 1.2rem;
        /* Compact logo */
    }

    /* 2. Typography */
    .hero h1 {
        font-size: clamp(2.0rem, 7vw, 2.7rem);
        line-height: 1.08;
        max-width: 18ch;
        margin-bottom: 0.5rem;
    }

    .hero h1 .text-gradient-gold {
        font-size: clamp(26px, 6vw, 38px);
        display: block;
        /* Ensure it breaks to new line */
        margin-top: 0.2rem;
    }

    .hero .tagline {
        font-size: 1rem !important;
        /* Override inline styles */
        opacity: 0.9;
        font-style: normal !important;
        /* Remove italics */
        margin-bottom: 1.5rem !important;
        text-align: left;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* 3. Content & Bullets */
    .hero ul {
        text-align: left;
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .hero ul li {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    /* 4. Trust Badges (Pills) */
    .hero-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: flex-start;
        /* Left align */
        margin-top: 1rem;
    }

    .hero-badge {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        padding: 6px 16px;
        border-radius: 50px;
        /* Pill shape */
        border: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* 5. CTAs */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn-primary {
        width: 100%;
        padding: 1rem;
        justify-content: center;
    }

    .hero-buttons .btn-secondary {
        width: 100%;
        padding: 0.9rem;
        justify-content: center;
    }

    /* 6. Phone Mockup */
    .hero-phone {
        max-width: 90%;
        margin: 2rem auto 0;
        /* Add top margin */
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
        /* Subtle shadow */
    }

    /* 7. Background Overlay */
    .hero-bg {
        filter: brightness(0.6);
        /* Darker overall */
    }

    .hero-overlay {
        background: linear-gradient(135deg, rgba(10, 8, 20, 0.9) 0%, rgba(10, 8, 20, 0.6) 100%);
    }
}