:root {
    --color-bg-dark: #050101;
    --color-primary: #ff3b3b;
    --color-primary-glow: rgba(255, 59, 59, 0.4);
    --color-secondary: #ff7e33;
    --color-text: #ffffff;
    --color-text-muted: #a69898;
    --color-glass: rgba(18, 8, 8, 0.55);
    --color-glass-border: rgba(255, 100, 100, 0.08);
    --color-glass-hover: rgba(25, 12, 12, 0.7);
    --font-main: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: #050101;
}

body {
    font-family: var(--font-main);
    background-color: transparent;
    color: var(--color-text);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-red {
    color: var(--color-primary) !important; /* Neon Mars Red #ff3b3b */
}

.text-light {
    color: #ffffff !important; /* Pure Stellar White */
}

.text-orange {
    color: var(--color-secondary) !important; /* Solar Orange #ff7e33 */
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Sticky Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 1, 1, 0.4);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 100, 100, 0.05);
    transition: var(--transition-smooth);
}

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

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.brand-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.fallback-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.nav-item, .nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-item:hover, .nav-link:hover,
.nav-item.active, .nav-link.active {
    color: var(--color-text);
}

.nav-item::after, .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-link:hover::after,
.nav-item.active::after, .nav-link.active::after {
    width: 100%;
}

.cyber-dropdown-menu a::after {
    display: none !important;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
    transform: translateY(-1px);
}

/* Main Container */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 7rem 2rem 3rem 2rem; /* padding-top accounts for fixed header */
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--color-glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
    animation: pulse-glow 6s infinite ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 59, 59, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
        border-color: var(--color-glass-border);
    }
    50% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 59, 59, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 100, 100, 0.18);
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 1rem 1rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
}

.title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.title span {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #d91818);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--color-primary-glow);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Section Title */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 0.75rem auto 0 auto;
    border-radius: 2px;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.portfolio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: left;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(255, 59, 59, 0.08), 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 100, 100, 0.15);
}

.card-status {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.status-launched {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-upcoming {
    background: rgba(255, 126, 51, 0.15);
    color: var(--color-secondary);
    border: 1px solid rgba(255, 126, 51, 0.3);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 1024 / 500;
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid var(--color-glass-border);
    position: relative;
    background: #0d0b14;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.card-description {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 300;
    flex-grow: 1;
}

.card-cta {
    align-self: flex-start;
}

/* Card Theme Helpers */
.card-holiday-paths {
    border-color: rgba(232, 114, 42, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(232, 114, 42, 0.2);
}
.status-holiday-paths {
    background: rgba(232, 114, 42, 0.2);
    border: 1px solid rgba(232, 114, 42, 0.45);
    color: #ff8533;
}
.cta-holiday-paths {
    background: linear-gradient(135deg, #e8722a, #a84210) !important;
}
.card-header-flex {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.card-app-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}
.m-0 {
    margin: 0 !important;
}
.border-holiday-paths {
    border-color: rgba(232, 114, 42, 0.4) !important;
}
.btn-nav-holiday {
    background: linear-gradient(135deg, #e8722a, #a84210) !important;
}
.badge-holiday-launch {
    background: rgba(232, 114, 42, 0.15) !important;
    border-color: rgba(232, 114, 42, 0.4) !important;
    color: #ff8533 !important;
}
.btn-launch-orange {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, #e8722a, #a84210) !important;
    color: #fff !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(232, 114, 42, 0.35) !important;
}
.badge-dot-orange {
    background: #e8722a !important;
    box-shadow: 0 0 10px #ff8533 !important;
}
.text-holiday-orange {
    color: #e8722a !important;
}

.card-action-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: auto;
    width: 100%;
}

.card-action-group .btn-primary,
.card-action-group .btn-secondary {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 140px;
    text-align: center;
    padding: 0.9rem 1rem;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

/* Countdown Timer layout */
.countdown-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    max-width: 420px;
}

.countdown-wrapper .time-block {
    position: relative;
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown-wrapper .time-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-wrapper .time-block .number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.1;
}

.countdown-wrapper .time-block .label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-top: 0.1rem;
    font-weight: 600;
}

.countdown-wrapper .colon {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: -0.8rem;
}

.countdown-wrapper .progress-ring {
    width: 100%;
    height: 100%;
}

/* Our Philosophy Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2rem;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 100, 100, 0.15);
    background: var(--color-glass-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.icon-glow {
    filter: drop-shadow(0 0 10px var(--color-primary-glow));
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Subscribe Section */
.subscribe-section {
    padding: 3.5rem 3rem;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.subscribe-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subscribe-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.5;
}

.form-wrapper {
    width: 100%;
}

.input-group {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-glass-border);
    border-radius: 50px;
    padding: 0.4rem;
    transition: var(--transition-smooth);
}

.input-group:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    border-radius: 50px;
}

input[type="email"]:-webkit-autofill,
input[type="email"]:-webkit-autofill:hover, 
input[type="email"]:-webkit-autofill:focus, 
input[type="email"]:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: var(--color-text) !important;
}

input[type="email"]::placeholder {
    color: #666;
}

#form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
}

.hidden {
    display: none;
}

.contact-text {
    margin-top: 1.8rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.contact-text a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-text a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Social Media Section */
.social-section {
    text-align: center;
    width: 100%;
}

.social-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-top: -1.8rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.25rem 1.4rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform: skewX(-20deg);
    transition: left 0.75s ease;
}

.social-card:hover::before {
    left: 140%;
}

.social-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.social-svg {
    transition: var(--transition-smooth);
}

.social-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}

.social-platform {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    transition: var(--transition-smooth);
}

.social-handle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 0.15rem;
    transition: var(--transition-smooth);
}

.social-arrow {
    color: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.social-card:hover .social-arrow {
    color: var(--color-text);
    transform: translateX(4px);
}

.social-card:hover {
    transform: translateY(-5px);
}

/* YouTube Custom Glow */
.social-youtube:hover {
    border-color: rgba(255, 59, 59, 0.4);
    box-shadow: 0 15px 35px rgba(255, 59, 59, 0.2), 0 0 25px rgba(255, 59, 59, 0.15);
}
.social-youtube:hover .social-icon-wrapper {
    background: rgba(255, 0, 0, 0.12);
    border-color: rgba(255, 0, 0, 0.4);
    color: #ff3b3b;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

/* LinkedIn Custom Glow */
.social-linkedin:hover {
    border-color: rgba(10, 102, 194, 0.4);
    box-shadow: 0 15px 35px rgba(10, 102, 194, 0.25), 0 0 25px rgba(255, 59, 59, 0.1);
}
.social-linkedin:hover .social-icon-wrapper {
    background: rgba(10, 102, 194, 0.15);
    border-color: rgba(10, 102, 194, 0.5);
    color: #0088ff;
    box-shadow: 0 0 15px rgba(10, 102, 194, 0.4);
}

/* X (Twitter) Custom Glow */
.social-x:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15), 0 0 25px rgba(255, 59, 59, 0.1);
}
.social-x:hover .social-icon-wrapper {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Instagram Custom Glow */
.social-instagram:hover {
    border-color: rgba(225, 48, 108, 0.4);
    box-shadow: 0 15px 35px rgba(225, 48, 108, 0.25), 0 0 25px rgba(255, 59, 59, 0.1);
}
.social-instagram:hover .social-icon-wrapper {
    background: linear-gradient(135deg, rgba(240, 148, 51, 0.2), rgba(225, 48, 108, 0.2));
    border-color: rgba(225, 48, 108, 0.5);
    color: #f09433;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.35);
}

/* Facebook Custom Glow */
.social-facebook:hover {
    border-color: rgba(24, 119, 242, 0.4);
    box-shadow: 0 15px 35px rgba(24, 119, 242, 0.25), 0 0 25px rgba(255, 59, 59, 0.1);
}
.social-facebook:hover .social-icon-wrapper {
    background: rgba(24, 119, 242, 0.15);
    border-color: rgba(24, 119, 242, 0.5);
    color: #1877f2;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
}

/* Pinterest Custom Glow */
.social-pinterest:hover {
    border-color: rgba(230, 0, 35, 0.45);
    box-shadow: 0 15px 35px rgba(230, 0, 35, 0.25), 0 0 25px rgba(255, 59, 59, 0.15);
}
.social-pinterest:hover .social-icon-wrapper {
    background: rgba(230, 0, 35, 0.15);
    border-color: rgba(230, 0, 35, 0.5);
    color: #e60023;
    box-shadow: 0 0 15px rgba(230, 0, 35, 0.4);
}

/* Reddit Custom Glow */
.social-reddit:hover {
    border-color: rgba(255, 69, 0, 0.4);
    box-shadow: 0 15px 35px rgba(255, 69, 0, 0.25), 0 0 25px rgba(255, 59, 59, 0.1);
}
.social-reddit:hover .social-icon-wrapper {
    background: rgba(255, 69, 0, 0.15);
    border-color: rgba(255, 69, 0, 0.5);
    color: #ff4500;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

/* Discord Custom Glow */
.social-discord:hover {
    border-color: rgba(88, 101, 242, 0.4);
    box-shadow: 0 15px 35px rgba(88, 101, 242, 0.25), 0 0 25px rgba(255, 59, 59, 0.1);
}
.social-discord:hover .social-icon-wrapper {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.5);
    color: #5865f2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

.footer-social-link.link-reddit:hover {
    color: #ff4500;
    border-color: rgba(255, 69, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
    background: rgba(255, 69, 0, 0.1);
}

.footer-social-link.link-discord:hover {
    color: #5865f2;
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.1);
}

/* Footer */
/* Master Sci-Fi Cyberpunk Footer System */
.footer {
    width: 100%;
    padding: 3.5rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(255, 59, 59, 0.25);
    background: linear-gradient(180deg, rgba(8, 2, 4, 0.88) 0%, rgba(4, 1, 3, 0.98) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-brand .brand-link {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    max-width: 290px;
    margin: 0;
}

.footer-node-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 59, 59, 0.08);
    border: 1px solid rgba(255, 59, 59, 0.2);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-family: monospace;
    color: #ff7e33;
    width: fit-content;
    margin-top: 0.2rem;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-heading::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-primary);
}

.footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(4px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.copyright {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    font-size: 0.85rem;
}

.footer-legal-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal-link:hover {
    color: var(--color-primary);
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    transform: translateY(-3px);
}

.footer-social-link.link-youtube:hover {
    color: #ff3b3b;
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    background: rgba(255, 0, 0, 0.1);
}

.footer-social-link.link-reddit:hover {
    color: #ff4500;
    border-color: rgba(255, 69, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
    background: rgba(255, 69, 0, 0.1);
}

.footer-social-link.link-discord:hover {
    color: #5865f2;
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.1);
}

.footer-social-link.link-linkedin:hover {
    color: #0088ff;
    border-color: rgba(10, 102, 194, 0.5);
    box-shadow: 0 0 15px rgba(10, 102, 194, 0.4);
    background: rgba(10, 102, 194, 0.1);
}

.footer-social-link.link-x:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.footer-social-link.link-instagram:hover {
    color: #e1306c;
    border-color: rgba(225, 48, 108, 0.5);
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.4);
    background: rgba(225, 48, 108, 0.1);
}

.footer-social-link.link-facebook:hover {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.5);
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
    background: rgba(24, 119, 242, 0.1);
}

.footer-social-link.link-pinterest:hover {
    color: #e60023;
    border-color: rgba(230, 0, 35, 0.5);
    box-shadow: 0 0 15px rgba(230, 0, 35, 0.4);
    background: rgba(230, 0, 35, 0.1);
}

/* Footer Responsive Layout */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 2.5rem 1.25rem 1.5rem 1.25rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.2rem;
    }
    .footer-social-icons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.65rem;
    }
}

/* 3D Digit Flip Animation */
.number.flipping {
    animation: flip-digit 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flip-digit {
    0% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    45% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
    55% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

/* Responsive Design & Mobile Menu Breakpoints */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .container {
        gap: 5rem;
    }
}

/* Hide desktop menu on mobile (< 900px) and show Futuristic Mobile Burger */
@media (max-width: 900px) {
    .nav-menu {
        display: none !important;
    }
    
    .cyber-burger {
        display: flex !important;
    }
}

@media (max-width: 600px) {
    .header-container {
        padding: 0.75rem 1.25rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .brand-logo {
        max-height: 48px;
    }
    
    .container {
        padding: 6.5rem 1rem 3rem 1rem;
        gap: 3.5rem;
    }

    .card-status {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 0.68rem;
        padding: 0.3rem 0.65rem;
        letter-spacing: 0.3px;
    }
    
    .portfolio-card .countdown-wrapper {
        gap: 0.25rem;
    }
    
    .portfolio-card .time-block {
        width: 60px;
        height: 60px;
    }
    
    .portfolio-card .time-block .number {
        font-size: 1.2rem;
    }
    
    .portfolio-card .time-block .label {
        font-size: 0.45rem;
    }
    
    .portfolio-card .flex-seconds {
        display: none; /* Hide seconds on mobile to save space */
    }
    
    .portfolio-card .colon:nth-last-of-type(1) {
        display: none; /* Hide second colon too */
    }

    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    input[type="email"] {
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid var(--color-glass-border);
        border-radius: 50px;
        margin-bottom: 0.8rem;
        text-align: center;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }
    
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    
    .social-card {
        padding: 1.1rem 1.25rem;
    }
}

/* Tablet & Medium Viewports */
@media (max-width: 1024px) and (min-width: 601px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

/* Mobile Landscape (Horizontal) Optimization */
@media (max-height: 520px) and (orientation: landscape) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
    .social-card {
        padding: 0.85rem 1rem;
        border-radius: 14px;
    }
    .social-icon-wrapper {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
    .social-platform {
        font-size: 0.95rem;
    }
    .social-handle {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   ULTRA FUTURISTIC SCI-FI MOBILE MENU SYSTEM
   ========================================================================== */

/* Cyber Hamburger Toggle Button */
.cyber-burger {
    display: none; /* Shown via media query @ <= 900px */
    position: relative;
    width: 48px;
    height: 48px;
    background: rgba(18, 5, 8, 0.7);
    border: 1px solid rgba(255, 59, 59, 0.35);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    outline: none;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 59, 59, 0.1);
}

.cyber-burger:hover, .cyber-burger:focus-visible {
    border-color: rgba(255, 126, 51, 0.8);
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.4), inset 0 0 15px rgba(255, 126, 51, 0.2);
    transform: scale(1.04);
}

.cyber-burger:active {
    transform: scale(0.95);
}

.cyber-burger-bar {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6), opacity 0.25s ease, background-color 0.3s ease;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.cyber-burger-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: cyber-dot-pulse 2s infinite ease-in-out;
}

@keyframes cyber-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px #4ade80; }
    50% { transform: scale(1.4); opacity: 0.5; box-shadow: 0 0 14px #4ade80; }
}

/* Morph burger bars to X when menu is active */
.cyber-burger.is-active {
    background: rgba(255, 59, 59, 0.15);
    border-color: rgba(255, 59, 59, 0.7);
    box-shadow: 0 0 25px rgba(255, 59, 59, 0.5);
}

.cyber-burger.is-active .cyber-burger-dot {
    background: #ff3b3b;
    box-shadow: 0 0 10px #ff3b3b;
}

.cyber-burger.is-active .cyber-burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #ff7e33;
}

.cyber-burger.is-active .cyber-burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.cyber-burger.is-active .cyber-burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #ff7e33;
}

/* Body Scroll Lock */
body.mobile-menu-open {
    overflow: hidden !important;
    touch-action: none;
}

/* Fullscreen Futuristic Drawer Overlay */
.futuristic-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1000;
    background: rgba(4, 1, 3, 0.94);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Scanlines Grid Overlay Effect */
.futuristic-mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

/* Ambient Cyber Orbs in Background */
.futuristic-mobile-menu .ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    animation: orb-float 10s ease-in-out infinite alternate;
}

.futuristic-mobile-menu .orb-1 {
    top: 10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ff3b3b 0%, transparent 70%);
}

.futuristic-mobile-menu .orb-2 {
    bottom: 5%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #ff7e33 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.15); }
}

/* Active State for Drawer Overlay */
.futuristic-mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Menu Inner Scrollable Container */
.mobile-menu-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: calc(env(safe-area-inset-top, 0px) + 1.2rem) 1.5rem calc(env(safe-area-inset-bottom, 0px) + 1.5rem) 1.5rem;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Scrollbar styling for drawer */
.mobile-menu-container::-webkit-scrollbar {
    width: 4px;
}
.mobile-menu-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.mobile-menu-container::-webkit-scrollbar-thumb {
    background: rgba(255, 59, 59, 0.3);
    border-radius: 4px;
}

/* HUD Top Header inside Menu */
.mobile-menu-hud-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 100, 100, 0.15);
    margin-bottom: 1.5rem;
}

.hud-sys-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 59, 59, 0.1);
    border: 1px solid rgba(255, 59, 59, 0.25);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ff7e33;
    font-family: monospace;
    text-transform: uppercase;
}

.hud-sys-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
}

.hud-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hud-clock {
    font-family: monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sfx-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
}

.sfx-toggle:hover {
    background: rgba(255, 59, 59, 0.2);
    border-color: rgba(255, 59, 59, 0.4);
    color: #ffffff;
}

.cyber-menu-close {
    background: rgba(255, 59, 59, 0.15);
    border: 1px solid rgba(255, 59, 59, 0.4);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.cyber-menu-close:hover {
    background: #ff3b3b;
    box-shadow: 0 0 15px rgba(255, 59, 59, 0.6);
    transform: rotate(90deg);
}

/* Holographic Nav Cards */
.mobile-menu-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.mobile-nav-card {
    position: relative;
    background: rgba(18, 8, 12, 0.6);
    border: 1px solid rgba(255, 100, 100, 0.14);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    overflow: hidden;
}

/* Stagger Animation on Open */
.futuristic-mobile-menu.is-open .mobile-nav-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.futuristic-mobile-menu.is-open .mobile-nav-card:nth-child(1) { transition-delay: 0.1s; }
.futuristic-mobile-menu.is-open .mobile-nav-card:nth-child(2) { transition-delay: 0.16s; }
.futuristic-mobile-menu.is-open .mobile-nav-card:nth-child(3) { transition-delay: 0.22s; }
.futuristic-mobile-menu.is-open .mobile-nav-card:nth-child(4) { transition-delay: 0.28s; }

.mobile-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 126, 51, 0.15), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-card:hover::before, .mobile-nav-card:active::before {
    left: 100%;
}

.mobile-nav-card:hover, .mobile-nav-card:focus-visible, .mobile-nav-card:active {
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.18), rgba(255, 126, 51, 0.1));
    border-color: rgba(255, 126, 51, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 59, 59, 0.25);
    transform: translateY(-2px);
}

.card-left-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.card-code-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-code {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.card-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.card-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.mobile-nav-card:hover .card-arrow {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 0 12px var(--color-primary-glow);
}

/* Sci-Fi Telemetry Panel */
.mobile-menu-telemetry {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
}

.telemetry-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.telemetry-label {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

.telemetry-val {
    color: var(--color-secondary);
    font-weight: 600;
}

/* Direct Action Launchpad Grid */
.mobile-menu-launchpad {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 100, 100, 0.15);
}

.contact-quick-grid {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
}

@media (max-width: 640px) {
    .contact-quick-grid {
        flex-direction: column;
    }
}

.quick-contact-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
    transition: all 0.2s ease;
}

.quick-contact-btn:hover {
    background: rgba(255, 59, 59, 0.2);
    border-color: rgba(255, 59, 59, 0.4);
}

.drawer-social-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.drawer-social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.drawer-social-icon:hover, .drawer-social-icon:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.drawer-social-icon.link-youtube:hover {
    color: #ff3b3b;
    border-color: rgba(255, 59, 59, 0.5);
    box-shadow: 0 0 12px rgba(255, 59, 59, 0.4);
    background: rgba(255, 59, 59, 0.12);
}
.drawer-social-icon.link-linkedin:hover {
    color: #0088ff;
    border-color: rgba(0, 136, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 136, 255, 0.4);
    background: rgba(0, 136, 255, 0.12);
}
.drawer-social-icon.link-x:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}
.drawer-social-icon.link-instagram:hover {
    color: #e1306c;
    border-color: rgba(225, 48, 108, 0.5);
    box-shadow: 0 0 12px rgba(225, 48, 108, 0.4);
    background: rgba(225, 48, 108, 0.12);
}
.drawer-social-icon.link-facebook:hover {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.5);
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.4);
    background: rgba(24, 119, 242, 0.12);
}
.drawer-social-icon.link-pinterest:hover {
    color: #e60023;
    border-color: rgba(230, 0, 35, 0.5);
    box-shadow: 0 0 12px rgba(230, 0, 35, 0.4);
    background: rgba(230, 0, 35, 0.12);
}
.drawer-social-icon.link-reddit:hover {
    color: #ff4500;
    border-color: rgba(255, 69, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.4);
    background: rgba(255, 69, 0, 0.12);
}
.drawer-social-icon.link-discord:hover {
    color: #5865f2;
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.12);
}

.contact-link {
    white-space: nowrap !important;
    display: inline-block;
}

.contact-text {
    word-break: keep-all;
}

/* ==========================================================================
   App Landing Page & Portfolio Hub System
   ========================================================================== */
.app-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.app-breadcrumbs a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.app-breadcrumbs a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--color-primary);
}

.app-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 24px;
    padding: 3rem;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.app-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.app-hero-banner {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.app-hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.app-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 0 24px rgba(255, 59, 59, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.app-header-badge-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-icon-mini {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 0%, #ff7e33 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.app-badge.status-launched {
    background: rgba(0, 243, 255, 0.12);
    border: 1px solid rgba(0, 243, 255, 0.4);
    color: #00f3ff;
}
.app-badge.status-upcoming {
    background: rgba(255, 59, 59, 0.12);
    border: 1px solid rgba(255, 59, 59, 0.4);
    color: #ff3b3b;
}

.app-action-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.app-feature-graphic-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 243, 255, 0.2);
}

.app-feature-graphic-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-feature-graphic-wrapper:hover img {
    transform: scale(1.03);
}

/* Sci-Fi Floating Pill Badge Overlay */
.cyber-floating-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    background: rgba(4, 10, 20, 0.88);
    border: 1px solid rgba(0, 243, 255, 0.6);
    border-radius: 30px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 243, 255, 0.35);
    z-index: 5;
    white-space: nowrap;
    animation: hud-badge-float 4s ease-in-out infinite alternate;
}

.badge-pulse-dot {
    width: 7px;
    height: 7px;
    background: #00f3ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f3ff;
    animation: cyber-dot-pulse 1.8s infinite ease-in-out;
    flex-shrink: 0;
}

.badge-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #00f3ff;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes hud-badge-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

@media (max-width: 900px) {
    .cyber-floating-badge {
        top: 0.75rem;
        left: 0.75rem;
        max-width: calc(100% - 1.5rem);
        padding: 0.35rem 0.75rem;
        gap: 0.4rem;
    }
    .badge-text {
        font-size: 0.72rem;
        letter-spacing: 0.5px;
    }
    .badge-code {
        font-size: 0.65rem;
    }
}

@media (max-width: 600px) {
    .cyber-floating-badge {
        top: 0.5rem;
        left: 0.5rem;
        max-width: calc(100% - 1rem);
        padding: 0.3rem 0.65rem;
        gap: 0.35rem;
    }
    .badge-pulse-dot {
        width: 6px;
        height: 6px;
    }
    .badge-text {
        font-size: 0.65rem;
        letter-spacing: 0.4px;
    }
    .badge-code {
        display: none;
    }
}

@media (max-width: 400px) {
    .cyber-floating-badge {
        top: 0.4rem;
        left: 0.4rem;
        padding: 0.25rem 0.55rem;
        gap: 0.3rem;
    }
    .badge-text {
        font-size: 0.58rem;
        letter-spacing: 0.3px;
    }
}

.app-section {
    margin-bottom: 4rem;
}

.app-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.app-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.5);
    aspect-ratio: 9 / 16;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.app-gallery-item.landscape {
    aspect-ratio: 16 / 9;
}

.app-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.app-gallery-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 25px rgba(255, 59, 59, 0.3);
    transform: translateY(-4px);
}

.app-gallery-item:hover img {
    transform: scale(1.05);
}

.features-grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

.feature-box {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 18px;
    padding: 2rem;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.feature-box:hover {
    border-color: rgba(255, 59, 59, 0.3);
    background: var(--color-glass-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.feature-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.specs-table-wrapper {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 18px;
    padding: 2rem;
    margin-top: 2rem;
}

.specs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.specs-row:last-child {
    border-bottom: none;
}

.specs-label {
    color: var(--color-text-muted);
    font-weight: 500;
}
.specs-val {
    font-family: 'JetBrains Mono', monospace;
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 900px) {
    .app-hero-container {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    .app-hero-title {
        font-size: 2.1rem;
    }
    .app-hero-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }
}

/* ==========================================================================
   Cyberpunk HUD Mega Dropdown & Mobile Sub-Launchpad
   ========================================================================== */
.nav-menu {
    position: relative;
}

.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-item-dropdown .dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.cyber-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 620px;
    background: rgba(10, 4, 4, 0.96);
    border: 1px solid var(--color-primary-glow);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 59, 59, 0.2);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.15s;
    z-index: 1000;
}

/* Invisible hover bridge pseudo-element connecting trigger to menu */
.cyber-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
    background: transparent;
}

.nav-item-dropdown:hover .cyber-dropdown-menu,
.nav-item-dropdown:focus-within .cyber-dropdown-menu,
.cyber-dropdown-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(6px);
    transition-delay: 0s;
}

.dropdown-header-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dropdown-app-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: #fff;
    transition: var(--transition-smooth);
}

.dropdown-app-card:hover {
    background: rgba(255, 59, 59, 0.12);
    border-color: rgba(255, 59, 59, 0.4);
    transform: translateY(-2px);
}

.dropdown-app-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.dropdown-app-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-app-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #ffffff;
}

.dropdown-app-desc {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

.dropdown-footer-link {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.dropdown-footer-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--color-primary);
}

/* Mobile Drawer App Chips */
.mobile-app-section {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.mobile-app-section-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.mobile-app-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-app-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.mobile-app-chip-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.mobile-app-chip:hover, .mobile-app-chip:active {
    background: rgba(255, 59, 59, 0.15);
    border-color: var(--color-primary);
}


/* ------------------------------------------------------------------------------
 * Helper & Utility Classes (Refactored from Inline Styles)
 * ------------------------------------------------------------------------------ */
.display-none {
    display: none;
}
.display-inline-block {
    display: inline-block;
}
.text-nowrap {
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 0.65rem;
    margin-left: 2px;
}

.dropdown-app-lifequest {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
}

.text-emerald {
    color: #10b981;
}

.dropdown-app-full-width {
    grid-column: 1 / -1;
}

.mobile-chip-lifequest {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981;
}

.mobile-chip-lifequest:hover, .mobile-chip-lifequest:active {
    background: rgba(16, 185, 129, 0.18);
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.mobile-chip-lifequest .mobile-app-chip-icon {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.card-lifequest {
    border-color: rgba(16, 185, 129, 0.3);
}

.status-lifequest {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.cta-lifequest {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.text-white {
    color: #ffffff;
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-gold {
    color: var(--neon-gold, #ffd700);
}

.text-red-neon {
    color: var(--neon-red, #ff3b3b);
}

.border-red-neon {
    border-color: var(--neon-red, #ff3b3b);
}

.bg-red-neon {
    background: var(--neon-red, #ff3b3b);
}

.contact-card-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-glass-border);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.contact-card-line {
    margin: 0 0 0.4rem 0;
}

.contact-card-line-end {
    margin: 0;
}

.footer-link-primary {
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 0.2rem;
}

.footer-link-secondary {
    color: var(--color-secondary);
}

.svg-icon-inline {
    margin-right: 0.4rem;
    vertical-align: middle;
}

.btn-support-inline {
    display: inline-block;
    text-decoration: none;
}

.font-weight-600 {
    font-weight: 600;
}

.tool-group-meta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.app-breadcrumbs-margin {
    margin-top: 1rem;
}

.hero-showcase {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-section-flat {
    padding-top: 0;
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.card-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.card-app-icon-lifequest {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.card-title-no-margin {
    margin: 0;
}

.card-action-bar {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-card-flex {
    flex: 1;
    text-align: center;
}

.badge-hover-scale {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}
.badge-hover-scale:hover {
    transform: scale(1.04);
}

.play-badge-img {
    height: 46px;
    width: auto;
}

.btn-privacy-pill {
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 59, 59, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}
.btn-privacy-pill:hover {
    border-color: var(--color-primary);
    background: rgba(255, 59, 59, 0.15);
}

.app-icon-lifequest {
    border-color: rgba(16, 185, 129, 0.5) !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4) !important;
}

.gradient-text-emerald {
    color: #10b981;
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-privacy-lifequest {
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.1);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}
.btn-privacy-lifequest:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.6);
}

.graphic-wrapper-lifequest {
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 0 35px rgba(0,0,0,0.8), 0 0 25px rgba(16, 185, 129, 0.2) !important;
}

.cyber-badge-lifequest {
    border-color: rgba(16, 185, 129, 0.6) !important;
}

.badge-dot-emerald {
    background: #10b981 !important;
    box-shadow: 0 0 10px #10b981 !important;
}

.margin-top-3rem-center {
    margin-top: 3rem;
    text-align: center;
}

/* ==========================================================================
   INTERACTIVE FAQ ACCORDION COMPONENT & RICH SNIPPET SECTION
   ========================================================================== */
.faq-section {
    margin: 4.5rem 0 3.5rem;
    width: 100%;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.faq-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(18, 12, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 80, 80, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 59, 59, 0.08);
}

.faq-item[open] {
    border-color: rgba(255, 126, 51, 0.4);
    background: rgba(24, 15, 30, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 126, 51, 0.12);
}

.faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    gap: 1rem;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
    transition: var(--transition-smooth);
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    color: var(--color-secondary);
}

.faq-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--color-primary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--color-secondary);
}

.faq-content {
    padding: 0 1.5rem 1.35rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    animation: faq-fadein 0.3s ease-out;
}

@keyframes faq-fadein {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PINTEREST VISUAL SHARE OVERLAY BADGE
   ========================================================================== */
.pin-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.pin-share-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(230, 0, 35, 0.92);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 12px rgba(230, 0, 35, 0.4);
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.pin-wrapper:hover .pin-share-badge,
.pin-share-badge:focus-visible {
    opacity: 1;
    transform: translateY(0);
}

.pin-share-badge:hover {
    background: #e60023;
    box-shadow: 0 6px 20px rgba(230, 0, 35, 0.6);
    transform: scale(1.05);
}

/* ==========================================================================
   PWA SMART INSTALL FLOATING BANNER
   ========================================================================== */
.pwa-install-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: rgba(14, 10, 22, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 126, 51, 0.45);
    border-radius: 50px;
    padding: 0.55rem 0.75rem 0.55rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(255, 126, 51, 0.25);
    z-index: 999;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    max-width: 92vw;
}

.pwa-install-banner.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.pwa-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}

.pwa-pulse-dot {
    width: 8px;
    height: 8px;
    background: #ff7e33;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff7e33;
    animation: pwa-pulse 1.8s infinite;
}

@keyframes pwa-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.pwa-action-btn {
    background: linear-gradient(135deg, #ff3b3b, #ff7e33);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.pwa-action-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 0 15px rgba(255, 126, 51, 0.5);
}

.pwa-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.2rem 0.4rem;
    border-radius: 50%;
    transition: color 0.2s;
}

.pwa-close-btn:hover {
    color: #ffffff;
}

/* ==========================================================================
   GLOBAL SCROLL BEHAVIOR & STICKY HEADER OFFSET
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

section[id],
div[id],
h1[id],
h2[id],
h3[id] {
    scroll-margin-top: 95px;
}

/* ==========================================================================
   FLOATING "BACK TO TOP" ORBITAL ROCKET BUTTON
   ========================================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 12, 28, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 126, 51, 0.4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 126, 51, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 990;
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
    background: rgba(255, 59, 59, 0.25);
    border-color: #ff7e33;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 126, 51, 0.5);
    transform: translateY(-4px) scale(1.08);
}

.back-to-top-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.back-to-top-btn:hover .back-to-top-icon {
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 18px;
        width: 42px;
        height: 42px;
    }
}

/* ==========================================================================
   LASER READING PROGRESS BAR
   ========================================================================== */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #ff3b3b 0%, #ff7e33 50%, #00f3ff 100%);
    box-shadow: 0 0 12px rgba(255, 126, 51, 0.8), 0 0 20px rgba(0, 243, 255, 0.5);
    z-index: 10001;
    transition: width 0.1s ease-out;
    pointer-events: none;
}

/* ==========================================================================
   HOLOGRAPHIC CYBERPUNK HUD NOTIFICATION TOAST
   ========================================================================== */
.hud-toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background: rgba(14, 10, 24, 0.95);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid #00f3ff;
    border-radius: 8px;
    padding: 0.75rem 1.4rem;
    color: #f1f5f9;
    font-family: 'Fira Code', monospace;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 243, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
    pointer-events: none;
}

.hud-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.hud-toast-icon {
    color: #00f3ff;
    font-size: 1rem;
    animation: toast-glow 1.5s infinite alternate;
}

@keyframes toast-glow {
    from { filter: drop-shadow(0 0 2px #00f3ff); }
    to { filter: drop-shadow(0 0 8px #00f3ff); }
}

/* ==========================================================================
   INTERACTIVE CATEGORY FILTER PILLS (APPLICATIONS HUB)
   ========================================================================== */
.filter-pill-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 2rem auto 3rem;
    max-width: 900px;
    padding: 0.5rem;
}

.filter-pill {
    background: rgba(22, 16, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text-muted);
    padding: 0.55rem 1.15rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    -webkit-user-select: none;
    user-select: none;
    outline: none;
}

.filter-pill:hover {
    color: #ffffff;
    border-color: rgba(255, 126, 51, 0.5);
    background: rgba(255, 126, 51, 0.15);
    box-shadow: 0 4px 15px rgba(255, 126, 51, 0.15);
    transform: translateY(-2px);
}

.filter-pill.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.35) 0%, rgba(255, 126, 51, 0.35) 100%);
    border-color: #ff7e33;
    box-shadow: 0 0 15px rgba(255, 126, 51, 0.35);
    transform: translateY(-2px);
}

.app-card-item {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.app-card-item.is-hidden {
    display: none !important;
}

/* ==========================================================================
   SHARE BUTTON ON APPS
   ========================================================================== */
.btn-share-app {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.35);
    color: #00f3ff;
    padding: 0.65rem 1.15rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-share-app:hover {
    background: rgba(0, 243, 255, 0.25);
    border-color: #00f3ff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==========================================================================
   MASTER CROSS-VIEW RESPONSIVE OPTIMIZATION SYSTEM
   (Desktop, Tablet, Phone, Portrait, Landscape, Ultra-Wide & Ultra-Small)
   ========================================================================== */

/* 1. TABLET SCREENS (601px - 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
    .filter-pill-bar {
        gap: 0.5rem;
        margin: 1.5rem auto 2.5rem;
    }
    .filter-pill {
        font-size: 0.84rem;
        padding: 0.45rem 1rem;
    }
    .faq-grid {
        max-width: 95%;
    }
    .faq-summary {
        font-size: 1rem;
        padding: 1.1rem 1.25rem;
    }
    .back-to-top-btn {
        bottom: 24px;
        right: 24px;
        width: 46px;
        height: 46px;
    }
}

/* 2. MOBILE PORTRAIT (<= 600px) */
@media (max-width: 600px) {
    .filter-pill-bar {
        gap: 0.45rem;
        margin: 1.2rem auto 2rem;
        padding: 0.25rem;
    }
    .filter-pill {
        font-size: 0.78rem;
        padding: 0.4rem 0.85rem;
        flex: 1 1 auto;
        text-align: center;
    }
    .btn-share-app {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
    }
    .faq-section {
        margin: 3rem 0 2rem;
    }
    .faq-title {
        font-size: 1.5rem;
    }
    .faq-subtitle {
        font-size: 0.88rem;
    }
    .faq-summary {
        font-size: 0.92rem;
        padding: 1rem 1.15rem;
    }
    .faq-content {
        font-size: 0.88rem;
        padding: 0 1.15rem 1.15rem 1.15rem;
    }
    .hud-toast {
        top: 75px;
        width: calc(100% - 32px);
        max-width: 360px;
        font-size: 0.76rem;
        padding: 0.6rem 1rem;
        justify-content: center;
    }
    .pin-share-badge {
        top: 10px;
        left: 10px;
        font-size: 0.72rem;
        padding: 0.3rem 0.65rem;
    }
    .back-to-top-btn {
        bottom: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
    }
}

/* 3. MOBILE LANDSCAPE & COMPACT HEIGHT (Height <= 540px) */
@media (max-height: 540px) and (orientation: landscape) {
    .header {
        padding: 0.4rem 0;
    }
    .header-container {
        min-height: 52px;
    }
    .filter-pill-bar {
        margin: 0.8rem auto 1.2rem;
        gap: 0.4rem;
    }
    .filter-pill {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }
    .faq-section {
        margin: 2rem 0 1.5rem;
    }
    .faq-title {
        font-size: 1.4rem;
    }
    .back-to-top-btn {
        bottom: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }
    .back-to-top-icon {
        width: 16px;
        height: 16px;
    }
    .pwa-install-banner {
        bottom: 10px;
        padding: 0.35rem 0.6rem 0.35rem 0.9rem;
    }
    .hud-toast {
        top: 60px;
        padding: 0.45rem 0.9rem;
    }
}

/* 4. ULTRA-SMALL PHONES (<= 360px) */
@media (max-width: 360px) {
    .filter-pill {
        font-size: 0.72rem;
        padding: 0.35rem 0.65rem;
    }
    .faq-summary {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    .pwa-info {
        font-size: 0.78rem;
    }
    .pwa-action-btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
}




