:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --accent-color: #ff00de;
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --gold: #ffd700;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1a1a2e 0%, #000 100%);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

h1.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 40px;
}

/* Ticket Checker */
.ticket-checker {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

input[type="text"] {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #444;
    background: #222;
    color: white;
    font-size: 1rem;
    width: 60%;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
}

.result-box {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    border-radius: 5px;
    color: #00ff00;
}

.result-box.hidden {
    display: none;
}

/* Prizes */
.prizes-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.prize-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.prize-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.prize-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 5px;
}

.prize-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Leaderboard */
.leaderboard {
    margin-bottom: 40px;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

th {
    background: rgba(0, 210, 255, 0.2);
    color: var(--primary-color);
    padding: 15px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.loading {
    margin-top: 20px;
    color: #888;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    text-align: left;
    position: relative;
    color: #eee;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: white;
}

.tnc-btn {
    background: transparent;
    border: 1px solid #555;
    font-size: 0.8rem;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    h1.glitch { font-size: 2rem; }
    .input-group { flex-direction: column; }
    input[type="text"] { width: 100%; }
}
