/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --accent-color: #e74c3c;
    --gradient-start: #1a2a3a;
    --gradient-end: #2c3e50;
    --text-color: #ffffff;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #c0392b;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-color);
    position: relative;
}

/* Particles Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Main Container */
.tracking-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Styles */
.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Form Styles */
form {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.3);
}

input[type="submit"] {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--accent-color);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

input[type="submit"]:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Lotto Ball Styles */
.lotto-balls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.lotto-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    position: relative;
    animation: bounce 1s ease infinite;
    animation-delay: calc(var(--index) * 0.1s);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
/* Ball Colors */
.ball-1 { background: linear-gradient(135deg, #ff6b6b, #ee5253); }
.ball-2 { background: linear-gradient(135deg, #4834d4, #686de0); }
.ball-3 { background: linear-gradient(135deg, #6ab04c, #badc58); }
.ball-4 { background: linear-gradient(135deg, #f0932b, #ffbe76); }
.ball-5 { background: linear-gradient(135deg, #eb4d4b, #ff7979); }
.powerball { background: linear-gradient(135deg, #e056fd, #be2edd); }

/* Winner Info Styles */
.winner-info {
    width: 100%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
    animation: fadeInUp 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.winner-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

.entered-reference-number {
    font-size: 1.2rem;
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: inline-block;
}

.congrats-message {
    font-size: 1.4rem;
    color: #ffd700;
    margin: 1.5rem 0;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
}

.amount {
    font-size: 1.6rem;
    font-weight: bold;
    color: #2ecc71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
}

/* Status Badge Styles */
.status-badge {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-pending {
    color: #ffd700;
    border-color: #ffd700;
}

.status-claimed {
    color: #2ecc71;
    border-color: #2ecc71;
}

.status-processing {
    color: #3498db;
    border-color: #3498db;
}

/* Claim Button */
.claim-prize-link {
    display: block;
    width: fit-content;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #f1c40f, #f39c12);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
}

.claim-prize-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}
/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .lotto-ball {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .winner-info {
        padding: 1.5rem;
    }
    
    .congrats-message {
        font-size: 1.2rem;
    }
    
    .amount {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .lotto-ball {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .winner-info {
        padding: 1rem;
    }
    
    .congrats-message {
        font-size: 1.1rem;
    }
    
    .amount {
        font-size: 1.3rem;
    }
}

/* Desktop Enhancements */
@media (min-width: 1024px) {
    .tracking-container {
        justify-content: center;
    }

    form {
        transform: perspective(1000px) rotateX(0deg);
        transition: transform 0.3s ease;
    }

    form:hover {
        transform: perspective(1000px) rotateX(5deg);
    }

    .winner-info {
        transform: perspective(1000px) rotateX(0deg);
        transition: all 0.3s ease;
    }

    .winner-info:hover {
        transform: perspective(1000px) rotateX(5deg);
    }

    /* Enhanced Ball Effects */
    .lotto-ball {
        position: relative;
        overflow: hidden;
    }

    .lotto-ball::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.3)
        );
        transform: rotate(45deg);
        animation: shine 2s infinite;
    }
}

@keyframes shine {
    from {
        transform: rotate(45deg) translateY(-100%);
    }
    to {
        transform: rotate(45deg) translateY(100%);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}
.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 {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 15px;
}

.winner-info {
    opacity: 1;
    visibility: visible;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
