/* 
===============================================
  CORE VISION: FRUITYBAR SLOT - PREMIUM CASINO
  BRAND: comehangplay.quest
=============================================== 
*/

:root {
    /* Backgrounds */
    --bg-primary: #121212;
    --bg-secondary: #1A1A1A;
    --bg-sections: rgba(35, 35, 35, 0.92); /* #232323 with slight transparency for layered UI */
    --bg-cards: rgba(43, 43, 43, 0.95);    /* #2B2B2B with slight transparency */

    /* Accents */
    --accent-cherry: #D64545;
    --accent-lemon: #F2D45C;
    --accent-gold: #F4A340;
    --accent-grape: #6B4FA3;
    --accent-mint: #4FBF9F;

    /* Text */
    --text-primary: #F5F5F0;
    --text-secondary: #D2D2CC;
    --text-muted: #A7A7A0;

    /* Spacing */
    --spacing-desktop: 100px;
    --spacing-tablet: 70px;
    --spacing-mobile: 50px;
}

/* =========================================
   GLOBAL RESET & TYPOGRAPHY
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* FIXED FULL-PAGE WALLPAPER SYSTEM */
    background-color: var(--bg-primary);
    background-image: url('images/premium-golden-fruit-casino-lounge-wallpaper.jpg');
    background-attachment: fixed;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--accent-lemon);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-center { text-align: center; }
.gold-text { color: var(--accent-gold); }

/* =========================================
   COMPLIANCE BANNER
========================================= */
.global-compliance {
    background-color: var(--accent-cherry);
    color: var(--text-primary);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 200;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.site-header {
    background: rgba(18, 18, 18, 0.95);
    border-bottom: 2px solid var(--accent-gold);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-transform: lowercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-gold);
}

/* =========================================
   BUTTONS
========================================= */
.btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, var(--accent-lemon) 0%, var(--accent-gold) 100%);
    color: var(--bg-primary);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: filter 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    filter: brightness(1.15);
    color: var(--bg-primary);
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
    position: relative;
    padding-top: var(--spacing-desktop);
    padding-bottom: 40px;
    text-align: center;
}

.hero-content {
    background: var(--bg-sections);
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid rgba(244, 163, 64, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    max-width: 900px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 4rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-disclaimer {
    background: var(--bg-secondary);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

/* =========================================
   CORE GAME SECTION
========================================= */
.game-section {
    padding-bottom: var(--spacing-desktop);
}

.game-wrapper {
    width: 90%; /* Desktop Priority Size */
    max-width: 1400px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: #000;
    
    /* Polished Gold Casino Frame */
    border: 8px solid var(--accent-gold);
    border-radius: 16px;
    box-shadow: 
        0 0 0 4px var(--bg-primary), 
        0 25px 60px rgba(0,0,0,0.9), 
        inset 0 0 30px rgba(244, 163, 64, 0.4);
    
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* =========================================
   FEATURES SECTION
========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-cards);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border-top: 3px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent-lemon);
}

/* =========================================
   STATISTICS SECTION
========================================= */
.stats-section {
    background: var(--bg-sections);
    border-top: 1px solid rgba(244, 163, 64, 0.3);
    border-bottom: 1px solid rgba(244, 163, 64, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* =========================================
   CTA BANNER SECTION
========================================= */
.cta-banner {
    text-align: center;
    background: var(--bg-cards);
    padding: 80px 40px;
    border-radius: 20px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    max-width: 1000px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
    background: var(--bg-primary);
    padding: 80px 0 40px;
    border-top: 4px solid var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-links-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-nav h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    color: var(--text-muted);
}

.footer-nav ul li a:hover {
    color: var(--accent-gold);
}

.footer-compliance {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-compliance p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 1000px;
    margin: 0 auto 15px;
}

.footer-compliance strong {
    color: var(--accent-cherry);
}

/* =========================================
   INNER PAGES (ABOUT, CONTACT, ETC)
========================================= */
.page-container {
    background: var(--bg-sections);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(244, 163, 64, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    color: var(--accent-lemon);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* =========================================
   CONTACT FORM
========================================= */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-gold);
    outline: none;
    background: var(--bg-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .section {
        padding: var(--spacing-tablet) 0;
    }
    .hero-section h1 {
        font-size: 3rem;
    }
    .game-wrapper {
        width: 95%; /* Tablet Priority Size */
        border-width: 6px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .main-nav {
        display: none; /* Simplification for demonstration */
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-mobile) 0;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-content {
        padding: 40px 20px;
    }
    .game-wrapper {
        width: 100%; /* Mobile Priority Size */
        border-width: 4px;
        border-radius: 12px;
    }
    .features-grid, .stats-grid, .footer-links-container {
        grid-template-columns: 1fr;
    }
    .page-container {
        padding: 30px 20px;
    }
    .global-compliance {
        font-size: 0.75rem;
        padding: 8px 10px;
    }
}