/* ══════════════════════════════════════════════════
   LANDING PAGE - Hurricane 3D White Particles
   ══════════════════════════════════════════════════ */

html, body {
    overflow: hidden;
    height: 100%;
}

/* ── CANVAS ──────────────────────────────────────── */
#vortexCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}


/* ── MAIN LAYOUT ─────────────────────────────────── */
.landing-page {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── TOP NAV - minimal floating ──────────────────── */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5rem;
    position: relative;
    z-index: 10;
}

.top-bar .logo {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar .logo:hover { color: rgba(255,255,255,1); }

.top-bar .logo-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.top-bar-right a {
    text-decoration: none;
    color: rgba(255,255,255,0.35);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    transition: color 0.25s, background 0.25s;
    letter-spacing: 0.02em;
}

.top-bar-right a:hover {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.04);
}

/* ── HERO CONTENT - LEFT aligned ─────────────────── */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem; /* Reduced from 6rem to pull components closer to the center */
    padding: 0 6rem 4rem 6rem;
    position: relative;
}

.hero-left {
    max-width: 560px;
    text-align: left;
}

/* Eyebrow */
.hero-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1.5rem;
    animation: fadeSlideLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* Slogan */
.hero-slogan {
    font-size: 4.2rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.0;
    color: #fff;
    margin-bottom: 1.5rem;
    animation: fadeSlideLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-slogan .accent {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 50%, var(--text-primary) 100%);
    background-size: 250% 250%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s ease-in-out infinite alternate;
}

@keyframes shimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Description */
.hero-description {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 2.2rem;
    animation: fadeSlideLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

/* ── NAV BUTTONS ─────────────────────────────────── */
.hero-nav {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    animation: fadeSlideLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-nav a {
    text-decoration: none;
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.hero-nav a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
}

.hero-nav a:hover::after { opacity: 1; }

.nav-primary {
    background: #fff;
    color: #000;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 4px 20px rgba(0,0,0,0.5);
}

.nav-primary:hover {
    background: #e8e8f0;
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 8px 30px rgba(0,0,0,0.5), 0 0 40px rgba(255,255,255,0.04);
}

.nav-secondary {
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.06);
}

.nav-secondary:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.nav-ghost {
    background: transparent;
    color: rgba(255,255,255,0.35);
    padding: 0.7rem 1rem;
}

.nav-ghost:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.03);
}

/* Discord Button Style */
.nav-discord {
    background: #5865F2;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    cursor: pointer;
    border: none;
}
.nav-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}
.nav-discord img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.user-display {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    margin-left: 0.5rem;
}

.user-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    background: #333;
}

.logout-link {
    font-size: 0.7rem !important;
    opacity: 0.5;
    padding: 0.45rem 0.6rem !important;
}
.logout-link:hover { opacity: 1; color: #ff6b6b !important; background: none !important; }

/* ── BOTTOM INFO ─────────────────────────────────── */
.bottom-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
    position: relative;
    z-index: 10;
}

.bottom-info span {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.12);
    letter-spacing: 0.08em;
    font-weight: 400;
}

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeSlideLeft {
    0%   { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideRight {
    0%   { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ── TOOLTIP OVERRIDE FOR LANDING ────────────────── */
.tooltip-floating {
    z-index: 20;
}

.updates-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem; /* Increased padding for easier reading */
    width: 100%;
    max-width: 540px; /* Increased width to make it larger */
    text-align: left;
    animation: fadeSlideRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
    flex-shrink: 0;
}
html[data-theme="crystal"] .updates-container,
html[data-theme="sunset"] .updates-container,
html[data-theme="breeze"] .updates-container {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}
.updates-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.8rem;
}
html[data-theme="crystal"] .updates-header,
html[data-theme="sunset"] .updates-header,
html[data-theme="breeze"] .updates-header {
    color: rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 0, 0, 0.04);
}
.updates-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 280px; /* Increased max-height for better visibility */
    overflow-y: auto;
    padding-right: 0.6rem;
}
.updates-list::-webkit-scrollbar {
    width: 4px;
}
.updates-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.updates-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
.update-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.update-date {
    font-size: 0.78rem; /* Slightly larger date text */
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
}
html[data-theme="crystal"] .update-date,
html[data-theme="sunset"] .update-date,
html[data-theme="breeze"] .update-date {
    color: rgba(0, 0, 0, 0.5);
}
.update-text {
    font-size: 0.92rem; /* Enlarged font-size for better legibility */
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}
html[data-theme="crystal"] .update-text,
html[data-theme="sunset"] .update-text,
html[data-theme="breeze"] .update-text {
    color: rgba(0, 0, 0, 0.8);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
    .hero-content {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding: 0 2rem 3rem;
        gap: 3rem;
    }
    .hero-left { text-align: center; max-width: 500px; }
    .hero-nav { justify-content: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .updates-container { max-width: 480px; }
}

@media (max-width: 768px) {
    .hero-slogan { font-size: 2.8rem; }
    .hero-content { padding: 0 1.5rem 2rem; }
    .top-bar { padding: 1rem 1.5rem; }
    .bottom-info { padding: 0.75rem 1.5rem; }
}

@media (max-width: 480px) {
    .hero-slogan { font-size: 2.2rem; }
}
