/*
Theme Name: ShiftZoneR
Theme URI: https://example.com/shiftzoner
Author: Antigravity
Author URI: https://example.com
Description: A WordPress theme for the Underground Racing Network.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shiftzoner
*/

/* --- CORE SYSTEM --- */
:root {
    --bg-deep: #050505;
    --bg-panel: rgba(20, 20, 25, 0.7);
    --neon-red: #ff003c;
    --neon-cyan: #00f3ff;
    --neon-purple: #bc13fe;
    --text-main: #e0e0e0;
    --grid-line: rgba(255, 255, 255, 0.03);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    padding-top: 80px;
    /* Fix header overlap */
    min-height: 100vh;
    background-image:
        linear-gradient(0deg, transparent 24%, var(--grid-line) 25%, var(--grid-line) 26%, transparent 27%, transparent 74%, var(--grid-line) 75%, var(--grid-line) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, var(--grid-line) 25%, var(--grid-line) 26%, transparent 27%, transparent 74%, var(--grid-line) 75%, var(--grid-line) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    font-size: 16px;
    line-height: 1.6;
}

/* Scanline Overlay */
body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 900;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 60, 0.3);
    z-index: 1000;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.1);
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: white;
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.logo span {
    color: var(--neon-red);
    text-shadow: 0 0 15px var(--neon-red);
    font-size: 2.4rem;
}

.nav-items a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
}

.nav-items a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s;
    box-shadow: 0 0 5px var(--neon-cyan);
}

.nav-items a:hover::after,
.nav-items a.active::after {
    width: 100%;
}

.nav-items a:hover,
.nav-items a.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
}

/* --- BUTTONS & FORMS --- */
.btn-ignite,
.btn-upload,
button,
input[type="submit"] {
    border: 1px solid var(--neon-red);
    background: rgba(255, 0, 60, 0.1);
    color: white !important;
    padding: 0.8rem 2rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

.btn-ignite:hover,
.btn-upload:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--neon-red);
    box-shadow: 0 0 20px var(--neon-red);
    transform: translateY(-2px);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #333;
    color: white;
    padding: 1rem;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

/* --- PANELS & CARDS (GLASSMORPHISM) --- */
.studio-panel,
.grid-car-card,
.content-area,
.comments-area {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.studio-panel {
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

/* --- 1. HOME & 3D MAP --- */
#view-home {
    position: relative;
    overflow: hidden;
}

.holo-globe-container {
    opacity: 0.5;
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- 2. GRIDS --- */
.paddock-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

h2.section-title {
    font-family: var(--font-display);
    color: white;
    font-size: 3rem;
    margin-bottom: 3rem;
    border-left: 5px solid var(--neon-red);
    padding-left: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, rgba(255, 0, 60, 0.1), transparent);
}

.starting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.grid-car-card {
    border-bottom: 3px solid var(--neon-red);
    padding: 0;
    /* Image takes full width */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    cursor: pointer;
}

.grid-car-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 0, 60, 0.3);
    border-color: var(--neon-cyan);
}

.grid-car-content {
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.6));
}

.forum-title {
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: white;
}

.forum-meta {
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
}

/* --- UPLOAD --- */
#view-upload {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.drop-zone {
    border: 2px dashed #444;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #888;
    margin-bottom: 2rem;
    transition: 0.3s;
    cursor: pointer;
}

.drop-zone:hover,
.drop-zone.active {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.1);
}

/* --- MASONRY GRID --- */
.masonry-grid {
    column-count: 4;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--neon-cyan);
}

.masonry-content img {
    width: 100%;
    height: auto;
    display: block;
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 2px 4px black;
}

.masonry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #ccc;
}

.btn-view {
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-view:hover {
    background: var(--neon-cyan);
    color: black;
}

@media (max-width: 1200px) {
    .masonry-grid {
        column-count: 3;
    }
}

@media (max-width: 900px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* Profile Button */
.btn-profile {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
}

.btn-profile:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.1);
    color: var(--neon-cyan);
}

.profile-icon {
    font-size: 1.1rem;
}

/* --- HAMBURGER MENU --- */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
}

.hamburger-menu span {
    width: 30px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
        height: 60px;
        justify-content: space-between;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-items {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1500;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding-top: 60px;
        /* Space for header */
    }

    .nav-items.active {
        transform: translateX(0);
    }

    .nav-items a {
        font-size: 1.5rem;
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.3s;
    }

    .nav-items.active a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
        /* Stagger effect handled in JS ideally, or simple delay here */
    }

    .user-actions {
        display: none;
        /* Hide desktop actions, maybe move inside nav-items via JS or duplicate */
    }

    .paddock-container {
        padding: 1rem;
    }

    .starting-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }

    .studio-panel {
        padding: 1rem;
    }

    /* Adjust Paddock Grid */
    .view-section .paddock-container>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Adjust Profile Header */
    .studio-panel[style*="display:flex"] {
        flex-direction: column;
        text-align: center;
    }

    .studio-panel[style*="display:flex"]>div:last-child {
        margin-left: 0 !important;
        margin-top: 1rem;
    }
}

/* --- INSANE ANIMATIONS --- */
@keyframes neonPulse {
    0% {
        box-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan);
    }

    50% {
        box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
    }

    100% {
        box-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan);
    }
}

@keyframes glitchSkew {
    0% {
        transform: skew(0deg);
    }

    20% {
        transform: skew(-2deg);
    }

    40% {
        transform: skew(2deg);
    }

    60% {
        transform: skew(-1deg);
    }

    80% {
        transform: skew(1deg);
    }

    100% {
        transform: skew(0deg);
    }
}

.hero-title {
    animation: glitchSkew 3s infinite;
}

.masonry-item {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger delays for masonry items (up to 12) */
.masonry-item:nth-child(1) {
    animation-delay: 0.1s;
}

.masonry-item:nth-child(2) {
    animation-delay: 0.2s;
}

.masonry-item:nth-child(3) {
    animation-delay: 0.3s;
}

.masonry-item:nth-child(4) {
    animation-delay: 0.4s;
}

.masonry-item:nth-child(5) {
    animation-delay: 0.5s;
}

.masonry-item:nth-child(6) {
    animation-delay: 0.6s;
}

.masonry-item:nth-child(7) {
    animation-delay: 0.7s;
}

.masonry-item:nth-child(8) {
    animation-delay: 0.8s;
}

.masonry-item:nth-child(9) {
    animation-delay: 0.9s;
}

.masonry-item:nth-child(10) {
    animation-delay: 1.0s;
}

.masonry-item:nth-child(11) {
    animation-delay: 1.1s;
}

.masonry-item:nth-child(12) {
    animation-delay: 1.2s;
}

/* Particle Canvas */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* --- HERO 2025 STYLES --- */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    overflow: hidden;
    background: #000 url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    perspective: 1000px;
}

/* Dynamic Grid Background (Fallback) */
.hero-bg-grid {
    display: none;
    /* Hidden in favor of video */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, #000 90%);
    z-index: 1;
}

@keyframes gridMove {
    0% {
        transform: rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: rotateX(60deg) translateY(100px) translateZ(-200px);
    }
}

.hero-content {
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    padding: 0 2rem;
    position: relative;
    /* Ensure above overlay */
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.hero-title {
    font-size: 6rem;
    font-weight: 900;
    font-style: italic;
    line-height: 0.9;
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    color: white;
    text-shadow: 4px 4px 0px var(--neon-red);
}

/* Ticker Styles */
.hero-ticker {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 2rem;
    overflow: hidden;
    max-width: 80%;
}

.ticker-content {
    display: flex;
    gap: 2rem;
    animation: tickerScroll 20s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    color: #ccc;
    font-size: 0.9rem;
}

.ticker-content strong {
    color: white;
}

.ticker-content em {
    color: var(--neon-cyan);
    font-style: normal;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --- HERO ANIMATIONS --- */
.hero-ticker {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--neon-cyan);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    /* Changed from absolute */
    width: 100%;
    max-width: 800px;
    /* Limit width */
    margin: 1.5rem auto;
    /* Center and add spacing */
    z-index: 10;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker-content span {
    margin-right: 4rem;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
    letter-spacing: 1px;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {

    /* Header & Nav */
    nav {
        padding: 0 1rem;
        height: 60px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo span {
        font-size: 1.8rem;
    }

    body {
        padding-top: 60px;
    }

    /* Hero Section */
    .hero-title {
        font-size: 3rem !important;
        /* Force smaller title */
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 1rem;
    }

    .hero-ticker {
        top: 80px;
        /* Adjust for smaller mobile header */
        padding: 0.5rem 0;
    }

    .ticker-content span {
        font-size: 0.8rem;
        margin-right: 2rem;
    }

    .hero-stats-row {
        flex-direction: row;
        /* Keep row but wrap if needed */
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .stat-item {
        min-width: 80px;
    }

    .stat-num {
        font-size: 2rem;
    }

    /* Grids & Layout */
    .sz-grid-2-col {
        grid-template-columns: 1fr !important;
        /* Stack columns */
        gap: 2rem !important;
    }

    .masonry-grid {
        column-count: 1 !important;
        /* Single column feed */
    }

    .starting-grid {
        grid-template-columns: 1fr !important;
    }

    /* Padding Adjustments */
    .view-section {
        padding: 3rem 1rem !important;
    }

    .paddock-container {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .studio-panel {
        padding: 2rem !important;
    }

    .studio-panel h2 {
        font-size: 1.8rem !important;
    }

    .studio-panel p {
        font-size: 1rem !important;
    }

    /* CTA Section */
    .feature-box {
        width: 100% !important;
        margin-bottom: 1rem;
    }

    .btn-ignite {
        width: 100%;
        padding: 1rem !important;
        font-size: 1.2rem !important;
    }
}

/* --- NEW HOMEPAGE ELEMENTS --- */
.neon-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    width: 100%;
    margin: 0;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.neon-separator.reverse {
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
    box-shadow: 0 0 10px var(--neon-purple);
}

.member-bubble {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #222;
    border: 2px solid var(--neon-red);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: 0.3s;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.3);
}

.member-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 0, 60, 0.8);
    border-color: #fff;
}

.news-card:hover {
    transform: translateX(10px);
    background: #222 !important;
    box-shadow: -5px 0 15px rgba(0, 243, 255, 0.2);
}

.group-card-row:hover {
    transform: translateX(-10px);
    background: #222 !important;
    box-shadow: 5px 0 15px rgba(188, 19, 254, 0.2);
}

.premium-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.premium-box:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-10px);
    border-color: var(--neon-red);
}

.premium-box .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.premium-box h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.premium-box p {
    color: #888;
    font-size: 0.9rem;
}

/* Typewriter Styles */
.typewriter-text {
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--neon-cyan);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-title .neon-flicker {
    color: white;
    /* Base color */
    text-shadow:
        0 0 10px var(--neon-red),
        0 0 20px var(--neon-red),
        0 0 40px var(--neon-red),
        0 0 80px var(--neon-red);
    animation: flicker 2s infinite alternate;
}

@keyframes flicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 1;
        text-shadow:
            0 0 10px var(--neon-red),
            0 0 20px var(--neon-red),
            0 0 40px var(--neon-red);
    }

    20%,
    24%,
    55% {
        opacity: 0.5;
        text-shadow: none;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Glitch Button */
.btn-hero {
    position: relative;
    display: inline-block;
    padding: 1.5rem 4rem;
    background: var(--neon-red);
    color: white;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: all 0.3s;
    overflow: hidden;
}

.btn-hero:hover {
    background: white;
    color: black;
    box-shadow: 0 0 50px var(--neon-red);
    transform: scale(1.05);
}

.btn-ghost {
    display: inline-block;
    padding: 1.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    margin-left: 1rem;
    transition: all 0.3s;
}

.btn-ghost:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

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

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--neon-cyan), transparent);
}

/* --- PREMIUM FORMS --- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

input[type="file"] {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #aaa;
    cursor: pointer;
    margin-bottom: 1.5rem;
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    background: rgba(0, 0, 0, 0.8);
}

/* Custom Select Arrow */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300f3ff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem;
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    display: none;
}

.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 1px solid var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s;
    border-radius: 4px;
}

.checkbox-group input:checked+.custom-checkbox {
    background: var(--neon-cyan);
    color: black;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* File Upload Zone */
.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    /* For absolute input */
}

.drop-zone:hover,
.drop-zone.active {
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

.drop-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    display: block !important;
    z-index: 10;
}

/* Buttons */
.btn-ignite {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.btn-ignite:hover {
    background: var(--neon-cyan);
    color: black !important;
    box-shadow: 0 0 30px var(--neon-cyan);
}

.btn-ignite:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* Login/Register Specifics */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}