:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #2c3e50;
    --light-color: #f7f9fb;
    --accent-color: #ffe66d;
    --hero-gradient: linear-gradient(135deg, #1e3c72, #f9d423);
    --header-bg: #E97462;
}

[data-theme="halloween"] {
    --primary-color: #ff9a00;
    --secondary-color: #3d0066;
    --dark-color: #000000;
    --light-color: #1a1a1a;
    --accent-color: #ff4d00;
    --hero-gradient: linear-gradient(135deg, #ff9a00, #3d0066);
    --header-bg: #8e44ad;
}

[data-theme="winter"] {
    --primary-color: #a2d2ff;
    --secondary-color: #00b4d8;
    --dark-color: #2b2d42;
    --light-color: #edf2f4;
    --accent-color: #ff6b6b;
    --hero-gradient: linear-gradient(135deg, #00b4d8, #caf0f8);
    --header-bg: #3498db;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--dark-color);
    transition: background-color 0.5s, color 0.5s;
}

/* Theme Switcher Styles */
.theme-switcher-container {
    background: rgba(0, 0, 0, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid var(--secondary-color);
}

.theme-label {
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-switcher {
    display: flex;
    gap: 12px;
    align-items: center;
}

.theme-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3px solid #fff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.theme-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.theme-btn.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

[data-theme="halloween"] .theme-label, [data-theme="winter"] .theme-label {
    color: #fff;
}

.theme-default { background: linear-gradient(135deg, #ff6b6b, #4ecdc4); }
.theme-halloween { background: linear-gradient(135deg, #ff9a00, #3d0066); }
.theme-winter { background: linear-gradient(135deg, #a2d2ff, #ffffff); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--header-bg) !important;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header {
    background-color: var(--header-bg) !important;
}

/* Hero Section */
.hero {
    background: var(--hero-gradient);
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-size: 1.2rem;
}

.btn-primary:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Bouncing Animation */
.bouncing-text {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

/* Featured Games */
.featured-games {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-color);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.game-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-thumb {
    width: 100%;
    height: 180px;
    background-color: #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-img {
    font-weight: bold;
    color: #888;
}

.game-card h3 {
    margin-bottom: 15px;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

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

/* Ad Section */
.ad-section {
    padding: 40px 0;
}

.ad-banner {
    background: #eee;
    border: 2px dashed #ccc;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 40px 0;
}

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

.footer-social a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
    .header-container {
        padding: 0 15px;
    }
    
    .nav-links {
        display: none !important;
    }

    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }

    .daily-hero-card {
        padding: 15px;
        margin: 10px;
    }
    
    .brain-icon {
        font-size: 3rem;
    }
}
* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  background: #f7f7f7;
  text-align: center;
}

.stats {
  display: flex;
  justify-content: space-around;
  margin-top: 8px;
  font-size: 14px;
}

.ad-banner {
  background: #ddd;
  padding: 10px;
  margin: 10px;
  font-size: 14px;
}