/* ============================
   UFASTBET - Custom Clean CSS
   ============================ */

:root {
    /* Surfaces */
    --bg-dark: #140900;
    --bg-section: #1a0d02;
    --bg-card: #2a1505;
    /* Accents — ธีม UFASTBET: ทอง + เขียว CTA */
    --gold: #ffd700;
    --gold-light: #fff8c8;
    --gold-primary: var(--gold);
    --green: #00b211;
    --green-light: #0fff26;
    --red: #a00000;
    --red-bright: #ff0000;
    /* Typography on dark UI */
    --white: #ffffff;
    --gray: #cccccc;
    --text-primary: var(--white);
    --text-secondary: var(--gray);
    --font: 'Kanit', sans-serif;
    --gradient-gold: linear-gradient(225deg, #ffd700 0%, #fff8c8 100%);
    --gradient-green: linear-gradient(180deg, #0fff26 0%, #00b211 100%);
    --gradient-header: linear-gradient(180deg, #1a0000 0%, #3d0000 100%);
    --gradient-section: linear-gradient(180deg, #1a0500 0%, #0d0200 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--bg-dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* ============================
   GOLD GRADIENT TEXT
   ============================ */
.gold-text {
    background: linear-gradient(180deg, #f1c137 20%, #ffff4c 50%, #ffb800 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ============================
   LINE SEPARATORS
   ============================ */
.line-gold {
    position: relative;
    overflow: hidden;
}

.line-gold::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    z-index: 9;
    background: url('../images/linecut.gif');
    background-size: 100%;
}

.line-gold-top::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    z-index: 9;
    background: url('../images/linecut.gif');
    background-size: 100%;
}

.line-glow::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    z-index: 9;
    background: linear-gradient(90deg, transparent, #fab400 30%, #ffe3a0 70%, transparent);
}

/* ============================
   HEADER
   ============================ */
.header {
    background: var(--gradient-header);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Hamburger with wave animation */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger span {
    position: absolute;
    left: 0;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0;
    animation: hamburger-wave 0.4s ease-out infinite alternate;
}

.hamburger span:nth-child(2) {
    top: 9px;
    animation: hamburger-wave 0.4s ease-out 0.3s infinite alternate;
}

.hamburger span:nth-child(3) {
    top: 18px;
    animation: hamburger-wave 0.4s ease-out 0.6s infinite alternate;
}

@keyframes hamburger-wave {
    0% { width: 70%; }
    100% { width: 100%; }
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
    width: 100%;
    animation: none;
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
    width: 100%;
    animation: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.main-nav ul li a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 5px;
    transition: all 0.3s;
    white-space: nowrap;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.has-submenu {
    position: relative;
}

.submenu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #1a0000;
    border: 1px solid #5a0000;
    border-radius: 8px;
    padding: 8px 0;
    z-index: 100;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.submenu.show {
    display: flex !important;
}

.submenu li a {
    padding: 8px 20px !important;
    display: block;
    font-size: 13px;
}

.submenu li a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
}

.header-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-login {
    background: var(--gradient-gold);
    color: #000;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-register {
    background: var(--gradient-green);
    color: var(--white);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 178, 17, 0.4);
}

/* ============================
   SIDEBAR (Mobile)
   ============================ */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    backdrop-filter: blur(3px);
}

.sidebar-overlay.active {
    display: block;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, #9a530c, #000000cc);
    z-index: 1200;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.sidebar::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    height: 100%;
    width: 3px;
    transform: translateY(-50%);
    background: linear-gradient(45deg, transparent 0%, #fdd47b 50%, transparent 100%);
}

.sidebar.active {
    left: 0;
}

.sidebar-logo {
    display: block;
    margin-bottom: 30px;
}

.sidebar-logo img {
    width: 180px;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav ul li a {
    display: block;
    padding: 15px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    text-shadow: 0 0 5px black, 0 0 10px black;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
    background: #080807c4;
    color: var(--gold);
    text-shadow: 0 0 5px white, 0 0 15px white;
    padding-left: 30px;
}

/* ============================
   BANNER
   ============================ */
.banner-section {
    position: relative;
    overflow: hidden;
    background: #000;
}

.banner-carousel {
    position: relative;
    width: 100%;
}

.banner-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    display: block;
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: auto;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 9, 0, 0.95) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.btn-register-lg {
    background: var(--gradient-green);
    color: var(--white);
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 178, 17, 0.3);
}

.btn-login-lg {
    background: var(--gradient-gold);
    color: #000;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-register-lg:hover,
.btn-login-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* ============================
   CATEGORY TABS
   ============================ */
.category-section {
    background: var(--bg-section) url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 30px 0 40px;
    position: relative;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: linear-gradient(180deg, rgba(50, 20, 0, 0.5) 0%, rgba(20, 5, 0, 0.8) 100%);
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
    color: var(--white);
}

.tab-btn img {
    width: 50px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.tab-btn span {
    font-size: 13px;
    font-weight: 400;
}

.tab-btn:hover,
.tab-btn.active {
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.15);
}

.tab-btn.active span {
    background: linear-gradient(180deg, #f1c137 20%, #ffff4c 50%, #ffb800 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.provider-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.provider-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    display: block;
}

.provider-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.25);
}

.provider-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================
   PROVIDER BANNERS
   ============================ */
.provider-banner-section {
    background: var(--bg-section) url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 30px 0;
    position: relative;
}

.provider-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.provider-banners img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.provider-banners img:hover {
    transform: scale(1.03);
}

/* ============================
   ABOUT SECTION
   ============================ */
.about-section {
    background: var(--bg-section) url('../images/bg-about.jpg') center/cover no-repeat;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(160, 0, 0, 0.1) 0%, transparent 70%);
}

.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.about-title-img {
    max-width: 100%;
    width: 400px;
    margin-bottom: 20px;
}

.about-highlight {
    font-size: 18px;
    font-weight: 500;
    background: linear-gradient(180deg, #f1c137 20%, #ffff4c 50%, #ffb800 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: center;
    width: 100%;
}

.about-content p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: center;
    width: 100%;
}

/* Provider Logo Marquee */
.provider-marquee {
    overflow: hidden;
    padding: 15px 0;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.provider-marquee::before,
.provider-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
}

.provider-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-section), transparent);
}

.provider-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-section), transparent);
}

.marquee-track {
    display: flex;
    gap: 30px;
    animation: marquee 20s linear infinite;
    width: max-content;
    will-change: transform;
}

.marquee-track img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.marquee-track img:hover {
    opacity: 1;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================
   GAMES SECTION
   ============================ */
.games-section {
    background: #0d0200 url('../images/bg-games.jpg') center/cover no-repeat;
    padding: 40px 0 60px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title-img {
    max-width: 400px;
    margin: 0 auto;
}

.games-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.games-column-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(180deg, #f1c137 20%, #ffff4c 50%, #ffb800 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.game-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.game-name {
    display: block;
    text-align: center;
    padding: 8px 5px;
    font-size: 12px;
    font-weight: 400;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* ============================
   JACKPOT SECTION
   ============================ */
.jackpot-section {
    background: var(--bg-section) url('../images/bg-jackpot.jpg') center/cover no-repeat;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.jackpot-section .container {
    position: relative;
    display: inline-block;
}

.jackpot-img {
    max-width: 800px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.jackpot-amount {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 72px;
    font-weight: 700;
    background: linear-gradient(180deg, #f1c137 20%, #ffff4c 50%, #ffb800 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    animation: jackpotPulse 2s ease-in-out infinite alternate;
    white-space: nowrap;
}

@keyframes jackpotPulse {
    from { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3)); }
    to { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.7)); }
}

/* ============================
   SEO SECTION
   ============================ */
.seo-section {
    background: var(--bg-dark) url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 40px 0;
    position: relative;
}

.seo-section p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ============================
   COLLECTION SECTION
   ============================ */
.collection-section {
    background: #1a0500 url('../images/bg-collection.jpg') center/cover no-repeat;
    padding: 40px 0;
    text-align: center;
}

.collection-subtitle {
    font-size: 16px;
    color: var(--gray);
    margin-top: 15px;
    margin-bottom: 30px;
}

.collection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.collection-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.collection-card {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.collection-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    z-index: 2;
}

.collection-card img {
    width: 100%;
    height: auto;
    display: block;
}

.collection-seo-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ============================
   BOTTOM ACTION BAR
   ============================ */
.bottom-action-bar {
    display: flex;
    justify-content: center;
    align-items: stretch;
    background: linear-gradient(180deg, #1a0a00 0%, #0d0200 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    padding: 10px 10px;
    gap: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8);
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 8px;
    text-decoration: none;
    transition: all 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.action-item:last-child {
    border-right: none;
}

.action-item:hover {
    background: rgba(255, 215, 0, 0.08);
    transform: translateY(-2px);
}

.action-item img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(0.85) sepia(1) saturate(3) hue-rotate(15deg);
    transition: filter 0.3s, transform 0.3s;
}

.action-item:hover img {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(15deg);
    transform: scale(1.1);
}

.action-item span {
    font-size: 13px;
    color: var(--gold-light);
    font-weight: 500;
    white-space: nowrap;
}

.action-item:hover span {
    color: var(--gold);
}

/* ============================
   CATEGORY / BLOG PAGES
   ============================ */
.category-content-section {
    background: var(--bg-section) url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 40px 0 80px;
}

.category-content-section .container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    align-items: start;
}

.category-sidebar {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    padding: 20px;
}

.category-sidebar h3 {
    color: var(--gold-primary);
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.category-sidebar ul {
    list-style: none;
}

.category-sidebar ul li {
    margin-bottom: 8px;
}

.category-sidebar ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-sidebar ul li a:hover,
.category-sidebar ul li a.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-primary);
}

.category-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
}

.post-card-body {
    padding: 25px;
}

.post-title {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.post-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.post-category {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .category-content-section .container {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        order: -1;
    }
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: linear-gradient(180deg, #1a0a00 0%, #0a0000 100%);
    padding: 40px 0 90px;
    position: relative;
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 25px;
}

.bank-logos-img {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 25px;
    display: block;
}

.contact-us-img {
    max-width: 120px;
    width: 100%;
    margin: 20px auto 0;
    display: block;
}

.footer-bottom-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s;
}

.footer-btn img {
    width: 20px;
    height: 20px;
}

.footer-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-text {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.copyright {
    font-size: 12px;
    color: #666;
}

/* ============================
   SLOT PAGE
   ============================ */
.slot-hero {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.slot-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slot-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 9, 0, 0.6) 0%, rgba(20, 9, 0, 0.9) 100%);
}

.slot-hero .container {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.slot-hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.slot-hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    font-weight: 300;
}

.slot-gallery-section {
    background: #1a0500 url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 40px 0 60px;
}

.slot-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
}

.slot-gallery-item {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.slot-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.3);
    z-index: 2;
}

.slot-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.football-gallery {
    grid-template-columns: repeat(4, 1fr);
}

.football-gallery .slot-gallery-item {
    aspect-ratio: auto;
}

.sport-gallery {
    grid-template-columns: repeat(4, 1fr);
}

.sport-gallery .slot-gallery-item {
    aspect-ratio: auto;
}

.lottery-gallery {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    margin: 0 auto;
}

.lottery-gallery .slot-gallery-item {
    aspect-ratio: auto;
}

.slot-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.slot-gallery-item:hover .slot-gallery-overlay {
    background: rgba(255, 215, 0, 0.1);
}

/* ============================
   MOBILE BOTTOM NAV
   ============================ */
.mobile-bottom-nav {
    display: none;
}

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10px;
    color: var(--gray);
    transition: color 0.3s;
    padding: 10px 0 8px;
    flex: 1;
    text-align: center;
}

.mobile-bottom-nav a i {
    font-size: 18px;
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active {
    color: var(--gold);
}

.mobile-bottom-nav .nav-center {
    position: relative;
    top: -15px;
    background: linear-gradient(0deg, #cf6702 0%, #ffc03a 100%);
    border-radius: 20px 20px 0 0;
    padding: 18px 12px 12px;
    color: var(--white);
    min-width: 65px;
    flex: 1;
    box-shadow: 0 -5px 15px rgba(207, 103, 2, 0.4);
}

.mobile-bottom-nav .nav-center i {
    font-size: 22px;
}

.mobile-bottom-nav .nav-center span {
    font-size: 9px;
    font-weight: 500;
}

/* ============================
   FLOATING PARTICLES
   ============================ */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: particleFloat 8s ease infinite;
}

.particle:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 80%; top: 40%; animation-delay: 2s; }
.particle:nth-child(3) { left: 40%; top: 60%; animation-delay: 4s; }
.particle:nth-child(4) { left: 70%; top: 15%; animation-delay: 1s; }
.particle:nth-child(5) { left: 25%; top: 75%; animation-delay: 3s; }

@keyframes particleFloat {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(-30px, 15px) scale(1.5); opacity: 0.7; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
}

/* ============================
   SCROLLING TOP BAR
   ============================ */
.top-scroll-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(177deg, #0b1e0de0, #000000d4);
    z-index: 1050;
    padding: 10px 0;
    backdrop-filter: blur(5px);
}

.top-scroll-bar.active {
    display: flex;
}

.top-scroll-bar .scroll-menu {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 0 20px;
    scrollbar-width: none;
}

.top-scroll-bar .scroll-menu::-webkit-scrollbar {
    display: none;
}

.top-scroll-bar .scroll-menu a {
    white-space: nowrap;
    font-size: 14px;
    padding: 5px 10px;
}

.top-scroll-bar .scroll-menu a:hover {
    text-shadow: 0 0 10px white;
}

.top-scroll-bar::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fab400 30%, #ffe3a0 70%, transparent);
}

/* ============================
   RESPONSIVE - TABLET (1024px)
   ============================ */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-inner {
        padding: 8px 15px;
    }

    .games-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        max-width: 100%;
    }

    .about-image {
        order: -1;
        justify-content: center;
    }

    .about-image img {
        max-width: 250px;
        margin: 0 auto;
    }

    .about-content {
        align-items: center;
        padding: 0;
    }

    .about-title-img {
        max-width: 85%;
        margin: 0 auto 15px;
    }

    .about-highlight {
        text-align: center;
        font-size: 16px;
        padding: 0 10px;
    }

    .about-content p {
        text-align: center;
        padding: 0 10px;
    }

    .provider-banners {
        gap: 10px;
    }

    .collection-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .slot-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .slot-hero-title {
        font-size: 28px;
    }

    .container {
        padding: 0 12px;
    }
}

/* ============================
   RESPONSIVE - MOBILE (768px)
   ============================ */
@media (max-width: 768px) {
    .header-buttons {
        display: none;
    }

    .header-inner {
        padding: 10px 12px;
    }

    .logo img {
        height: 38px;
    }

    .mobile-bottom-nav {
        display: none;
    }

    .footer {
        padding-bottom: 85px;
    }

    /* Banner */
    .banner-buttons {
        padding: 10px 15px;
        gap: 12px;
    }

    .btn-register-lg,
    .btn-login-lg {
        padding: 10px 25px;
        font-size: 14px;
    }

    /* Category Tabs */
    .category-section {
        padding: 20px 0 30px;
    }

    .category-tabs {
        display: flex;
        justify-content: space-between;
        gap: 5px;
        padding: 10px;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .tab-btn {
        padding: 10px 8px;
        flex: 1;
        border-radius: 10px;
    }

    .tab-btn img {
        width: 32px;
        height: 22px;
    }

    .tab-btn span {
        font-size: 10px;
    }

    .provider-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .provider-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    /* Provider Banners */
    .provider-banner-section {
        padding: 20px 0;
    }

    .provider-banners {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* About */
    .about-section {
        padding: 25px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-image img {
        max-width: 220px;
        margin: 0 auto;
    }

    .about-title-img {
        max-width: 80%;
        margin: 0 auto 12px;
    }

    .about-highlight {
        font-size: 13px;
        line-height: 1.7;
        text-align: center;
        padding: 0 15px;
    }

    .about-content {
        align-items: center;
    }

    .about-content p {
        font-size: 12px;
        text-align: center;
        padding: 0 15px;
        line-height: 1.7;
    }

    .provider-marquee {
        margin-top: 10px;
    }

    .provider-marquee::before,
    .provider-marquee::after {
        width: 20px;
    }

    .marquee-track img {
        height: 25px;
        gap: 20px;
    }

    /* Games */
    .games-section {
        padding: 30px 0 40px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .games-column-title {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .section-title-img {
        max-width: 280px;
    }

    .section-header {
        margin-bottom: 20px;
    }

    /* Jackpot */
    .jackpot-section {
        padding: 25px 0;
    }

    .jackpot-amount {
        font-size: 40px;
    }

    .jackpot-img {
        max-width: 100%;
    }

    /* SEO */
    .seo-section {
        padding: 25px 0;
    }

    .seo-section p {
        font-size: 13px;
    }

    /* Collection */
    .collection-section {
        padding: 25px 0;
    }

    .collection-subtitle {
        font-size: 14px;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .collection-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .collection-seo-text {
        font-size: 12px;
        padding: 0 10px;
    }

    /* Bottom Action Bar */
    .action-item img {
        width: 28px;
        height: 28px;
    }

    .action-item span {
        font-size: 10px;
    }

    .action-item {
        padding: 10px 4px;
        gap: 5px;
    }

    /* Slot Page */
    .slot-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .football-gallery,
    .sport-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .slot-hero .container {
        padding: 40px 15px;
    }

    .slot-hero-title {
        font-size: 24px;
    }

    .slot-hero-subtitle {
        font-size: 14px;
    }

    /* Footer */
    .footer {
        padding-top: 25px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-subtitle {
        font-size: 12px;
    }

    .bank-logos-img {
        max-width: 90%;
    }

    .footer-bottom-actions {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .footer-btn {
        padding: 10px 8px;
        font-size: 11px;
        justify-content: center;
        border-radius: 10px;
    }

    .footer-btn img {
        width: 18px;
        height: 18px;
    }

    .footer-text {
        font-size: 12px;
        margin-bottom: 15px;
    }
}

/* ============================
   RESPONSIVE - SMALL MOBILE (480px)
   ============================ */
@media (max-width: 480px) {
    .header-inner {
        padding: 8px 10px;
    }

    .logo img {
        height: 32px;
    }

    .hamburger {
        width: 24px;
        height: 20px;
    }

    .hamburger span:nth-child(2) { top: 7px; }
    .hamburger span:nth-child(3) { top: 14px; }

    /* Banner */
    .banner-buttons {
        position: relative;
        background: linear-gradient(180deg, #0d0200 0%, #1a0500 100%);
        padding: 12px 10px;
        gap: 10px;
    }

    .btn-register-lg,
    .btn-login-lg {
        padding: 10px 20px;
        font-size: 13px;
        flex: 1;
        text-align: center;
        display: block;
    }

    /* Category Tabs */
    .category-tabs {
        gap: 3px;
        padding: 8px 5px;
    }

    .tab-btn {
        padding: 8px 4px;
        gap: 5px;
    }

    .tab-btn img {
        width: 28px;
        height: 20px;
    }

    .tab-btn span {
        font-size: 9px;
    }

    .tab-btn:hover,
    .tab-btn.active {
        transform: translateY(-2px);
    }

    /* Games */
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .game-card {
        border-radius: 8px;
    }

    .game-name {
        font-size: 10px;
        padding: 5px 3px;
    }

    .games-column-title {
        font-size: 14px;
    }

    /* About */
    .about-image img {
        max-width: 180px;
    }

    .about-title-img {
        max-width: 75%;
    }

    .about-highlight {
        font-size: 12px;
        text-align: center;
        padding: 0 10px;
    }

    .about-content p {
        font-size: 11px;
        text-align: center;
        padding: 0 10px;
    }

    /* Jackpot */
    .jackpot-amount {
        font-size: 28px;
    }

    /* Collection */
    .collection-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .collection-card {
        border-radius: 6px;
    }

    .collection-seo-text {
        font-size: 11px;
        padding: 0 8px;
    }

    /* Bottom Action Bar */
    .action-item img {
        width: 24px;
        height: 24px;
    }

    .action-item span {
        font-size: 9px;
    }

    .action-item {
        padding: 8px 2px;
        gap: 4px;
    }

    .bottom-action-bar {
        padding: 8px 5px;
    }

    /* Slot Page */
    .slot-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .slot-gallery-item {
        border-radius: 8px;
    }

    .slot-hero-title {
        font-size: 20px;
    }

    .slot-hero-subtitle {
        font-size: 13px;
    }

    /* Footer */
    .footer-bottom-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-btn:last-child {
        grid-column: span 2;
        max-width: 200px;
        margin: 0 auto;
    }

    /* Mobile Bottom Nav */
    .mobile-bottom-nav {
        height: 60px;
        padding: 5px 0;
    }

    .mobile-bottom-nav a {
        font-size: 9px;
    }

    .mobile-bottom-nav a i {
        font-size: 16px;
    }

    .mobile-bottom-nav .nav-center {
        padding: 12px 15px 8px;
        top: -18px;
        min-width: 60px;
    }

    .mobile-bottom-nav .nav-center i {
        font-size: 20px;
    }
}

/* ============================
   RESPONSIVE - LANDSCAPE MOBILE
   ============================ */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-bottom-nav {
        height: 50px;
    }

    .mobile-bottom-nav a {
        padding: 5px 0;
    }

    .mobile-bottom-nav .nav-center {
        top: -10px;
        padding: 12px 10px 8px;
    }

    .banner-section {
        max-height: 60vh;
        overflow: hidden;
    }

    .about-grid {
        grid-template-columns: 1fr 2fr;
        text-align: left;
    }

    .about-image img {
        max-width: 150px;
    }
}

/* ============================
   RESPONSIVE - EXTRA SMALL (360px)
   ============================ */
@media (max-width: 360px) {
    .logo img {
        height: 28px;
    }

    .tab-btn img {
        width: 24px;
        height: 18px;
    }

    .tab-btn span {
        font-size: 8px;
    }

    .games-grid {
        gap: 6px;
    }

    .game-name {
        font-size: 9px;
    }

    .jackpot-amount {
        font-size: 22px;
    }

    .about-highlight {
        font-size: 12px;
    }

    .footer-bottom-actions {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .footer-btn {
        font-size: 10px;
        padding: 8px 5px;
        gap: 5px;
    }

    .btn-register-lg,
    .btn-login-lg {
        font-size: 12px;
        padding: 9px 15px;
    }
}

/* ============================
   iOS SAFE AREA
   ============================ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-action-bar {
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .footer {
        padding-bottom: calc(90px + env(safe-area-inset-bottom));
    }
}
