/*
Theme Name: PGSLOT
Theme URI: https://pgslot.com/
Author: PGSLOT Team
Author URI: https://pgslot.com/
Description: A modern and responsive WordPress theme for PGSLOT gaming website with beautiful design, smooth animations, and user-friendly interface. Features include hero slider, stats display, accordion sections, feature cards, license information, step-by-step guides, FAQ section, blog posts, and more.
Tags: casino, gaming, slots, responsive, modern, custom-colors, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready
Version: 1.0
Requires at least: 5.6
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pgslot
This theme, like WordPress, is licensed under the GPL.
*/

:root {
    --primary-red: #e63946;
    --deep-red: #c1121f;
    --golden: #ffd60a;
    --golden-dark: #ffc300;
    --white: #ffffff;
    --text-dark: #2b2d42;
    --text-gray: #6c757d;
    --light-bg: #fff8f0;
    --gradient-red: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    --gradient-gold: linear-gradient(135deg, #ffd60a 0%, #ffc300 100%);
    --shadow-red: 0 8px 30px rgba(230, 57, 70, 0.3);
    --shadow-gold: 0 8px 30px rgba(255, 214, 10, 0.4);
}

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

body {
    font-family: 'Sarabun', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: 80px; /* Add padding to account for fixed navbar */
}

.admin-bar body {
    padding-top: 112px; /* Increase padding to account for admin bar and fixed navbar */
}

@media screen and (max-width: 782px) {
    .admin-bar body {
        padding-top: 126px; /* Increase padding to account for admin bar and fixed navbar on smaller screens */
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

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

/* Common page content spacing */
.page-content-wrapper {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .page-content-wrapper {
        padding: 8rem 0;
    }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Admin bar adjustments */
.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .navbar {
        top: 46px;
    }
    
    /* Fix navbar position when scrolling */
    .admin-bar .navbar.scrolled {
        top: 0;
    }
}

/* No spacer needed - body padding handles the spacing */

.navbar .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.navbar .logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.navbar .logo img,
.navbar .custom-logo-link img {
    max-width: 240px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.navbar .main-navigation {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.navbar .nav-menu {
    justify-content: center;
    margin: 0;
    padding: 0;
}

.navbar .action-buttons {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    flex-wrap: nowrap;
}

.navbar .mobile-cta-row {
    display: none;
}

@media (min-width: 992px) {
    .navbar .nav-content {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        column-gap: 32px;
        flex-wrap: nowrap;
    }

    .navbar .mobile-cta-row {
        display: none !important;
    }

    .navbar .logo {
        justify-content: flex-start;
        grid-column: 1;
        width: auto;
    }

    .navbar .main-navigation {
        justify-content: center;
        grid-column: 2;
    }

    .navbar .action-buttons {
        justify-content: flex-end;
        gap: 16px;
        grid-column: 3;
        width: auto;
        flex-wrap: nowrap;
        flex-direction: row;
    }
    
    /* Force buttons to stay in the same row */
    .navbar .action-buttons .cta-button,
    .navbar .action-buttons .line-button {
        display: inline-flex;
    }
    
    /* Hide mobile menu toggle on desktop */
    .navbar .menu-toggle {
        display: none;
    }
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    .navbar .nav-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        row-gap: 12px;
    }

    .navbar .logo {
        order: 1;
        display: flex;
        align-items: center;
    }

    .navbar .custom-logo-link,
    .navbar .logo a {
        display: inline-flex;
        align-items: center;
    }

    .navbar .custom-logo-link img {
        display: block;
        height: 50px;
        width: auto;
    }

    .navbar .action-buttons {
        order: 2;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
    }

    .navbar .action-buttons .cta-button {
        display: none;
    }

    .navbar .action-buttons .line-button {
        width: 40px;
        height: 40px;
        margin: 0;
    }

    .navbar .menu-toggle {
        order: 3;
        width: 40px;
        height: 40px;
        padding: 8px;
        margin: 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 0;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    
    .navbar .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #000000f7;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 99999;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px;
    }
    
    .navbar .menu-toggle.toggled {
        position: fixed;
        top: 100px;
        right: 20px;
        z-index: 100000;
    }
    
    .navbar .main-navigation.toggled {
        transform: translateX(0);
    }
    
    .navbar .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        width: 100%;
        padding: 2rem;
    }
    
    .navbar .nav-menu a {
        color: white;
        font-size: 1.3rem;
        padding: 0.8rem 1rem;
        display: block;
        width: 100%;
    }
    
    .admin-bar .navbar .main-navigation {
        height: calc(100vh - 32px);
        top: 32px;
    }
    
    @media screen and (max-width: 782px) {
        .admin-bar .navbar .main-navigation {
            height: calc(100vh - 46px);
            top: 80px;
        }
    }

    .navbar .menu-toggle-bar {
        display: block;
        width: 24px;
        height: 3px;
        background-color: var(--deep-red);
        margin: 3px 0;
        border-radius: 3px;
        transition: all 0.3s;
        position: relative;
    }
    
    .navbar .menu-toggle.toggled .bar1 {
        transform: rotate(-45deg) translate(-4px, 6px);
        background-color: var(--primary-red);
    }
    
    .navbar .menu-toggle.toggled .bar2 {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .navbar .menu-toggle.toggled .bar3 {
        transform: rotate(45deg) translate(-4px, -6px);
        background-color: var(--primary-red);
    }

    .navbar .mobile-cta-row {
        display: flex;
        width: 100%;
        order: 4;
        gap: 10px;
    }

    .navbar .mobile-cta-row .cta-button {
        flex: 1 1 50%;
        width: 50%;
        text-align: center;
    }
}

.logo {
    font-family: 'Kanit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/**
 * Custom Logo Styling
 * This file contains styles to enforce fixed logo dimensions
 */

/* General logo styling */
.navbar .logo img,
.navbar .custom-logo-link img {
    max-width: 240px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Mobile logo styling */
@media (max-width: 991px) {
    .navbar .custom-logo-link img {
        max-height: 60px;
        max-width: 180px;
        width: auto;
        height: auto;
        object-fit: contain;
    }
}

/* Additional mobile styling for smaller screens */
@media (max-width: 768px) {
    .navbar .custom-logo-link img {
        max-height: 50px;
        max-width: 150px;
    }
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

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

.cta-button {
    background: var(--gradient-red);
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: var(--shadow-red);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(230, 57, 70, 0.4);
}

.line-button {
    width: 48px;
    height: 48px;
    background: #06C755;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
    text-decoration: none;
}

.line-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(6, 199, 85, 0.5);
    background: #05b04d;
}



/* Fix for when Hero Slider is hidden */
.stats-bar:first-child,
.intro-section:first-child,
.accordion-section:first-child,
.features-section:first-child,
.license-section:first-child,
.steps-section:first-child,
.faq-section:first-child,
.blog-section:first-child {
    margin-top: 80px;
}

.admin-bar .stats-bar:first-child,
.admin-bar .intro-section:first-child,
.admin-bar .accordion-section:first-child,
.admin-bar .features-section:first-child,
.admin-bar .license-section:first-child,
.admin-bar .steps-section:first-child,
.admin-bar .faq-section:first-child,
.admin-bar .blog-section:first-child {
    margin-top: 112px; /* 80px + 32px admin bar */
}

@media screen and (max-width: 782px) {
    .admin-bar .stats-bar:first-child,
    .admin-bar .intro-section:first-child,
    .admin-bar .accordion-section:first-child,
    .admin-bar .features-section:first-child,
    .admin-bar .license-section:first-child,
    .admin-bar .steps-section:first-child,
    .admin-bar .faq-section:first-child{
        margin-top: 126px; /* 80px + 46px admin bar */
    }
}

.swiper {
    width: 100%;
    height: 600px;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mockup-slide {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8a3 100%);
    padding: 4rem 2rem;
}

.mockup-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.mockup-badge {
    display: inline-block;
    background: var(--gradient-red);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-red);
}

.mockup-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--deep-red);
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 0px rgba(255, 214, 10, 0.5);
}

.mockup-subtitle {
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--golden-dark);
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

/* Stats Bar */
.stats-bar {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 600;
}

/* Games Carousel with Swiper */
.games-carousel {
    background: #fce7e8;
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
}

.gamesSwiper {
    width: 100%;
    height: auto;
    padding: 0 1rem;
}

.game-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.game-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-slide:hover img {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Swiper navigation and pagination for games carousel */
.games-carousel .swiper-button-next,
.games-carousel .swiper-button-prev {
    color: var(--primary-red);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.games-carousel .swiper-button-next:after,
.games-carousel .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.games-carousel .swiper-button-next:hover,
.games-carousel .swiper-button-prev:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.games-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--golden);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.games-carousel .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-red);
    transform: scale(1.2);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .games-carousel .swiper-button-next,
    .games-carousel .swiper-button-prev {
        display: none; /* Hide navigation buttons on mobile */
    }
}

/* Hide pagination on desktop */
@media (min-width: 769px) {
    .games-carousel .swiper-pagination {
        display: none;
    }
}
/* Single Image Responsive Styling */
.single-image {
    margin: 2rem 0 !important;
    text-align: center !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
}

.single-image img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 8px !important;
}

@media (max-width: 768px) {
    .single-image {
        padding: 0 10px !important;
    }
}

/* Blog Section Styles */
.blog-section {
    padding: 0.5rem 0 1.5rem !important;
    background-color: #fff;
    margin-top: 0.5rem !important;
}

/* Archive page specific styles */
.archive .blog-section,
.category .blog-section,
.tag .blog-section,
.author .blog-section,
.date .blog-section,
.tax-game_provider .blog-section,
.tax-game_type .blog-section {
    padding-top: 3rem !important;
}

/* Blog Grid Styles - Universal for all archive types */
.blog-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 2rem !important;
}

/* Responsive grid adjustments */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Hide all blog meta elements universally */
.blog-meta,
.blog-date,
.blog-author,
.blog-category,
.author-avatar,
.author-name,
.blog-excerpt {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Blog card styling */
.blog-card {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #f0f0f0;
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
	color: #fff;
}

/* Blog image styling with 16:9 aspect ratio */
.blog-section .blog-image {
    position: relative;
    padding-top: 75%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
    width: auto;
    height: auto;
}

.blog-section .blog-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Pagination styling */
.pagination {
    grid-column: 1 / -1;
    margin-top: 2rem;
    text-align: center;
}

/* Blog content styling */
.blog-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.25rem 0;
}

.blog-content h3 {
    font-size: 1.4rem;
    color: var(--primary-red);
    margin-bottom: 0.7rem;
    font-weight: 800;
}

.read-more-btn {
    display: inline-block;
    background-color: #e63946;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: auto;
    align-self: flex-start;
    font-weight: 500;
    text-decoration: none;
}

/* Hover effects */
.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--golden);
    box-shadow: var(--shadow-gold);
}

/* Category-specific hover effects */
.category-archive .blog-card:hover {
    border-color: inherit;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.blog-card:hover .blog-thumbnail {
    transform: scale(1.05);
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
}

.intro-section {
    background: white;
    padding: 4rem 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--deep-red);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-gray);
}

/* Accordion Sections */
.accordion-section {
    background: white;
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--deep-red);
    margin-bottom: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-weight: 800;
}
@media (max-width: 768px) {
    .section-title {
        margin-top: 4rem;
    }
}
.accordion-container {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: var(--golden);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.accordion-header {
    padding: 1.8rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    transition: all 0.3s;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #fff3d6 0%, #ffe8a3 100%);
}

.accordion-header h3 {
    font-size: 1.3rem;
    color: var(--primary-red);
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--golden-dark);
    transition: transform 0.3s;
    font-weight: 700;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.show {
    max-height: 2000px;
    transition: max-height 0.5s ease-in;
}

.accordion-body {
    padding: 2rem;
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1.05rem;
}

.accordion-body h4 {
    color: var(--golden-dark);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.accordion-body ul, .accordion-body ol {
    margin: 1rem 0 1rem 2rem;
}

.accordion-body li {
    margin-bottom: 0.8rem;
}

/* Features Grid */
.features-section {
    background: var(--light-bg);
    padding: 3rem 0;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

/* Grid columns based on items per row setting */
.features-grid-1 {
    grid-template-columns: 1fr;
}

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

.features-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.features-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.features-grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

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

@media (max-width: 1200px) {
    .features-grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-grid-6 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .features-grid-3, 
    .features-grid-4,
    .features-grid-5,
    .features-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    /* Default 1 column for mobile */
    .features-grid-2, 
    .features-grid-3, 
    .features-grid-4,
    .features-grid-5,
    .features-grid-6 {
        grid-template-columns: 1fr;
    }
    
    /* 2 columns for mobile when selected */
    .features-grid.mobile-2-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Adjust padding for mobile 2 columns */
    .features-grid.mobile-2-columns .feature-card {
        padding: 1rem 0.8rem;
    }
    
    .features-grid.mobile-2-columns .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .features-grid.mobile-2-columns .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .features-grid.mobile-2-columns .feature-card .cta-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin: 0 auto;
}
a.feature-card.linked-card{
    text-decoration: none;
}
/* Adjust padding based on screen size */
@media (min-width: 1200px) {
    .features-grid-1 .feature-card,
    .features-grid-2 .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .features-grid-3 .feature-card {
        padding: 1.8rem 1.3rem;
    }
    
    .features-grid-4 .feature-card {
        padding: 1.5rem 1.2rem;
    }
    
    .features-grid-5 .feature-card,
    .features-grid-6 .feature-card {
        padding: 1.2rem 1rem;
    }
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--golden);
    box-shadow: var(--shadow-gold);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-image {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 12px;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

/* Responsive image */
.responsive-img {
    max-width: 100%;
    height: auto;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--primary-red);
    margin-bottom: 0.7rem;
    font-weight: 800;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
    flex-grow: 1;
}

/* Adjust font sizes based on number of columns */
@media (min-width: 1200px) {
    .features-grid-1 .feature-card h3,
    .features-grid-2 .feature-card h3 {
        font-size: 1.6rem;
    }
    
    .features-grid-3 .feature-card h3 {
        font-size: 1.5rem;
    }
    
    .features-grid-4 .feature-card h3 {
        font-size: 1.4rem;
    }
    
    .features-grid-5 .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .features-grid-6 .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .features-grid-1 .feature-card p,
    .features-grid-2 .feature-card p,
    .features-grid-3 .feature-card p {
        font-size: 1.05rem;
    }
    
    .features-grid-4 .feature-card p,
    .features-grid-5 .feature-card p,
    .features-grid-6 .feature-card p {
        font-size: 0.95rem;
    }
}

.feature-card .cta-button {
    margin-top: 0.8rem;
    align-self: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* License Section */
.license-section {
    background: white;
    padding: 4rem 0;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.license-card {
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    border: 2px solid var(--golden);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.license-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.license-card h3 {
    color: var(--primary-red);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.license-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Providers Slider Section */
.providers-slider-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    padding: 2rem 0;
    overflow: hidden;
}

.providers-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.providers-track {
    display: flex;
    animation: providers-scroll 30s linear infinite;
    width: max-content;
}

@keyframes providers-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


.provider-slide {
    padding: 0 1rem;
    flex-shrink: 0;
}

.provider-card {
    background: transparent;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 70px;
}

.provider-card:hover {
    background: transparent;
}

.provider-name {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.provider-image {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.provider-card:hover .provider-image {
    transform: scale(1.1);
}

/* Steps Section */
.steps-section {
    background: var(--light-bg);
    padding: 4rem 0;
}

.steps-container {
    max-width: 800px;
    margin: 2rem auto;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.step-number {
    min-width: 60px;
    height: 60px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-red);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 4rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    padding: 2rem;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--golden);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    font-size: 1.15rem;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.faq-answer {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Jackpot Section */
.jackpot-section {
    background: var(--gradient-red);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.jackpot-section::before {
    content: '🎰💰🎲';
    position: absolute;
    font-size: 20rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.jackpot-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.jackpot-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.jackpot-amount {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    color: var(--golden);
    text-shadow: 0 0 30px rgba(255, 214, 10, 0.6);
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Blog Section */
.blog-section {
    background: white;
    padding: 5rem 0;
}

@media (max-width: 768px) {

}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.blog-image {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-category {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.blog-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 700;
}

.blog-excerpt {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.blog-meta {
    display: none !important;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    order: 3;
    margin-left: auto;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.blog-date {
    display: block;
    color: #95a5a6;
    font-size: 0.85rem;
}

.read-more-btn {
    color: var(--primary-red);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.read-more-btn:hover {
    color: var(--golden-dark);
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: 'Kanit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-gold);
    background-clip: text;
}

.footer-description {
font-size: 0.95rem;
line-height: 1.8;
margin-bottom: 2rem;
color: rgba(255, 255, 255, 0.7);
}

.social-links {
margin-top: 1.5rem;
}

.social-title {
display: block;
font-weight: 600;
margin-bottom: 1rem;
color: white;
}

.social-icons {
display: flex;
gap: 0.8rem;
}

.social-icon {
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: rgba(255, 255, 255, 0.8);
transition: all 0.3s;
text-decoration: none;
}

.social-icon:hover {
transform: translateY(-3px);
}

/* Brand Color Icons */
.social-line {
background: #06C755;
color: white;
}

.social-line:hover {
background: #05b04d;
box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
}

.social-facebook {
    background: #1877F2;
    color: white;
}

.social-facebook:hover {
    background: #166fe5;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.social-youtube {
    background: #FF0000;
    color: white;
}

.social-youtube:hover {
    background: #e60000;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    font-family: 'Kanit', sans-serif;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--golden);
    transform: translateX(5px);
}

/* Games Carousel */

.provider-logo {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    cursor: pointer;
}

.provider-logo:hover {
    background: rgba(255, 214, 10, 0.2);
    color: var(--golden);
    transform: translateY(-3px);
}

/* Certifications */
.footer-certifications {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.cert-badge {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--golden);
}

/* Mobile Footer Responsive */
@media (max-width: 968px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .provider-logos {
        justify-content: center;
    }

    .footer-certifications {
        justify-content: center;
    }
}

/* Swiper/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: auto;
    background: var(--light-bg);
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-red);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: white;
    color: var(--deep-red);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* Responsive adjustments for navigation buttons */
@media screen and (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--golden);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary-red);
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Reduce padding for mobile */
    }
    
    .admin-bar body {
        padding-top: 106px; /* Account for admin bar + navbar height */
    }
    
    .navbar {
        position: fixed;
        top: 0; /* Default position */
        transition: top 0.3s ease; /* Smooth transition for header */
    }
    
    .admin-bar .navbar {
        top: 46px; /* Position header after admin bar */
    }
    
    .hero-slider {
        margin-top: 60px; /* Increased margin to ensure slider starts after header */
        padding-top: 20px; /* Added padding for better spacing */
    }
    
    /* Ensure slider starts after header on mobile */
    .admin-bar .hero-slider {
        margin-top: 60px; /* Increased margin for admin bar (46px) + header height (60px) */
    }
    
    /* Adjust first section when no slider */
    .stats-bar:first-child,
    .intro-section:first-child,
    .accordion-section:first-child,
    .features-section:first-child,
    .license-section:first-child,
    .steps-section:first-child,
    .faq-section:first-child,
    .blog-section:first-child {
        margin-top: 60px;
    }
    
    .admin-bar .stats-bar:first-child,
    .admin-bar .intro-section:first-child,
    .admin-bar .accordion-section:first-child,
    .admin-bar .features-section:first-child,
    .admin-bar .license-section:first-child,
    .admin-bar .steps-section:first-child,
    .admin-bar .faq-section:first-child,
    .admin-bar .blog-section:first-child {
        margin-top: 106px; /* 60px + 46px admin bar */
    }
    
    .navbar .custom-logo-link img {
        display: block;
        height: 50px;
        width: auto;
    }

    .navbar .action-buttons .line-button {
        width: 40px;
        height: 40px;
    }

    .action-buttons .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .swiper {
        height: auto;
        min-height: 400px;
    }

    .features-grid,
    .license-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        flex-direction: column;
    }
}