/* Hallelujah Clean - Retro Style CSS */

:root {
    /* Retro Color Palette - Vintage Casino Style */
    --primary-color: #d4af37;
    --secondary-color: #8b4513;
    --accent-color: #c9a961;
    --background-dark: #1a1a1a;
    --background-secondary: #2d2416;
    --text-light: #f5e6d3;
    --text-dark: #3a2f1f;
    --success-color: #4a7c59;
    --danger-color: #d62828;
    --border-color: #6b5b3d;
    --glow-color: #d4af37;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Header */
    --header-height: 70px;
    
    /* Typography */
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: 'Arial', sans-serif;
}

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

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    font-family: var(--font-secondary);
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 600px) {
    :root {
        --header-height: 60px;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-dark) 100%);
    border-bottom: 3px solid var(--primary-color);
    z-index: 1000;
    height: var(--header-height);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

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

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.free-badge {
    background: var(--success-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
}

.burger-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-dark) 100%);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 3px solid var(--primary-color);
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Hero Section */
.hero {
    padding-top: 120px;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: scroll;
    position: relative;
    background-size: cover;
    background-position: center top;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 36, 22, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    padding: var(--spacing-xl);
}

.hero h1 {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero {
        padding-top: 100px;
        min-height: calc(100vh - 60px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--background-dark);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-dark);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

@media (max-width: 600px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Container & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.card {
    background: var(--background-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.card-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.card-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.game-card {
    background: var(--background-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.game-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.game-info {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-info h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.game-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    line-height: 1.8;
}

.btn-play {
    background: var(--primary-color);
    color: var(--background-dark);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-play:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

@media (min-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQ Section */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: var(--spacing-md);
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-light);
    line-height: 1.8;
}

/* Disclaimer Section */
.disclaimer-section {
    background: linear-gradient(135deg, #d62828 0%, #8b0000 100%);
    color: white;
    padding: var(--spacing-xl) 0;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
}

.disclaimer-content h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.disclaimer-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-size: 1.1rem;
}

.disclaimer-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 20px;
    font-weight: bold;
    border: 2px solid white;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-dark) 100%);
    border-top: 3px solid var(--primary-color);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    color: var(--text-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Compliance Logos */
.compliance-logo {
    height: 35px !important;
    width: auto !important;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 8px;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: block;
}

.compliance-logo:hover {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.compliance-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.age-section {
    margin-bottom: var(--spacing-md);
}

.age-restriction {
    display: inline-block;
    background: var(--primary-color);
    color: var(--background-dark);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Age Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-popup-content {
    background: var(--background-secondary);
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    padding: var(--spacing-xl);
    max-width: 500px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.age-popup-content h2 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.age-popup-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: var(--spacing-md);
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.cookie-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

/* Help Resources */
.help-resources {
    margin-top: var(--spacing-md);
}

.help-resources p {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Scroll Protection */
html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

