/**
 * ThemeCentury Casino - Main Stylesheet
 * สไตล์ CSS หลักของเว็บไซต์
 */

/* ========================================
   Reset & Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Casino Las Vegas Theme Colors */
    --primary-color: #d4af37; /* Gold */
    --secondary-color: #b8860b; /* Dark Gold */
    --accent-color: #ff3333; /* Casino Red */
    --dark-color: #0a0a0a; /* Deep Black */
    --bg-dark: #1a1a1a; /* Background Dark */
    --bg-darker: #0f0f0f; /* Darker Background */
    --light-color: #ffffff;
    --gray-color: #888888;
    --gray-light: #2a2a2a; /* Dark Gray */
    --success-color: #28a745;
    --warning-color: #ffd700; /* Bright Gold */
    --danger-color: #ff3333;
    --info-color: #17a2b8;
    
    /* Casino Gradients */
    --gradient-primary: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    --gradient-red: linear-gradient(135deg, #ff3333 0%, #cc0000 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    
    /* Typography */
    --font-primary: 'Kanit', sans-serif;
    --font-secondary: 'Prompt', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    background: var(--bg-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

a:hover {
    color: var(--warning-color);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-gold);
    color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ========================================
   Header Styles
======================================== */
.site-header {
    background: var(--bg-darker);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.top-bar {
    background: var(--gradient-dark);
    color: var(--light-color);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: var(--spacing-md);
}

.contact-info a {
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    color: var(--light-color);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.main-header {
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 50px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 1200px) {
    .logo-text {
        display: none; /* ซ่อนข้อความโลโก้ในหน้าจอเล็ก */
    }
}

.main-nav {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    color: #e0e0e0;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.nav-item a i {
    display: none; /* ซ่อนไอคอนใน desktop */
}

.nav-item a:hover,
.nav-item.active a {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.header-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(184, 134, 11, 0.95)), url('../images/hero-banner.jpg') center/cover;
    color: #000;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-shadow: var(--shadow-lg);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Section Styles
======================================== */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.section-subtitle {
    font-size: 1.125rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Card Styles
======================================== */
.card {
    background: var(--bg-darker);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    border-color: var(--primary-color);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: var(--spacing-md);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.card-text {
    color: #c0c0c0;
    margin-bottom: var(--spacing-md);
}

.card-footer {
    padding: var(--spacing-md);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
}

/* ========================================
   Grid Layouts
======================================== */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ========================================
   Games Section
======================================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.game-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.game-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.game-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: var(--spacing-lg);
    color: var(--light-color);
}

.game-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.game-card-description {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ========================================
   Promotions Section
======================================== */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.promotion-card {
    background: var(--bg-darker);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    border-color: var(--primary-color);
}

.promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.promotion-content {
    padding: var(--spacing-md);
}

.promotion-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-red);
    color: var(--light-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
    text-transform: uppercase;
}

.promotion-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.promotion-description {
    color: #c0c0c0;
    margin-bottom: var(--spacing-md);
}

.promotion-date {
    font-size: 0.875rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   Feed Section
======================================== */
.feed-section {
    background: var(--bg-dark);
}

.feed-container {
    max-width: 800px;
    margin: 0 auto;
}

.feed-item {
    background: var(--bg-darker);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: var(--transition-normal);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.feed-item:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-color);
}

.feed-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.feed-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.feed-author {
    flex: 1;
}

.feed-author-name {
    font-weight: 600;
    color: var(--primary-color);
}

.feed-date {
    font-size: 0.875rem;
    color: #888;
}

.feed-content {
    color: #e0e0e0;
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.feed-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hashtag {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition-fast);
}

.hashtag:hover {
    color: var(--secondary-color);
}

/* ========================================
   Content Page Styles
======================================== */
.content-section {
    background: var(--bg-darker);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--warning-color);
}

.content-section p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: #e0e0e0;
}

.content-section ul,
.content-section ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.content-section li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

/* ========================================
   Breadcrumb
======================================== */
.breadcrumb {
    padding: var(--spacing-md) 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gray-color);
}

.breadcrumb-item a {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--gray-color);
}

/* ========================================
   Form Styles
======================================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    background: var(--bg-dark);
    color: #e0e0e0;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: var(--bg-darker);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ========================================
   Footer Styles
======================================== */
.site-footer {
    background: var(--gradient-dark);
    color: var(--light-color);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -5px 20px rgba(212, 175, 55, 0.2);
}

.footer-main {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.footer-col h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--light-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--light-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links-bottom {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links-bottom a:hover {
    color: var(--light-color);
}

/* ========================================
   Scroll to Top Button
======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.scroll-to-top.show {
    display: flex;
}

/* ========================================
   Casino Animations & Effects
======================================== */
@keyframes goldGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.5),
                     0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
                     0 0 30px rgba(255, 215, 0, 0.6),
                     0 0 40px rgba(255, 215, 0, 0.4);
    }
}

@keyframes cardShine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.casino-glow {
    animation: goldGlow 3s ease-in-out infinite;
}

/* ========================================
   Keywords & Highlights (Casino Style)
======================================== */
.keyword,
strong {
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* คีย์เวิร์ดเฉพาะแต่ละประเภท */
.keyword-baccarat {
    color: #ffd700;
    font-weight: 700;
}

.keyword-slots {
    color: #ff3333;
    font-weight: 700;
}

.keyword-lottery {
    color: #4a90e2;
    font-weight: 700;
}

.keyword-football {
    color: #2ecc71;
    font-weight: 700;
}

.keyword-poker {
    color: #e74c3c;
    font-weight: 700;
}

.keyword-fishing {
    color: #3498db;
    font-weight: 700;
}

/* เพิ่ม glow effect สำหรับ keywords */
em, .highlight {
    font-style: normal;
    color: var(--warning-color);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* ========================================
   Casino Sections Styles
======================================== */
.section-padding {
    padding: 4rem 0;
}

/* Providers Section */
.providers-section {
    background: var(--bg-dark);
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.provider-card {
    background: var(--bg-darker);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition-normal);
}

.provider-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.provider-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.provider-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0.8);
    transition: var(--transition-normal);
}

.provider-card:hover .provider-logo img {
    filter: brightness(1);
}

.provider-card h4 {
    font-size: 0.875rem;
    color: var(--primary-color);
}

/* Features Section */
.features-section {
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.3);
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-dark);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: #b0b0b0;
    font-size: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.testimonial-card {
    background: var(--bg-darker);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.testimonial-rating {
    color: var(--warning-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.testimonial-comment {
    color: #e0e0e0;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-game {
    color: #888;
    font-size: 0.875rem;
}

/* Payment Section */
.payment-section {
    background: var(--bg-darker);
    padding: 3rem 0;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.payment-card {
    background: var(--bg-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition-normal);
}

.payment-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.payment-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.payment-card span {
    color: #e0e0e0;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-gold);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(0,0,0,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.cta-description {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Badges */
.trust-badges {
    background: var(--bg-dark);
    padding: 2rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
}

.badge-item i {
    font-size: 1.5rem;
}

/* Winners Section */
.winners-section {
    background: var(--bg-darker);
}

.winners-list {
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
}

.winner-item {
    background: var(--bg-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: var(--transition-normal);
}

.winner-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.winner-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
}

.winner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.winner-info strong {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.winner-game {
    color: #888;
    font-size: 0.875rem;
}

.winner-amount {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.winner-amount strong {
    font-size: 1.5rem;
    color: var(--warning-color);
}

.winner-time {
    color: #888;
    font-size: 0.75rem;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1200px) {
    .nav-item a {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-darker);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
        padding: var(--spacing-md);
        display: none;
        border: 1px solid var(--primary-color);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item a {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .nav-item a i {
        display: inline; /* แสดงไอคอนใน mobile */
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .header-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .header-actions .btn {
        flex: 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        width: 100%;
    }
}

/* ========================================
   Utility Classes
======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.pt-1 { padding-top: var(--spacing-sm); }
.pt-2 { padding-top: var(--spacing-md); }
.pt-3 { padding-top: var(--spacing-lg); }
.pt-4 { padding-top: var(--spacing-xl); }

.pb-1 { padding-bottom: var(--spacing-sm); }
.pb-2 { padding-bottom: var(--spacing-md); }
.pb-3 { padding-bottom: var(--spacing-lg); }
.pb-4 { padding-bottom: var(--spacing-xl); }

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }

