/* ============================================================
   Tann.cs — Dark Cosmic Landing Page Styles
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --bg-black: #02040A;
    --bg-navy: #07111F;
    --panel: #0B1220;
    --panel-soft: rgba(15, 23, 42, 0.55);
    --electric-blue: #3B82F6;
    --cyan-glow: #60EFFF;
    --soft-white: #EAF6FF;
    --muted: #8EA4C8;
    --gunmetal: #111827;
    --font-heading: 'Space Grotesk', 'Orbitron', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'Orbitron', 'Space Grotesk', monospace;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-black);
    color: var(--soft-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--electric-blue);
    color: #fff;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-black); }
::-webkit-scrollbar-thumb { background: var(--electric-blue); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-glow); }

/* ---- Utility ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---- Reveal Animation ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.cosmic-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    max-width: 780px;
    padding: 0 16px;
}

.cosmic-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(7, 17, 31, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 999px;
    padding: 10px 24px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1), 0 4px 30px rgba(0, 0, 0, 0.4);
}

.cosmic-brand {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cyan-glow);
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
}

.cosmic-nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.cosmic-nav-links a {
    display: block;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    border-radius: 999px;
    transition: color 0.3s, background 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.cosmic-nav-links a:hover,
.cosmic-nav-links a.active {
    color: #fff;
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 12px rgba(96, 239, 255, 0.15);
}

/* Mobile toggle */
.cosmic-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.cosmic-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--cyan-glow);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
    .cosmic-nav { max-width: calc(100% - 32px); }
    .cosmic-nav-toggle { display: flex; }
    .cosmic-nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(7, 17, 31, 0.95);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(59, 130, 246, 0.25);
        border-radius: 16px;
        padding: 12px 8px;
        gap: 2px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s, transform 0.3s;
    }
    .cosmic-nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .cosmic-nav-links a { padding: 10px 16px; font-size: 0.9rem; }
}

/* ============================================================
   HERO SECTION (Scrollytelling — 380vh)
   ============================================================ */
.hero-section {
    position: relative;
    height: 380vh;
    background: var(--bg-black);
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-radial-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    right: 10%;
    transform: translate(30%, -50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

.hero-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.5px 1.5px at 50% 10%, rgba(96, 239, 255, 0.5), transparent),
        radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 15% 85%, rgba(96, 239, 255, 0.4), transparent),
        radial-gradient(1px 1px at 60% 75%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.5px 1.5px at 80% 15%, rgba(59, 130, 246, 0.5), transparent);
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(30%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(30%, -50%) scale(1.1); }
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 4, 10, 0.55) 0%, rgba(2, 4, 10, 0.2) 40%, rgba(2, 4, 10, 0.6) 100%),
        linear-gradient(90deg, rgba(2, 4, 10, 0.7) 0%, rgba(2, 4, 10, 0.15) 50%, rgba(2, 4, 10, 0.35) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Hero intro text — fades out as you scroll */
.hero-text-layer {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    transition: opacity 0.4s ease;
    pointer-events: none;
    opacity: 0;
}

.hero-text-layer .hero-left,
.hero-text-layer .hero-right { pointer-events: auto; }

.hero-container {
    width: 100%;
}

/* Split layout: left and right with gap in center for the frame character */
.hero-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-left {
    max-width: 420px;
    flex-shrink: 0;
    transform: translateX(-60px);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
}

.hero-right {
    max-width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    transform: translateX(60px);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, opacity 0.7s ease 0.12s;
}

.hero-left.slide-in,
.hero-right.slide-in {
    transform: translateX(0);
    opacity: 1;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 0 40px rgba(96, 239, 255, 0.3);
}

.hero-title .cs-dot {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(96, 239, 255, 0.6);
}

.hero-title-dot {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(96, 239, 255, 0.6);
}

.hero-role {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--cyan-glow);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 400px;
    line-height: 1.7;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    justify-content: flex-end;
}

.hero-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--electric-blue);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Scroll phases — appear as you scroll through hero */
.hero-phase {
    position: absolute;
    bottom: 12%;
    left: 6%;
    z-index: 6;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero-phase.visible {
    opacity: 1;
    transform: translateY(0);
}

.phase-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 0 30px rgba(96, 239, 255, 0.4);
}

.phase-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: var(--cyan-glow);
    font-weight: 400;
    max-width: 400px;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    text-align: center;
    transition: opacity 0.4s;
    pointer-events: none;
    opacity: 0;
}

.hero-scroll-hint span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 8px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 0 auto;
    border-right: 2px solid var(--cyan-glow);
    border-bottom: 2px solid var(--cyan-glow);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 0.5; }
}

/* ---- Buttons ---- */
.cosmic-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cosmic-btn-primary {
    background: var(--electric-blue);
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}
.cosmic-btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 0 30px rgba(96, 239, 255, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

.cosmic-btn-outline {
    background: transparent;
    color: var(--soft-white);
    border: 1px solid rgba(96, 239, 255, 0.4);
}
.cosmic-btn-outline:hover {
    background: rgba(96, 239, 255, 0.1);
    border-color: var(--cyan-glow);
    color: var(--cyan-glow);
    box-shadow: 0 0 20px rgba(96, 239, 255, 0.2);
    transform: translateY(-2px);
}

.cosmic-btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
    background: rgba(59, 130, 246, 0.15);
    color: var(--electric-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.cosmic-btn-sm:hover {
    background: var(--electric-blue);
    color: #fff;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(2, 4, 10, 0.65) 0%, rgba(2, 4, 10, 0.25) 40%, rgba(2, 4, 10, 0.7) 100%);
    }
    .hero-split {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
        padding-top: 80px;
    }
    .hero-left { max-width: 100%; }
    .hero-right {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    .hero-tags { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .hero-phase { left: 5%; bottom: 10%; }
}

/* ============================================================
   SECTIONS — Shared
   ============================================================ */
.cosmic-section {
    position: relative;
    padding: 100px 0;
    background: var(--bg-navy);
}

.cosmic-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.15), transparent),
        radial-gradient(1px 1px at 80% 70%, rgba(96, 239, 255, 0.12), transparent);
    pointer-events: none;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #fff;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
    background: var(--panel-soft);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.glass-card:hover {
    border-color: rgba(96, 239, 255, 0.35);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.12);
    transform: translateY(-4px);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.about-grid h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--cyan-glow);
}

.about-grid p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SKILLS SECTION
   ============================================================ */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.skill-pill {
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--soft-white);
    transition: all 0.3s;
    cursor: default;
}

.skill-pill:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--cyan-glow);
    box-shadow: 0 0 16px rgba(96, 239, 255, 0.2);
    color: var(--cyan-glow);
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    border-top: 2px solid var(--electric-blue);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.project-desc {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.project-tags span {
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(96, 239, 255, 0.08);
    border: 1px solid rgba(96, 239, 255, 0.2);
    color: var(--cyan-glow);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .projects-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   JOURNEY / TIMELINE SECTION
   ============================================================ */
.journey-section {
    background: var(--bg-black);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--electric-blue) 10%, var(--electric-blue) 90%, transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 48px;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 30px);
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 30px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 28px;
    width: 14px;
    height: 14px;
    background: var(--electric-blue);
    border: 3px solid var(--bg-black);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
    transition: box-shadow 0.3s, background 0.3s;
}

.timeline-item:hover .timeline-dot {
    background: var(--cyan-glow);
    box-shadow: 0 0 20px rgba(96, 239, 255, 0.6);
}

.timeline-card {
    padding: 24px !important;
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan-glow);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.timeline-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
}

.timeline-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline-line { left: 20px; }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 52px;
        padding-right: 0;
    }

    .timeline-dot { left: 20px; }
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 6px;
}

.cosmic-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--soft-white);
    background: rgba(7, 17, 31, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.cosmic-input::placeholder { color: rgba(142, 164, 200, 0.5); }

.cosmic-input:focus {
    border-color: var(--electric-blue);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.15);
}

textarea.cosmic-input { resize: vertical; min-height: 120px; }

.form-error {
    display: block;
    font-size: 0.78rem;
    color: #f87171;
    margin-top: 4px;
    min-height: 18px;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--cyan-glow);
}

.contact-detail {
    margin-bottom: 16px;
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--electric-blue);
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-detail span:last-child {
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ---- Honeypot (hidden from real users) ---- */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}

/* ---- Contact Form Alerts ---- */
.contact-alert {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 14px 24px;
    margin-bottom: 20px;
    font-size: 0.92rem;
    font-weight: 500;
    animation: alertFadeIn 0.4s ease;
}

.contact-alert.success {
    border: 1px solid rgba(96, 239, 255, 0.4);
    color: var(--cyan-glow);
}

.contact-alert.error {
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: #f87171;
}

@keyframes alertFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.cosmic-footer {
    background: var(--bg-black);
    border-top: 1px solid rgba(59, 130, 246, 0.15);
    padding: 48px 0;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cyan-glow);
    margin-bottom: 4px;
}

.footer-role {
    font-size: 0.88rem;
    color: var(--electric-blue);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--muted);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: var(--cyan-glow);
    color: var(--cyan-glow);
    box-shadow: 0 0 20px rgba(96, 239, 255, 0.25);
    transform: translateY(-3px);
}

.footer-copy {
    color: rgba(142, 164, 200, 0.5);
    font-size: 0.75rem;
}

/* ============================================================
   TOAST
   ============================================================ */
.cosmic-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: rgba(7, 17, 31, 0.9);
    border: 1px solid var(--electric-blue);
    color: var(--soft-white);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.88rem;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s, transform 0.4s;
    backdrop-filter: blur(12px);
}

.cosmic-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
