:root {
    --bg-dark: #050508;
    --bg-card: rgba(15, 15, 25, 0.7);
    --accent: #a855f7;
    --accent-glow: rgba(168, 85, 247, 0.4);
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --tier-owner: #F1C40F;
    --tier-dev: #F1C40F;
    --tier-staff: #EF4444;
    --tier-beta: #3498DB;
    --tier-premium: #A855F7;
    --tier-sub: #A855F7;
    --tier-member: #2ECC71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Effects */
.background-radial {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 150vh;
    background: radial-gradient(circle at center, #1a1033 0%, #050508 70%);
    transform: translate(-50%, -50%);
    z-index: -2;
}

.mesh-gradient {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    z-index: -1;
    animation: meshScroll 30s linear infinite;
}

@keyframes meshScroll {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text .accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim) !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main) !important;
    text-shadow: 0 0 10px var(--accent-glow);
}

.auth-only {
    display: none;
}

/* User Profile & Actions */
.notif-bell {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.notif-bell:hover {
    background: rgba(255, 255, 255, 0.05);
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.profile-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
}

.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Rank Styles & Animations */
.rank-owner {
    color: var(--tier-owner) !important;
    text-shadow: 0 0 10px var(--tier-owner);
    font-weight: 900;
}

.rank-dev {
    color: var(--tier-dev) !important;
    text-shadow: 0 0 10px var(--tier-dev);
    font-weight: 900;
}

.rank-staff {
    color: var(--tier-staff) !important;
    text-shadow: 0 0 10px var(--tier-staff);
    font-weight: 800;
}

.rank-beta {
    color: var(--tier-beta) !important;
    text-shadow: 0 0 10px var(--tier-beta);
    font-weight: 700;
}

.rank-premium {
    color: var(--tier-premium) !important;
    text-shadow: 0 0 10px var(--tier-premium);
    font-weight: 700;
}

.rank-sub {
    color: var(--tier-sub) !important;
    text-shadow: 0 0 10px var(--tier-sub);
    font-weight: 700;
}

.rank-user {
    color: var(--tier-member) !important;
    font-weight: 600;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: rgba(10, 10, 16, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    overflow: hidden;
}

.profile-trigger:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(124, 58, 237, 0.1));
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.dropdown-avatar {
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.dropdown-user-info h4 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.1rem;
}

.dropdown-user-info span {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stat-box {
    background: transparent;
    padding: 0.8rem 1rem;
    background: rgba(10, 10, 16, 0.5);
}

.stat-box label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}

.stat-box span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.dropdown-links {
    padding: 0.5rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1rem;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dropdown-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0.4rem 0.5rem;
}

.dropdown-logout {
    color: #ef4444 !important;
}

.dropdown-logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-large-primary,
.btn-large-secondary {
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    padding: 0.6rem 1.5rem;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    padding: 0.6rem 2rem;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 99px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-dim);
    font-size: 1.1rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-large-primary {
    padding: 1.2rem 3.5rem;
    background: var(--accent);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.3);
}

.btn-large-secondary {
    padding: 1.2rem 3.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

/* Status Section */
.status-section {
    display: flex;
    justify-content: center;
    margin-bottom: 6rem;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.status-card {
    padding: 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 15px #10b981;
}

.pulsing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}

.status-text {
    font-weight: 700;
    letter-spacing: 2px;
    color: #10b981;
}

.status-details {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: flex;
    gap: 1rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 100px;
}

.feature-card {
    padding: 3rem 2.5rem;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(168, 85, 247, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-dim);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
}

.copyright {
    color: #475569;
    font-size: 0.8rem;
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
    }

    .status-card {
        padding: 1rem;
        text-align: center;
    }
}