/* Casino Joker Thai Theme - Green/Gold */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00c853;
    --primary-light: #69f0ae;
    --primary-dark: #00a844;
    --gold: #ffd700;
    --gold-dark: #ffb300;
    --dark: #0a0a0a;
    --darker: #050505;
    --card: #111111;
    --light: #ffffff;
    --gray: #888;
    --gray-light: #bbb;
    --gradient-main: linear-gradient(135deg, #00c853 0%, #00a844 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
    --gradient-dark: linear-gradient(180deg, #111 0%, #050505 100%);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Kanit', sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn--primary {
    background: var(--gradient-main);
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.4);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 200, 83, 0.6);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn--large { padding: 18px 40px; font-size: 17px; }
.btn--sm { padding: 10px 20px; font-size: 13px; }

.glow-pulse {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 200, 83, 0.5); }
    50% { box-shadow: 0 0 40px rgba(0, 200, 83, 0.8), 0 0 60px rgba(0, 200, 83, 0.4); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 200, 83, 0.2);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo img { height: 55px; }

.nav { display: flex; gap: 32px; }

.nav a {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.header__actions { display: flex; gap: 12px; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 28px;
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 10% 20%, rgba(0, 200, 83, 0.4), transparent),
        radial-gradient(2px 2px at 30% 60%, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(2px 2px at 70% 30%, rgba(0, 200, 83, 0.3), transparent),
        radial-gradient(2px 2px at 90% 80%, rgba(255, 215, 0, 0.4), transparent);
    background-size: 250px 250px;
    animation: float-particles 20s linear infinite;
}

@keyframes float-particles {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-250px) rotate(5deg); }
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.15) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation: pulse-glow 4s ease-in-out infinite;
}

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

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero__content { flex: 1; max-width: 650px; }

.hero-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--dark);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero__content h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero__content h1 .highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__content > p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero__cta { display: flex; gap: 16px; margin-bottom: 50px; flex-wrap: wrap; }

.hero__stats { display: flex; gap: 40px; }

.stat { text-align: center; }

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label { font-size: 14px; color: var(--gray); text-transform: uppercase; }

.jackpot-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid var(--primary);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.jackpot-ring {
    position: absolute;
    inset: -50%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: rotate-ring 10s linear infinite;
    opacity: 0.3;
}

@keyframes rotate-ring {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.jackpot-icon { font-size: 70px; margin-bottom: 10px; position: relative; }
.jackpot-label { display: block; font-size: 14px; color: var(--gold); font-weight: 700; letter-spacing: 3px; }
.jackpot-amount { display: block; font-size: 48px; font-weight: 900; color: var(--gold); text-shadow: 0 0 30px rgba(255, 215, 0, 0.5); margin: 10px 0; position: relative; }
.jackpot-info { display: block; color: var(--gray); margin-bottom: 20px; position: relative; }

/* Trust Section */
.trust-section {
    background: var(--card);
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 200, 83, 0.1);
}

.trust-grid { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }

.trust-item { display: flex; align-items: center; gap: 10px; color: var(--gray-light); font-size: 14px; }
.trust-icon { font-size: 22px; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.section-header p { color: var(--gray); font-size: 18px; }
.section-header.light h2, .section-header.light p { color: var(--light); }

/* Joker Slots */
.joker-slots { padding: 100px 0; background: var(--gradient-dark); }

.featured-game {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--card);
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.featured-game__image { position: relative; }
.featured-game__image img { width: 100%; height: 100%; object-fit: cover; }

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.featured-game__image:hover .play-overlay { opacity: 1; }

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--dark);
    text-decoration: none;
    transition: transform 0.3s;
}

.play-btn:hover { transform: scale(1.1); }

.featured-game__info { padding: 50px; display: flex; flex-direction: column; justify-content: center; }

.game-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    width: fit-content;
}

.game-badge.exclusive { background: var(--gradient-gold); color: var(--dark); }

.featured-game__info h3 { font-size: 34px; margin-bottom: 16px; }
.featured-game__info p { color: var(--gray-light); margin-bottom: 24px; line-height: 1.8; }

.game-meta { display: flex; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.meta-item { background: rgba(0, 200, 83, 0.15); padding: 10px 18px; border-radius: 10px; font-size: 13px; font-weight: 600; }

.slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.slot-card {
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 200, 83, 0.2);
}

.slot-card img { width: 100%; height: 180px; object-fit: cover; }

.slot-info { padding: 20px; text-align: center; }

.slot-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: var(--primary);
    color: var(--dark);
    margin-bottom: 10px;
}

.slot-badge.hot { background: #f44336; color: white; }
.slot-badge.new { background: var(--gold); color: var(--dark); }
.slot-badge.jackpot { background: var(--gradient-gold); color: var(--dark); }

.slot-info h4 { font-size: 16px; margin-bottom: 6px; }
.slot-info p { color: var(--gray); font-size: 13px; margin-bottom: 14px; }

.section-cta { text-align: center; margin-top: 50px; }

/* Live Casino */
.live-casino {
    padding: 100px 0;
    background: linear-gradient(135deg, #00c853 0%, #00a844 100%);
}

.casino-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.casino-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.casino-card:hover { transform: translateY(-5px); }

.live-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #00ff00;
    font-size: 12px;
    font-weight: 600;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.casino-icon { font-size: 50px; margin-bottom: 16px; }
.casino-card h3 { font-size: 22px; margin-bottom: 10px; }
.casino-card p { font-size: 14px; opacity: 0.9; margin-bottom: 12px; }
.players { display: block; font-size: 12px; opacity: 0.7; margin-bottom: 16px; }

/* Bonus Section */
.bonus-section { padding: 100px 0; }

.bonus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.bonus-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.bonus-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.bonus-card.featured {
    background: linear-gradient(135deg, var(--card) 0%, rgba(0, 200, 83, 0.1) 100%);
    border-color: var(--primary);
    grid-row: span 2;
}

.bonus-ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gold);
    color: var(--dark);
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
}

.bonus-icon { font-size: 50px; margin-bottom: 16px; }
.bonus-card h3 { font-size: 20px; margin-bottom: 12px; }
.bonus-amount { font-size: 48px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.bonus-card > p { color: var(--gray); font-size: 14px; margin-bottom: 20px; }

.bonus-terms { list-style: none; text-align: left; margin-bottom: 24px; }
.bonus-terms li { padding: 10px 0; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

/* All Games */
.all-games { padding: 100px 0; background: var(--card); }

.games-categories { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }

.cat-btn {
    padding: 12px 28px;
    border: 1px solid rgba(0, 200, 83, 0.3);
    background: transparent;
    color: var(--gray-light);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-family: inherit;
    font-size: 14px;
}

.cat-btn:hover, .cat-btn.active {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

.games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

.game-link { text-decoration: none; }

.game-card-mini {
    background: var(--darker);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
    text-align: center;
}

.game-card-mini:hover { transform: translateY(-5px); }
.game-card-mini img { width: 100%; height: 120px; object-fit: cover; }
.game-card-mini span { display: block; padding: 12px; color: var(--light); font-size: 13px; font-weight: 500; }

/* SEO Content */
.seo-content { padding: 80px 0; }

.content-article { max-width: 900px; margin: 0 auto; }
.content-article h2 { font-size: 34px; margin-bottom: 28px; color: var(--primary); }
.content-article h3 { font-size: 26px; margin: 44px 0 20px; }
.content-article h4 { font-size: 20px; margin: 32px 0 16px; color: var(--gold); }
.content-article p { color: var(--gray-light); margin-bottom: 20px; line-height: 1.9; }
.content-article ul, .content-article ol { padding-left: 24px; margin-bottom: 24px; }
.content-article li { color: var(--gray-light); margin-bottom: 10px; line-height: 1.8; }

.cta-box {
    background: var(--gradient-main);
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    margin-top: 60px;
}

.cta-box h4 { font-size: 30px; color: var(--dark); margin-bottom: 12px; }
.cta-box p { color: var(--dark); margin-bottom: 24px; opacity: 0.9; }

/* Payment Section */
.payment-section { padding: 50px 0; background: var(--darker); text-align: center; }
.payment-section h3 { font-size: 18px; color: var(--gray); margin-bottom: 28px; }
.payment-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.payment-item { background: var(--card); padding: 16px 32px; border-radius: 12px; font-size: 15px; }

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #001a0d 100%);
    text-align: center;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
}

.cta-content h2 { font-size: 44px; margin-bottom: 16px; }
.cta-content p { font-size: 18px; color: var(--gray-light); margin-bottom: 32px; }

/* Footer */
.footer { background: var(--darker); padding: 80px 0 30px; }

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer__brand .logo img { height: 60px; margin-bottom: 16px; }
.footer__brand p { color: var(--gray); font-size: 14px; line-height: 1.7; }

.footer-badges { display: flex; gap: 10px; margin-top: 20px; }
.footer-badges span { background: var(--card); padding: 6px 14px; border-radius: 8px; font-size: 12px; }

.footer__links h4, .footer__contact h4 { font-size: 16px; margin-bottom: 20px; color: var(--light); }
.footer__links ul { list-style: none; }
.footer__links li { margin-bottom: 12px; }
.footer__links a { color: var(--gray); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer__links a:hover { color: var(--primary); }

.footer__contact p { color: var(--gray); font-size: 14px; margin-bottom: 10px; }

.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
    width: 44px; height: 44px;
    background: var(--card);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.3s;
}
.social-links a:hover { background: var(--primary); }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Page Styles */
.page-hero { padding: 150px 0 80px; background: var(--card); text-align: center; }
.page-hero h1 { font-size: 44px; margin-bottom: 16px; }
.page-hero p { color: var(--gray); font-size: 18px; }

.page-content { padding: 80px 0; }
.page-content h2 { font-size: 28px; margin: 44px 0 20px; color: var(--primary); }
.page-content h3 { font-size: 22px; margin: 32px 0 16px; }
.page-content p, .page-content li { color: var(--gray-light); line-height: 1.8; margin-bottom: 16px; }
.page-content ul { padding-left: 28px; margin-bottom: 24px; }

/* Responsive */
@media (max-width: 1024px) {
    .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .casino-grid, .bonus-grid { grid-template-columns: repeat(2, 1fr); }
    .slots-grid { grid-template-columns: repeat(2, 1fr); }
    .games-grid { grid-template-columns: repeat(4, 1fr); }
    .featured-game { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero__content h1 { font-size: 36px; }
    .hero__stats { justify-content: center; flex-wrap: wrap; }
    .hero__cta { justify-content: center; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--darker); flex-direction: column; padding: 20px; gap: 16px; }
    .nav.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .header__actions { display: none; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .casino-grid, .bonus-grid, .slots-grid { grid-template-columns: 1fr; }
    .games-grid { grid-template-columns: repeat(3, 1fr); }
    .bonus-card.featured { grid-row: auto; }
}

@media (max-width: 576px) {
    .hero__content h1 { font-size: 28px; }
    .jackpot-amount { font-size: 36px; }
    .footer__grid { grid-template-columns: 1fr; text-align: center; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .social-links { justify-content: center; }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { gap: 20px; }
}
