* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(102, 126, 234, 0.4));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

h1 {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.subtitle {
    color: #666;
    font-size: 15px;
    font-weight: 500;
}

.reward-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.5);
    position: relative;
    overflow: hidden;
}

.reward-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.reward-amount {
    font-size: 64px;
    font-weight: 900;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    position: relative;
}

.reward-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
}

.reward-tokens {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    position: relative;
}

.chains {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.chain-badge {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.chain-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.timer {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.timer-label {
    font-size: 14px;
    font-weight: 600;
    color: #856404;
    margin-bottom: 8px;
}

.timer-value {
    font-size: 36px;
    font-weight: 800;
    color: #d9534f;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border-radius: 15px;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.2);
}

.status-icon {
    font-size: 24px;
}

.status.processing {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

.status.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.wallet-info {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 15px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    word-break: break-all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.claim-btn {
    width: 100%;
    padding: 22px;
    border: none;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.claim-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.claim-btn:hover::before {
    left: 100%;
}

.claim-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.6);
}

.claim-btn:active {
    transform: translateY(-1px);
}

.claim-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 24px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 20px;
}

.footer {
    text-align: center;
    padding-top: 25px;
    border-top: 2px solid #eee;
}

.footer-text {
    color: #999;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 26px;
    }
    
    .reward-amount {
        font-size: 52px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}
