/**
 * SCORES365 AIRDROP - STYLES
 * Dark theme with purple/pink gradients
 */

/* ==================== RESET & BASE ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==================== PARTICLES BACKGROUND ==================== */

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* ==================== LAYOUT ==================== */

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ==================== HEADER ==================== */

header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.subtitle {
    font-size: 1.3em;
    color: #a78bfa;
    margin-bottom: 20px;
}

/* ==================== INFO CARDS ==================== */

.airdrop-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: rgba(26, 26, 46, 0.8);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

.info-card h3 {
    color: #8b5cf6;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.info-card p {
    color: #c4b5fd;
    line-height: 1.6;
}

.info-card .number {
    font-size: 2em;
    font-weight: bold;
    color: #ec4899;
    margin: 10px 0;
}

/* ==================== WALLET SECTION ==================== */

.wallet-section {
    background: rgba(26, 26, 46, 0.8);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.wallet-section h2 {
    color: #8b5cf6;
    margin-bottom: 20px;
    font-size: 2em;
}

/* ==================== BUTTONS ==================== */

.connect-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1.2em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.connect-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.connect-btn:hover::before {
    width: 300px;
    height: 300px;
}

.connect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.6);
}

.connect-btn:active {
    transform: translateY(-1px);
}

.connect-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.claim-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    margin-top: 20px;
}

.claim-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6);
}

.claim-btn:disabled {
    background: rgba(107, 114, 128, 0.5);
    cursor: not-allowed;
    box-shadow: none;
}

/* ==================== WALLET STATUS ==================== */

.wallet-status {
    margin-top: 30px;
    padding: 20px;
    background: rgba(15, 15, 35, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: none;
}

.wallet-status.active {
    display: block;
    animation: slideIn 0.5s ease;
}

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

.wallet-address {
    color: #a78bfa;
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
    margin: 15px 0;
    word-break: break-all;
}

/* ==================== ELIGIBILITY STATS ==================== */

.eligibility {
    margin-top: 20px;
    padding: 20px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    border-left: 4px solid #8b5cf6;
}

.eligibility-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.eligibility-item:last-child {
    border-bottom: none;
}

.eligibility-label {
    color: #c4b5fd;
    font-weight: 500;
}

.eligibility-value {
    color: #8b5cf6;
    font-weight: bold;
}

.token-amount {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0;
}

/* ==================== SUCCESS MESSAGE ==================== */

.success-message {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #6ee7b7;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.5s ease;
}

/* ==================== TIMELINE ==================== */

.timeline {
    background: rgba(26, 26, 46, 0.8);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
}

.timeline h2 {
    color: #8b5cf6;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2em;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 45px;
    width: 2px;
    height: calc(100% + 10px);
    background: rgba(139, 92, 246, 0.3);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.timeline-content {
    flex: 1;
    padding-top: 5px;
}

.timeline-content h3 {
    color: #a78bfa;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #c4b5fd;
    line-height: 1.6;
}

/* ==================== LOADING SPINNER ==================== */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== FOOTER ==================== */

footer {
    text-align: center;
    padding: 30px;
    color: #6b7280;
    margin-top: 40px;
}

footer p {
    margin: 5px 0;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 768px) {
    .logo {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .wallet-section {
        padding: 25px;
    }
    
    .wallet-section h2 {
        font-size: 1.5em;
    }
    
    .connect-btn {
        padding: 15px 30px;
        font-size: 1em;
    }
    
    .token-amount {
        font-size: 2em;
    }
    
    .timeline {
        padding: 25px;
    }
    
    .timeline h2 {
        font-size: 1.5em;
    }
    
    .timeline-item {
        gap: 15px;
    }
    
    .timeline-dot {
        width: 35px;
        height: 35px;
        font-size: 0.9em;
    }
    
    .timeline-item::before {
        left: 17px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 30px 15px;
    }
    
    .logo {
        font-size: 1.5em;
    }
    
    .subtitle {
        font-size: 0.9em;
    }
    
    .airdrop-info {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .wallet-section {
        padding: 20px;
    }
    
    .connect-btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    
    .claim-btn {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    .token-amount {
        font-size: 1.8em;
    }
}

/* ==================== SMOOTH SCROLLING ==================== */

html {
    scroll-behavior: smooth;
}

/* ==================== SELECTION ==================== */

::selection {
    background: rgba(139, 92, 246, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(139, 92, 246, 0.3);
    color: #fff;
}