/* ================= common css start ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b, #111827);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* ================= game box start ================= */
.game-box {
    width: 420px;
    background: rgba(15, 23, 42, 0.9);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 0 15px rgb(255, 0, 100),
        0 0 30px rgb(0, 200, 255),
        0 0 50px rgb(100, 255, 100);
    border: 3px solid transparent;
    animation: rgbBorder 4s linear infinite;
}

/* RGB Border Animation */
@keyframes rgbBorder {
    0% {
        box-shadow: 
            0 0 15px rgb(255, 0, 100),
            0 0 30px rgb(255, 0, 100);
    }
    33% {
        box-shadow: 
            0 0 15px rgb(0, 200, 255),
            0 0 30px rgb(0, 200, 255);
    }
    66% {
        box-shadow: 
            0 0 15px rgb(100, 255, 100),
            0 0 30px rgb(100, 255, 100);
    }
    100% {
        box-shadow: 
            0 0 15px rgb(255, 0, 100),
            0 0 30px rgb(255, 0, 100);
    }
}

/* ================= headings ================= */
h1 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #f8fafc;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

h2.chance {
    margin-top: 20px;
    font-size: 24px;
    color: #22c55e;
}

/* ================= input ================= */
input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 2px solid #334155;
    border-radius: 12px;
    background: #0f172a;
    color: white;
    font-size: 18px;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: rgb(0, 200, 255);
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.5);
}

/* ================= button ================= */
button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 15px;
}

button:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
}

/* ================= message lines ================= */
.line,
.line2,
.line3 {
    font-size: 18px;
    margin-top: 10px;
    min-height: 28px;
    color: #facc15;
    font-weight: bold;
}

/* ================= hidden section ================= */
.plytow,
.textow,
.btn2,
.pay3,
.tex3,
.btn3,
.line3 {
    display: none;
}

/* ================= responsive ================= */
@media (max-width: 480px) {
    .game-box {
        width: 90%;
        padding: 30px 20px;
    }

    h1 {
        font-size: 24px;
    }

    input,
    button {
        font-size: 16px;
    }
}