:root{--bg-start:#000;--bg-end:#0D0D0D;--accent-cyan:#13F0F6;--accent-violet:#9A00FF;--accent-cyan-bright:#1BE6EA;}
body {
    background: linear-gradient(180deg,var(--bg-start),var(--bg-end));
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
}

html {
    height: 100%;
}

#snap-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

#snap-container > section {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

[data-aos] {
    opacity: 0;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    will-change: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: none;
}

[data-aos="fade-up"] {
    transform: translateY(20px);
}

[data-aos="fade-left"] {
    transform: translateX(20px);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="fade"] {
    transform: none;
}

#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: rgba(50, 50, 50, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1001;
    transition: background 0.3s, color 0.3s, opacity 0.3s;
}

#main-nav a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
}

#main-nav a:hover {
    text-decoration: underline;
}

#main-nav .nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#main-nav .brand {
    font-weight: 700;
}

#main-nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#main-nav.scrolled a {
    color: #000;
}

#main-nav.scrolled a:hover {
    color: var(--accent-violet);
}

#main-nav.hidden {
    opacity: 0;
    pointer-events: none;
}

.display {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: -0.02em;
    color: var(--accent-cyan);
}

h1, h2, h3 {
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h2 {
    color: var(--accent-cyan);
}

.section h2,
.split .half h2 {
    margin-bottom: 1.5rem;
}

.section {
    padding: 4rem 2rem;
    min-height: 100vh;
    text-align: center;
}

#progress-container {
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    width: 60px;
    height: 60px;
    z-index: 1000;
}

#user-tree,
#user-tree ul {
    list-style-type: none;
    color: #fff;
    padding-left: 1rem;
}

#user-tree li {
    margin: 0.2rem 0;
}

.note {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
}

#scroll-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

#scroll-overlay.active {
    opacity: 0.5;
    z-index: 1000;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 3rem 1rem;
    }
}

#messages {
    list-style: none;
    margin: 1rem;
    padding: 0;
}

#messages li {
    background: rgba(0, 255, 200, 0.2);
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.user {
    font-weight: 600;
}

.auth-card {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    text-align: left;
}

.auth-card label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
}

.auth-card input {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #000;
}

.auth-card button {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    background: var(--accent-cyan);
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-card button:hover {
    background: var(--accent-cyan-bright);
}

.auth-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
}

/* Contact modal fields */
#contactModal .modal-content {
    background: #fff;
    color: #000;
}

#contactModal .form-control {
    background: #fff;
    color: #000;
}

/* Visual enhancements */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%239999' fill-opacity='0.02'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3Ccircle cx='20' cy='10' r='1'/%3E%3Ccircle cx='15' cy='25' r='1'/%3E%3Ccircle cx='35' cy='30' r='1'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, opacity 0.2s;
    opacity: 0.7;
    z-index: 1002;
}

a {
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover, a:focus {
    color: var(--accent-cyan-bright);
    text-shadow: 0 0 6px var(--accent-cyan-bright);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
    background: url("../img/home_neon_veins.webp") center/cover no-repeat;
}

.hero .glass {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    padding: 2rem 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Animated background for the hero section */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(154,0,255,0.3), transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(19,240,246,0.3), transparent 60%);
    background-size: 200% 200%;
    animation: hero-bg 15s ease-in-out infinite;
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), rgba(19,240,246,0.2), rgba(154,0,255,0.2), rgba(255,255,255,0.2));
    background-size: 400% 400%;
    animation: hero-gradient 20s ease-in-out infinite;
    mix-blend-mode: screen;
    z-index: -1;
}

@keyframes hero-bg {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@keyframes hero-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.split {
    display: flex;
    min-height: 100vh;
}

.split .half {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.split video,
.split img {
    width: 100%;
    height: auto;
    display: block;
}

.split .half a {
    display: block;
    width: 100%;
}

.carousel {
    position: relative;
    max-width: 600px;
    margin: 2rem auto;
    overflow: hidden;
}

.carousel .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.carousel .slide.active {
    opacity: 1;
    position: relative;
}

.carousel img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.carousel button.prev {
    left: 0.5rem;
}

.carousel button.next {
    right: 0.5rem;
}

#contact-bubble {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    z-index: 1000;
    background: var(--accent-cyan);
    color: #000;
    border: none;
    box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-cyan);
    transform: translateY(20px);
    opacity: 0;
    animation: bubble-in 0.6s ease-out forwards;
}

#contact-bubble i {
    font-size: 1.75rem;
}

@keyframes bubble-in {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

