/*
Theme Name: Neon Bet TH
Theme URI: https://example.com/neon-bet-th
Author: Developer
Description: Futuristic Purple & Blue Neon Cyberpunk Casino Theme
Version: 1.0
Text Domain: neon-bet-th
*/

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-bg: #1a0533;
    --secondary-bg: #0c1445;
    --neon-pink: #ff00ff;
    --neon-cyan: #00ffff;
    --neon-purple: #bf00ff;
    --text-white: #ffffff;
    --text-gray: #b8b8d4;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glow-pink: 0 0 20px rgba(255, 0, 255, 0.5), 0 0 40px rgba(255, 0, 255, 0.2);
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 40px rgba(0, 255, 255, 0.2);
}

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

body {
    font-family: 'Prompt', sans-serif;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 50%, var(--primary-bg) 100%);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(191, 0, 255, 0.03) 0%, transparent 50%);
    z-index: -1;
    animation: bgPulse 10s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Header */
.site-header {
    background: rgba(26, 5, 51, 0.9);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 30px rgba(0, 255, 255, 0.1);
}

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

.site-logo {
    font-size: 1.7rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.main-nav ul { display: flex; list-style: none; gap: 20px; }
.main-nav ul li a {
    color: var(--text-white);
    font-weight: 400;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.main-nav ul li a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.mobile-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.mobile-toggle span { width: 26px; height: 2px; background: var(--neon-cyan); border-radius: 2px; box-shadow: 0 0 5px var(--neon-cyan); }

/* Hero */
.hero-section {
    margin-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
    animation: heroGlow 5s ease-in-out infinite alternate;
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 255, 255, 0.02) 49%, rgba(0, 255, 255, 0.02) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 0, 255, 0.02) 49%, rgba(255, 0, 255, 0.02) 51%, transparent 52%);
    background-size: 60px 60px;
}

@keyframes heroGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.hero-content { position: relative; z-index: 2; text-align: center; width: 100%; padding: 80px 20px; }
.hero-content h1 {
    font-size: 3.5rem; font-weight: 900; margin-bottom: 20px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-cyan));
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: textGlow 3s linear infinite;
}
@keyframes textGlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.hero-content p { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 40px; max-width: 580px; margin-left: auto; margin-right: auto; }

.btn-primary {
    display: inline-block; padding: 15px 40px;
    background: transparent;
    color: var(--neon-cyan); font-size: 1rem; font-weight: 700;
    border-radius: 4px;
    border: 2px solid var(--neon-cyan);
    box-shadow: var(--glow-cyan), inset 0 0 20px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase; letter-spacing: 2px;
}
.btn-primary:hover {
    background: var(--neon-cyan);
    color: var(--primary-bg);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6), 0 0 80px rgba(0, 255, 255, 0.3);
}

.btn-pink {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink), inset 0 0 20px rgba(255, 0, 255, 0.1);
}
.btn-pink:hover {
    background: var(--neon-pink);
    color: var(--primary-bg);
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.6), 0 0 80px rgba(255, 0, 255, 0.3);
}

/* Features */
.features-section { padding: 100px 0; position: relative; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
    font-size: 2.5rem; font-weight: 800; margin-bottom: 15px;
    color: var(--text-white);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}
.section-title p { color: var(--text-gray); font-size: 1.05rem; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 8px; padding: 35px 25px; text-align: center;
    transition: all 0.3s ease;
    position: relative;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.feature-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { border-color: var(--neon-cyan); box-shadow: var(--glow-cyan); transform: translateY(-5px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 255, 255, 0.3); }
.feature-card p { color: var(--text-gray); font-size: 0.88rem; }

/* Games */
.games-section { padding: 100px 0; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.game-card {
    background: var(--card-bg); border-radius: 8px; overflow: hidden;
    border: 1px solid rgba(255, 0, 255, 0.15); transition: all 0.3s ease;
}
.game-card:hover { border-color: var(--neon-pink); box-shadow: var(--glow-pink); transform: translateY(-5px); }
.game-card-image {
    height: 170px;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    display: flex; align-items: center; justify-content: center; font-size: 3rem;
    position: relative;
}
.game-card-image::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
}
.game-card-content { padding: 20px; }
.game-card-content h3 { font-size: 1.05rem; margin-bottom: 8px; }
.game-card-content p { color: var(--text-gray); font-size: 0.83rem; margin-bottom: 15px; }
.game-card .btn-small {
    display: inline-block; padding: 7px 18px;
    border: 1px solid var(--neon-pink); color: var(--neon-pink);
    border-radius: 3px; font-size: 0.8rem; font-weight: 600;
    transition: all 0.3s ease;
}
.game-card .btn-small:hover { background: var(--neon-pink); color: var(--primary-bg); box-shadow: var(--glow-pink); }

/* Promotions */
.promotions-section { padding: 100px 0; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.promo-card {
    background: var(--card-bg);
    border: 1px solid rgba(191, 0, 255, 0.2); border-radius: 8px; padding: 35px;
    position: relative; overflow: hidden; transition: all 0.3s ease;
}
.promo-card::before {
    content: '';
    position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    border-radius: 8px; z-index: -1; opacity: 0;
    transition: opacity 0.3s ease;
}
.promo-card:hover::before { opacity: 0.3; }
.promo-card:hover { transform: translateY(-5px); }
.promo-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
    color: var(--text-white); padding: 4px 14px;
    border-radius: 3px; font-size: 0.75rem; font-weight: 700; margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}
.promo-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 255, 255, 0.2); }
.promo-card p { color: var(--text-gray); margin-bottom: 20px; font-size: 0.9rem; }

/* Why Section */
.why-section { padding: 100px 0; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.why-card {
    text-align: center; padding: 35px 20px;
    background: var(--card-bg); border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 8px; transition: all 0.3s ease;
}
.why-card:hover { border-color: var(--neon-cyan); box-shadow: 0 0 30px rgba(0, 255, 255, 0.1); }
.why-card .why-number {
    font-size: 2.8rem; font-weight: 900; margin-bottom: 10px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--text-white); }
.why-card p { color: var(--text-gray); font-size: 0.85rem; }

/* Footer */
.site-footer {
    background: rgba(10, 2, 25, 0.9); padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--neon-cyan); font-size: 1.05rem; margin-bottom: 18px; text-shadow: 0 0 10px rgba(0, 255, 255, 0.3); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-gray); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--neon-pink); text-shadow: 0 0 5px var(--neon-pink); }
.footer-col p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.8; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 0, 255, 0.15); color: var(--text-gray); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(26, 5, 51, 0.98); padding: 20px; border-bottom: 1px solid rgba(0, 255, 255, 0.3); backdrop-filter: blur(15px); }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 10px; }
    .mobile-toggle { display: flex; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .section-title h2 { font-size: 1.8rem; }
    .features-grid, .games-grid, .promo-grid, .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .site-logo { font-size: 1.3rem; }
    .btn-primary { padding: 12px 28px; font-size: 0.9rem; }
}
