:root {
    --xrp-cyan: #00D4FF;
    --xrp-blue: #0066FF;
    --xrp-purple: #6366F1;
    --dark-bg: #0A0B0F;
    --dark-card: #12141C;
    --dark-border: #1E2030;
    --text-primary: #FFFFFF;
    --text-secondary: #8B8FA3;
    --gradient-primary: linear-gradient(135deg, var(--xrp-cyan) 0%, var(--xrp-blue) 50%, var(--xrp-purple) 100%);
    --glow-cyan: 0 0 60px rgba(0, 212, 255, 0.3);
    --error-color: #EF4444;
    --success-color: #10B981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.bg-orb:nth-child(1) {
    width: 600px;
    height: 600px;
    background: var(--xrp-cyan);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.bg-orb:nth-child(2) {
    width: 500px;
    height: 500px;
    background: var(--xrp-blue);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.bg-orb:nth-child(3) {
    width: 400px;
    height: 400px;
    background: var(--xrp-purple);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* Grid Pattern Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

/* Main Content */
.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 11, 15, 0.8);
    border-bottom: 1px solid var(--dark-border);
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Hero Section - Centered */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Airdrop Card */
.airdrop-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.airdrop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.5);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.claim-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.125rem;
}

/* Verification Form Styles */
.verification-form {
    margin-top: 0;
}

.form-step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-align: center;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    stroke: var(--text-secondary);
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--xrp-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.input-wrapper input::placeholder {
    color: var(--text-secondary);
}

/* Verification Code Inputs */
.code-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.code-input {
    width: 52px;
    height: 60px;
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--dark-border);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.code-input:focus {
    outline: none;
    border-color: var(--xrp-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.code-input.filled {
    border-color: var(--xrp-cyan);
    background: rgba(0, 212, 255, 0.05);
}

.code-input.error {
    border-color: var(--error-color);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* Verification Sent Message */
.verification-sent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    margin-bottom: 24px;
}

.verification-sent p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.verification-sent strong {
    color: var(--text-primary);
}

/* Resend Section */
.resend-section {
    text-align: center;
    margin-top: 20px;
}

.resend-section p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.resend-link {
    background: none;
    border: none;
    color: var(--xrp-cyan);
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.resend-link:disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
}

.resend-link:not(:disabled):hover {
    text-decoration: underline;
}

/* Form Message */
.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    text-align: center;
    display: none;
}

.form-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error-color);
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success-color);
}

/* Button Loader */
.btn-loader {
    display: inline-flex;
    align-items: center;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
    padding: 30px 0;
    border-top: 1px solid var(--dark-border);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--xrp-cyan);
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .airdrop-card {
        padding: 30px 24px;
    }

    .code-inputs {
        gap: 6px;
    }

    .code-input {
        width: 44px;
        height: 52px;
        font-size: 1.25rem;
    }

    .footer-links {
        gap: 16px;
    }
}