/* ===== CoinDrop Global Styles ===== */
:root {
    --navy: #1B2A4A;
    --navy-dark: #0F1A2E;
    --navy-light: #243656;
    --orange: #F7931A;
    --orange-light: #FFB347;
    --orange-dark: #E07C00;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --diamond: #B9F2FF;
    --platinum: #E5E4E2;
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
    --gradient-orange: linear-gradient(135deg, var(--orange), var(--orange-light));
    --gradient-navy: linear-gradient(135deg, var(--navy), var(--navy-light));
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.gradient-text {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-orange);
    color: var(--white);
    border-color: var(--orange);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

.btn-discord {
    background: #5865F2;
    color: var(--white);
    border-color: #5865F2;
}
.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.btn-block { width: 100%; justify-content: center; }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img { height: 36px; width: auto; }

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-accent { color: var(--orange); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 2px solid var(--orange);
    }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .btn-outline, .btn-primary { width: 100%; justify-content: center; }
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-dark { background: var(--navy-dark); color: var(--white); }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-header p {
    color: var(--gray-400);
    margin-top: 12px;
    font-size: 1.05rem;
}

.section-dark .section-header p { color: rgba(255,255,255,0.6); }

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(247, 147, 26, 0.1);
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p { margin-top: 12px; font-size: 0.9rem; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-socials a {
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
    transition: color 0.3s;
    text-decoration: none;
}
.footer-socials a:hover { color: var(--orange); }

.footer-links h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--orange); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-brand { grid-column: 1 / -1; }
}

/* ===== Signup Popup ===== */
.signup-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--orange);
    z-index: 9999;
    animation: slideInUp 0.5s ease;
    max-width: 320px;
}

.signup-popup.hidden { display: none; }

.popup-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popup-text { font-size: 0.85rem; color: var(--gray-700); }
.popup-text strong { color: var(--navy); }

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

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-diamond { background: rgba(185,242,255,0.15); color: var(--diamond); }
.badge-platinum { background: rgba(229,228,226,0.15); color: var(--platinum); }
.badge-gold { background: rgba(255,215,0,0.15); color: var(--gold); }
.badge-silver { background: rgba(192,192,192,0.15); color: var(--silver); }
.badge-bronze { background: rgba(205,127,50,0.15); color: var(--bronze); }
.badge-starter { background: rgba(107,114,128,0.15); color: var(--gray-400); }

/* ===== Forms ===== */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group small {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s;
    color: var(--gray-800);
}

.form-input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.1);
}

.form-input.is-valid { border-color: var(--success); }
.form-input.is-invalid { border-color: var(--danger); }

.input-with-icon {
    position: relative;
}

.input-with-icon .form-input { padding-left: 44px; }

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.input-status {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 600;
}

.input-status.valid { color: var(--success); }
.input-status.invalid { color: var(--danger); }
.input-status.loading { color: var(--gray-400); }

/* ===== Cards ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.card-dark {
    background: var(--navy-light);
    color: var(--white);
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-success { color: var(--success); }
.text-muted { color: var(--gray-400); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    margin-right: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 50px 0; }
    .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
}
