* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

:root {
    --neon-blue: #4cc9f0;
    --neon-pink: #f72585;
    --neon-purple: #7209b7;
    --dark-bg: #1b0b3b;
    --card-bg: rgba(255, 255, 255, 0.12);
}

body {
    background: var(--dark-bg);
    background-image: 
        linear-gradient(125deg, #240c4a 0%, #1a0933 100%),
        radial-gradient(circle at 50% 0%, rgba(76, 201, 240, 0.25) 0%, transparent 70%),
        radial-gradient(circle at 0% 100%, rgba(114, 9, 183, 0.25) 0%, transparent 70%);
    background-blend-mode: soft-light;
    min-height: 100vh;
    padding: 20px;
    color: white;
    position: relative;
    overflow-x: hidden;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(76, 201, 240, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(114, 9, 183, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(76, 201, 240, 0.15) 0%, transparent 50%);
    filter: blur(90px);
    animation: particleMove 30s infinite alternate ease-in-out;
}

@keyframes particleMove {
    0% { 
        background-position: 0% 0%;
        opacity: 0.5;
    }
    50% {
        opacity: 0.7;
    }
    100% { 
        background-position: 100% 100%;
        opacity: 0.5;
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.game-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 20px;
}

.game-svg {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.game-logo.roblox .game-svg {
    color: #00A2FF;
    filter: drop-shadow(0 0 10px rgba(0, 162, 255, 0.7));
}

.game-logo.roblox:hover .game-svg {
    filter: drop-shadow(0 0 20px rgba(0, 162, 255, 0.9));
    transform: scale(1.1);
}

.game-logo.brawl .game-svg {
    color: #F5C33B;
    filter: drop-shadow(0 0 10px rgba(245, 195, 59, 0.7));
}

.game-logo.brawl:hover .game-svg {
    filter: drop-shadow(0 0 20px rgba(245, 195, 59, 0.9));
    transform: scale(1.1);
}

.game-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.vs-badge {
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    padding: 10px 20px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 24px;
    color: #1b0b3b;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.mega-title {
    text-align: center;
    margin-bottom: 40px;
}

.neon-text {
    font-size: 42px;
    font-weight: 800;
    color: white;
    text-shadow: 
        0 0 5px rgba(76, 201, 240, 0.5),
        0 0 10px rgba(76, 201, 240, 0.3),
        0 0 15px rgba(76, 201, 240, 0.2);
    animation: gentleFlicker 3s infinite alternate;
}

@keyframes gentleFlicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

.reward-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.reward-item {
    background: var(--card-bg);
    padding: 15px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.amount {
    font-size: 32px;
    font-weight: bold;
    color: var(--neon-blue);
    display: block;
}

.currency {
    font-size: 18px;
    opacity: 0.8;
}

.plus-badge {
    font-size: 32px;
    font-weight: bold;
    color: var(--neon-pink);
}

.timer-box {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.timer-label {
    font-size: 18px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.neon-timer {
    font-size: 48px;
    font-weight: bold;
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
    margin-bottom: 10px;
}

.players-online {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

.progress-container {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-label {
    margin-bottom: 10px;
    font-size: 16px;
}

.status-text {
    color: #00ff00;
    font-weight: bold;
}

.progress-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    width: 87%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    animation: fillProgress 2s ease-out;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.step-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(76, 201, 240, 0.2);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.5);
}

.step-content h3 {
    margin-bottom: 10px;
    color: white;
}

.step-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.prize-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.prize-option {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.prize-svg {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.prize-option[data-game="roblox"] .prize-svg {
    color: #00A2FF;
    filter: drop-shadow(0 0 8px rgba(0, 162, 255, 0.7));
}

.prize-option[data-game="brawl"] .prize-svg {
    color: #F5C33B;
    filter: drop-shadow(0 0 8px rgba(245, 195, 59, 0.7));
}

.prize-option:hover .prize-svg {
    transform: scale(1.1);
}

.prize-option[data-game="roblox"]:hover .prize-svg {
    filter: drop-shadow(0 0 12px rgba(0, 162, 255, 0.9));
}

.prize-option[data-game="brawl"]:hover .prize-svg {
    filter: drop-shadow(0 0 12px rgba(245, 195, 59, 0.9));
}

.prize-icon {
    font-size: 30px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6));
}

.prize-option span {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: block;
}

.claim-button {
    width: 100%;
    padding: 20px;
    background: linear-gradient(45deg, #4cc9f0, #7209b7);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
}

.claim-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 201, 240, 0.4);
}

.button-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.trust-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 15px;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: scale(1.05);
}

.trust-icon {
    font-size: 20px;
}

.recent-claims {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    max-height: 300px;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.recent-claims::before {
    content: ' Ultimi Vincitori';
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.claim-scroll {
    height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

.claim-item {
    background: rgba(255, 255, 255, 0.05);
    margin: 5px 0;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.claim-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.1);
}

.success-icon {
    font-size: 20px;
    animation: bounce 1s infinite;
}

@keyframes newClaim {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Customize scrollbar */
.claim-scroll::-webkit-scrollbar {
    width: 8px;
}

.claim-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.claim-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.claim-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.4;
    }
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes fillProgress {
    from { width: 0; }
    to { width: 87%; }
}

@keyframes scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        margin: 10px;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .neon-text {
        font-size: 28px;
    }
    
    .game-header {
        gap: 10px;
    }

    .game-logo {
        width: 80px;
        height: 80px;
        padding: 15px;
    }
    
    .icon-text {
        font-size: 40px;
    }
    
    .vs-badge {
        padding: 5px 10px;
        font-size: 18px;
    }

    .reward-items {
        flex-direction: column;
        gap: 10px;
    }
    
    .trust-section {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .trust-item {
        width: 100%;
        justify-content: center;
    }

    .amount {
        font-size: 24px;
    }

    .currency {
        font-size: 14px;
    }

    .claim-button {
        font-size: 20px;
        padding: 15px;
    }

    .step-box {
        padding: 15px;
    }

    .prize-options {
        grid-template-columns: 1fr;
    }
    
    .prize-svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
        margin: 5px;
    }

    .neon-text {
        font-size: 24px;
    }

    .game-logo {
        width: 60px;
        height: 60px;
        padding: 12px;
    }
    
    .icon-text {
        font-size: 30px;
    }
    
    .prize-svg {
        width: 25px;
        height: 25px;
    }
}