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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #050811;
    color: #eaecef;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glows */
.ambient-glow-1 {
    position: fixed;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 71, 255, 0.15) 0%, rgba(5, 8, 17, 0) 70%);
    top: -10%;
    left: 15%;
    z-index: 0;
    filter: blur(100px);
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

.ambient-glow-2 {
    position: fixed;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, rgba(5, 8, 17, 0) 70%);
    bottom: -15%;
    right: 15%;
    z-index: 0;
    filter: blur(120px);
    animation: pulseGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 1; }
}

/* Navbar & Custom Logo Style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 8, 17, 0.8);
    backdrop-filter: blur(25px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
}

.brand-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    font-family: 'Outfit', sans-serif;
}

.blue-dot {
    color: #00D2FF;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: #848e9c;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #00D2FF;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: #00D2FF;
    color: #00D2FF;
    background: rgba(0, 210, 255, 0.05);
}

.btn-solid {
    background: linear-gradient(135deg, #0047FF, #0072FF);
    border: none;
    color: #ffffff;
    padding: 11px 26px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(0, 71, 255, 0.3);
}

.btn-solid:hover {
    background: linear-gradient(135deg, #1a56ff, #2b88ff);
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(0, 71, 255, 0.5);
}

.btn-lg {
    padding: 15px 36px;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 190px 20px 90px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(0, 71, 255, 0.1);
    border: 1px solid rgba(0, 114, 255, 0.3);
    color: #00D2FF;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.hero-main-title {
    font-size: 3.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-main-title span {
    background: linear-gradient(135deg, #ffffff 30%, #00D2FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: #848e9c;
    max-width: 650px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-cta-box {
    display: flex;
    gap: 20px;
}

/* Market Ticker Section */
.market-section {
    position: relative;
    z-index: 1;
    padding: 40px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h3 {
    font-size: 1.3rem;
    color: #ffffff;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #00ffa3;
    font-weight: 500;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00ffa3;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffa3;
}

.market-table {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.market-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    align-items: center;
    font-size: 0.95rem;
}

.market-row.header {
    background: rgba(255, 255, 255, 0.03);
    color: #848e9c;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.market-row:last-child {
    border-bottom: none;
}

.coin-name {
    font-weight: 600;
    color: #ffffff;
}

.positive {
    color: #00ffa3;
    font-weight: 600;
}

.negative {
    color: #ff4d4d;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #050811;
    padding: 70px 50px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: #848e9c;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #00D2FF;
}

.footer-bottom {
    text-align: center;
    color: #484f58;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Modal Overlay & Card */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 17, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(18, 24, 38, 0.9);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #848e9c;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #ffffff;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 0.9rem;
    color: #848e9c;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: #848e9c;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(5, 8, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
}

.input-group input:focus {
    border-color: #00D2FF;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
    background: rgba(5, 8, 17, 1);
}

.auth-switch {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: #848e9c;
}

.auth-switch a {
    color: #00D2FF;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    .nav-links {
        display: none;
    }
    .hero-main-title {
        font-size: 2.6rem;
    }
    .hero-cta-box {
        flex-direction: column;
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}


/* Auth Page Specific Styles */
.auth-navbar {
    background: #050811;
}

.auth-page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 40px;
    position: relative;
    z-index: 1;
}

.auth-box {
    width: 100%;
    max-width: 440px;
    background: rgba(18, 24, 38, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}

.auth-box h1 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}

.auth-sub-desc {
    color: #848e9c;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.terms-check {
    margin: 15px 0 25px 0;
    font-size: 0.85rem;
    color: #848e9c;
}

.terms-check label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.4;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #484f58;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider::before {
    margin-right: 15px;
}

.auth-divider::after {
    margin-left: 15px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    width: 100%;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 210, 255, 0.4);
}

.auth-bottom-switch {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #848e9c;
}

.auth-bottom-switch a {
    color: #00D2FF;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    color: #848e9c;
    font-size: 0.9rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
