:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --surface: #141414;
    --border: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --accent: #FFD700;
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
header { position: sticky; top: 0; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); z-index: 1000; }
.header-content { display: flex; justify-content: center; align-items: center; padding: 16px 24px; max-width: 1400px; margin: 0 auto; }
.logo { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 800; color: var(--text-primary); text-decoration: none; }
.logo .accent { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero { padding: 140px 0 80px; text-align: center; position: relative; background: var(--gradient-bg); }
.hero h1 { font-family: 'Poppins', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; margin-bottom: 24px; background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 50%, var(--text-primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 20px; color: var(--text-secondary); margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.search-wrapper { max-width: 600px; margin: 0 auto; position: relative; }
.search-box { width: 100%; padding: 18px 24px 18px 56px; background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius-xl); color: var(--text-primary); font-size: 16px; outline: none; transition: all 0.3s ease; }
.search-box:focus { border-color: var(--accent); }
.search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 18px; }
.stats { padding: 80px 0; background: var(--bg-secondary); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.stat-card { text-align: center; padding: 40px 24px; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); transition: all 0.3s ease; }
.stat-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.5); border-color: var(--accent); }
.stat-number { font-family: 'Poppins', sans-serif; font-size: 48px; font-weight: 800; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.stat-label { color: var(--text-secondary); font-size: 16px; font-weight: 500; }
.games-section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 32px; }
.section-title { font-family: 'Poppins', sans-serif; font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.section-subtitle { color: var(--text-secondary); font-size: 18px; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.game-card, .ad-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all 0.4s ease; position: relative; }
.game-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.5); border-color: var(--accent); }
.game-image { height: 180px; background: var(--bg-tertiary); position: relative; overflow: hidden; }
.game-image img { width: 100%; height: 100%; object-fit: cover; }
.game-info { padding: 20px; }
.game-title { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-stats { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 14px; color: var(--text-muted); }
.view-codes-btn { width: 100%; padding: 10px 20px; background: var(--gradient-gold); color: #000; border: none; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: block; text-align: center; }
.view-codes-btn:hover { transform: scale(1.05); }
.ad-banner { margin: 32px 0; padding: 20px; background: var(--surface); border: 2px dashed var(--border); border-radius: var(--radius-lg); text-align: center; color: var(--text-muted); min-height: 90px; display: flex; align-items: center; justify-content: center; }
.ad-card { display: flex; align-items: center; justify-content: center; min-height: 300px; color: var(--text-muted); font-size: 18px; text-align: center; }
footer { background: var(--bg-primary); border-top: 1px solid var(--border); padding: 60px 0 30px; margin-top: 80px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.footer-brand .accent { color: var(--accent); }
.footer-brand p { color: var(--text-secondary); line-height: 1.6; }
.footer-section h4 { font-weight: 600; margin-bottom: 16px; color: var(--accent); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border); color: var(--text-muted); }
@media (max-width: 768px) { .games-grid { grid-template-columns: 1fr; } .footer-content { grid-template-columns: 1fr; text-align: center; } }

/* === FIX FOR RESPONSIVE BANNER AD === */
.ad-banner iframe {
    max-width: 100%;
}