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

body {
    font-family: 'Bai Jamjuree', sans-serif;
    color: white;
    min-height: 100vh;
    background: url('./img/BG.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

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

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

.error {
    border: 1px solid red;
}

.form-message {
    font-family: 'Bai Jamjuree', sans-serif;
    color: red;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 4px;
    text-align: center;
}

/* Desktop Layout */
.top-section {
    display: flex;
    gap: 20px;
}

.mobile-layout {
    display: none;
}

/* Login Section */
.login-section {
    flex: 1;
    background: #143107;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
    z-index: 1;
    position: relative;
    text-align: center;
}

.sut {
    color: #FFD700;
}

.number {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-section h1 {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size:28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    z-index: 1;
    position: relative;
    text-align: center;
}

.golden-text {
    color: #FFD700;
}

.white-text {
    color: white;
}

.login-form {
    z-index: 1;
    position: relative;
}

.input-field {
    font-family: 'Bai Jamjuree', sans-serif;
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.password-field,
.input-password {
    position: relative;
}

.eye-btn {
    position: absolute;
    right: 15px;
    top: 45%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    z-index: 10;
}

.eye-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

.eye-btn:hover .eye-icon {
    opacity: 1;
}

.claim-btn,
.mobile-claim-btn {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.claim-btn img,
.mobile-claim-btn img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.claim-btn:hover,
.mobile-claim-btn:hover {
    transform: scale(1.05);
}

/* Hidden fields animation */
.hidden-field {
    display: none;
}

.hidden-field.show {
    display: block;
    animation: slideInFade 0.5s ease forwards;
}

@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Promo Section */
.main-promo {
    flex: 2;
    background: #122f04;
    border-radius: 15px;
    padding: 24px 24px 0px 24px;
    position: relative;
    overflow: hidden;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.model-image {
    border-radius: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.gold-icon {
    background: linear-gradient(45deg, #FFD700, #FFA500);
}

.percent-icon {
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
}

.trophy-icon {
    background: linear-gradient(45deg, #FF9800, #F57C00);
}

.gift-icon {
    background: linear-gradient(45deg, #E91E63, #C2185B);
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 12px;
    opacity: 0.8;
}

.value {
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
}

/* Bottom Section */
.bottom-section {
    display: flex;
    overflow: hidden;
    gap: 20px;
    margin-top: 20px;
    height: 200px;
}

.jackpot-section {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.jackpot-girl {
    width: 80px;
    height: 120px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 120"><rect width="80" height="120" fill="rgba(255,215,0,0.3)"/><text x="40" y="60" text-anchor="middle" fill="white" font-size="12">Girl</text></svg>');
    background-size: cover;
    border-radius: 10px;
    margin-right: 15px;
}

.jackpot-content h3 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.jackpot-amount {
    font-size: 20px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 1px;
    margin: 10px 0;
    transition: all 0.1s ease;
}

.amount-number {
    font-size: 18px;
    font-weight: bold;
}

.amount-currency {
    font-size: 12px;
    font-weight: bold;
}

.currency {
    font-size: 12px;
    opacity: 0.8;
}

.games-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.game-item {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.game-item:hover {
    transform: scale(1.05);
}

.esports-section {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.esports-section h3 {
    font-size: 20px;
    color: #FFD700;
    margin-bottom: 10px;
}

.esports-section p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.4;
}

.cashback-section {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
}

.cashback-girl {
    width: 60px;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 80"><rect width="60" height="80" fill="rgba(255,215,0,0.3)"/><text x="30" y="40" text-anchor="middle" fill="white" font-size="10">Girl</text></svg>');
    background-size: cover;
    border-radius: 10px;
    margin-right: 15px;
}

.cashback-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.cashback-rate {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
}

.cashback-label {
    font-size: 10px;
    opacity: 0.8;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .desktop-layout {
        display: none;
    }

    .mobile-layout {
        display: block;
    }

    .mobile-header {
        text-align: center;
        margin-bottom: 14px;
        border-radius: 15px;
    }

    .mobile-header .logo {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .mobile-header h1 {
        font-family: 'Bai Jamjuree', sans-serif;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.3;
    }

    .mobile-content {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

    .mobile-promo {
        background: #133208;
        max-width: 375px;
        border-radius: 15px;
        padding: 28px 16px;
        text-align: center;
        margin: 0 auto;
    }

    .mobile-promo .stat-item {
        justify-content: center;
    }

    .dots {
        color: #FFD700;
        font-size: 20px;
        letter-spacing: 5px;
        margin-bottom: 14px;
    }

    .mobile-form {
        width: 325px;
    }

    .mobile-bottom-section {
        display: flex;
        width: 100%;
        max-width: 375px;
        height: 160px;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        padding: 0 10px;
        margin: 0 auto;
        -webkit-overflow-scrolling: touch;
    }

    .single-item {
        max-width: 325px;
    }

    .mobile-jackpot {
        width: 100%;
        height: 160px;
    }

    .mobile-jackpot {
        background: rgba(0, 0, 0, 0.8);
        border-radius: 15px;
        min-width: 320px;
    }

    .mobile-jackpot-content {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .mobile-jackpot-content img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
    }

    .mobile-jackpot-amount {
        width: 100%;
        position: absolute;
        top: 101px;
        left: 82%;
        font-size: 20px;
        transform: translateX(-50%);
        color: #FFD700;
        font-weight: bold;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
        z-index: 10;
    }

    .mobile-jackpot-amount .amount-number {
        font-size: 1em;
    }

    .mobile-jackpot-amount .amount-currency {
        font-size: 0.7em;
        opacity: 0.8;
    }

}

/* Game Section with Overlay Slider */
.game-section {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.game-section img {
    width: 100%;
    height: auto;
    display: block;
}

.jackpot-amount {
    position: absolute;
    top: 106px;
    left: 32%;
    font-size: 18px;
    font-weight: bold;
    z-index: 5;
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    letter-spacing: 1px;
    transition: all 0.1s ease;
    transform: translateX(-50%);
}

/* Game Slider Styles */
.game-slider {
    position: absolute;
    top: -90%;
    left: 74%;
    transform: translateX(-50%);
    width: 66%;
    z-index: 10;
}

.game-slider .slick-slide {
    opacity: 0.4;
    filter: blur(2px);
    transform: scale(0.85);
    transition: all 0.3s ease;
    margin-right: -45px;
}

.game-slider .slick-slide:first-child {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.game-slider .slick-slide.slick-current {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.game-slider img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsive adjustments for game-slider */
@media (max-width: 1400px) {
    .game-slider {
        width: 60%;
        left: 72%;
    }
}

@media (max-width: 1200px) {
    .game-slider {
        top: -80%;
        width: 55%;
        left: 77%;
    }

    .game-slider img {
        width: 70%;
    }
}

@media (max-width: 1024px) {
    .game-slider {
        width: 65%;
        left: 75%;
        top: -64%;
    }

    .ad-image {
        height: 87%;
    }

    .jackpot-amount {
        top: 86px;
        left: 32%;
    }
}

@media (max-width: 820px) {
    .game-slider {
        width: 56%;
        left: 69%;
        top: -49%;
    }

    .ad-image {
        height: 68%;
    }

    .jackpot-amount {
        top: 62px;
        left: 32%;
    }

    .amount-number {
        font-size: 14px;
        font-weight: bold;
    }

    .amount-currency {
        font-size: 10px;
        font-weight: bold;
    }
}

@media (max-width: 768px) {
    .game-slider {
        width: 30%;
        left: 65%;
        top: -80%;
    }
}

/* Slick Carousel Dots Styling */
.slick-dots {
    bottom: -50px;
}

.slick-dots li button:before {
    color: #ffffff !important;
    font-size: 10px !important;
    opacity: 0.7;
}

.slick-dots li {
    margin: 0px !important;
}

.slick-dots li.slick-active button:before {
    color: #FFC305 !important;
    opacity: 1;
}