/* ============================
   LAOSTARS - LIGHT THEME (โทนอ่อน สดใส)
   ============================ */

/* VARIABLES – พื้นอ่อน + ฟ้าสด + โกลด์ */
:root {
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-dark: #1d4ed8;
    --bg-card: #ffffff;
    --bg-card-soft: #f0f7ff;
    --bg-card-alt: #e0efff;
    /* โปร่งใส + เบลอ (กระจกฝ้า) */
    --glass: rgba(255, 255, 255, 0.5);
    --glass-soft: rgba(255, 255, 255, 0.35);
    --glass-blur: 12px;
    --text-primary: #1e40af;
    --text-body: #1e3a8a;
    --text-muted: #3b82f6;
    --gold: #eab308;
    --gold-bright: #facc15;
    --green-line: #22c55e;
    --radius: 14px;
    --shadow: 0 4px 20px rgba(37, 99, 235, 0.12);
    --shadow-hover: 0 8px 28px rgba(37, 99, 235, 0.18);
    --shadow-dark: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-dark-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --border-glow: rgba(59, 130, 246, 0.35);
}

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

body {
    font-family: 'Prompt', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('img/bg.png') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ก้อนเนื้อหาดียว – รวมทุก section ในบล็อกเดียว */
.content-block {
    width: 100%;
    max-width: 600px;
    margin: 12px auto 12px;
    padding: 0 15px;
    background: none;
    border-radius: 20px;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.container2 {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

.pop {
    animation: pop 0.25s ease-out;
    display: inline-block;
}

@keyframes pulse-blue {

    0%,
    100% {
        filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.25));
    }

    50% {
        filter: drop-shadow(0 2px 10px rgba(37, 99, 235, 0.4));
    }
}

@keyframes logoGradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* ===============
   HEADER / LOGO
   =============== */
.site-header {
    background: transparent;
    padding: 2rem 0 1.2rem;
    text-align: center;
}

.logo-text {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 5px;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.25));
    animation: pulse-blue 3s ease-in-out infinite;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-top: 6px;
    letter-spacing: 3px;
    font-weight: 600;
    opacity: 0.9;
}

.header-badges {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: nowrap;
}

.badge {
    font-size: 0.85rem;
    padding: 10px 16px;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: var(--glass);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    color: var(--text-primary);
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.badge strong {
    color: var(--accent-dark);
    font-size: 0.95em;
}

.badge-icon {
    font-size: 0.7rem;
    flex-shrink: 0;
}

.badge-icon--online {
    color: #22c55e;
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.9)) drop-shadow(0 0 8px rgba(34, 197, 94, 0.5));
}

.badge-icon--members {
    color: var(--accent);
    filter: drop-shadow(0 0 4px rgba(30, 136, 229, 0.8)) drop-shadow(0 0 8px rgba(30, 136, 229, 0.4));
}

/* ===============
   GAME CAROUSEL
   =============== */
.banner-section {
    padding: 1.2rem 0;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: none;
}

.game-carousel {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    gap: 10px;
}

.game-slide {
    flex: 0 0 calc(50% - 5px);
    width: calc(50% - 5px);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.game-slide:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}

.game-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Shared carousel dots */
.carousel-dots,
.promo-dots,
.banner2-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 4px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
}

/* ===============
   REGISTER BUTTON
   =============== */


.register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 14px;
    border: none;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.register-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 32px rgba(37, 99, 235, 0.5);
}

.register-arrow {
    font-size: 1rem;
    letter-spacing: -2px;
    animation: arrowPulse 1s infinite;
}

@keyframes arrowPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ===============
   QUICK STATS
   =============== */
.quick-stats-section {
    padding: 0.9rem 0;
}

.quick-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.quick-stat {
    text-align: center;
    padding: 14px 8px;
    background: var(--glass);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.quick-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.quick-stat-icon {
    margin-bottom: 6px;
}

.quick-stat-icon i {
    font-size: 1.6rem;
}

.quick-stat:nth-child(1) .quick-stat-icon {
    color: var(--accent);
    filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.35));
}

.quick-stat:nth-child(2) .quick-stat-icon {
    color: var(--gold);
    filter: drop-shadow(0 2px 6px rgba(234, 179, 8, 0.4));
}

.quick-stat:nth-child(3) .quick-stat-icon {
    color: var(--accent);
    filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.35));
}

.quick-stat-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.quick-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 600;
}

/* ===============
   JACKPOT CARD
   =============== */
.jackpot-section {
    padding: 1rem 0;
}

.jackpot-card {
    background: var(--glass);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.jackpot-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.jackpot-header {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.jackpot-amount-wrapper {
    margin-bottom: 6px;
}

.jackpot-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    animation: pulse-blue 3s ease-in-out infinite;
}

.jackpot-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.jackpot-sub-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.jackpot-sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    max-width: 200px;
    padding: 1rem 1.25rem;
    background: var(--glass-soft);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    gap: 6px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.jackpot-card:hover .jackpot-sub {
    border-color: var(--accent);
}

.sub-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.sub-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* ===============
   LINE BUTTON
   =============== */


.line-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 20px;
    margin-top: 4px;
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35);
    transition: transform 0.3s, box-shadow 0.3s;
    gap: 10px;
}

.line-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 32px rgba(34, 197, 94, 0.45);
}

.line-icon-svg {
    width: 30px;
    height: 30px;
}

/* ===============
   BANNERS ROW (2 IMAGES)
   =============== */
.banners-row-section {
    padding: 1.5rem 0;
}

.banners-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.banner-item {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-glow);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.banner-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===============
   PROMO BANNERS
   =============== */
.promo-section {
    padding: 1rem 0;
}

.promo-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.promo-carousel {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    gap: 10px;
}

.promo-slide {
    flex: 0 0 calc(50% - 5px);
    width: calc(50% - 5px);
    aspect-ratio: 3 / 1;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid var(--border-glow);
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.promo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* promo dots use shared .carousel-dot styles */

/* ===============
   BANNER 2 CAROUSEL
   =============== */
.banner2-section {
    padding: 1rem 0;
}

.banner2-wrapper {
    position: relative;
    overflow: hidden;
}

.banner2-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    gap: 10px;
}

.banner2-slide {
    flex: 0 0 calc(50% - 5px);
    width: calc(50% - 5px);
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(30, 136, 229, 0.12);
}

.banner2-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* banner2 dots use shared .carousel-dot styles */

/* ===============
   WITHDRAWAL REPORTS
   =============== */
.withdrawal-section {
    padding: 2rem 0;
}

.withdrawal-card {
    background: var(--glass);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    padding: 1.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow);
}

.section-cyan-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.notification-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
}

.notification {
    background: var(--glass-soft);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    animation: fadeInItem 0.4s ease forwards;
    gap: 12px;
    box-shadow: var(--shadow);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.notification:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}

@keyframes fadeInItem {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.notification .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    object-fit: cover;
}

.notification .title-highlight {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.6;
}

.notification .title-highlight .label {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.notification .title-highlight .highlight {
    color: var(--text-primary);
    font-weight: 800;
    font-size: 0.9rem;
}

.notification .title-highlight .amount {
    color: var(--text-primary);
    font-weight: 900;
    font-size: 1.05rem;
}

.notification .title-highlight .amount-unit {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.notification .title-highlight .date-text {
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-top: 2px;
}

.notification .title-highlight p {
    margin: 0;
    color: var(--text-body);
}

/* Status: โอนแล้ว */
.notification .status-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #1e88e5;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge .status-icon {
    width: 16px;
    height: 16px;
    background: #1e88e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #fff;
    font-weight: 900;
}

/* Status: กำลังโอน */
.notification .status-badge.processing {
    color: #e67e00;
}

.status-badge.processing .status-dots {
    display: inline-flex;
    gap: 3px;
}

.status-badge.processing .status-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e67e00;
    animation: dotPulse 1.4s infinite ease-in-out;
}

.status-badge.processing .status-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.status-badge.processing .status-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {

    0%,
    80%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* ===============
   REVIEWS
   =============== */
.review-section {
    padding: 2rem 0;
}

.review-card {
    background: var(--glass);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    padding: 1.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.review-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.section-title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.review-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-item {
    background: var(--glass-soft);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 14px;
    border-radius: 14px;
    display: flex;
    gap: 12px;
    animation: fadeInItem 0.4s ease forwards;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

/* เรืองแสงเมื่อมีรีวิวใหม่ */
.review-item.review-item--new {
    animation: fadeInItem 0.4s ease forwards, reviewNewGlow 2.2s ease-out forwards;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.4), var(--shadow);
}

@keyframes reviewNewGlow {
    0% {
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.5), 0 0 20px rgba(37, 99, 235, 0.25), var(--shadow);
    }
    50% {
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35), var(--shadow);
    }
    100% {
        box-shadow: var(--shadow);
    }
}

.review-item .review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-glow);
    box-shadow: var(--shadow);
}

.review-item .review-content {
    flex: 1;
    min-width: 0;
}

.review-item .review-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
    min-width: 0;
}

.review-item .review-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.review-item .review-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.review-item .review-stars {
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 1px;
    margin: 2px 0;
}

.review-item .review-text {
    font-size: 0.82rem;
    color: var(--text-body);
    margin: 0;
    line-height: 1.55;
    opacity: 0.9;
}

/* ===============
   FOOTER
   =============== */
.site-footer {
    padding: 1rem 1rem 1.25rem;
    text-align: center;
    margin: 0 -15px 0;
}

.site-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 480px) {
    .logo-text {
        font-size: 2rem;
    }

    .header-badges {
        gap: 8px;
    }

    .badge {
        font-size: 0.75rem;
        padding: 8px 10px;
        gap: 4px;
    }

    .badge-icon {
        font-size: 0.6rem;
    }

    .jackpot-amount {
        font-size: 2rem;
    }

    .register-btn {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    .line-btn {
        font-size: 1.1rem;
    }

    .game-thumb {
        width: 85px;
        height: 65px;
    }
}