/* =========================
    Tickets
========================= */
.ticket-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.ticket-box input {
    padding: 10px;
    background: transparent;
    border: 2px solid #6D609D;
    padding-bottom: 15px;
    color: #fff;
    outline: none;
    width: 200px;
    transition: 0.3s;
}

.ticket-box input:focus {
    box-shadow: 0 0 10px #6D609D;
}

.ticket-box button {
    padding: 10px 15px;
}

/* =========================
    Game
========================= */
.game-container {
    text-align: center;
    padding: 30px;
    border: 1px solid #6D609D;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(109, 96, 157, 0.4);
}

h2 {
    color: #6D609D;
    text-shadow: 0 0 10px #6D609D;
    font-size: 26px;
}

.stats p {
    margin: 10px 0;
    font-size: 18px;
}

.controls {
    margin-top: 20px;
}

button {
    margin: 5px;
    padding: 10px 20px;
    background: rgba(109, 96, 157, 0.1);
    border: 1px solid #6D609D;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;

    backdrop-filter: blur(5px);
}

button:hover {
    box-shadow: 
        0 0 10px #6D609D,
        inset 0 0 10px rgba(109,96,157,0.3);
    transform: translateY(-2px);
}

#riskBtn {
    border: 1px solid #8A7CFF;
    box-shadow: 0 0 10px rgba(138,124,255,0.5);
}

#riskBtn:hover {
    box-shadow: 
        0 0 20px rgba(138,124,255,0.8),
        0 0 40px rgba(138,124,255,0.4);
}

button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.feedback {
    margin-top: 25px;
    font-size: 20px;
    height: 24px;

    color: #ccc;
    text-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* =========================
    Panel
========================= */
.odds-panel {
    min-width: 220px;
    padding: 20px;
    border: 1px solid #6D609D;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(109,96,157,0.3);
    min-width: 200px;
}

.odds-list {
    margin-top: 15px;
}

.odds-item {
    opacity: 0.6;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 18px;
}

.odds-item.active {
    opacity: 1;
    background: rgba(109, 96, 157, 0.2);
    border-left: 4px solid #6D609D;
    padding-left: 12px;

    color: #fff;
    font-weight: bold;

    box-shadow: 0 0 15px rgba(109, 96, 157, 0.6);
    transform: scale(1.05);
}

.odds-item.jackpot {
    color: gold;
    text-shadow: 0 0 15px gold;
}

.odds-item.passed {
    opacity: 0.3;
    text-decoration: line-through;
}

/* =========================
    Stats
========================= */
.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.stat {
    position: relative;
    padding-top: 10px;
}

.stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: rgba(109,96,157,0.5);
}

.stat .label {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #6D609D;

    margin-bottom: 6px;
}

.stat .value {
    font-size: 32px;
    margin-top: 10px;
    font-weight: 700;
}

.stat:not(.highlight) .value {
    color: rgba(255,255,255,0.85);
}

.stat.highlight .value {
    color: #8A7CFF;
    text-shadow: 
        0 0 10px #6D609D,
        0 0 25px rgba(109,96,157,0.8);

    animation: glow 1.2s infinite alternate;
    transform: scale(1.1);
}

@keyframes glow {
    from { text-shadow: 0 0 5px #6D609D; }
    to { text-shadow: 0 0 20px #6D609D; }
}

/* =========================
    RULES
========================= */
.title-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    border-radius: 50%;
    border: 1px solid rgba(138,124,255,0.4);

    background: rgba(20, 20, 40, 0.6);

    cursor: pointer;
    transition: 0.2s;
}

.info-icon:hover {
    transform: scale(1.1);
    box-shadow:
        0 0 8px #8A7CFF,
        0 0 20px rgba(138,124,255,0.5);
}

.info-wrapper {
    position: relative;
}

.info-tooltip {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);

    width: 200px;
    padding: 10px;

    font-size: 16px;
    text-align: center;

    background: rgba(10, 10, 20, 0.9);
    border: 1px solid rgba(138,124,255,0.3);
    border-radius: 10px;

    color: #b8aaff;

    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    backdrop-filter: blur(6px);
}

.info-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
}

.info-wrapper:hover .info-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}