:root {
    --bg: #050505;
    --text: #ffffff;
    --text-muted: #888888;
    --primary: #00f2ff;
    --secondary: #bd00ff;
    --font: 'Outfit', sans-serif;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transition: opacity 0.5s ease;
}

.loader-text {
    font-size: 1.5rem;
    letter-spacing: 5px;
    color: var(--primary);
    animation: blink 0.5s infinite;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: #333;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary);
    width: 0%;
    animation: load 2s ease-in-out forwards;
}

@keyframes load {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    width: 0%;
    z-index: 10001;
    transition: width 0.1s;
}

/* Ambient Blob */
#blob {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 50%;
    filter: blur(80px);
    z-index: -2;
    opacity: 0.4;
    animation: rotate 20s infinite;
}

@keyframes rotate {
    from {
        rotate: 0deg;
    }

    50% {
        scale: 1 1.2;
    }

    to {
        rotate: 360deg;
    }
}

/* Noise/Scanline Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(transparent 0,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 4px);
    z-index: 9000;
    pointer-events: none;
    opacity: 0.7;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, opacity 0.2s;
    mix-blend-mode: difference;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--text);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    5% {
        clip: rect(70px, 9999px, 90px, 0);
    }

    10% {
        clip: rect(20px, 9999px, 50px, 0);
    }

    15% {
        clip: rect(80px, 9999px, 10px, 0);
    }

    100% {
        clip: rect(30px, 9999px, 10px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    5% {
        clip: rect(50px, 9999px, 30px, 0);
    }

    10% {
        clip: rect(90px, 9999px, 20px, 0);
    }

    15% {
        clip: rect(10px, 9999px, 60px, 0);
    }

    100% {
        clip: rect(10px, 9999px, 80px, 0);
    }
}


.links a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 300;
    position: relative;
    transition: color 0.3s;
}

.links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.links a:hover::after {
    width: 100%;
}

/* Sections */
section {
    min-height: 100vh;
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(to right, var(--text), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Home Section */
#home {
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 5vw;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    min-height: 1.5em;
    /* Prevent jump */
}

.typing-text {
    color: var(--primary);
    border-right: 2px solid var(--primary);
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    background: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--text);
    color: var(--bg);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* About Cards */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s, border-color 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.about-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-muted);
}

/* Scroll Animation Classes */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Vlogs Section - 3D & Shine Effects */
.vlog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    justify-content: center;
    perspective: 1000px;
}

.vlog-card {
    aspect-ratio: 9/16;
    background: var(--card-bg);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
    cursor: pointer;
    transform-style: preserve-3d;
}

.vlog-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
    transform: translateZ(0px);
}

/* Shine Effect */
.vlog-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 20%,
            rgba(255, 255, 255, 0.1) 25%,
            transparent 30%);
    transform: translateX(-100%);
    transition: transform 0.4s;
    z-index: 2;
    pointer-events: none;
}

.vlog-card:hover::after {
    transform: translateX(100%);
    transition: transform 0.4s;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8) translateZ(20px);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 3;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.vlog-card:hover {
    box-shadow: 0 20px 50px rgba(0, 242, 255, 0.15), 0 0 0 1px var(--primary);
    border-color: var(--primary);
    z-index: 10;
}

.vlog-card:hover .vlog-thumbnail {
    transform: scale(1.1);
}

.vlog-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) translateZ(50px);
}

.vlog-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5), transparent);
    transform: translateY(20px) translateZ(30px);
    transition: transform 0.3s;
    z-index: 3;
    pointer-events: none;
}

.vlog-card:hover .vlog-info {
    transform: translateY(0) translateZ(30px);
}

.vlog-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Social Buttons Large */
.center-text {
    text-align: center;
}

.social-links-large {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Magnetic Button Styling */
.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.1s linear, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.social-btn:hover::before {
    width: 300px;
    height: 300px;
}

.social-btn i {
    font-size: 1.5rem;
}

.social-btn.insta {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-btn.yt {
    background: #ff0000;
}

.social-btn:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Contact */
.socials {
    margin-top: 2rem;
}

.socials a {
    color: var(--text);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    padding: 2rem 5%;
    margin-top: 3rem;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.logo-small {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.footer-left p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.3);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    nav {
        display: none;
        /* Simplify for mobile for now or add mobile menu functionality if needed */
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    * {
        cursor: auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}