/* Pro CSS - Pixel Perfect Match */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Gold Dust Particles */
.particle {
    position: absolute;
    background: radial-gradient(circle, #FFD700 0%, transparent 80%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: floating-dust linear infinite;
}

@keyframes floating-dust {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

body {
    background-color: #050505;
    background-image: url('circuit_bg.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    overflow: hidden;
    color: white;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 50px;
    /* Adjusted padding */
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    /* Ensure it starts from left */
    z-index: 1000;
    box-sizing: border-box;
    /* Prevent padding from breaking width */
    background: rgba(5, 5, 5, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.navbar:hover {
    background: rgba(5, 5, 5, 0.8);
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;

    /* Perfect Black Removal for the new Vector Logo */
    mix-blend-mode: screen;

    /* Neon Glow Effect */
    filter: drop-shadow(0 0 5px #FF4500);
    border: 2px solid rgba(255, 69, 0, 0.5);

    transition: transform 1s ease-in-out;
    cursor: pointer;
}

.logo-img:hover {
    transform: rotate(360deg);
    filter: drop-shadow(0 0 15px #FF4500);
    border-color: #FF4500;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    padding: 10px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FF4500;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px #FF4500;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.6);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Support Button Special Style */
.nav-item a {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 25px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
}

.nav-item a:hover {
    background: #FF4500;
    border-color: #FF4500;
    color: white;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
}

.nav-item a::after {
    display: none;
    /* No underline for button */
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    height: 60vh;
    position: relative;
    top: 5%;
}

.hero-text {
    z-index: 10;
    position: relative;
}

.main-title {
    font-size: 5.5rem;
    line-height: 0.9;
    font-weight: 900;

    /* Moving Gradient Effect */
    background: linear-gradient(90deg, #fff, #ddd, #fff);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;

    position: relative;
    z-index: 2;
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.hollow-text {
    color: transparent;
    -webkit-text-stroke: 2px #FF4500;
    display: block;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from {
        text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
        transform: scale(1);
    }

    to {
        text-shadow: 0 0 30px rgba(255, 69, 0, 1), 0 0 60px #FF4500;
        transform: scale(1.02);
        /* Subtle breathing */
    }
}

.subtitle {
    color: #888;
    margin: 20px 0 40px 0;
    font-size: 1.1rem;
    font-weight: 300;
}

.glow-button {
    text-decoration: none;
    color: #FFD700;
    border: 2px solid #FF4500;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.5), inset 0 0 10px rgba(255, 69, 0, 0.2);
    background: rgba(0, 0, 0, 0.4);
    transition: 0.3s;
}

.glow-button:hover {
    background: #FF4500;
    color: white;
    box-shadow: 0 0 40px rgba(255, 69, 0, 1);
}

/* --- THE 3-LAYER DEPTH SYSTEM --- */

/* Layer 1: Mascot Container (Middle) */
.mascot-container {
    height: 550px;
    /* REDUCED to prevent header clipping */
    width: 550px;
    position: absolute;
    right: 5%;
    top: 15%;
    /* Increased top margin to clear navbar */

    /* Smooth Bottom Fade - Removes Hard Cut */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);

    /* Ensure it sits nicely in the depth layers */
    mix-blend-mode: screen;
    z-index: 0;

    filter: drop-shadow(0 0 30px rgba(255, 69, 0, 0.4));

    animation: float 4s ease-in-out infinite;

}

.mascot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* No blend mode here */
}

/* The Spinning Record Shine */
.record-spinner {
    position: absolute;
    width: 175px;
    height: 175px;

    top: 73.5%;
    left: 50%;
    transform: translate(-50%, -50%);

    border-radius: 50%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(255, 215, 0, 0.2) 20deg,
            rgba(255, 255, 255, 0.9) 45deg,
            rgba(255, 215, 0, 0.2) 70deg,
            transparent 100%);

    mix-blend-mode: screen;
    z-index: 10;

    /* TIGHT MASK: Cuts off significantly from L/R to clear thumbs */
    -webkit-mask-image: linear-gradient(90deg, transparent 25%, black 40%, black 60%, transparent 75%);
    mask-image: linear-gradient(90deg, transparent 25%, black 40%, black 60%, transparent 75%);

    animation: spin 3s linear infinite;
}

/* Headphone Glow Effect */
/* Music Notes Animation */
.note {
    position: absolute;
    /* Theme Color Match: Orange Red */
    color: #FF4500;
    font-size: 24px;
    opacity: 0;
    z-index: 5;
    /* Theme Glow */
    text-shadow: 0 0 15px rgba(255, 69, 0, 0.9);
    pointer-events: none;
}

.note.left {
    top: 25%;
    left: 28%;
}

.note.right {
    top: 25%;
    left: 63%;
}

.n1 {
    animation: float-note-1 3s ease-in-out infinite;
}

.n2 {
    animation: float-note-2 3s ease-in-out infinite 1.5s;
    font-size: 20px;
}

@keyframes float-note-1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(-30px, -50px) rotate(-20deg);
        opacity: 0;
    }
}

@keyframes float-note-2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(-40px, -30px) rotate(15deg);
        opacity: 0;
    }
}

/* Mirror right side notes direction */
.note.right.n1 {
    animation-name: float-note-right-1;
}

.note.right.n2 {
    animation-name: float-note-right-2;
}

@keyframes float-note-right-1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(30px, -50px) rotate(20deg);
        opacity: 0;
    }
}

@keyframes float-note-right-2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(40px, -30px) rotate(-15deg);
        opacity: 0;
    }
}



@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Layer 2: Neon Wave (Front / Top) */
/* Layer 2: Neon Wave (Front / Top) */
/* Layer 2: Neon Wave (Front / Top) */
/* Layer 2: Neon Wave (Front / Top) */
/* Layer 2: Neon Wave (Front / Top) */
.neon-wave {
    position: absolute;
    top: 35%;
    /* MOVING UP DRASTICALLY to ensure intersection */
    left: 0;
    width: 100vw;
    height: 60vh;
    object-fit: fill;
    z-index: 2;
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 1;
}

/* Removed neon-wave-top styles */

.neon-wave-top {
    position: absolute;
    top: -5%;
    /* Visible at top */
    left: 0;
    width: 100vw;
    height: 50vh;
    object-fit: cover;
    z-index: 1;
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.7;
    transform: rotate(180deg);
    /* Flip it for the 'ceiling' effect */
}

/* Features Grid */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 10%;
    position: absolute;
    bottom: 10%;
    width: 100%;
    z-index: 10;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 3px solid #FF4500;
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    height: 160px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 50px rgba(255, 69, 0, 0.2);
}


.card h3 {
    color: #ddd;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* MODAL SYSTEM (Premium Glow Edition) */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 85%;
    max-width: 1000px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 50px rgba(255, 69, 0, 0.1);
    animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    color: #fff;
    float: right;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #FF4500;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-align: center;
    background: linear-gradient(to right, #fff, #FF4500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
}

.cmd-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.cmd-box:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
    border-color: rgba(255, 69, 0, 0.5);
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.1);
}

.cmd-box h3 {
    color: #FF4500;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
}

.cmd-box p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.4;
}


/* Hide the old section styling if it conflicts, but here we reuse classes */

/* Commands Section */
.commands-section {
    padding: 100px 10%;
    background: #050505;
    /* Seamless blend */
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: white;
    text-transform: uppercase;
    font-weight: 800;
}

.section-title span {
    color: #FF4500;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.command-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.command-card:hover {
    background: rgba(255, 69, 0, 0.1);
    border-color: #FF4500;
    transform: translateY(-5px);
}

.cmd-name {
    font-family: 'Courier New', monospace;
    color: #FFD700;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
}

.cmd-desc {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Premium Section Placeholder */
.premium-section {
    padding: 100px 10%;
    text-align: center;
    background: linear-gradient(180deg, #050505 0%, #0a0500 100%);
}

/* Footer (Fixed at Bottom) */
.footer {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 999;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
}

/* Language Switcher */
.lang-btn {
    text-decoration: none;
    font-size: 1.2rem;
    padding: 5px 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    display: inline-block;
    cursor: pointer;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Magic Cursor Particles */
.cursor-particle {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #FF4500 0%, transparent 80%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    opacity: 0.8;
    filter: drop-shadow(0 0 5px #FF4500);
    animation: fade-out 0.8s ease-out forwards;
}

@keyframes fade-out {
    0% {
        transform: scale(1) translateY(0) rotate(0deg);
        opacity: 0.8;
    }

    100% {
        transform: scale(0) translateY(-20px) rotate(180deg);
        opacity: 0;
    }
}

/* Live Stats Section */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 50px 0;
    background: rgba(255, 69, 0, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    margin-top: 5vh;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
    margin-bottom: 5px;
}

.stat-label {
    color: #FF4500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
}

/* Audio Visualizer */
#visualizer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}