/* Combined CSS - Generated for Turtle Casino */
/* CSS Variables and Global Styles */

:root {
    --color-deep-green: #0B3D0B; /* Deep Forest Green */
    --color-sea-green: #2E8B57; /* Sea Green */
    --color-light-green: #5CB85C; /* Brighter Light Green */
    --color-dark-charcoal: #1d1f23; /* Dark Charcoal */
    --color-mint-green: #E8F5E8; /* Lighter Mint Green */
    --color-white: #ffffff; /* White */
    --color-hover-green: #3CA96A; /* Hover state */
    --color-success-bg: #0D2E0D; /* Success background */
    --color-error-bg: #3D0D0D; /* Error background */
    --color-bright-yellow: #FFD700; /* High contrast yellow */
    --color-bright-orange: #FF8C00; /* High contrast orange */
    --color-bright-red: #DC143C; /* High contrast red */
    --color-badge-bg: #FFD700; /* Badge background */
    --color-badge-text: #000000; /* Badge text */
}

/* Base Styles */
a {
    color: var(--color-light-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-bright-yellow);
    text-decoration: underline;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: linear-gradient(135deg, var(--color-deep-green) 0%, var(--color-dark-charcoal) 100%);
    color: var(--color-white);
    min-height: 100vh;
}

/* Navigation Styles */
nav {
    background: var(--color-dark-charcoal);
    color: var(--color-white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--color-light-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-center {
    flex-grow: 1;
    text-align: center;
}

.jackpot-display {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-mint-green);
    text-shadow: 0 0 8px rgba(209, 231, 209, 0.5);
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
}

.brand {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--color-mint-green);
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.home-icon-link {
    display: flex;
    align-items: center;
}

.home-icon {
    width: 32px;
    height: 32px;
    fill: var(--color-mint-green);
    transition: fill 0.3s ease;
}

.home-icon-link:hover .home-icon {
    fill: var(--color-white);
}

nav a {
    color: var(--color-white);
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--color-bright-yellow);
}

.nav-right .welcome-msg {
    margin-right: 1.5rem;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.profile-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.profile-icon {
    width: 28px;
    height: 28px;
    fill: var(--color-mint-green);
    vertical-align: middle;
    transition: fill 0.3s ease;
}

.profile-icon-btn:hover .profile-icon {
    fill: var(--color-white);
}

.ticket-badge-container {
    position: relative;
    display: inline-block;
}

.ticket-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--color-badge-bg);
    color: var(--color-badge-text);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8em;
    font-weight: bold;
    border: 2px solid var(--color-white);
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.wallet-icon-link {
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
}

.wallet-icon {
    width: 28px;
    height: 28px;
    fill: var(--color-mint-green);
    vertical-align: middle;
    transition: fill 0.3s ease;
}

.nav-right a:hover .wallet-icon {
    fill: var(--color-white);
}

/* Ticker Styles */
.ticker-bar {
    background: linear-gradient(90deg, var(--color-sea-green) 0%, var(--color-light-green) 100%);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ticker-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: var(--color-mint-green);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(209, 231, 209, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(209, 231, 209, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(209, 231, 209, 0);
    }
}

@keyframes countdownGlow {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(46, 139, 87, 0.3),
            inset 0 0 15px rgba(209, 231, 209, 0.1);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.5),
            0 0 30px rgba(46, 139, 87, 0.6),
            inset 0 0 25px rgba(209, 231, 209, 0.2);
    }
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: var(--color-dark-charcoal);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 8px;
    border: 1px solid var(--color-sea-green);
}

.dropdown-content a {
    color: var(--color-white);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 1em;
    margin: 0;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--color-sea-green);
    color: var(--color-bright-yellow);
}

.show {
    display: block;
}

/* Container and Layout Styles */
.container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-sea-green);
}

h1, h2 {
    color: var(--color-white);
    border-bottom: 2px solid var(--color-sea-green);
    padding-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Alert and Message Styles */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border: 1px solid transparent;
}

.alert-success {
    background: linear-gradient(135deg, var(--color-success-bg) 0%, var(--color-deep-green) 100%);
    color: var(--color-white);
    border: 1px solid var(--color-light-green);
    box-shadow: 0 2px 8px rgba(79, 159, 79, 0.2);
}

.alert-error {
    background: linear-gradient(135deg, var(--color-error-bg) 0%, #4D1C1C 100%);
    color: #FFB3B3;
    border: 1px solid #842029;
    box-shadow: 0 2px 8px rgba(255, 179, 179, 0.2);
}

/* Flash Message Styles */
.flash-messages {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 1.5rem;
}

.flash-messages li {
    margin-bottom: 0.5rem;
}

/* Form Styles */
form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    font-weight: 500;
}

form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--color-sea-green);
    border-radius: 6px;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.8) 100%);
    color: var(--color-white);
    font-size: 1em;
    transition: all 0.3s ease;
}

form input:focus {
    outline: none;
    border-color: var(--color-bright-yellow);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

form button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--color-sea-green) 0%, var(--color-light-green) 100%);
    color: var(--color-white);
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

form button:hover {
    background: linear-gradient(135deg, var(--color-light-green) 0%, var(--color-sea-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

th, td {
    padding: 0.8rem;
    border: 1px solid var(--color-sea-green);
    text-align: left;
}

th {
    background: linear-gradient(135deg, var(--color-deep-green) 0%, var(--color-sea-green) 100%);
    color: var(--color-white);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

tr:nth-child(even) {
    background-color: rgba(31, 31, 31, 0.6);
}

tr:hover {
    background-color: rgba(46, 139, 87, 0.2);
    transition: background-color 0.3s ease;
}

/* Game-specific Styles */
.lottery-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Top Action Zone */
.action-zone {
    text-align: center;
    padding: 1rem 0 2.5rem 0;
    border-bottom: 1px solid #D1E7D1;
    margin-bottom: 2.5rem;
}

.jackpot-display .jackpot-amount {
    font-size: 1.5em;
    font-weight: bold;
    color: #D1E7D1;
    text-shadow: 0 0 10px rgba(209, 231, 209, 0.5);
}

.jackpot-display .jackpot-usd {
    font-size: 1.5em;
    color: #D1E7D1;
    margin-left: 0.5rem;
    opacity: 0.8;
}

.strapline {
    font-size: 1.8em;
    color: #D1E7D1;
    margin-bottom: 2rem;
    text-shadow: 0 0 5px rgba(209, 231, 209, 0.3);
}

.game-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.game-title img {
    height: 50px;
}

.game-title h2 {
    color: #D1E7D1;
    margin: 0;
    font-size: 2.2em;
    text-shadow: 0 0 10px rgba(209, 231, 209, 0.5);
}

.buy-ticket-btn {
    background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.buy-ticket-btn:hover {
    background: linear-gradient(135deg, #4F9F4F 0%, #2E8B57 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        margin: 1rem auto;
    }

    nav {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
    }

    .nav-center {
        order: -1;
        text-align: center;
        margin-bottom: 0.75rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(209, 231, 209, 0.3);
    }

    .nav-left {
        display: none;
    }

    .nav-right {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0.5rem 0;
    }

    .brand {
        font-size: 1.5em;
    }

    .jackpot-display {
        font-size: 1.1em;
    }

    .wallet-icon-link {
        margin: 0;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        position: relative;
    }

    .wallet-icon-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    .wallet-icon {
        width: 24px;
        height: 24px;
    }

    .ticket-badge {
        top: -2px;
        right: -2px;
        padding: 1px 4px;
        font-size: 0.7em;
    }

    .dropdown {
        margin: 0;
    }

    .profile-icon-btn {
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .profile-icon-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    .profile-icon {
        width: 24px;
        height: 24px;
    }

    .dropdown-content {
        right: -50px;
        min-width: 160px;
        top: 100%;
        margin-top: 0.5rem;
    }

    .nav-right .welcome-msg {
        display: none;
    }

    .mobile-nav-btn {
        background: linear-gradient(135deg, var(--color-sea-green) 0%, var(--color-light-green) 100%);
        color: var(--color-white);
        padding: 0.5rem 1rem;
        border-radius: 6px;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9em;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(46, 139, 87, 0.3);
        border: 1px solid var(--color-light-green);
    }

    .mobile-nav-btn:hover {
        background: linear-gradient(135deg, var(--color-light-green) 0%, var(--color-sea-green) 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(46, 139, 87, 0.4);
        color: var(--color-bright-yellow);
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 600px;
    }
}

/* Logo Styles */
.turtle-logo {
    max-width: 250px;
    max-height: 120px;
    display: flex;
    align-items: center;
}

.turtle-logo img {
    width: 100%;
    height: 120px;
}
 .lobby-container {
        max-width: 1000px;
        margin: 0 auto;
    }
    .lobby-header {
        text-align: center;
        margin-bottom: 2.5rem;
    }
    .lobby-header h1 {
        border: none;
        padding-bottom: 0;
    }
    .lobby-header p {
        font-size: 1.4em;
        color: var(--color-mint-green);
        margin-top: 0.5rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
    .game-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    .game-card {
        background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
        border-radius: 12px;
        text-decoration: none;
        color: var(--color-white);
        border: 1px solid var(--color-sea-green);
        transition:
            transform 0.3s ease,
            box-shadow 0.3s ease,
            border-color 0.3s ease;
        display: flex;
        flex-direction: column;
        overflow: hidden; /* Ensures child elements conform to border radius */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    .game-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
        border-color: var(--color-bright-yellow);
    }
    .game-card-image {
        height: 150px;
        background: linear-gradient(135deg, var(--color-deep-green) 0%, var(--color-sea-green) 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    .game-card-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    .game-card-content {
        padding: 1.5rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .game-card-content h2 {
        margin-top: 0;
        margin-bottom: 0.5rem;
        color: var(--color-bright-yellow);
        font-size: 1.6em;
        border: none;
        padding: 0;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
    .game-card-content .subtitle {
        color: var(--color-white);
        font-size: 1.1em;
        margin-bottom: 1rem;
    }
    .game-card-content .description {
        color: var(--color-white);
        font-size: 1em;
        flex-grow: 1;
        opacity: 0.9;
    }
    .help-icon {
        display: none;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        color: white;
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        border: 2px solid #D1E7D1;
        font-size: 1.2rem;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(46, 139, 87, 0.4);
        transition: all 0.3s ease;
        z-index: 10;
    }
    .help-icon:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(46, 139, 87, 0.6);
        border-color: white;
    }
    .game-card {
        position: relative;
    }
    @media (max-width: 768px) {
        .help-icon {
            display: flex;
        }
        .game-card-content .description {
            display: none;
        }
    }

/* Additional Game-specific styles will be added from individual files */
/* This is a base combined CSS file with common styles */


/* Kangaroo */
   .keno-container {
        max-width: 1000px;
        margin: 0 auto;
    }

    /* Top Action Zone */
    .action-zone {
        text-align: center;
        padding: 1rem 0 2.5rem 0;
        border-bottom: 1px solid #D1E7D1;
        margin-bottom: 2.5rem;
    }
    .jackpot-display {
        margin-bottom: 0.5rem;
    }
    .jackpot-display .jackpot-amount {
        font-size: 1.5em;
        font-weight: bold;
        color: #D1E7D1;
        text-shadow: 0 0 10px rgba(209, 231, 209, 0.5);
    }
    .jackpot-display .jackpot-usd {
        font-size: 1.5em;
        color: #D1E7D1;
        margin-left: 0.5rem;
        opacity: 0.8;
    }
    .strapline {
        font-size: 1.8em;
        color: #D1E7D1;
        margin-bottom: 2rem;
        text-shadow: 0 0 5px rgba(209, 231, 209, 0.3);
    }
    .draw-countdown {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    .time-box {
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
        padding: 1.2rem 1rem;
        border-radius: 12px;
        border: 2px solid #D1E7D1;
        min-width: 90px;
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(46, 139, 87, 0.3),
            inset 0 0 15px rgba(209, 231, 209, 0.1);
        position: relative;
        overflow: hidden;
        animation: countdownGlow 3s ease-in-out infinite;
    }
    .time-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
        transform: translateX(-100%);
        transition: transform 0.6s;
    }
    .time-box:hover::before {
        transform: translateX(100%);
    }
    .time-box .time-value {
        font-size: 2.2em;
        font-weight: bold;
        color: #ffffff;
        display: block;
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(46, 139, 87, 0.6),
            0 2px 4px rgba(0, 0, 0, 0.8);
        margin-bottom: 0.3rem;
        letter-spacing: 1px;
    }
    .time-box .time-label {
        font-size: 0.85em;
        color: #ffffff;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: none;
        opacity: 1;
        font-weight: 600;
    }

    /* Game Board */
    .game-board {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }
    .number-selection {
        background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
        border-radius: 12px;
        padding: 2rem;
        border: 1px solid var(--color-sea-green);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    .number-grid {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    .number-button {
        aspect-ratio: 1;
        border: 2px solid var(--color-sea-green);
        background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
        color: var(--color-white);
        border-radius: 8px;
        cursor: pointer;
        font-size: 1.1em;
        font-weight: bold;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .number-button:hover {
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(46, 139, 87, 0.4);
    }
    .number-button.selected {
        background: linear-gradient(135deg, #D1E7D1 0%, #4F9F4F 100%);
        color: #0B3D0B;
        border-color: var(--color-bright-yellow);
        box-shadow: 0 4px 15px rgba(209, 231, 209, 0.4);
    }
    .selection-controls {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 2rem;
    }
    .control-button {
        padding: 0.8rem 1.5rem;
        border: 2px solid var(--color-sea-green);
        background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
        color: var(--color-white);
        border-radius: 8px;
        cursor: pointer;
        font-size: 1em;
        font-weight: bold;
        transition: all 0.3s ease;
    }
    .control-button:hover {
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(46, 139, 87, 0.4);
    }
    .ticket-info {
        background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
        border-radius: 12px;
        padding: 2rem;
        border: 1px solid var(--color-sea-green);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    .selected-numbers {
        background: rgba(11, 61, 11, 0.3);
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 2rem;
        min-height: 60px;
        border: 1px solid var(--color-sea-green);
    }
    .selected-number {
        display: inline-block;
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        color: white;
        padding: 0.5rem 0.8rem;
        margin: 0.2rem;
        border-radius: 6px;
        font-weight: bold;
        font-size: 1.1em;
    }
    .betting-section {
        margin-bottom: 2rem;
    }
    .bet-amount-selector {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 1rem;
    }
    .bet-amount-button {
        padding: 0.8rem 1.2rem;
        border: 2px solid var(--color-sea-green);
        background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
        color: var(--color-white);
        border-radius: 8px;
        cursor: pointer;
        font-size: 1em;
        font-weight: bold;
        transition: all 0.3s ease;
    }
    .bet-amount-button:hover {
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(46, 139, 87, 0.4);
    }
    .bet-amount-button.selected {
        background: linear-gradient(135deg, #D1E7D1 0%, #4F9F4F 100%);
        color: #0B3D0B;
        border-color: var(--color-bright-yellow);
        box-shadow: 0 4px 15px rgba(209, 231, 209, 0.4);
    }
    .buy-button {
        width: 100%;
        padding: 1rem;
        border: none;
        background: linear-gradient(135deg, var(--color-bright-yellow) 0%, #D1E7D1 100%);
        color: #0B3D0B;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1.2em;
        font-weight: bold;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .buy-button:hover {
        background: linear-gradient(135deg, #D1E7D1 0%, var(--color-bright-yellow) 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    }
    .buy-button:disabled {
        background: #666;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }
    .game-info {
        background: rgba(11, 61, 11, 0.3);
        border-radius: 8px;
        padding: 1rem;
        border: 1px solid var(--color-sea-green);
    }
    .game-info h3 {
        color: #D1E7D1;
        margin-top: 0;
        margin-bottom: 1rem;
        text-shadow: 0 0 5px rgba(209, 231, 209, 0.3);
    }
    .game-info p {
        color: #D1E7D1;
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }
    .spots-counter {
        text-align: center;
        font-size: 1.2em;
        color: #D1E7D1;
        margin-bottom: 1rem;
        font-weight: bold;
    }

    /* Ball Drawing Animation Area */
    .drawing-area {
        background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
        border-radius: 12px;
        border: 1px solid #D1E7D1;
        padding: 2rem;
        margin: 2rem 0;
        box-shadow: 0 8px 25px rgba(11, 61, 11, 0.3);
        min-height: 300px;
        position: relative;
        overflow: hidden;
        animation: countdownGlow 3s ease-in-out infinite;
    }

    .drawing-area h3 {
        color: #D1E7D1;
        text-align: center;
        margin-bottom: 1.5rem;
        text-shadow: 0 0 5px rgba(209, 231, 209, 0.3);
    }

    .bowl-container {
        position: relative;
        width: 120px;
        height: 80px;
        margin: 0 auto 2rem;
    }

    .bowl {
        width: 120px;
        height: 80px;
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        border-radius: 0 0 60px 60px;
        border: 3px solid #D1E7D1;
        position: relative;
        box-shadow: 
            inset 0 -10px 20px rgba(0, 0, 0, 0.3),
            0 5px 15px rgba(46, 139, 87, 0.4);
    }

    .bowl::before {
        content: '';
        position: absolute;
        top: -3px;
        left: -3px;
        right: -3px;
        height: 20px;
        background: linear-gradient(135deg, #4F9F4F 0%, #2E8B57 100%);
        border-radius: 60px 60px 0 0;
        border: 3px solid #D1E7D1;
        border-bottom: none;
    }

    .drawn-balls-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        min-height: 120px;
        padding: 1rem;
        background: rgba(11, 61, 11, 0.2);
        border-radius: 8px;
        border: 1px solid rgba(209, 231, 209, 0.3);
    }

    .keno-ball {
        width: 50px;
        height: 50px;
        background: radial-gradient(circle at 30% 30%, #ffffff, #f0f0f0, #d0d0d0);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.2em;
        color: #0B3D0B;
        border: 2px solid #D1E7D1;
        box-shadow: 
            0 4px 8px rgba(0, 0, 0, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.2);
        opacity: 0;
        transform: scale(0) translateY(100px);
        animation: ballAppear 0.8s ease-out forwards;
    }

    .keno-ball.drawing {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        animation: ballFromBowl 1.5s ease-out forwards;
    }

    @keyframes ballFromBowl {
        0% {
            transform: translate(-50%, 20px) scale(0);
            opacity: 0;
        }
        30% {
            transform: translate(-50%, -10px) scale(1.2);
            opacity: 1;
        }
        60% {
            transform: translate(-50%, -5px) scale(1);
            opacity: 1;
        }
        100% {
            transform: translate(-50%, -80px) scale(1);
            opacity: 1;
        }
    }

    @keyframes ballAppear {
        0% {
            opacity: 0;
            transform: scale(0) translateY(50px);
        }
        50% {
            opacity: 1;
            transform: scale(1.2) translateY(-10px);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    .drawing-status {
        text-align: center;
        color: #D1E7D1;
        font-size: 1.1em;
        margin-top: 1rem;
        min-height: 1.5em;
    }

    .draw-controls {
        text-align: center;
        margin-top: 1rem;
    }

    .draw-button {
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        color: white;
        border: 2px solid #D1E7D1;
        padding: 0.8rem 2rem;
        border-radius: 8px;
        font-size: 1.1em;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(46, 139, 87, 0.4);
    }

    .draw-button:hover {
        background: linear-gradient(135deg, #4F9F4F 0%, #2E8B57 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(46, 139, 87, 0.6);
    }

    .draw-button:disabled {
        background: #666;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .active-tickets-container {
        background: rgba(11, 61, 11, 0.3);
        border-radius: 8px;
        padding: 1rem;
        border: 1px solid rgba(209, 231, 209, 0.3);
    }

    .ticket-display {
        background: rgba(31, 31, 31, 0.8);
        border-radius: 8px;
        padding: 1rem;
        border: 1px solid #4F9F4F;
    }

    .ticket-numbers {
        display: flex;
        flex-wrap: wrap;
        gap: 0.3rem;
        margin-top: 0.5rem;
    }

    .ticket-number {
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        color: white;
        padding: 0.3rem 0.5rem;
        border-radius: 4px;
        font-size: 0.9em;
        font-weight: bold;
        min-width: 25px;
        text-align: center;
    }

    .ticket-number.matched {
        background: linear-gradient(135deg, #D1E7D1 0%, #FFD700 100%);
        color: #0B3D0B;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }

    .ticket-info {
        color: #D1E7D1;
        font-size: 0.9em;
        margin-bottom: 0.5rem;
    }

    .tickets-toggle {
        margin-bottom: 1rem;
    }

    @media (max-width: 768px) {
        .game-board {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        .number-grid {
            grid-template-columns: repeat(8, 1fr);
        }
        .draw-countdown {
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .time-box {
            min-width: 70px;
            padding: 1rem 0.8rem;
        }
        .time-box .time-value {
            font-size: 1.8em;
        }
        .time-box .time-label {
            font-size: 0.75em;
        }
    }

/* Power Turtle */

  .lottery-container {
        max-width: 1000px;
        margin: 0 auto;
    }

    /* Top Action Zone */
    .action-zone {
        text-align: center;
        padding: 1rem 0 2.5rem 0;
        border-bottom: 1px solid #D1E7D1;
        margin-bottom: 2.5rem;
    }
    .jackpot-display {
        margin-bottom: 0.5rem;
    }
    .jackpot-display .jackpot-amount {
        font-size: 1.5em;
        font-weight: bold;
        color: #D1E7D1;
        text-shadow: 0 0 10px rgba(209, 231, 209, 0.5);
    }
    .jackpot-display .jackpot-usd {
        font-size: 1.5em;
        color: #D1E7D1;
        margin-left: 0.5rem;
        opacity: 0.8;
    }
    .strapline {
        font-size: 1.8em;
        color: #D1E7D1;
        margin-bottom: 2rem;
        text-shadow: 0 0 5px rgba(209, 231, 209, 0.3);
    }
    .draw-countdown {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    .time-box {
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
        padding: 1.2rem 1rem;
        border-radius: 12px;
        border: 2px solid #D1E7D1;
        min-width: 90px;
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(46, 139, 87, 0.3),
            inset 0 0 15px rgba(209, 231, 209, 0.1);
        position: relative;
        overflow: hidden;
        animation: countdownGlow 3s ease-in-out infinite;
    }
    .time-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
        transform: translateX(-100%);
        transition: transform 0.6s;
    }
    .time-box:hover::before {
        transform: translateX(100%);
    }
    .time-box .time-value {
        font-size: 2.2em;
        font-weight: bold;
        color: #ffffff;
        display: block;
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(46, 139, 87, 0.6),
            0 2px 4px rgba(0, 0, 0, 0.8);
        margin-bottom: 0.3rem;
        letter-spacing: 1px;
    }
    .time-box .time-label {
        font-size: 0.85em;
        color: #ffffff;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: none;
        opacity: 1;
        font-weight: 600;
    }
    .buy-ticket-btn {
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        color: white;
        font-size: 1.5em;
        font-weight: bold;
        padding: 1rem 3rem;
        border-radius: 8px;
        border: 2px solid #D1E7D1;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(46, 139, 87, 0.4);
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }
    .buy-ticket-btn:hover {
        background: linear-gradient(135deg, #4F9F4F 0%, #2E8B57 100%);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(46, 139, 87, 0.6);
        border-color: white;
    }

    /* Bottom Help Zone */
    .help-zone {
        padding: 2.5rem;
        background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
        border-radius: 12px;
        text-align: center;
        max-width: 1000px;
        margin: 2.5rem auto; /* Center it and add some top margin */
        border: 1px solid #D1E7D1;
        box-shadow: 0 8px 25px rgba(11, 61, 11, 0.3);
        position: relative;
    }
    .help-toggle {
        display: none;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        color: white;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        border: 2px solid #D1E7D1;
        font-size: 1.5rem;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(46, 139, 87, 0.4);
        transition: all 0.3s ease;
        z-index: 10;
    }
    .help-toggle:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(46, 139, 87, 0.6);
        border-color: white;
    }
    .help-content {
        transition: all 0.3s ease;
    }
    .help-content.hidden {
        display: none;
    }
    @media (max-width: 768px) {
        .help-toggle {
            display: flex;
        }
        .help-content.hidden {
            display: none;
        }
    }
    .help-zone h2 {
        font-size: 1.8em;
        border: none;
        margin-bottom: 2rem;
        margin-top: 0;
    }
    .help-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns for rules and prizes */
        gap: 2.5rem;
        align-items: start;
    }
    .help-step h3 {
        font-size: 1.3em;
        color: #D1E7D1;
        margin-bottom: 0.5rem;
        text-shadow: 0 0 5px rgba(209, 231, 209, 0.3);
    }
    .rules-list {
        list-style: none;
        padding-left: 0;
        text-align: left;
        color: #D1E7D1;
        font-size: 1.1em;
        line-height: 1.6;
    }
    .rules-list li {
        margin-bottom: 0.5rem;
    }
    @media (max-width: 900px) {
        .help-grid {
            grid-template-columns: 1fr;
        }
    }
    .prize-table {
        width: 100%;
        margin-top: 1rem;
        border-collapse: collapse;
        text-align: center;
    }

    .prize-table th,
    .prize-table td {
        padding: 1rem;
        border: 1px solid #D1E7D1;
    }

    .prize-table thead {
        background: linear-gradient(135deg, #0B3D0B 0%, #2E8B57 100%);
        color: white;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }

    .prize-table tbody tr:nth-child(odd) {
        background-color: rgba(11, 61, 11, 0.3);
    }

    .prize-table .tier-1 {
        font-weight: bold;
        color: #D1E7D1;
        text-shadow: 0 0 5px rgba(209, 231, 209, 0.5);
    }
    /* Modal Styles */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
    .modal-content {
        background:#1F1F1F;
        padding: 2.5rem;
        border-radius: 12px;
        width: 90%;
        max-width: 600px;
        border: 2px solid #D1E7D1;
        position: relative;
        box-shadow: 0 0 30px rgba(209, 231, 209, 0.3);
    }
    .modal-close {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: #aaa;
        font-size: 2rem;
        cursor: pointer;
    }
    .number-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 0.8rem;
        margin: 1.5rem 0;
    }
    .number-btn {
        background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
        border: 2px solid #D1E7D1;
        color: white;
        font-size: 1.4em;
        font-weight: bold;
        padding: 1rem 0;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s ease;
        aspect-ratio: 1 / 1;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 10px rgba(11, 61, 11, 0.3);
    }
    .number-btn:hover {
        border-color: white;
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(46, 139, 87, 0.4);
    }
    .number-btn.selected {
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        color: white;
        border-color: white;
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(46, 139, 87, 0.8);
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }
    .number-btn.disabled:not(.selected) {
        opacity: 0.5;
        cursor: not-allowed;
        border-color: #555;
        background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
    }
    .bet-summary {
        text-align: center;
        margin-top: 1.5rem;
    }
    .bet-summary p {
        margin: 0 0 1rem 0;
        font-size: 1.2em;
    }
    #selectedCount {
        font-weight: bold;
        color: #D1E7D1;
        text-shadow: 0 0 5px rgba(209, 231, 209, 0.5);
    }
    .modal-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 2rem;
    }
    .quick-pick-btn {
        background-color: #0B3D0B;
        color: #D1E7D1;
        border: 2px solid #D1E7D1;
        padding: 0.8rem 1.5rem;
        border-radius: 5px;
        font-size: 1.1em;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .submit-bet-btn {
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        color: white;
        font-weight: bold;
        font-size: 1.2em;
        padding: 0.8rem 2rem;
        border: 2px solid #D1E7D1;
        transition: all 0.3s ease;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }
    .submit-bet-btn:disabled {
        background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
        color: #888;
        cursor: not-allowed;
        border-color: #555;
    }

    /* My Tickets Section */
    .my-tickets-section {
        margin-top: 3rem;
        padding: 2.5rem;
        background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
        border-radius: 12px;
        max-width: 1000px; /* Match lottery-container width */
        margin-left: auto;
        margin-right: auto;
        border: 1px solid #D1E7D1;
        box-shadow: 0 8px 25px rgba(11, 61, 11, 0.3);
    }

    .my-tickets-section h2 {
        font-size: 1.8em;
        border-bottom: 1px solid #D1E7D1;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
        margin-top: 0;
        text-align: center;
        color: #D1E7D1;
        text-shadow: 0 0 5px rgba(209, 231, 209, 0.3);
    }

    .ticket-filters {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }

    .ticket-filters label {
        color: #D1E7D1;
        font-size: 1.1em;
        align-self: center;
    }

    .ticket-filters select {
        background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
        border: 2px solid #D1E7D1;
        color: white;
        padding: 0.6rem 1rem;
        border-radius: 5px;
        font-size: 1em;
        cursor: pointer;
        appearance: none; /* Remove default select arrow */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='292.4' height='292.4'%3E%3Cpath fill='%23D1E7D1' d='M287,114.7L159.2,217.2c-5.8,4.5-13.9,4.5-19.7,0L5.4,114.7c-5.8-4.5-5.8-11.9,0-16.4l11.8-9.2c5.8-4.5,13.9-4.5,19.7,0l118.8,92.7l118.8-92.7c5.8-4.5,13.9-4.5,19.7,0l11.8,9.2C292.8,102.8,292.8,110.2,287,114.7z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.7em top 50%, 0 0;
        background-size: 0.65em auto, 100%;
    }

    .ticket-filters select:focus {
        border-color: #4F9F4F;
        outline: none;
        box-shadow: 0 0 10px rgba(79, 159, 79, 0.5);
    }

    .user-tickets {
        margin-top: 2rem;
        /* Add styles for individual tickets later */
    }
    
/* Racer Rabbit */

 .lottery-container {
        max-width: 1000px;
        margin: 0 auto;
    }

    /* Top Action Zone */
    .action-zone {
        text-align: center;
        padding: 1rem 0 2.5rem 0;
        border-bottom: 1px solid #D1E7D1;
        margin-bottom: 2.5rem;
    }
    
    .game-title {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .game-title img {
        height: 50px;
    }
    
    .game-title h2 {
        color: #D1E7D1;
        margin: 0;
        font-size: 2.2em;
        text-shadow: 0 0 10px rgba(209, 231, 209, 0.5);
    }
    
    .strapline {
        font-size: 1.8em;
        color: #D1E7D1;
        margin-bottom: 2rem;
        text-shadow: 0 0 5px rgba(209, 231, 209, 0.3);
    }
    
    .buy-ticket-btn {
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        color: white;
        font-size: 1.5em;
        font-weight: bold;
        padding: 1rem 3rem;
        border-radius: 8px;
        border: 2px solid #D1E7D1;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(46, 139, 87, 0.4);
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }
    
    .buy-ticket-btn:hover {
        background: linear-gradient(135deg, #4F9F4F 0%, #2E8B57 100%);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(46, 139, 87, 0.6);
        border-color: white;
    }

    /* Bottom Help Zone */
    .help-zone {
        padding: 2.5rem;
        background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
        border-radius: 12px;
        text-align: center;
        border: 1px solid #D1E7D1;
        box-shadow: 0 8px 25px rgba(11, 61, 11, 0.3);
        position: relative;
    }
    .help-toggle {
        display: none;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
        color: white;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        border: 2px solid #D1E7D1;
        font-size: 1.5rem;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(46, 139, 87, 0.4);
        transition: all 0.3s ease;
        z-index: 10;
    }
    .help-toggle:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(46, 139, 87, 0.6);
        border-color: white;
    }
    .help-content {
        transition: all 0.3s ease;
    }
    .help-content.hidden {
        display: none;
    }
    @media (max-width: 768px) {
        .help-toggle {
            display: flex;
        }
        .help-content.hidden {
            display: none;
        }
    }
    
    .help-zone h2 {
        font-size: 1.8em;
        border: none;
        margin-bottom: 2rem;
        margin-top: 0;
    }
    
    .help-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        align-items: start;
    }
    
    .help-step h3 {
        font-size: 1.3em;
        color: #D1E7D1;
        margin-bottom: 0.5rem;
        text-shadow: 0 0 5px rgba(209, 231, 209, 0.3);
    }
    
    .rules-list {
        list-style: none;
        padding-left: 0;
        text-align: left;
        color: #D1E7D1;
        font-size: 1.1em;
        line-height: 1.6;
    }
    
    .rules-list li {
        margin-bottom: 0.5rem;
    }
    
    .prize-table {
        width: 100%;
        margin-top: 1rem;
        border-collapse: collapse;
        text-align: center;
    }

    .prize-table th,
    .prize-table td {
        padding: 1rem;
        border: 1px solid #D1E7D1;
    }

    .prize-table thead {
        background: linear-gradient(135deg, #0B3D0B 0%, #2E8B57 100%);
        color: white;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }

    .prize-table tbody tr:nth-child(odd) {
        background-color: rgba(11, 61, 11, 0.3);
    }

    .prize-table .tier-jackpot {
        font-weight: bold;
        color: #D1E7D1;
        text-shadow: 0 0 5px rgba(209, 231, 209, 0.5);
    }
    
    @media (max-width: 900px) {
        .help-grid {
            grid-template-columns: 1fr;
        }
    }



/* Email Verification Page Styles */
.verify-container {
    max-width: 600px;
    margin: 3rem auto;
    padding: 3rem;
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
    border-radius: 12px;
    border: 1px solid var(--color-sea-green);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.verify-container h1 {
    color: var(--color-mint-green);
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-sea-green);
    padding-bottom: 1rem;
    font-size: 2em;
}

.verify-container p {
    color: var(--color-white);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1em;
}

.verify-icon, .success-icon, .error-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
    text-align: center;
}

.success-icon {
    color: var(--color-light-green);
    text-shadow: 0 0 20px rgba(92, 184, 92, 0.5);
}

.error-icon {
    color: var(--color-bright-red);
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
}

.verify-icon {
    color: var(--color-bright-yellow);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.error-message {
    color: var(--color-bright-red);
    font-weight: bold;
    background: rgba(220, 20, 60, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--color-bright-red);
    margin: 1.5rem 0;
}

.login-link, .back-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-sea-green) 0%, var(--color-light-green) 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
    border: 1px solid var(--color-sea-green);
}

.login-link:hover, .back-link:hover {
    background: linear-gradient(135deg, var(--color-light-green) 0%, var(--color-sea-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
    color: var(--color-bright-yellow);
}

@media (max-width: 768px) {
    .verify-container {
        margin: 1rem auto;
        padding: 2rem;
    }
    
    .verify-container h1 {
        font-size: 1.6em;
    }
    
    .verify-container p {
        font-size: 1em;
    }
    
    .verify-icon, .success-icon, .error-icon {
        font-size: 3rem;
    }
}

/* Missing CSS Classes for Templates */

/* Enhanced countdown timer label styles for better visibility */
.time-box .time-label {
    font-size: 0.85em !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-shadow: none !important;
    opacity: 1 !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

/* Profile Page Styles */
.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
    border-radius: 12px;
    border: 1px solid var(--color-sea-green);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Referral Page Styles */
.referral-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
    border-radius: 12px;
    border: 1px solid var(--color-sea-green);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.referral-container h2 {
    color: var(--color-mint-green);
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--color-sea-green);
    padding-bottom: 0.75rem;
}

.referral-container h3 {
    color: var(--color-mint-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.referral-container p {
    color: var(--color-white);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.referral-container form {
    margin-bottom: 2rem;
}

.referral-container label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    font-weight: 500;
}

.referral-container input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.8) 100%);
    border: 1px solid var(--color-sea-green);
    border-radius: 6px;
    color: var(--color-white);
    font-size: 1em;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.referral-container input[type="email"]:focus {
    outline: none;
    border-color: var(--color-bright-yellow);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 1rem;
}

.referral-container table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(11, 61, 11, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.referral-container th,
.referral-container td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(46, 139, 87, 0.3);
}

.referral-container th {
    background: linear-gradient(135deg, var(--color-deep-green) 0%, var(--color-sea-green) 100%);
    color: var(--color-white);
    font-weight: bold;
}

.referral-container tr:last-child td {
    border-bottom: none;
}

.referral-container tr:hover {
    background: rgba(46, 139, 87, 0.1);
}

.status-completed {
    color: var(--color-light-green);
    font-weight: bold;
}

.status-pending {
    color: var(--color-bright-yellow);
    font-weight: bold;
}

/* Active Tickets Page Styles */
.unrevealed-tickets-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.unrevealed-tickets-container h1 {
    color: var(--color-mint-green);
    margin-top: 0;
    margin-bottom: 2.5rem;
    text-align: center;
    border-bottom: 2px solid var(--color-sea-green);
    padding-bottom: 1rem;
    font-size: 2.5em;
    text-shadow: 0 0 10px rgba(209, 231, 209, 0.3);
}

.no-tickets-message {
    text-align: center;
    color: var(--color-light-green);
    font-size: 1.3em;
    margin: 3rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
    border-radius: 12px;
    border: 1px solid var(--color-sea-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Individual Ticket Item Styles */
.ticket-item {
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
    border-radius: 16px;
    border: 2px solid var(--color-sea-green);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.ticket-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(46, 139, 87, 0.4);
    border-color: var(--color-bright-yellow);
}

.ticket-item-header {
    background: linear-gradient(135deg, var(--color-deep-green) 0%, var(--color-sea-green) 100%);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid var(--color-sea-green);
}

.ticket-item-header h3 {
    color: var(--color-white);
    margin: 0;
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.countdown-timer {
    background: linear-gradient(135deg, var(--color-bright-orange) 0%, var(--color-bright-red) 100%);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.4);
    animation: pulse 2s infinite;
}

.ticket-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(11, 61, 11, 0.2);
    border-bottom: 1px solid rgba(46, 139, 87, 0.3);
}

.ticket-details-grid p {
    color: var(--color-white);
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
}

.ticket-details-grid strong {
    color: var(--color-mint-green);
    font-weight: bold;
}

.numbers-section {
    padding: 2rem;
    text-align: center;
}

.numbers-section p {
    color: var(--color-mint-green);
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 5px rgba(209, 231, 209, 0.3);
}

.numbers-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.number-ball {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 30%, #ffffff, #f0f0f0, #d0d0d0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    color: #0B3D0B;
    border: 2px solid var(--color-sea-green);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: ballAppear 0.8s ease-out forwards;
}

.number-ball:hover {
    transform: scale(1.1);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(46, 139, 87, 0.5);
}

/* Scratch Grid Styles */
.scratch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: rgba(11, 61, 11, 0.3);
    border-radius: 12px;
    border: 2px solid var(--color-sea-green);
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
}

.scratch-cell {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #2E8B57 0%, #4F9F4F 100%);
    border: 2px solid var(--color-sea-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.scratch-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1F1F1F 0%, #0B3D0B 100%);
    transition: opacity 0.3s ease;
    opacity: 1;
}

.scratch-cell:not(.revealed):hover::before {
    opacity: 0.7;
}

.scratch-cell:not(.revealed):hover {
    transform: scale(1.05);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 215, 0, 0.5);
    border-color: var(--color-bright-yellow);
}

.scratch-cell.revealed {
    cursor: default;
    background: linear-gradient(135deg, var(--color-bright-yellow) 0%, #D1E7D1 100%);
    border-color: var(--color-bright-yellow);
    animation: cellReveal 0.6s ease-out;
}

.scratch-cell.revealed::before {
    opacity: 0;
}

.scratch-cell.winner {
    background: linear-gradient(135deg, var(--color-bright-yellow) 0%, #FFD700 100%);
    border-color: var(--color-bright-yellow);
    animation: winnerGlow 1s ease-in-out infinite alternate;
}

.scratch-cell.jackpot {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-color: var(--color-bright-yellow);
    animation: jackpotPulse 1.5s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes cellReveal {
    0% {
        transform: scale(0.8) rotateY(180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotateY(90deg);
    }
    100% {
        transform: scale(1) rotateY(0deg);
        opacity: 1;
    }
}

@keyframes winnerGlow {
    0% {
        box-shadow: 
            0 4px 8px rgba(0, 0, 0, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.2),
            0 0 10px rgba(255, 215, 0, 0.5);
    }
    100% {
        box-shadow: 
            0 4px 8px rgba(0, 0, 0, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.2),
            0 0 25px rgba(255, 215, 0, 0.8);
    }
}

@keyframes jackpotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 1),
            0 0 60px rgba(255, 215, 0, 0.6);
    }
}

.scratch-prize-display {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.scratch-prize-display .badge {
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1em;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.scratch-prize-display .badge.bg-info {
    background: linear-gradient(135deg, var(--color-bright-yellow) 0%, #D1E7D1 100%);
    color: #0B3D0B;
    border: 1px solid var(--color-bright-yellow);
}

.scratch-prize-display .badge.bg-success {
    background: linear-gradient(135deg, var(--color-light-green) 0%, var(--color-sea-green) 100%);
    color: var(--color-white);
    border: 1px solid var(--color-light-green);
}

.scratch-prize-display .badge.bg-secondary {
    background: linear-gradient(135deg, #666 0%, #888 100%);
    color: var(--color-white);
    border: 1px solid #999;
}

/* Button Styles */
.reveal-button {
    background: linear-gradient(135deg, var(--color-bright-yellow) 0%, #D1E7D1 100%);
    color: #0B3D0B;
    border: 2px solid var(--color-bright-yellow);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.reveal-button:hover {
    background: linear-gradient(135deg, #D1E7D1 0%, var(--color-bright-yellow) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.trash-button {
    background: linear-gradient(135deg, var(--color-bright-red) 0%, #8B0000 100%);
    border: 2px solid var(--color-bright-red);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trash-button:hover {
    background: linear-gradient(135deg, #8B0000 0%, var(--color-bright-red) 100%);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .unrevealed-tickets-container {
        padding: 1rem;
    }
    
    .unrevealed-tickets-container h1 {
        font-size: 2em;
        margin-bottom: 2rem;
    }
    
    .ticket-item-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .ticket-item-header h3 {
        font-size: 1.2em;
    }
    
    .ticket-details-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .numbers-section {
        padding: 1rem;
    }
    
    .numbers-list {
        gap: 0.5rem;
    }
    
    .number-ball {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
    
    .scratch-grid {
        gap: 0.5rem;
        padding: 1rem;
        max-width: 300px;
    }
    
    .scratch-cell {
        font-size: 1.5em;
    }
    
    .scratch-prize-display {
        flex-direction: column;
        align-items: center;
    }
    
    .scratch-prize-display .badge {
        font-size: 0.9em;
        padding: 0.6rem 1.2rem;
    }
}

/* Split Container for Register Page */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 70vh;
    background-image: url('/images/casino.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.split-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    z-index: 1;
}

.split-left {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.split-right {
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.95) 100%);
    border-radius: 12px;
    border: 2px solid var(--color-sea-green);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    margin-left: auto;
}

/* Login Container */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.95) 100%);
    border-radius: 12px;
    border: 2px solid var(--color-sea-green);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

/* Login page wrapper for background */
.container:has(.login-container) {
    background-image: url('/images/casino.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container:has(.login-container)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    z-index: 1;
}

/* Wallet Header and Info Boxes */
.wallet-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-box {
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--color-sea-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.3);
}

.info-box-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-sea-green) 0%, var(--color-light-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-box-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

.info-box-text h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1em;
    color: var(--color-mint-green);
    border: none;
    padding: 0;
}

.info-box-text p {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-white);
}

/* Main Content Grid for Wallet */
.main-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.wallet-section {
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--color-sea-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.wallet-section h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--color-mint-green);
    border-bottom: 1px solid var(--color-sea-green);
    padding-bottom: 0.5rem;
}

/* Forms Section */
.forms-section {
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--color-sea-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Deposit Address Display */
.new-address-display {
    text-align: center;
    margin-bottom: 2rem;
}

.new-address-display h4 {
    color: var(--color-mint-green);
    margin-bottom: 1rem;
}

.address-text {
    background: rgba(11, 61, 11, 0.3);
    border: 1px solid var(--color-sea-green);
    border-radius: 8px;
    padding: 1rem;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    word-break: break-all;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.address-warning {
    color: var(--color-light-green);
    font-size: 0.9em;
    margin-top: 1rem;
    opacity: 0.8;
}

.qr-code {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.quick-deposit-btn {
    background: linear-gradient(135deg, var(--color-bright-yellow) 0%, #D1E7D1 100%);
    color: #0B3D0B;
    border: 2px solid var(--color-sea-green);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.quick-deposit-btn:hover {
    background: linear-gradient(135deg, #D1E7D1 0%, var(--color-bright-yellow) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Transaction List */
.transaction-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(11, 61, 11, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(46, 139, 87, 0.3);
    transition: background-color 0.3s ease;
}

.transaction-item:hover {
    background: rgba(46, 139, 87, 0.2);
}

.transaction-type {
    font-weight: bold;
    color: var(--color-mint-green);
}

.transaction-time {
    font-size: 0.9em;
    color: var(--color-light-green);
    opacity: 0.8;
}

.transaction-amount {
    font-weight: bold;
    font-size: 1.1em;
}

.transaction-amount.positive {
    color: var(--color-light-green);
}

.transaction-amount.negative {
    color: var(--color-bright-red);
}

/* Ticket Filters */
.ticket-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.ticket-filters label {
    color: var(--color-white);
    font-weight: 500;
}

.ticket-filters select {
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.8) 100%);
    border: 1px solid var(--color-sea-green);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: var(--color-white);
    font-size: 1em;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.ticket-filters select:focus {
    outline: none;
    border-color: var(--color-bright-yellow);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

/* Mobile Responsive Styles for New Classes */
@media (max-width: 768px) {
    .split-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }

    .split-left,
    .split-right {
        padding: 1rem;
    }

    .profile-container {
        padding: 1rem;
        margin: 1rem auto;
    }

    .wallet-header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .main-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .wallet-section {
        padding: 1.5rem;
    }

    .info-box {
        padding: 1rem;
        gap: 0.75rem;
    }

    .info-box-icon {
        width: 40px;
        height: 40px;
    }

    .info-box-icon svg {
        width: 20px;
        height: 20px;
    }

    .info-box-text h2 {
        font-size: 1em;
    }

    .info-box-text p {
        font-size: 1.1em;
    }

    .ticket-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .ticket-filters label {
        margin-bottom: 0.25rem;
    }

    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .transaction-amount {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .forms-section {
        padding: 1.5rem;
    }

    .wallet-section {
        padding: 1rem;
    }

    .address-text {
        font-size: 0.8em;
        padding: 0.75rem;
    }

    .quick-deposit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1em;
    }
}

/* Enhanced Form Styling */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.9) 100%);
    border-radius: 12px;
    border: 1px solid var(--color-sea-green);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.form-container h2 {
    color: var(--color-mint-green);
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--color-sea-green);
    padding-bottom: 0.75rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    font-weight: 500;
}

.form-container input,
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.8) 100%);
    border: 1px solid var(--color-sea-green);
    border-radius: 6px;
    color: var(--color-white);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
    outline: none;
    border-color: var(--color-bright-yellow);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.form-container input::placeholder,
.form-container textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-container .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--color-sea-green) 0%, var(--color-light-green) 100%);
    color: var(--color-dark-charcoal);
    border: 2px solid var(--color-sea-green);
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.form-container .btn:hover {
    background: linear-gradient(135deg, var(--color-light-green) 0%, var(--color-sea-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
    border-color: var(--color-white);
}

.form-container .btn:disabled {
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.8) 100%);
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(46, 139, 87, 0.3);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-container .form-text {
    margin-top: 0.5rem;
    font-size: 0.875em;
    color: var(--color-light-green);
    opacity: 0.8;
}

.form-container .alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border: 1px solid;
}

.form-container .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--color-bright-red);
    color: var(--color-bright-red);
}

.form-container .alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: var(--color-light-green);
    color: var(--color-light-green);
}

.form-container .alert-info {
    background: rgba(23, 162, 184, 0.1);
    border-color: var(--color-bright-yellow);
    color: var(--color-bright-yellow);
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: var(--color-white);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        margin-left: auto;
    }
    
    .main-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(31, 31, 31, 0.95) 100%);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        border: 1px solid var(--color-sea-green);
        border-top: none;
    }
    
    .main-nav.active {
        display: flex !important;
    }
    
    .main-nav a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(46, 139, 87, 0.3);
        color: var(--color-white);
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    
    .main-nav a:hover {
        background: rgba(46, 139, 87, 0.2);
        color: var(--color-mint-green);
    }
    
    .main-nav a:last-child {
        border-bottom: none;
    }
    
    .header-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 1rem;
    }
    
    .user-info {
        margin-top: 0;
        width: auto;
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    /* Mobile form improvements */
    .form-container {
        padding: 1.5rem;
        margin: 1rem;
        max-width: none;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-container input,
    .form-container select,
    .form-container textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 0.875rem;
    }
    
    .form-container .btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Mobile grid adjustments */
    .main-content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .split-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-box {
        margin-bottom: 1rem;
    }
    
    /* Mobile table improvements */
    .tickets-table,
    .transactions-table {
        font-size: 0.875rem;
    }
    
    .tickets-table th,
    .tickets-table td,
    .transactions-table th,
    .transactions-table td {
        padding: 0.5rem 0.25rem;
    }
    
    /* Mobile ticket grid */
    .tickets-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .ticket-card {
        padding: 1rem;
    }
    
    /* Mobile header adjustments */
    .header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        flex-wrap: nowrap;
    }
    
    .user-balance {
        font-size: 0.9em;
    }
    
    .user-actions {
        gap: 0.5rem;
    }
    
    .user-actions a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        font-size: 1.25rem;
        padding: 0.4rem;
    }
    
    .main-nav {
        padding: 0.75rem;
    }
    
    .main-nav a {
        padding: 0.6rem 0.75rem;
        font-size: 0.9em;
    }
    
    .form-container {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .form-container h2 {
        font-size: 1.25em;
        margin-bottom: 1rem;
    }
    
    .form-container input,
    .form-container select,
    .form-container textarea {
        padding: 0.75rem;
        font-size: 15px;
    }
    
    .form-container .btn {
        padding: 0.875rem;
        font-size: 0.95em;
    }
    
    .user-balance {
        font-size: 0.8em;
    }
    
    .user-actions a {
        padding: 0.3rem 0.6rem;
        font-size: 0.8em;
    }
    
    /* Mobile styles for new containers */
    .referral-container {
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .referral-container h2 {
        font-size: 1.5em;
        margin-bottom: 1rem;
    }
    
    .referral-container h3 {
        font-size: 1.2em;
        margin-top: 1.5rem;
    }
    
    .referral-container table {
        font-size: 0.9em;
    }
    
    .referral-container th,
    .referral-container td {
        padding: 0.75rem 0.5rem;
    }
    
    .unrevealed-tickets-container {
        padding: 1rem;
        margin: 1rem auto;
    }
    
    .unrevealed-tickets-container h1 {
        font-size: 1.5em;
        margin-bottom: 1.5rem;
    }
    
    .no-tickets-message {
        font-size: 1.1em;
        margin: 2rem 0;
        padding: 1.5rem;
    }
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, var(--color-dark-charcoal) 0%, rgba(11, 61, 11, 0.9) 100%);
    border-top: 2px solid var(--color-sea-green);
    margin-top: 4rem;
    padding: 2rem 0 1rem 0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-section {
    text-align: center;
}

.responsible-gambling {
    color: var(--color-bright-yellow);
    font-size: 1.1em;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    line-height: 1.4;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--color-light-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--color-bright-yellow);
    text-decoration: underline;
}

.help-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-copyright {
    color: var(--color-light-green);
    margin: 0 0 0.5rem 0;
    font-size: 0.9em;
    opacity: 0.8;
}

.footer-age {
    color: var(--color-bright-red);
    margin: 0;
    font-size: 0.9em;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(220, 20, 60, 0.3);
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .responsible-gambling {
        font-size: 1em;
        line-height: 1.3;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-link {
        font-size: 0.9em;
    }
    
    .site-footer {
        margin-top: 2rem;
        padding: 1.5rem 0 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .responsible-gambling {
        font-size: 0.9em;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-copyright,
    .footer-age {
        font-size: 0.8em;
    }
}
