/* ============================================
   Aztec-Themed Social Casino Website Styles
   Color Palette: Terracotta, Gold, Deep Green, Brown, Beige, Indigo
   ============================================ */

:root {
    /* Aztec Color Palette */
    --primary-terracotta: #8B4513;
    --primary-gold: #FFD700;
    --primary-dark-gold: #DAA520;
    --accent-green: #2F4F2F;
    --accent-dark-green: #1C3A1C;
    --brown-dark: #654321;
    --brown-medium: #8B4513;
    --beige-light: #F5DEB3;
    --beige-medium: #DEB887;
    --indigo-dark: #4B0082;
    --indigo-medium: #6A0DAD;
    
    /* Background Colors */
    --bg-primary: #1a0f0a;
    --bg-secondary: #2a1f1a;
    --bg-card: #3a2f2a;
    --bg-overlay: rgba(26, 15, 10, 0.95);
    
    /* Text Colors */
    --text-primary: #F5DEB3;
    --text-secondary: #DEB887;
    --text-muted: #A0826D;
    
    /* Accent Colors */
    --accent-primary: #FFD700;
    --accent-secondary: #8B4513;
    --accent-hover: #FFA500;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ============================================
   Header Styles
   ============================================ */

.header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 2px solid var(--primary-gold);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    animation: temple-glow 3s ease-in-out infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
}

@keyframes temple-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)); }
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    background-image: url('../images/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.aztec-pattern {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 69, 19, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.aztec-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 215, 0, 0.03) 35px, rgba(255, 215, 0, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(139, 69, 19, 0.03) 35px, rgba(139, 69, 19, 0.03) 70px);
    animation: pattern-move 20s linear infinite;
}

@keyframes pattern-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(35px, 35px); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.title-line {
    display: block;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-hover), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

@keyframes text-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.8;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-dark-gold) 100%);
    color: var(--bg-primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.pulse-effect {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-md);
}

/* ============================================
   Cards
   ============================================ */

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--primary-gold);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* ============================================
   Game Cards
   ============================================ */

.game-card {
    display: flex;
    flex-direction: column;
}

.game-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
}

.game-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 15, 10, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-image {
    transform: scale(1.1);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-title {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-xs);
}

.game-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    flex: 1;
    line-height: 1.6;
}

/* ============================================
   Feature Cards
   ============================================ */

.feature-card {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   Culture & Benefits Sections
   ============================================ */

.aztec-culture,
.social-benefits {
    padding: var(--spacing-xl) 0;
}

.culture-content,
.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.culture-text,
.benefits-text {
    padding: var(--spacing-md);
}

.culture-text h2,
.benefits-text h2 {
    color: var(--primary-gold);
    margin-bottom: var(--spacing-md);
    font-size: 2rem;
}

.culture-text p,
.benefits-text p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.benefits-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.benefits-list li {
    color: var(--text-secondary);
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
}

.benefits-list li::before {
    content: '🏛️';
    position: absolute;
    left: 0;
}

.aztec-temple-visual,
.aztec-pattern-large {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

/* ============================================
   Review Cards
   ============================================ */

.review-card {
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.reviewer-name {
    font-weight: bold;
    color: var(--primary-gold);
}

.review-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-rating {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.review-game {
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.8;
    flex: 1;
    font-style: italic;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--primary-gold);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-column h4 {
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.footer-column p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-xs);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: var(--spacing-xs);
}

/* ============================================
   Modals
   ============================================ */

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 2px solid var(--primary-gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: modal-appear 0.3s ease;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.age-modal-content h2 {
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
}

.age-modal-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.age-modal-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
}

/* ============================================
   Cookie Banner
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-top: 2px solid var(--primary-gold);
    padding: var(--spacing-md);
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slide-up 0.3s ease;
}

@keyframes slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookie-content p {
    color: var(--text-secondary);
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: var(--primary-gold);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .header-content {
        position: relative;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-xl) var(--spacing-md);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease;
        z-index: 1000;
        border-left: 2px solid var(--primary-gold);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        padding: var(--spacing-sm);
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .culture-content,
    .benefits-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .age-modal-buttons {
        flex-direction: column;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .card {
        padding: var(--spacing-sm);
    }
}

