/*
Theme Name: SlotRich99 Theme
Template: generatepress
*/

:root {
    /* Colors */
    --bg: #0a0a14;
    --primary: #1a1a2e;
    --secondary: #16213e;
    --surface: #1e2a45;
    --accent: #ffd700;
    --accent2: #00c853;
    --text: #e0e0e0;
    --text-bright: #fff;
    --text-muted: #9e9e9e;
    --border: #2a3f6a;
    
    /* Gradients */
    --hero-grad: linear-gradient(135deg, #1a1a2e 0%, #0a0a14 100%);
    --gold-grad: linear-gradient(180deg, #ffd700 0%, #b8860b 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
    --glow-green: 0 0 15px rgba(0, 200, 83, 0.4);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Base Style */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;700&family=Sarabun:wght@300;400;600;700&display=swap');

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Sarabun', 'Noto Sans Thai', sans-serif;
    line-height: 1.6;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans Thai', sans-serif;
    color: var(--text-bright);
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* GeneratePress Overrides */
.separate-containers .inside-article,
.one-container .site-content,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.separate-containers .inside-right-sidebar,
.separate-containers .inside-left-sidebar {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
}

/* Header & Nav */
.site-header {
    background-color: var(--bg) !important;
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navigation {
    background-color: transparent !important;
}

.main-navigation .main-nav ul li a {
    color: var(--text-bright);
    font-weight: 500;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a {
    color: var(--accent);
    background-color: rgba(255, 215, 0, 0.1);
}

.site-logo img {
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

/* Hero Section */
.hero-section {
    background: var(--hero-grad);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-section h1 {
    color: var(--accent);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cta-btn {
    display: inline-block;
    background-color: var(--accent2);
    color: #000;
    padding: 15px 40px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--glow-green);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 200, 83, 0.7);
    background-color: #00e676;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.section-subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

/* Grids */
.features-grid, .games-grid, .promo-grid, .steps-grid {
    display: grid;
    gap: 20px;
    margin: 40px 0;
}

/* Features: 6col desktop, 2col mobile */
.features-grid {
    grid-template-columns: repeat(6, 1fr);
}

.feature-card {
    background: var(--surface);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

/* Games: 4col desktop, 2col mobile */
.games-grid {
    grid-template-columns: repeat(4, 1fr);
}

.game-card {
    background: var(--primary);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.game-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.6);
}

.game-card img {
    width: 100%;
    display: block;
}

/* Promos */
.promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.promo-card {
    background: var(--surface);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    position: relative;
}

.badge {
    background: var(--accent2);
    color: #000;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Steps */
.steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* SEO Section */
.seo-section {
    text-align: left;
    padding: 40px;
    background: var(--primary);
    border-radius: 12px;
    margin: 40px 0;
}

/* FAQ */
.faq-section .faq-item {
    background: var(--surface);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.faq-section .faq-item h3 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Blog Cards */
.site-main article {
    background: var(--surface);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid var(--border);
}

/* Sidebar & Footer */
.sidebar .widget {
    background: var(--primary);
    color: var(--text);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.site-footer {
    background-color: var(--bg) !important;
    color: var(--text-muted);
    padding: 60px 0 20px;
    border-top: 2px solid var(--border);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
}