:root {
    --color-bg-deep: #050000;
    --color-bg-dark: #0a0000;
    --color-glass-red: rgba(255, 0, 0, 0.05);
    --color-glass-dark: rgba(10, 0, 0, 0.5);
    --color-neon-red: #da0000;
    --color-text-main: #f0f0f0;
    --color-text-muted: #888888;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}

::-webkit-scrollbar-thumb {
    background: #330000;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-neon-red);
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 10%, #200000 0%, #050000 70%);
    background-origin: border-box;
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-neon-red);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: width 0.2s, height 0.2s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

.cursor-hover .cursor-dot {
    width: 0px;
    height: 0px;
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 0, 0, 0.05);
    border-color: var(--color-neon-red);
}

#cursor-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9997;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: var(--color-text-main);
    letter-spacing: 2px;
}

.logo span {
    color: var(--color-neon-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    color: #cccccc;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-neon-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--color-text-main);
}

.section-padding {
    padding: 120px 20px 100px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.section-title span {
    color: #ff003c;
}

.section-border {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(10, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.glitch-title {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: var(--color-text-main);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--color-neon-red);
    letter-spacing: 4px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.tagline {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    color: var(--color-text-muted);
}

.social-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-5px);
    color: var(--color-text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-main);
    background: rgba(255, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: rgba(255, 0, 0, 0.8);
    border-color: rgba(255, 0, 0, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.mt-8 {
    margin-top: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

.about-content {
    background: var(--color-glass-dark);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #dddddd;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.tech-item {
    font-family: var(--font-heading);
    padding: 8px 20px;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #eeeeee;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.interest-card {
    background: var(--color-glass-dark);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.interest-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 0, 0, 0.6);
    border-color: rgba(255, 0, 0, 0.2);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

.interest-card i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    transition: color 0.3s;
}

.interest-card:hover i {
    color: var(--color-neon-red);
}

.interest-card h3 {
    font-size: 1.1rem;
    color: #dddddd;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.video-card {
    background: var(--color-glass-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    aspect-ratio: 3/4;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: all 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: grayscale(80%);
}

.gallery-item:hover {
    border-color: rgba(255, 0, 0, 0.4);
    z-index: 2;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.6);
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.contact-content {
    text-align: center;
    background: var(--color-glass-dark);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 80px 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.contact-content p {
    font-size: 1.4rem;
    margin-bottom: 50px;
    font-family: var(--font-heading);
    color: #e0e0e0;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: #cccccc;
    transition: all 0.3s ease;
}

.contact-btn i {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 0, 0, 0.05);
    border-color: rgba(255, 0, 0, 0.4);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-btn:hover i {
    color: var(--color-neon-red);
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: #020000;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: #555;
    letter-spacing: 1px;
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    .glitch-title {
        font-size: 4rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
    }

    .glitch-title {
        font-size: 3rem;
    }

    h2.section-title {
        font-size: 2rem;
    }

    .about-content {
        padding: 30px;
    }

    .contact-content {
        padding: 40px 20px;
    }
}