/* Aerraflow Landing Page - Modern Professional Design */

/* === HERO SECTION === */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-8) 0;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--neutral-0);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-4);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
    animation-delay: 0.1s;
}

.hero-badge-text {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--primary-600);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--space-6);
    line-height: 1.1;
    background: var(--gradient-aerraflow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-6) var(--space-8);
    animation-delay: 0.4s;
    box-shadow: var(--shadow-base);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--text-3xl);
    line-height: var(--leading-none);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--neutral-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--neutral-300);
}

/* === WORLDS SECTION === */
.worlds-section {
    padding: var(--space-20) 0;
    background: var(--neutral-0);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--neutral-600);
    line-height: var(--leading-relaxed);
}

.worlds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
}

.world-card {
    background: rgba(26, 27, 26, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.world-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.08) 0%, 
        rgba(245, 158, 11, 0.03) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.world-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 4px 20px rgba(245, 158, 11, 0.15);
}

.world-card:hover::before {
    opacity: 1;
}

.world-card.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.world-card.coming-soon:hover {
    transform: none;
    box-shadow: var(--shadow-base);
    border-color: var(--neutral-200);
}

.world-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.world-icon {
    font-size: var(--text-3xl);
    padding: var(--space-3);
    background: var(--primary-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--primary-200);
}

.world-badge {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--primary-600);
    background: var(--primary-100);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.world-card-content {
    margin-bottom: var(--space-6);
}

.world-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-3);
}

.world-description {
    color: var(--neutral-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.world-features {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.feature-tag {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--neutral-600);
    background: var(--neutral-100);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-base);
    border: 1px solid var(--neutral-200);
}

.world-card-footer {
    border-top: 1px solid var(--neutral-200);
    padding-top: var(--space-4);
}

.world-progress {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--neutral-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

.progress-text {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--neutral-600);
}

.coming-soon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) 0;
}

.coming-soon-badge span {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--neutral-500);
    background: var(--neutral-100);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    border: 1px solid var(--neutral-200);
}

/* === FEATURES SECTION === */
.features-section {
    padding: var(--space-16) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.feature-card {
    text-align: center;
    padding: var(--space-6);
    background: var(--surface-100);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-raise-sm);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-raise);
    border-color: var(--aerraflow-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    display: block;
}

.feature-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === ANIMATIONS === */
@keyframes gridMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: var(--space-6) 0;
    }
    
    .hero-content {
        padding: 0 var(--space-3);
    }
    
    .hero-title {
        margin-bottom: var(--space-4);
    }
    
    .hero-subtitle {
        margin-bottom: var(--space-6);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--space-3);
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-4);
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .worlds-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        margin-top: var(--space-6);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .feature-card {
        padding: var(--space-4);
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: var(--space-3);
    }
    
    .feature-title {
        font-size: var(--text-lg);
        margin-bottom: var(--space-2);
    }
    
    .section-subtitle {
        font-size: var(--text-lg);
    }
}

@media (max-width: 640px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-content {
        padding: var(--space-12) 0;
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .world-card {
        padding: var(--space-4);
    }
    
    .feature-item {
        padding: var(--space-6);
    }
}

/* === STUDIO EPIC WELCOME === */
.studio-epic-welcome {
    position: relative;
    width: 100%;
    height: 100vh;
    background: transparent; /* Let global magical background show through */
    overflow: hidden;
    z-index: 10;
}

/* Body for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body styling handled in app.css for consistency */

/* === ANIMATED BACKGROUND === */
.epic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Minimal Landing Grid for Texture Only */
.landing-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.015; /* Much more subtle since we have magical cinders */
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--text-secondary), transparent);
    animation: subtleGridPulse 8s ease-in-out infinite;
}

.grid-line:nth-child(odd) {
    width: 100%;
    height: 1px;
}

.grid-line:nth-child(even) {
    width: 1px;
    height: 100%;
}

.grid-line-0 { top: 25%; animation-delay: 0s; }
.grid-line-1 { left: 30%; animation-delay: 2s; }
.grid-line-2 { top: 60%; animation-delay: 4s; }
.grid-line-3 { left: 70%; animation-delay: 6s; }

@keyframes subtleGridPulse {
    0%, 100% { opacity: 0.02; }
    50% { opacity: 0.06; }
}

/* === MAIN CONTENT === */
.landing-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    padding: var(--space-8);
}

/* Desktop adjustment - content is now centered by main layout */
@media (min-width: 769px) {
    .landing-container {
        /* Main content centering is now handled by .main-content in MainLayout.razor.css */
        margin-left: 0;
    }
}

/* Realm Navigation Sidebar (Left Vertical) */
.realm-nav-sidebar {
    position: fixed;
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.6),
        0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-character {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: var(--space-4) auto var(--space-6) auto;
    background: linear-gradient(135deg, var(--aerraflow-primary), var(--aerraflow-bright));
    border-radius: var(--radius-full);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: var(--text-xl);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.nav-character:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* World Navigation Bar (Top Horizontal) */
.world-nav-bar {
    position: fixed;
    top: 0;
    left: 130px;
    right: 0;
    z-index: 1050;
    background: rgba(26, 27, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.world-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    gap: var(--space-8);
}

.world-nav-title {
    flex: 0 0 auto;
}

.world-nav-title h1 {
    margin: 0;
    font-size: var(--text-2xl);
    text-transform: capitalize;
}

.world-nav-subtitle {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.world-nav-menu {
    display: flex;
    gap: var(--space-6);
    flex: 1;
    justify-content: center;
}

.world-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    font-family: var(--font-mono);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.world-nav-link:hover {
    color: var(--aerraflow-primary);
    background: rgba(245, 158, 11, 0.1);
    transform: translateY(-1px);
}

.world-nav-link.active {
    color: var(--aerraflow-primary);
    background: rgba(245, 158, 11, 0.2);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

/* Typography Case Styling */
.world-nav-label {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.section-title {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.project-name, .blog-title {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.world-nav-link {
    text-transform: lowercase;
}

.section-subtitle, .blog-excerpt, .project-description {
    text-transform: lowercase;
}

/* Placeholder Styling */
[data-placeholder]::before {
    content: "[IMG]";
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    border: 1px solid var(--border-primary);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.3);
}

/* Main Content Adjustments for Navigation - Handled globally in MainLayout.razor.css */

/* Push content below world nav bar */
.world-nav-bar + * {
    margin-top: 70px; /* Height of world nav bar */
}

/* Special handling for epic welcome section */
.studio-epic-welcome {
    margin-top: 0; /* Epic welcome starts from top */
}

/* Other content sections need spacing */
.blog-endless-scroller,
.account-world,
.studio-world-content {
    margin-top: 70px;
}

/* Epic Title */
.logo-section {
    margin-bottom: var(--space-16);
}

.epic-title {
    font-family: var(--font-mono);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin: 0;
    margin-bottom: var(--space-4);
    letter-spacing: 0.1em;
    position: relative;
}

.title-letter,
.title-ligature {
    display: inline-block;
    color: var(--aerraflow-primary);
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 
        0 0 10px var(--aerraflow-glow),
        0 0 20px var(--aerraflow-glow),
        0 0 40px var(--aerraflow-glow);
}

/* Enable ligatures specifically for the fl unit */
.title-ligature {
    font-feature-settings: 'liga' 1, 'clig' 1, 'calt' 1;
    font-variant-ligatures: common-ligatures contextual;
}

.title-letter:hover,
.title-ligature:hover {
    transform: translateY(-2px);
    text-shadow: 
        0 0 10px var(--aerraflow-glow),
        0 0 20px var(--aerraflow-glow),
        0 0 40px var(--aerraflow-glow),
        0 8px 25px rgba(245, 158, 11, 0.4);
}

/* Individual letter displacement effects for water-like movement */
.title-letter:nth-child(1):hover { transform: translate(-1px, -2px); }
.title-letter:nth-child(2):hover { transform: translate(1px, -2px); }
.title-letter:nth-child(3):hover { transform: translate(-1px, -1px); }
.title-letter:nth-child(4):hover { transform: translate(1px, -1px); }
.title-letter:nth-child(5):hover { transform: translate(-1px, -2px); }
.title-ligature:hover { transform: translate(0px, -3px); }
.title-letter:nth-child(7):hover { transform: translate(1px, -2px); }
.title-letter:nth-child(8):hover { transform: translate(-1px, -1px); }

@keyframes letterGlow {
    0%, 100% { 
        text-shadow: 
            0 0 10px var(--aerraflow-glow),
            0 0 20px var(--aerraflow-glow),
            0 0 40px var(--aerraflow-glow);
    }
    50% { 
        text-shadow: 
            0 0 20px var(--aerraflow-glow),
            0 0 40px var(--aerraflow-glow),
            0 0 80px var(--aerraflow-glow);
    }
}

/* Action Section */
.action-section {
    width: 100%;
    margin-bottom: var(--space-8);
}

/* Epic Enter Button */
.enter-section {
    margin-top: var(--space-8);
}

.epic-enter-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-10);
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--aerraflow-primary);
    border-radius: var(--radius-full);
    color: var(--aerraflow-primary);
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 40px var(--aerraflow-glow),
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(245, 158, 11, 0.15);
}

.epic-enter-btn:hover {
    transform: translateY(-8px) scale(1.05);
    background: var(--aerraflow-primary);
    color: var(--bg-primary);
    border-color: var(--aerraflow-bright);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.8),
        0 0 80px var(--aerraflow-glow),
        0 0 120px var(--aerraflow-glow),
        inset 0 0 40px rgba(255, 255, 255, 0.2);
}

.epic-enter-btn:active {
    transform: translateY(-4px) scale(1.02);
}

.enter-text {
    position: relative;
    z-index: 2;
}

.enter-arrow {
    position: relative;
    z-index: 2;
    font-size: var(--text-xl);
    transition: transform 0.3s ease;
}

.epic-enter-btn:hover .enter-arrow {
    transform: translateX(5px);
}

.enter-ripple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.6s ease;
}

.epic-enter-btn:hover .enter-ripple {
    transform: scale(1);
}

/* Status Section */
.status-section {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-12);
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0.7;
}

.status-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-base);
    backdrop-filter: blur(5px);
    font-size: var(--text-sm);
}

.status-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.status-label {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.status-value {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.status-online {
    color: var(--success);
}

/* Mouse Follower */
.mouse-glow {
    position: fixed;
    width: 100px;
    height: 100px;
            background: none;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    opacity: 0.3;
    z-index: 5;
}

/* === STUDIO WORLD CONTENT === */
.studio-world-content {
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
    z-index: 5;
    padding: var(--space-20) 0;
    border-top: 1px solid var(--border-primary);
    margin-top: 70px; /* Space for world nav bar */
}

.studio-world-content:first-of-type {
    padding-top: var(--space-24);
    box-shadow: 0 -50px 100px rgba(0, 0, 0, 0.8);
}

/* Studio World Pages (with top nav) */
.studio-world {
    margin-top: 70px; /* Space for world nav bar */
    min-height: calc(100vh - 70px);
}

.studio-world-header {
    padding: var(--space-16) 0;
    text-align: center;
}

.world-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.world-breadcrumb {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-6);
}

.breadcrumb-separator {
    margin: 0 var(--space-2);
    opacity: 0.5;
}

.world-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0 0 var(--space-6) 0;
}

.world-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.studio-sections {
    padding: 0 0 var(--space-20) 0;
}

.studio-section {
    margin-bottom: var(--space-20);
    scroll-margin-top: 120px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: var(--text-3xl);
    margin: 0 0 var(--space-4) 0;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Section */
.blog-preview {
    max-width: 800px;
    margin: 0 auto;
}

.blog-card {
    background: rgba(26, 27, 26, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 2px 15px rgba(245, 158, 11, 0.1);
}

.blog-meta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.blog-date, .blog-tag {
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
}

.blog-tag {
    color: var(--aerraflow-primary);
}

.blog-title {
    font-size: var(--text-xl);
    margin: 0 0 var(--space-4) 0;
    color: var(--text-primary);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-6);
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background: rgba(26, 27, 26, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 2px 15px rgba(245, 158, 11, 0.1);
}

.project-icon {
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    border: 1px solid var(--border-primary);
    padding: var(--space-3);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.project-name {
    font-size: var(--text-xl);
    margin: 0 0 var(--space-4) 0;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.project-progress {
    margin-top: var(--space-6);
}

.progress-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--aerraflow-primary), var(--aerraflow-bright));
    border-radius: inherit;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    color: var(--text-tertiary);
}

/* === RESPONSIVE === */
/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .realm-nav-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1100;
    }
    
    .realm-nav-sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .world-nav-bar {
        left: 0;
        right: 0;
    }
    
    .world-nav-content {
        padding: var(--space-3) var(--space-4);
        gap: var(--space-4);
    }
    
    .world-nav-menu {
        display: none;
    }
    
    .world-nav-menu.mobile-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 27, 26, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-primary);
        flex-direction: column;
        padding: var(--space-4);
        gap: var(--space-2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    /* Mobile burger menu button (world nav) */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--text-secondary);
        font-size: var(--text-xl);
        padding: var(--space-2);
        border-radius: var(--radius);
        transition: all 0.3s ease;
        cursor: pointer;
        margin-left: auto;
    }
    
    /* Mobile realm nav burger button (left side) */
    .mobile-realm-nav-btn {
        position: fixed;
        top: var(--space-3);
        left: var(--space-3);
        z-index: 1150;
        display: block;
        background: rgba(26, 27, 26, 0.9);
        backdrop-filter: blur(10px);
        border: 1px solid var(--border-primary);
        color: var(--text-secondary);
        font-size: var(--text-lg);
        padding: var(--space-2);
        border-radius: var(--radius);
        transition: all 0.3s ease;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-menu-btn:hover,
    .mobile-realm-nav-btn:hover {
        color: var(--aerraflow-primary);
        background: rgba(245, 158, 11, 0.1);
    }
    
    .mobile-menu-btn span,
    .mobile-realm-nav-btn span {
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-btn:active span,
    .mobile-realm-nav-btn:active span {
        transform: scale(0.9);
    }
    
    /* Adjust main content for mobile */
    .main-content-full {
        padding-left: 0;
        padding-top: 60px; /* Maintain nav bar spacing on mobile */
    }
    
    /* Mobile overlay when menu is open */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1050;
        display: none;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    /* Adjust content spacing for mobile */
    .world-nav-bar + * {
        margin-top: 60px; /* Smaller nav bar on mobile */
    }
    
    .blog-endless-scroller,
    .account-world,
    .studio-world-content {
        margin-top: 60px;
    }
    
    /* Landing page mobile adjustments */
    .landing-container {
        padding: var(--space-3);
    }
    
    .epic-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem); /* Smaller mobile title */
    }
    
    /* World title and subtitle mobile sizing */
    .world-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem); /* Smaller mobile world titles */
    }
    
    .world-subtitle {
        font-size: var(--text-base); /* Smaller mobile subtitles */
    }
    
    .section-title {
        font-size: var(--text-lg); /* Smaller mobile section titles */
    }
    
    .section-subtitle {
        font-size: var(--text-sm); /* Smaller mobile section subtitles */
    }
    
    .status-section {
        flex-direction: column;
        align-items: center;
    }
    
    .status-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .studio-world-header {
        padding: var(--space-12) 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .world-nav-title h1 {
        font-size: var(--text-lg);
    }
    
    .world-nav-subtitle {
        font-size: var(--text-xs);
    }
}

/* TEMPORARILY DISABLED: Animations for mobile trail cinders */
/*
@keyframes trailCinderFloat {
    0% {
        opacity: 0.8;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0.3);
    }
}
*/

/* TEMPORARILY DISABLED: Global cinder containers
.cinder-trail-container {
    position: absolute;
    pointer-events: none;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    min-height: 100vh;
}

.background-cinder-container {
    position: fixed;
    pointer-events: none;
    z-index: 1;
}

Ensure cinders are always visible
.trail-cinder,
.explosion-cinder,
.background-cinder,
.orb-cinder {
    pointer-events: none;
    will-change: transform, opacity;
}

Orb cinder specific styling
.orb-cinder {
    z-index: 998;
    transition: none;
}
*/

/* Desktop-only elements */
@media (min-width: 769px) {
    .mobile-menu-btn,
    .mobile-realm-nav-btn {
        display: none;
    }
    
    .mobile-overlay {
        display: none !important;
    }
}

/* === CTA SECTIONS === */
.cta-section {
    background: var(--gradient-surface);
    padding: var(--space-16) 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.cta-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .cta-section {
        padding: var(--space-8) 0;
    }
    
    .cta-title {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-3);
    }
    
    .cta-description {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
        padding: 0 var(--space-3);
    }
    
    .cta-actions {
        flex-direction: column;
        gap: var(--space-3);
        width: 100%;
        padding: 0 var(--space-3);
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
} 