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

/* พื้นหลังธีมดำ-เขียว + ลายเส้นทองตารางข้าวหลามตัด (CSS อย่างเดียว) */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    min-height: 100vh;
    background-color: #0d0d0d;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent calc(100px - 1px),
            rgba(34, 197, 94, 0.25) calc(100px - 1px),
            rgba(74, 222, 128, 0.4) 100px
        ),
        repeating-linear-gradient(
            60deg,
            transparent 0,
            transparent calc(100px - 1px),
            rgba(34, 197, 94, 0.25) calc(100px - 1px),
            rgba(74, 222, 128, 0.4) 100px
        ),
        repeating-linear-gradient(
            120deg,
            transparent 0,
            transparent calc(100px - 1px),
            rgba(34, 197, 94, 0.25) calc(100px - 1px),
            rgba(74, 222, 128, 0.4) 100px
        ),
        linear-gradient(180deg, rgba(10, 15, 12, 0.96) 0%, rgba(13, 22, 16, 0.94) 30%, rgba(10, 18, 13, 0.96) 60%, rgba(5, 10, 6, 0.97) 100%);
    background-attachment: fixed;
    position: relative;
    padding: 2rem 1rem;
}

/* เบลอแสงเขียวอ่อนๆ ทับบนลาย */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(22, 163, 74, 0.05) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

/* ให้ลายตารางจางหายตรงกลาง (ใกล้เนื้อหา) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(
        ellipse 90% 100% at 50% 50%,
        rgba(10, 15, 12, 0.92) 0%,
        rgba(10, 18, 13, 0.6) 35%,
        rgba(10, 18, 13, 0.2) 55%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* ก้อนเดียวอยู่กึ่งกลาง - ไม่มีพื้นหลัง ใช้พื้นหลังจาก body */
.center-block {
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
    margin: 12px auto;
    padding: 5px 5px 0;
    overflow: hidden;
    min-width: 0;
    /* ไม่ใส่ background ให้ก้อนนี้ จะได้เห็นพื้นหลัง body */
}

.center-block header {
    background: transparent;
    color: #86efac;
    padding: 2rem 0;
    text-align: center;
}

.center-block header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.center-block header p {
    opacity: 0.9;
    color: #a7f3d0;
}

/* โลโก้ด้านบนสุด */
.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 0 1rem;
    margin-bottom: 0.5rem;
}

.site-logo {
    display: inline-block;
    line-height: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-logo:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

.site-logo__img {
    display: block;
    width: 380px;
    height: 200px;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 576px) {
    .site-header {
        padding: 1rem 0 0.75rem;
    }
    .site-logo__img {
        width: 240px;
        height: 86px;
    }
}

/* แถบข้อความเลื่อนขวาไปซ้าย + เอฟเฟกต์เรืองแสงม่วง */
.marquee-wrap {
    overflow: hidden;
    background: #1f2228;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(168, 85, 247, 0.6);
    box-shadow:
        0 -25px 50px rgba(168, 85, 247, 0.6),
        0 -12px 28px rgba(168, 85, 247, 0.5),
        0 0 15px rgba(168, 85, 247, 0.5),
        0 0 30px rgba(168, 85, 247, 0.35),
        0 0 45px rgba(168, 85, 247, 0.2),
        inset 0 0 20px rgba(168, 85, 247, 0.08);
    animation: marquee-glow 3s ease-in-out infinite alternate;
}

@keyframes marquee-glow {
    from {
        box-shadow:
            0 -25px 50px rgba(168, 85, 247, 0.6),
            0 -12px 28px rgba(168, 85, 247, 0.5),
            0 0 15px rgba(168, 85, 247, 0.5),
            0 0 30px rgba(168, 85, 247, 0.35),
            0 0 45px rgba(168, 85, 247, 0.2),
            inset 0 0 20px rgba(168, 85, 247, 0.08);
    }
    to {
        box-shadow:
            0 -32px 60px rgba(168, 85, 247, 0.75),
            0 -16px 36px rgba(168, 85, 247, 0.55),
            0 0 20px rgba(168, 85, 247, 0.6),
            0 0 40px rgba(168, 85, 247, 0.4),
            0 0 60px rgba(168, 85, 247, 0.25),
            inset 0 0 25px rgba(168, 85, 247, 0.1);
    }
}

.marquee-inner {
    display: flex;
    width: max-content;
    animation: marquee-rtl 25s linear infinite;
}

.marquee-text {
    color: #e2e8f0;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.5),
        0 0 16px rgba(168, 85, 247, 0.3);
    white-space: nowrap;
    padding-right: 3rem;
    font-size: 0.95rem;
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* สไลด์รูปโลโก้จากโฟลเดอร์ logogame */
.logo-slider-wrap {
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 16px;
}

.logo-slider-track {
    display: flex;
    gap: 12px;
    width: max-content;
    padding: 8px 0;
    animation: logo-slide-left 15s linear infinite;
}

.logo-slide {
    flex-shrink: 0;
    width: 200px;
    height: 90px;
    border-radius: 12px;
    background: rgba(20, 20, 35, 0.85);
    border: 2px solid rgba(236, 72, 153, 0.6);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.35), inset 0 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.logo-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.logo-slide.logo-slide-placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    text-align: center;
}

.logo-slide.logo-slide-placeholder img {
    display: none;
}

.logo-slide .hot-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(236, 72, 153, 0.9);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(236, 72, 153, 0.8);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

@keyframes logo-slide-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* สไลด์การ์ดเกม จากโฟลเดอร์ img/logo */
.game-slider-wrap {
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 16px;
}

.game-slider-track {
    display: flex;
    gap: 14px;
    width: max-content;
    padding: 8px 0;
    animation: game-slide-left 25s linear infinite;
}

.game-card {
    flex-shrink: 0;
    width: 160px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(15, 20, 35, 0.9);
    border: 2px solid rgba(34, 211, 238, 0.6);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.35), inset 0 0 20px rgba(0, 0, 0, 0.15);
}

.game-card-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

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

.game-card-title-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
}

.game-card-title {
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.game-card-subtitle {
    font-size: 9px;
    opacity: 0.9;
    margin-top: 2px;
}

.game-card-footer {
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.4);
}

.game-card-name {
    font-size: 10px;
    color: #fff;
    margin-bottom: 4px;
}

.game-card-percent {
    font-size: 11px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 4px;
}

.game-card-bar {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.game-card-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #a855f7 0%, #22c55e 100%);
    transition: width 0.3s ease;
}

@keyframes game-slide-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========== Modern Image Slider (กรอบมีแค่รูป จุดอยู่นอกกรอบ) ========== */
.slider-wrap {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.slider__view {
    overflow: hidden;
    border-radius: 20px;
}

.slider__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slider__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
}

.slider__slide img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

.slider__nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.slider__prev,
.slider__next {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.slider__prev:hover,
.slider__next:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slider__prev:active,
.slider__next:active {
    transform: scale(0.98);
}

/* จุดอยู่นอกกรอบรูป ไม่ถูกกรอบกิน */
.slider__indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 14px 16px 0;
    margin-top: 4px;
    background: transparent;
}

.slider__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.slider__dot:hover {
    background: rgba(255, 255, 255, 0.55);
}

.slider__dot--active {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

@media (max-width: 480px) {
    .slider {
        border-radius: 14px;
    }
    .slider__view {
        border-radius: 14px;
    }
    .slider__prev,
    .slider__next {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .slider__indicators {
        min-height: 36px;
        padding: 10px 12px;
        gap: 6px;
    }
    .slider__dot {
        width: 5px;
        height: 5px;
    }
}

/* ปุ่ม CTA สมัครสมาชิก + ติดต่อแอดมิน */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding: 0 4px;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.cta-btn:active {
    transform: translateY(0);
}

.cta-btn-register {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #166534 0%, #22c55e 100%);
}

.cta-btn-register::before,
.cta-btn-register::after {
    content: '';
    position: absolute;
    left: -35%;
    width: 50%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(-40deg);
    pointer-events: none;
    animation: cta-btn-line-run 5.5s ease-in-out infinite;
}

.cta-btn-register::before {
    top: 25%;
    height: 20px;
}

.cta-btn-register::after {
    top: 71%;
    height: 8px;
    animation-delay: 0.2s;
}

.cta-btn-register .cta-btn-diagonal-line {
    display: block;
    position: absolute;
    left: -35%;
    top: 48%;
    width: 50%;
    height: 14px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(-40deg);
    pointer-events: none;
    animation: cta-btn-line-run 5.5s ease-in-out infinite;
    animation-delay: 0.1s;
}

@keyframes cta-btn-line-run {
    0% { left: -35%; }
    28% { left: 85%; }
    100% { left: 85%; }
}

.cta-btn-register:hover {
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

.cta-btn-line {
    background: #0a0a0a;
    border: 1px solid rgba(74, 222, 128, 0.4);
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cta-btn-line:hover {
    background: linear-gradient(135deg, #15803d 0%, #4ade80 100%);
    border-color: rgba(74, 222, 128, 0.8);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.45);
}

.cta-btn-register .cta-btn-text,
.cta-btn-register .cta-btn-icons {
    position: relative;
    z-index: 1;
}

.cta-btn-text {
    white-space: nowrap;
}

.cta-btn-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cta-btn-icons .fa-chevron-right {
    font-size: 0.75rem;
}

.cta-btn-icon-line {
    display: flex;
    align-items: center;
}

.cta-btn-icon-line .fa-line {
    font-size: 1.4rem;
}

/* ตารางยอดแตก / ผู้ถูกรางวัล */
.winners-section {
    margin-bottom: 1.5rem;
}

.winners-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 0;
    background: linear-gradient(135deg, #14532d 0%, #166534 50%, #15803d 100%);
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(74, 222, 128, 0.5);
    border-bottom: none;
    box-shadow: 0 0 24px rgba(34, 197, 94, 0.25), inset 0 1px 0 rgba(74, 222, 128, 0.2);
}

.winners-banner-text {
    color: #dcfce7;
    font-size: 1.25rem;
    font-weight: bold;
    text-shadow: 0 0 12px rgba(74, 222, 128, 0.8), 0 0 24px rgba(34, 197, 94, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.winners-banner-icon {
    font-size: 1.6rem;
    color: #86efac;
    filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.7));
}

.winners-table-wrap {
    overflow-x: hidden;
    overflow-y: visible;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, #071508 0%, #050a06 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.4);
    border-top: none;
}

.winners-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.winners-table thead th {
    background: linear-gradient(180deg, rgba(21, 58, 31, 0.98) 0%, rgba(15, 46, 26, 0.98) 100%);
    color: #86efac;
    font-weight: bold;
    text-align: left;
    padding: 14px 16px;
    white-space: nowrap;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.3);
    border-bottom: 1px solid rgba(74, 222, 128, 0.35);
}

.winners-table thead th:first-child {
    border-radius: 12px 0 0 0;
}

.winners-table thead th:last-child {
    border-radius: 0 12px 0 0;
}

.winners-table tbody tr {
    border-bottom: 1px solid rgba(74, 222, 128, 0.25);
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.winners-table tbody tr:hover {
    background: rgba(34, 197, 94, 0.06);
}

.winners-table tbody tr.winner-row-update {
    animation: winnerRowUpdate 0.6s ease;
}

@keyframes winnerRowUpdate {
    0% {
        background-color: rgba(34, 197, 94, 0.25);
    }
    50% {
        background-color: rgba(34, 197, 94, 0.1);
    }
    100% {
        background-color: transparent;
    }
}

.winners-table tbody tr:last-child {
    border-bottom: none;
}

.winners-table tbody td {
    padding: 14px 16px;
    color: #86efac;
    vertical-align: middle;
    font-size: 0.95rem;
}

.winners-table .winner-game {
    display: flex;
    align-items: center;
    gap: 10px;
}

.winners-table .winner-game-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.winners-table .winner-game-name.no-icon {
    margin-left: 0;
}

.winners-table .winner-payout {
    color: #4ade80;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.4);
}

.winners-table .winner-payout.top-payout {
    color: #86efac;
    text-shadow: 0 0 12px rgba(134, 239, 172, 0.5);
}

.center-block main {
    padding: 0 0 2rem;
}

.card {
    background: transparent;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: none;
    border: none;
    overflow: hidden;
    max-width: 100%;
}

.card h2 {
    color: #0c4a6e;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.card p {
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

button {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

button:active {
    transform: translateY(0);
}

#message {
    margin-top: 1rem;
    font-weight: 500;
    min-height: 1.5em;
}

.center-block footer {
    background: transparent;
    text-align: center;
    padding: 1rem;
    color: rgba(134, 239, 172, 0.7);
    font-size: 0.9rem;
}

/* แชทกับบอท */
.chat-section {
    margin-bottom: 1.5rem;
}

.chat-box {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0f0c 0%, #071008 50%, #050a06 100%);
    border: 2px solid rgba(34, 197, 94, 0.4);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 24px rgba(34, 197, 94, 0.1);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #0d2818 0%, #166534 50%, #15803d 100%);
    color: #dcfce7;
    font-weight: bold;
    font-size: 1rem;
    border-bottom: 1px solid rgba(34, 197, 94, 0.3);
}

.chat-header .fa-comments {
    font-size: 1.2rem;
}

.chat-online {
    margin-left: auto;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    text-shadow:
        0 0 8px rgba(34, 197, 94, 0.8),
        0 0 16px rgba(34, 197, 94, 0.5),
        0 0 24px rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.online-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 12px #22c55e, 0 0 20px rgba(34, 197, 94, 0.7);
    animation: online-dot-pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes online-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px #22c55e, 0 0 20px rgba(34, 197, 94, 0.7); }
    50% { opacity: 0.85; transform: scale(0.9); box-shadow: 0 0 8px #22c55e, 0 0 14px rgba(34, 197, 94, 0.5); }
}

.online-num {
    display: inline-block;
    min-width: 1.2em;
    transition: transform 0.15s ease-out;
}

.online-num.pop {
    animation: online-num-pop 0.4s ease-out;
}

@keyframes online-num-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.chat-messages-wrap {
    position: relative;
    min-height: 280px;
    max-height: 360px;
    overflow: hidden;
}

/* เส้นแนวตั้ง ยาวจากบนถึงล่าง วิ่งซ้าย-ขวา เริ่มก่อน */
.chat-messages-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 1), rgba(74, 222, 128, 1), transparent);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.8), 0 0 24px rgba(34, 197, 94, 0.4);
    animation: chat-line-vertical 5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* เส้นแนวนอน ยาวสุดซ้าย-ขวา วิ่งตามแนวตั้งแบบติดๆ */
.chat-messages-wrap::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 1), rgba(74, 222, 128, 1), transparent);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.8), 0 0 24px rgba(34, 197, 94, 0.4);
    animation: chat-line-horizontal 5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* แนวตั้งวิ่งไปขวา (0–30%) พอชนขวา แนวนอนค่อยเริ่มวิ่งบน→ล่าง (30–60%) แล้วกลับ | ช่วงพักให้เส้นจางหาย */
@keyframes chat-line-vertical {
    0% { left: 0; opacity: 1; }
    30% { left: calc(100% - 3px); opacity: 1; }
    60% { left: 0; opacity: 1; }
    65% { left: 0; opacity: 0; }
    100% { left: 0; opacity: 0; }
}

@keyframes chat-line-horizontal {
    0%, 30% { top: 0; opacity: 0; }
    30% { top: 0; opacity: 1; }
    60% { top: calc(100% - 3px); opacity: 1; }
    90% { top: 0; opacity: 1; }
    95% { top: 0; opacity: 0; }
    100% { top: 0; opacity: 0; }
}

/* ชั้นพื้นหลังห้องแชท อยู่ใต้เส้น ใต้ข้อความ */
.chat-messages-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #071508;
    background-image:
        repeating-linear-gradient(
            105deg,
            transparent 0,
            transparent 3px,
            rgba(34, 197, 94, 0.06) 3px,
            rgba(34, 197, 94, 0.06) 6px
        ),
        repeating-linear-gradient(
            -75deg,
            transparent 0,
            transparent 3px,
            rgba(0, 0, 0, 0.08) 3px,
            rgba(0, 0, 0, 0.08) 6px
        ),
        linear-gradient(180deg, #0c1a10 0%, #061008 50%, #050d08 100%);
    pointer-events: none;
}

.chat-messages-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(34, 197, 94, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.chat-messages {
    position: relative;
    z-index: 2;
    min-height: 280px;
    max-height: 360px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
    scrollbar-width: thin;
    scrollbar-color: #22c55e #0a120d;
}

/* สกอล์บาร์ห้องแชท ธีมเขียว */
.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #0a120d;
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #166534, #22c55e);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #22c55e, #4ade80);
}

.chat-messages > * {
    position: relative;
    z-index: 1;
}

.chat-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    max-width: 90%;
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg-avatar-wrap {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    position: relative;
}

.chat-msg-avatar-wrap img,
.chat-msg-avatar-wrap .chat-msg-avatar-fallback {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(34, 197, 94, 0.4);
    background: rgba(30, 58, 40, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.chat-msg-avatar-wrap img {
    display: block;
}

.chat-msg.user .chat-msg-avatar-wrap img,
.chat-msg.user .chat-msg-avatar-wrap .chat-msg-avatar-fallback {
    border-color: rgba(34, 197, 94, 0.5);
}

.chat-msg-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-msg-name {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
}

.chat-msg.user .chat-msg-name {
    text-align: right;
    color: #86efac;
}

.chat-msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word;
}

.chat-msg.bot .chat-msg-bubble {
    background: rgba(10, 22, 14, 0.98);
    color: #e2e8f0;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.chat-msg.user .chat-msg-bubble {
    background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-msg-time {
    font-size: 0.7rem;
    color: #64748b;
}

.chat-msg.user .chat-msg-time {
    text-align: right;
}

.chat-input-wrap {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #050a06;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 999px;
    border: 2px solid rgba(34, 197, 94, 0.3);
    background: #0a120d;
    color: #e2e8f0;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input::placeholder {
    color: #86b398;
}

.chat-input:focus {
    border-color: #22c55e;
}

.chat-send {
    padding: 12px 20px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #166534 0%, #22c55e 100%);
    color: #fff;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: chat-send-pulse 2s ease-in-out infinite;
}

@keyframes chat-send-pulse {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(34, 197, 94, 0.35);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(34, 197, 94, 0.6), 0 0 24px rgba(34, 197, 94, 0.3);
        transform: scale(1.03);
    }
}

.chat-send:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.55);
    animation: none;
}

.chat-send:active {
    transform: translateY(0) scale(1);
}

/* ========== Bonus Time Slot Game - ธีมคาสิโนสีเขียว ========== */
.bonus-time-section {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(165deg, #0a1f14 0%, #0d2818 35%, #0f2e1a 70%, #0a1f14 100%);
    border-radius: 16px;
    border: 1px solid rgba(34, 197, 94, 0.35);
    box-shadow:
        0 0 30px rgba(34, 197, 94, 0.15),
        0 0 60px rgba(22, 163, 74, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.bonus-time-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.5), transparent);
    opacity: 0.8;
}

/* แถบ BONUS TIME แบบ pill (ตามต้นแบบรูปที่ 1) */
.bonus-time-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    padding: 0.28rem 0.65rem;
    background: linear-gradient(135deg, #0f1f1a 0%, #1a3232 50%, #0f2520 100%);
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 102, 0.7);
    box-shadow:
        0 0 12px rgba(0, 255, 102, 0.4),
        0 0 24px rgba(0, 255, 102, 0.25),
        0 0 36px rgba(0, 255, 102, 0.15),
        inset 0 8px 20px -6px rgba(0, 255, 102, 0.35),
        inset 0 0 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.bonus-time-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 4px,
        rgba(0, 255, 102, 0.03) 4px,
        rgba(0, 255, 102, 0.03) 8px
    );
    pointer-events: none;
}

/* เส้นหมุน 2 เส้น อยู่ใต้ตัวหนังสือ ยาวจากซ้ายสุดถึงขวาสุด */
.bonus-time-line {
    position: absolute;
    left: 0;
    top: 78%;
    width: 100%;
    height: 3px;
    margin-top: -1.5px;
    transform-origin: 50% 50%;
    background: linear-gradient(to right, rgba(0, 255, 102, 0.4), rgba(0, 255, 102, 0.95), rgba(0, 255, 102, 0.4));
    box-shadow: 0 0 8px rgba(0, 255, 102, 0.6);
    border-radius: 2px;
    animation: bonus-line-spin 4s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* เส้นที่ 1 */
.bonus-time-line-1 {
    margin-top: -22px;
}

/* เส้นที่ 2 */
.bonus-time-line-2 {
    margin-top: 8px;
}

@keyframes bonus-line-spin {
    0%   { transform: rotate(0deg) scaleX(1); }
    25%  { transform: rotate(90deg) scaleX(0.8); }
    50%  { transform: rotate(180deg) scaleX(1); }
    75%  { transform: rotate(270deg) scaleX(0.8); }
    100% { transform: rotate(360deg) scaleX(1); }
}

.bonus-time-banner-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #00ff66;
    color: #0f1f1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 0 12px rgba(0, 255, 102, 0.6);
    position: relative;
    z-index: 1;
}

.bonus-time-banner-text {
    flex: 1;
    text-align: center;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.bonus-time-banner .bonus-time-title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    text-shadow:
        0 0 6px rgba(0, 255, 102, 0.9),
        0 0 12px rgba(0, 255, 102, 0.7),
        0 0 20px rgba(0, 255, 102, 0.5),
        0 0 30px rgba(0, 255, 102, 0.35);
    margin-bottom: 0.04rem;
}

.bonus-time-banner .bonus-time-countdown {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    white-space: nowrap;
}

.bonus-time-banner .bonus-time-countdown #bonusMainCountdown {
    color: #00ff66;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.5);
}

.bonus-time-banner-dot {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #00ff66;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.8);
    position: relative;
    z-index: 1;
    animation: bonus-dot-zoom 1.8s ease-in-out infinite;
}

@keyframes bonus-dot-zoom {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 255, 102, 0.8); }
    50% { transform: scale(1.35); box-shadow: 0 0 18px rgba(0, 255, 102, 0.9); }
}

.bonus-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.bonus-time-section .game-card {
    background: linear-gradient(180deg, rgba(15, 46, 26, 0.95) 0%, rgba(6, 28, 16, 0.98) 100%);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.25);
    padding: 0;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.bonus-time-section .game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.05);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.bonus-time-section .game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 24px rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.5);
}

.bonus-time-section .game-card:hover::after {
    opacity: 1;
}

/* ป้าย HOT + ไอคอนไฟ มุมขวาบน (แสดงเมื่อเกม 90% ขึ้นไป) */
.bonus-time-section .game-card-hot {
    position: absolute;
    top: 8px;
    right: 8px;
    display: none;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.5);
    z-index: 2;
}

.bonus-time-section .game-card-hot.is-visible {
    display: flex;
    animation: hot-badge-pulse 1.2s ease-in-out infinite;
}

.bonus-time-section .game-card-hot i {
    font-size: 0.75rem;
    animation: hot-fire-flicker 0.6s ease-in-out infinite alternate;
}

@keyframes hot-badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.5), 0 0 12px rgba(255, 100, 50, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 4px 14px rgba(220, 38, 38, 0.7), 0 0 20px rgba(255, 100, 50, 0.6);
    }
}

@keyframes hot-fire-flicker {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.9; filter: brightness(1.2); }
}

/* เกมเปอร์เซ็นสูง (90% ขึ้นไป) ให้เด้ง + เรืองแสงเด่น */
.bonus-time-section .game-card--high-percent {
    animation: bonus-card-bounce 2s ease-in-out infinite;
    border: 1px solid rgba(34, 197, 94, 0.75);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 16px rgba(34, 197, 94, 0.45),
        0 0 28px rgba(34, 197, 94, 0.35),
        0 0 40px rgba(34, 197, 94, 0.2),
        inset 0 0 24px rgba(34, 197, 94, 0.08);
}

.bonus-time-section .game-card--high-percent::after {
    box-shadow: inset 0 0 28px rgba(34, 197, 94, 0.12);
    opacity: 1;
}

.bonus-time-section .game-card--high-percent .game-title {
    color: #dcfce7;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.bonus-time-section .game-card--high-percent .progress-bar-fill {
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.7), 0 0 24px rgba(34, 197, 94, 0.35);
}

.bonus-time-section .game-card--high-percent .progress-bar-label {
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

@keyframes bonus-card-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.bonus-time-section .game-image-wrap {
    aspect-ratio: 3/4;
    width: 100%;
    min-height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(15, 46, 26, 0.95) 0%, rgba(6, 28, 16, 0.98) 100%);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.bonus-time-section .game-image-wrap .game-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.bonus-time-section .game-image-placeholder {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(187, 247, 208, 0.95);
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    line-height: 1.2;
    text-transform: uppercase;
}

.bonus-time-section .game-image-placeholder.is-visible {
    display: flex;
}

.bonus-time-section .game-title {
    padding: 8px 10px 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #bbf7d0;
    text-align: center;
    line-height: 1.2;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-time-section .progress-bar {
    height: 15px;
    margin: 0 10px 8px;
    background: rgba(15, 46, 26, 0.9);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(34, 197, 94, 0.2);
    position: relative;
    display: flex;
    align-items: center;
}

.bonus-time-section .progress-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #15803d 0%, #16a34a 25%, #22c55e 50%, #4ade80 75%, #86efac 100%);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    transition: width 0.4s linear;
    width: 0%;
}

.bonus-time-section .progress-bar-label {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.bonus-time-section .countdown-time {
    padding: 0 10px 10px;
    font-size: 0.75rem;
    color: rgba(167, 243, 208, 0.95);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 420px) {
    .bonus-time-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ========== รองรับหน้าจอมือถือ ========== */
@media (max-width: 576px) {
    body {
        padding: 1rem 0.75rem;
    }

    .center-block {
        margin: 8px auto;
        padding: 4px 4px 0;
    }

    .center-block header h1 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        gap: 10px;
        margin-bottom: 1.25rem;
        padding: 0 2px;
    }

    .cta-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .cta-btn-text {
        font-size: inherit;
    }

    .bonus-time-banner {
        padding: 10px 12px;
        gap: 8px;
    }

    .bonus-time-banner .bonus-time-title {
        font-size: 0.8rem;
    }

    .bonus-time-banner .bonus-time-countdown {
        font-size: 0.65rem;
    }

    .bonus-time-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .bonus-time-section .game-card .game-name {
        font-size: 0.7rem;
    }

    .bonus-time-section .game-card .game-provider {
        font-size: 0.6rem;
    }

    .chat-box {
        border-radius: 12px;
        border-width: 1px;
    }

    .chat-header {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .chat-online {
        font-size: 0.9rem;
    }

    .chat-messages-wrap,
    .chat-messages {
        min-height: 240px;
        max-height: 280px;
    }

    .chat-messages {
        padding: 10px;
        gap: 10px;
    }

    .chat-input-wrap {
        padding: 10px 12px;
    }

    .chat-input {
        font-size: 16px;
    }

    .winners-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0 0 10px 10px;
    }

    .winners-table {
        font-size: 12px;
        min-width: 320px;
    }

    .winners-table thead th,
    .winners-table tbody td {
        padding: 8px 10px;
    }

    .winners-table .winner-game-icon {
        width: 28px;
        height: 28px;
    }

    .winners-banner {
        padding: 10px 12px;
        gap: 8px;
    }

    .winners-banner-text {
        font-size: 0.95rem;
    }

    .falling-coins__item {
        font-size: 1.15rem;
    }

    .falling-coins__item:nth-child(n) {
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    body {
        padding: 0.75rem 0.5rem;
    }

    .bonus-time-banner .bonus-time-title {
        font-size: 0.75rem;
    }

    .bonus-time-section .game-card .game-name {
        font-size: 0.65rem;
    }

    .cta-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

/* ========== เหรียญร่วงทั้งหน้าจอ (CSS + Icon ไม่ใช้คลิป) ========== */
.falling-coins {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.falling-coins__item {
    position: absolute;
    top: -60px;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: falling-coin linear infinite;
}

.falling-coins__item:nth-child(1)  { left: 5%;  animation-duration: 12s; animation-delay: 0s;   font-size: 1.25rem; }
.falling-coins__item:nth-child(2)  { left: 12%; animation-duration: 14s; animation-delay: 1.5s; font-size: 1.6rem; }
.falling-coins__item:nth-child(3)  { left: 22%; animation-duration: 10s; animation-delay: 3s;   font-size: 1.35rem; }
.falling-coins__item:nth-child(4)  { left: 35%; animation-duration: 16s; animation-delay: 0.5s; font-size: 1.5rem; }
.falling-coins__item:nth-child(5)  { left: 48%; animation-duration: 11s; animation-delay: 2s;   font-size: 1.7rem; }
.falling-coins__item:nth-child(6)  { left: 55%; animation-duration: 13s; animation-delay: 4s;   font-size: 1.2rem; }
.falling-coins__item:nth-child(7)  { left: 65%; animation-duration: 15s; animation-delay: 1s;   font-size: 1.4rem; }
.falling-coins__item:nth-child(8)  { left: 75%; animation-duration: 9s;  animation-delay: 2.5s; font-size: 1.55rem; }
.falling-coins__item:nth-child(9)  { left: 85%; animation-duration: 12s; animation-delay: 0.8s; font-size: 1.3rem; }
.falling-coins__item:nth-child(10) { left: 92%; animation-duration: 14s; animation-delay: 3.5s; font-size: 1.45rem; }
.falling-coins__item:nth-child(11) { left: 8%;  animation-duration: 13s; animation-delay: 5s;   font-size: 1.4rem; }
.falling-coins__item:nth-child(12) { left: 28%; animation-duration: 10s; animation-delay: 6s;   font-size: 1.6rem; }
.falling-coins__item:nth-child(13) { left: 52%; animation-duration: 15s; animation-delay: 4.5s; font-size: 1.25rem; }
.falling-coins__item:nth-child(14) { left: 70%; animation-duration: 11s; animation-delay: 7s;   font-size: 1.5rem; }
.falling-coins__item:nth-child(15) { left: 95%; animation-duration: 12s; animation-delay: 2.2s; font-size: 1.35rem; }

@keyframes falling-coin {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.9;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.55;
    }
}
