/* Hudson Vortex - Electromagnetic Theme CSS */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Michroma&display=swap');

:root {
    /* Color Variables */
    --portal-primary: #00ffcc;
    --portal-secondary: #ff00ff;
    --portal-tertiary: #00ccff;
    --portal-dark: #0a0a0a;
    --portal-darker: #050505;
    --portal-light: #f0f0f0;
    --portal-glow: rgba(0, 255, 204, 0.3);
    --magnetic-purple: #9400d3;
    --vortex-blue: #0080ff;
    
    /* Typography Variables */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-data: 'JetBrains Mono', 'Courier New', monospace;
    --font-accent: 'Michroma', sans-serif;
    
    /* Font Sizes */
    --font-size-hero: clamp(3rem, 8vw, 6rem);
    --font-size-h1: clamp(2.5rem, 5vw, 4rem);
    --font-size-h2: clamp(2rem, 4vw, 3rem);
    --font-size-h3: clamp(1.5rem, 3vw, 2rem);
    --font-size-h4: clamp(1.25rem, 2.5vw, 1.75rem);
    --font-size-body: 1.125rem;
    --font-size-body-small: 1rem;
    --font-size-small: 0.875rem;
    --font-size-data: 1rem;
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;
    
    /* Letter Spacing */
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.05em;
    --letter-spacing-wider: 0.1em;
    --letter-spacing-widest: 0.2em;
    
    /* Responsive Breakpoints */
    --breakpoint-xs: 480px;   /* Small phones */
    --breakpoint-sm: 768px;   /* Large phones */
    --breakpoint-md: 1024px;  /* Tablets */
    --breakpoint-lg: 1200px;  /* Desktop */
    --breakpoint-xl: 1440px;  /* Large screens */
    
    /* Mobile-Specific Variables */
    --mobile-nav-height: 60px;
    --mobile-padding: 1rem;
    --tablet-padding: 1.5rem;
    --desktop-padding: 2rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--portal-darker);
    color: var(--portal-light);
    line-height: var(--line-height-normal);
    font-size: var(--font-size-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px; /* Add padding to account for fixed navbar */
}

/* Portal Hero Section */
.portal-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        var(--portal-primary) 0%, 
        var(--magnetic-purple) 25%, 
        var(--portal-dark) 50%,
        var(--portal-darker) 100%);
    opacity: 0.3;
    animation: portalPulse 8s ease-in-out infinite;
}

@keyframes portalPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 0 20px;
}

.portal-title {
    font-family: var(--font-display);
    font-size: var(--font-size-hero);
    font-weight: 900;
    letter-spacing: var(--letter-spacing-widest);
    text-transform: uppercase;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--portal-primary), var(--portal-secondary), var(--portal-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite;
    text-shadow: 0 0 80px var(--portal-glow);
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
}

.portal-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--portal-primary);
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* EMF Live Reading */
.emf-live {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border: 1px solid var(--portal-primary);
    border-radius: 50px;
    background: rgba(0, 255, 204, 0.1);
    margin-bottom: 3rem;
    animation: emfPulse 2s ease-in-out infinite;
}

@keyframes emfPulse {
    0%, 100% { box-shadow: 0 0 10px var(--portal-glow); }
    50% { box-shadow: 0 0 30px var(--portal-glow); }
}

.emf-label {
    color: var(--portal-light);
    opacity: 0.8;
}

.emf-value {
    font-family: var(--font-data);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--portal-primary);
    letter-spacing: var(--letter-spacing-normal);
}

.emf-status {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--portal-primary);
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, var(--portal-primary), var(--portal-tertiary));
    color: var(--portal-dark);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--portal-primary);
    border: 2px solid var(--portal-primary);
}

.btn-secondary:hover {
    background: var(--portal-primary);
    color: var(--portal-dark);
}

.btn-primary.large, .btn-secondary.large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--portal-secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation */
.portal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--portal-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--portal-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--portal-primary);
}

.nav-cta {
    background: var(--portal-primary);
    color: var(--portal-dark) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
}

.nav-cta:hover {
    background: var(--portal-secondary);
}

/* Sections */
section {
    padding: 5rem 0;
}

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

h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    font-weight: 700;
    letter-spacing: var(--letter-spacing-tight);
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--portal-primary), var(--portal-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
}

h4 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h4);
    font-weight: 500;
}

.lead {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Portal Features */
.portal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: rgba(0, 255, 204, 0.05);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--portal-primary);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--portal-primary);
    margin-bottom: 1rem;
}

/* Science Grid */
.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.science-card {
    background: linear-gradient(135deg, rgba(148, 0, 211, 0.1), rgba(0, 255, 204, 0.1));
    border: 1px solid rgba(148, 0, 211, 0.3);
    border-radius: 10px;
    padding: 2rem;
}

.science-card h3 {
    color: var(--portal-secondary);
    margin-bottom: 1rem;
}

.science-card ul {
    list-style: none;
    padding-left: 0;
}

.science-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.science-card li:last-child {
    border-bottom: none;
}

/* Experience Cards */
.experience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.exp-card {
    background: rgba(0, 204, 255, 0.05);
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.exp-card:hover {
    transform: scale(1.05);
    border-color: var(--portal-tertiary);
    box-shadow: 0 10px 30px rgba(0, 204, 255, 0.3);
}

.exp-card.featured {
    border-color: var(--portal-secondary);
    background: rgba(255, 0, 255, 0.1);
}

.exp-card h3 {
    color: var(--portal-tertiary);
    margin-bottom: 1rem;
}

.duration {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.9rem;
    color: var(--portal-primary);
    opacity: 0.8;
}

/* CTA Section */
.portal-cta {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(255, 0, 255, 0.1));
    border-top: 1px solid rgba(0, 255, 204, 0.3);
    border-bottom: 1px solid rgba(255, 0, 255, 0.3);
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
}

.transport-note {
    font-style: italic;
    opacity: 0.8;
    color: var(--portal-primary);
}

/* Footer */
.portal-footer {
    background: var(--portal-darker);
    border-top: 1px solid rgba(0, 255, 204, 0.2);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--portal-primary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 0.3rem 0;
}

.footer-section a {
    color: var(--portal-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--portal-primary);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Mobile First Responsive Design */

/* Extra Small Devices (phones < 480px) */
@media (max-width: 480px) {
    /* Typography Scale for Mobile */
    :root {
        --font-size-hero: clamp(2rem, 6vw, 3rem);
        --font-size-h1: clamp(1.75rem, 4vw, 2.5rem);
        --font-size-h2: clamp(1.5rem, 3.5vw, 2rem);
        --font-size-h3: clamp(1.25rem, 3vw, 1.5rem);
        --font-size-body: 1rem;
    }
    
    /* Navigation */
    .portal-nav {
        padding: 0.75rem 1rem;
    }
    
    .nav-logo {
        font-size: 1.25rem;
    }
    
    /* Hero Section */
    .portal-title {
        font-size: var(--font-size-hero);
        letter-spacing: 0.1em;
    }
    
    .portal-tagline {
        font-size: 1.1rem;
    }
    
    /* Buttons */
    .btn-primary, .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
        width: 100%;
    }
    
    /* Stats */
    .quick-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Features */
    .portal-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 var(--mobile-padding);
    }
}

/* Small Devices (phones 480px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
    }
    
    /* Hero Actions */
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 3rem;
    }
    
    /* Buttons */
    .btn-primary, .btn-secondary {
        min-height: 48px;
    }
    
    /* Features */
    .portal-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Medium Devices (tablets 768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Typography adjustments */
    :root {
        --font-size-hero: clamp(3rem, 6vw, 4rem);
        --font-size-h1: clamp(2rem, 4vw, 3rem);
    }
    
    /* Navigation */
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Container */
    .container {
        padding: 0 var(--tablet-padding);
    }
    
    /* Features Grid */
    .portal-features,
    .science-grid,
    .experience-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Original 768px breakpoint - now for all mobile devices */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, rgba(5, 5, 5, 0.98) 0%, rgba(10, 10, 30, 0.95) 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
        gap: 1rem;
        transition: right 0.3s ease;
        z-index: 999;
        border-left: 2px solid var(--portal-primary);
        box-shadow: -4px 0 20px rgba(0, 255, 136, 0.2), 10px 0 40px rgba(0, 0, 0, 0.8) inset;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Mobile menu backdrop */
    .mobile-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .mobile-backdrop.active {
        display: block;
    }
    
    /* Hero adjustments */
    .hero-content {
        padding: 0 1rem;
    }
    
    .emf-live {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 2rem auto;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Extra Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    /* Larger font sizes for big screens */
    :root {
        --font-size-hero: 6.5rem;
        --font-size-h1: 4.5rem;
        --font-size-h2: 3.5rem;
    }
}

/* Electromagnetic Animation Effects */
.electromagnetic-wave {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.1;
    background: linear-gradient(0deg, 
        transparent 0%, 
        var(--portal-primary) 50%, 
        transparent 100%);
    animation: waveFlow 10s linear infinite;
}

@keyframes waveFlow {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

/* Mobile Navigation Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 24px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--portal-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation */
.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}

/* Progressive responsive menu - hide items as screen shrinks */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 1.5rem;
    }
    .nav-menu a {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 1024px) {
    /* Hide less important items first */
    .nav-menu li:nth-child(2), /* Sacred History */
    .nav-menu li:nth-child(4) { /* Research Hub */
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 900px) {
    /* Hide more items */
    .nav-menu li:nth-child(5), /* Experiences */
    .nav-menu li:nth-child(6) { /* Prepare */
        display: none;
    }
}

@media (max-width: 768px) {
    /* Show all items in mobile menu */
    .nav-menu li {
        display: block !important;
    }
}

/* Typography Utility Classes */
.font-display {
    font-family: var(--font-display);
}

.font-heading {
    font-family: var(--font-heading);
}

.font-body {
    font-family: var(--font-body);
}

.font-data {
    font-family: var(--font-data);
}

.font-accent {
    font-family: var(--font-accent);
}

/* Special Typography Effects */
.text-glow {
    text-shadow: 0 0 20px currentColor, 0 0 40px currentColor;
}

.text-pulse {
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.text-gradient-portal {
    background: linear-gradient(90deg, var(--portal-primary), var(--portal-secondary), var(--portal-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-typewriter {
    overflow: hidden;
    border-right: 2px solid var(--portal-primary);
    white-space: nowrap;
    animation: typewriter 3s steps(40) 1s forwards, blink 0.75s step-end infinite;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--portal-primary); }
}

/* ================================================================== */
/* ELECTROMAGNETIC NAVBAR - Award-Winning Interactive Navigation */
/* ================================================================== */

.portal-nav {
    background: linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.95) 0%,
        rgba(10, 10, 30, 0.9) 50%,
        rgba(5, 5, 5, 0.85) 100%
    );
    backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, 
        transparent, 
        #00ff88 20%, 
        #FFD700 50%, 
        #9370DB 80%, 
        transparent
    ) 1;
    box-shadow: 
        0 2px 20px rgba(0, 255, 136, 0.1),
        0 4px 40px rgba(0, 0, 0, 0.5) inset;
    overflow: visible;
}

/* Navbar field canvas */
.navbar-field-canvas {
    filter: blur(1px);
    opacity: 0.8;
    mix-blend-mode: screen;
}

/* Enhanced nav container */
.nav-container {
    position: relative;
    z-index: 10;
}

/* Electromagnetic logo transformation */
.nav-logo {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 20;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-letter {
    position: relative;
    z-index: 1;
    text-shadow: 
        0 0 10px currentColor,
        0 0 20px rgba(0, 255, 136, 0.5);
}

.vortex-portal {
    color: transparent !important;
    text-shadow: none !important;
}

/* Enhanced nav menu with magnetic floating */
.nav-menu {
    gap: 3rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    position: relative;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: -1;
}

.nav-menu a:hover::before {
    width: 150%;
    height: 150%;
}

.nav-menu a:hover {
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #00ff88,
        0 0 30px #00ff88;
    transform: translateY(-2px) scale(1.05);
}

/* Nav item magnetic field */
.nav-item-field {
    filter: blur(10px);
}

/* Special CTA button */
.nav-cta {
    background: linear-gradient(135deg, #00ff88 0%, #FFD700 100%);
    color: #000033 !important;
    font-weight: 700;
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.nav-cta:hover::after {
    animation: shimmer 0.6s ease;
}

@keyframes shimmer {
    0% {
        transform: rotate(45deg) translateX(-200%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translateX(200%);
        opacity: 0;
    }
}

/* Scroll-enhanced navbar */
.portal-nav.scrolled {
    background: rgba(5, 5, 5, 0.98);
    box-shadow: 
        0 4px 30px rgba(0, 255, 136, 0.2),
        0 8px 60px rgba(0, 0, 0, 0.8) inset;
}

/* Mobile electromagnetic menu */
@media (max-width: 768px) {
    .nav-menu {
        background: linear-gradient(
            135deg,
            rgba(5, 5, 5, 0.98) 0%,
            rgba(10, 10, 30, 0.95) 100%
        );
        box-shadow: 
            4px 0 20px rgba(0, 255, 136, 0.2),
            -10px 0 40px rgba(0, 0, 0, 0.8) inset;
        border-right: 2px solid rgba(0, 255, 136, 0.3);
    }
    
    .nav-menu.active {
        animation: menuSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    @keyframes menuSlideIn {
        from {
            right: -100%;
            opacity: 0;
        }
        to {
            right: 0;
            opacity: 1;
        }
    }
}