/*
Theme Name: W69 Theme
Theme URI: https://w69vip.online
Author: W69
Author URI: https://w69vip.online
Description: W69 Online Casino & Betting - Best Online Gaming Experience in Asia
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: w69theme
*/

:root {
    --primary-color: #1a0a2e;
    --secondary-color: #2d1b4e;
    --accent-gold: #ffd700;
    --accent-red: #ff4444;
    --accent-blue: #00d4ff;
    --text-white: #ffffff;
    --text-light: #b8b8b8;
    --gradient-purple: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #4a2c7a 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    --gradient-red: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
}

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

body {
    font-family: 'Kanit', 'Noto Sans Thai', sans-serif;
    background: var(--primary-color);
    color: var(--text-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background: var(--gradient-purple);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    height: 60px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-login {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-login:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
}

.btn-register {
    background: var(--gradient-gold);
    color: var(--primary-color);
}

.btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255,215,0,0.4);
}

/* Navigation Menu */
.main-nav {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    margin-top: 10px;
    padding: 5px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 5px;
}

.nav-menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 12px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--gradient-gold);
    color: var(--primary-color);
}

.nav-menu li a img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

/* Hero Banner Slider */
.hero-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.banner-slider {
    position: relative;
    width: 100%;
}

.banner-slide {
    display: none;
    width: 100%;
}

.banner-slide.active {
    display: block;
}

.banner-slide picture {
    display: block;
    width: 100%;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: var(--accent-gold);
    width: 30px;
    border-radius: 6px;
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.banner-nav:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

@media (max-width: 768px) {
    .banner-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .banner-prev {
        left: 10px;
    }

    .banner-next {
        right: 10px;
    }
}

/* Game Categories */
.game-categories {
    padding: 40px 0;
    background: var(--gradient-purple);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.category-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,215,0,0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    background: rgba(255,215,0,0.1);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(255,215,0,0.2);
}

.category-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.category-card h3 {
    font-size: 14px;
    color: var(--text-white);
}

/* Provider Section */
.providers-section {
    padding: 40px 0;
    background: rgba(0,0,0,0.3);
}

.provider-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.provider-tab {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 8px 20px;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
}

.provider-tab:hover,
.provider-tab.active {
    background: var(--accent-gold);
    color: var(--primary-color);
    border-color: var(--accent-gold);
}

.provider-tab.new::after {
    content: 'NEW';
    background: var(--accent-red);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

.provider-tab.hot::after {
    content: 'HOT';
    background: #ff6b00;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

/* Game Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.game-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255,215,0,0.3);
}

.game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.game-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 15px;
}

.game-card h4 {
    font-size: 14px;
    color: var(--text-white);
}

.game-card .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-gold);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
}

.game-card:hover .play-btn {
    opacity: 1;
}

/* Promo Section */
.promo-section {
    padding: 40px 0;
    background: var(--gradient-purple);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.promo-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

/* Footer */
.site-footer {
    background: #0a0515;
    padding: 50px 0 20px;
}

.footer-providers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-providers img {
    height: 40px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-providers img:hover {
    opacity: 1;
}

.footer-licenses {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
}

.footer-licenses img {
    height: 50px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: var(--text-light);
    font-size: 14px;
}

/* Article/Single Post Styles */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.article-main {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 40px;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-gold);
}

.article-title {
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.article-content {
    line-height: 1.8;
}

.article-content h2 {
    color: var(--accent-gold);
    font-size: 24px;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-gold);
}

.article-content h3 {
    color: var(--text-white);
    font-size: 20px;
    margin: 25px 0 12px;
}

.article-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.article-content ul,
.article-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
    color: var(--text-light);
}

/* Info Boxes */
.info-box {
    background: rgba(255,215,0,0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
}

.info-box.warning {
    background: linear-gradient(135deg, rgba(26,10,46,0.9) 0%, rgba(45,27,78,0.9) 100%);
    border: 1px solid rgba(255,215,0,0.3);
    border-left: 4px solid #f0ad4e;
}

.info-box.warning .info-box-title {
    color: #f0ad4e;
}

.info-box.warning p {
    color: #f0ad4e;
    margin: 0;
}

.info-box.tip {
    background: rgba(0,212,255,0.1);
    border-color: var(--accent-blue);
}

.info-box-title {
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Checklist */
.checklist {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.checklist-title {
    font-size: 18px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-icon {
    color: #00ff00;
    font-size: 18px;
}

/* CTA Buttons in Article */
.cta-container {
    background: var(--gradient-purple);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
    border: 2px solid var(--accent-gold);
}

.cta-title {
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.cta-btn {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255,215,0,0.4);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: rgba(255,255,255,0.03);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255,215,0,0.1);
}

.widget-title {
    font-size: 18px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-gold);
}

/* Popular Games Widget */
.popular-games-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-game-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.popular-game-item:hover {
    background: rgba(255,215,0,0.1);
}

.popular-game-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.popular-game-info h4 {
    font-size: 14px;
    color: var(--text-white);
    margin-bottom: 5px;
}

.popular-game-info span {
    font-size: 12px;
    color: var(--accent-gold);
}

/* Quick Links Widget */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
}

.quick-link img {
    width: 24px;
    height: 24px;
}

/* Related Articles */
.related-posts {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.related-posts-title {
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.related-post-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.related-post-card h4 {
    padding: 15px;
    font-size: 14px;
    color: var(--text-white);
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--accent-gold);
}

.breadcrumb span {
    margin: 0 10px;
}

/* Table of Contents */
.toc-widget {
    position: sticky;
    top: 100px;
}

.toc-list {
    list-style: none;
}

.toc-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list a {
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.toc-list a:hover {
    color: var(--accent-gold);
    padding-left: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .article-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-title {
        font-size: 24px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Schema & SEO Helper Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Rating Stars */
.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars {
    color: var(--accent-gold);
    font-size: 18px;
}

.rating-value {
    font-weight: 700;
    color: var(--accent-gold);
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
}

.faq-item {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255,215,0,0.1);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comparison-table th {
    background: var(--accent-gold);
    color: var(--primary-color);
    font-weight: 700;
}

.comparison-table tr:nth-child(even) {
    background: rgba(255,255,255,0.05);
}

.comparison-table tr:hover {
    background: rgba(255,215,0,0.1);
}
