:root {
    --neon-primary: #ff0000; /* Changed to red for danger */
    --neon-secondary: #00ff00; /* Matrix-style green */
    --bg-primary: #030303; /* Darker background */
    --text-primary: #c0c0c0; /* Dimmer text */
    --text-secondary: #ff0000; /* Red text */
    --accent-color: #640000; /* Dark red */
    --warning-color: #ffcc00; /* Warning yellow */
    --hacker-green: #00ff00; /* Matrix green */
    --terminal-dark: #0c0c0c; /* Terminal black */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace; /* Terminal-style font */
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(3, 3, 3, 0.98), rgba(3, 3, 3, 0.98)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><text x="50%" y="50%" font-family="monospace" font-size="10" fill="rgba(255,0,0,0.05)" text-anchor="middle" dominant-baseline="middle">HACKED</text></svg>');
}

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-primary);
    border-radius: 0; /* Square cursor for terminal feel */
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.05s ease; /* Faster cursor for hacker feel */
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--neon-primary); /* Glow effect */
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--neon-primary);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2); /* Red glow */
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--neon-primary);
    color: var(--neon-primary);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--neon-primary);
    color: var(--bg-primary);
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

.logo {
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1rem;
    color: var(--neon-primary);
    text-shadow: 0 0 10px var(--neon-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo::before {
    content: "// ";
    color: var(--hacker-green);
}

.logo::after {
    content: "_";
    animation: blink 1s step-end infinite;
}

.logo img {
    height: 60px;
    width: 90PX;
    filter: hue-rotate(140deg) brightness(1.5) contrast(1.2); /* Red tint */
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'VT323', 'Courier New', monospace;
    position: relative;
    padding: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

nav a.active {
    color: var(--neon-primary);
}

nav a::before {
    content: '>';
    color: var(--neon-primary);
    margin-right: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

nav a:hover::before,
nav a.active::before {
    opacity: 1;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon-primary);
    transition: width 0.2s ease, box-shadow 0.2s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
    box-shadow: 0 0 10px var(--neon-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #030303 0%, #0a0a0a 100%);
}

.cyberpunk-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        linear-gradient(transparent 0%, var(--neon-primary) 1%, transparent 2%),
        linear-gradient(90deg, transparent 0%, var(--neon-primary) 1%, transparent 2%);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.05;
    transform: perspective(500px) rotateX(60deg);
}

.circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.circles div {
    position: absolute;
    border: 1px solid var(--neon-primary);
    border-radius: 50%;
    animation: circlesPulse 4s ease-out infinite;
    opacity: 0;
}

.circles div:nth-child(1) {
    width: 100px;
    height: 100px;
    left: 20%;
    top: 20%;
    animation-delay: 0s;
}

.circles div:nth-child(2) {
    width: 200px;
    height: 200px;
    right: 20%;
    top: 40%;
    animation-delay: 1s;
}

.circles div:nth-child(3) {
    width: 150px;
    height: 150px;
    left: 50%;
    bottom: 20%;
    animation-delay: 2s;
}

.lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.lines div {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-primary), transparent);
    animation: linesMove 8s linear infinite;
    opacity: 0;
}

.lines div:nth-child(1) {
    top: 25%;
    animation-delay: 0s;
}

.lines div:nth-child(2) {
    top: 50%;
    animation-delay: 2s;
}

.lines div:nth-child(3) {
    top: 75%;
    animation-delay: 4s;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.banner-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.9) 0px,
        rgba(0, 0, 0, 0.9) 1px,
        transparent 1px,
        transparent 2px
    );
    z-index: 1;
    animation: scanline 5s linear infinite;
    pointer-events: none;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: brightness(0.3) contrast(1.2) sepia(0.5) hue-rotate(300deg);
}

.glitch-container {
    position: relative;
    margin-bottom: 2rem;
    z-index: 1;
}

.glitch {
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 4rem;
    font-weight: bold;
    position: relative;
    text-shadow: 0.05em 0 0 var(--neon-primary),
                -0.05em -0.025em 0 var(--hacker-green);
    animation: glitch 500ms infinite; /* Faster glitch */
    letter-spacing: 3px;
    text-transform: uppercase;
}

.glitch::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-shadow: -2px 0 var(--warning-color);
    animation: noise-anim 2s infinite linear alternate-reverse;
    clip: rect(0, 900px, 0, 0);
}

.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-shadow: 2px 0 var(--neon-primary);
    animation: noise-anim-2 3s infinite linear alternate-reverse;
    clip: rect(0, 900px, 0, 0);
}

@keyframes noise-anim {
    0% {
        clip: rect(15px, 9999px, 76px, 0);
    }
    5% {
        clip: rect(19px, 9999px, 38px, 0);
    }
    10% {
        clip: rect(94px, 9999px, 91px, 0);
    }
    15% {
        clip: rect(60px, 9999px, 37px, 0);
    }
    20% {
        clip: rect(67px, 9999px, 75px, 0);
    }
    25% {
        clip: rect(75px, 9999px, 17px, 0);
    }
    30% {
        clip: rect(54px, 9999px, 98px, 0);
    }
    35% {
        clip: rect(1px, 9999px, 16px, 0);
    }
    40% {
        clip: rect(21px, 9999px, 5px, 0);
    }
    45% {
        clip: rect(65px, 9999px, 78px, 0);
    }
    50% {
        clip: rect(7px, 9999px, 97px, 0);
    }
    55% {
        clip: rect(24px, 9999px, 41px, 0);
    }
    60% {
        clip: rect(14px, 9999px, 3px, 0);
    }
    65% {
        clip: rect(86px, 9999px, 62px, 0);
    }
    70% {
        clip: rect(27px, 9999px, 99px, 0);
    }
    75% {
        clip: rect(85px, 9999px, 81px, 0);
    }
    80% {
        clip: rect(10px, 9999px, 36px, 0);
    }
    85% {
        clip: rect(32px, 9999px, 79px, 0);
    }
    90% {
        clip: rect(32px, 9999px, 45px, 0);
    }
    95% {
        clip: rect(83px, 9999px, 40px, 0);
    }
    100% {
        clip: rect(12px, 9999px, 23px, 0);
    }
}

@keyframes noise-anim-2 {
    0% {
        clip: rect(76px, 9999px, 58px, 0);
    }
    5% {
        clip: rect(1px, 9999px, 17px, 0);
    }
    10% {
        clip: rect(53px, 9999px, 25px, 0);
    }
    15% {
        clip: rect(26px, 9999px, 39px, 0);
    }
    20% {
        clip: rect(56px, 9999px, 13px, 0);
    }
    25% {
        clip: rect(5px, 9999px, 65px, 0);
    }
    30% {
        clip: rect(33px, 9999px, 89px, 0);
    }
    35% {
        clip: rect(48px, 9999px, 42px, 0);
    }
    40% {
        clip: rect(52px, 9999px, 21px, 0);
    }
    45% {
        clip: rect(94px, 9999px, 84px, 0);
    }
    50% {
        clip: rect(42px, 9999px, 67px, 0);
    }
    55% {
        clip: rect(68px, 9999px, 19px, 0);
    }
    60% {
        clip: rect(95px, 9999px, 4px, 0);
    }
    65% {
        clip: rect(6px, 9999px, 39px, 0);
    }
    70% {
        clip: rect(87px, 9999px, 86px, 0);
    }
    75% {
        clip: rect(61px, 9999px, 46px, 0);
    }
    80% {
        clip: rect(63px, 9999px, 55px, 0);
    }
    85% {
        clip: rect(99px, 9999px, 59px, 0);
    }
    90% {
        clip: rect(39px, 9999px, 25px, 0);
    }
    95% {
        clip: rect(65px, 9999px, 97px, 0);
    }
    100% {
        clip: rect(45px, 9999px, 91px, 0);
    }
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--neon-primary),
                    -0.05em -0.025em 0 var(--hacker-green);
        transform: translate(0);
    }
    14% {
        text-shadow: 0.05em 0 0 var(--neon-primary),
                    -0.05em -0.025em 0 var(--hacker-green);
        transform: translate(-2px, -2px);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--neon-primary),
                    0.025em 0.025em 0 var(--hacker-green);
        transform: translate(2px, 2px);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--neon-primary),
                    0.025em 0.025em 0 var(--hacker-green);
        transform: translate(0);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--neon-primary),
                    0.05em 0 0 var(--hacker-green);
        transform: translate(1px, 1px);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--neon-primary),
                    0.05em 0 0 var(--hacker-green);
        transform: translate(0);
    }
    100% {
        text-shadow: -0.025em 0 0 var(--neon-primary),
                    -0.025em -0.025em 0 var(--hacker-green);
        transform: translate(-1px, -1px);
    }
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes circlesPulse {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes linesMove {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

#typewriter {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    min-height: 3rem;
    color: var(--hacker-green);
    z-index: 1;
    font-family: 'Courier New', monospace;
    position: relative;
    width: fit-content;
    margin: 0 auto 2rem auto;
}

#typewriter::after {
    content: "_";
    animation: blink 1s step-end infinite;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    z-index: 1;
}

.neon-button {
    padding: 0.8rem 1.5rem;
    color: var(--neon-primary);
    border: 1px solid var(--neon-primary);
    background: rgba(20, 0, 0, 0.2);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    pointer-events: none;
}

.neon-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 0, 0, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.neon-button:hover {
    color: #fff;
    box-shadow: 0 0 20px var(--neon-primary);
    text-shadow: 0 0 5px #fff;
}

.neon-button:hover::after {
    width: 100%;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 0; /* Square for digital look */
    overflow: hidden;
    border: 2px solid var(--neon-primary);
    box-shadow: 0 0 20px var(--neon-primary);
    margin-bottom: 2rem;
    animation: profileGlitch 10s ease-in-out infinite;
    z-index: 1;
    position: relative;
}

@keyframes profileGlitch {
    0%, 100% {
        transform: translateY(0);
        filter: none;
    }
    20% {
        transform: translateY(-5px);
    }
    25% {
        transform: translateY(-5px) skewX(2deg);
        filter: hue-rotate(90deg) contrast(1.5);
    }
    26% {
        transform: translateY(-5px);
        filter: none;
    }
    60% {
        transform: translateY(5px);
    }
    65% {
        transform: translateY(5px) skewX(-2deg);
        filter: saturate(0.5) brightness(1.2);
    }
    66% {
        transform: translateY(5px);
        filter: none;
    }
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: grayscale(0.5) contrast(1.2);
}

.profile-image:hover img {
    transform: scale(1.1);
    filter: grayscale(0) contrast(1.2) hue-rotate(40deg);
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1),
        rgba(255, 0, 0, 0.1)
    );
    z-index: 2;
    pointer-events: none;
}

/* Matrix rain effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.05;
}

/* Sections */
section {
    padding: 5rem 2rem;
    min-height: 100vh;
    position: relative;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.9) 0px,
        rgba(0, 0, 0, 0.9) 2px,
        transparent 2px,
        transparent 4px
    );
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.section-title {
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--neon-primary);
    text-shadow: 0 0 10px var(--neon-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.section-title::before {
    content: "> ";
    color: var(--hacker-green);
}

.section-title::after {
    content: "_";
    animation: blink 1s step-end infinite;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.skill-card {
    background: rgba(10, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 0; /* Square corners */
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--neon-primary);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(255, 0, 0, 0.2);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.skill-card:hover::before {
    transform: translateX(100%);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    border-color: var(--neon-primary);
}

.skill-icon {
    font-size: 3rem;
    color: var(--neon-primary);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1);
    animation: glitchIcon 1s infinite;
}

@keyframes glitchIcon {
    0%, 100% { transform: scale(1.1); }
    25% { transform: scale(1.1) translateX(-2px); }
    50% { transform: scale(1.1) translateX(0); }
    75% { transform: scale(1.1) translateX(2px); }
}

.skill-card h3 {
    color: var(--text-primary);
    font-family: 'VT323', 'Courier New', monospace;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-level {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    margin: 1rem 0;
    overflow: hidden;
    position: relative;
}

.skill-level::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.5), transparent);
    animation: skillScan 2s linear infinite;
    z-index: 1;
}

@keyframes skillScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skill-level .progress {
    height: 100%;
    background: var(--neon-primary);
    border-radius: 0;
    position: relative;
    animation: progressAnimation 1.5s ease-out forwards;
    box-shadow: 0 0 5px var(--neon-primary);
}

@keyframes progressAnimation {
    from { width: 0; }
}

.skill-details {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    text-align: left;
}

.skill-details li {
    margin: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
    font-family: 'Courier New', monospace;
}

.skill-details li::before {
    content: '[+]';
    position: absolute;
    left: 0;
    color: var(--hacker-green);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.project-card {
    position: relative;
    background: rgba(10, 0, 0, 0.3);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--neon-primary);
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(255, 0, 0, 0.2);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--neon-primary);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: grayscale(0.7) contrast(1.2) brightness(0.8);
}

.project-card:hover img {
    transform: scale(1.1);
    filter: grayscale(0) contrast(1.4) brightness(0.9) hue-rotate(40deg);
}

.project-content {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid var(--neon-primary);
}

.project-content h3 {
    color: var(--neon-primary);
    font-family: 'VT323', 'Courier New', monospace;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tech span {
    background: rgba(255, 0, 0, 0.1);
    color: var(--neon-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-size: 0.8rem;
    border: 1px solid var(--neon-primary);
    font-family: 'Courier New', monospace;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links .neon-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
/* Cyber Criminal Theme */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 1rem;
        background-color: #0a0a0a;
        border: 1px solid #00ff00;
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        background-color: #0a0a0a;
        border: 1px solid #00ff00;
    }

    .project-card img {
        height: 180px;
        filter: grayscale(30%) hue-rotate(120deg);
        border: 2px solid #00ff00;
    }
}

@media (max-width: 480px) {
    .skill-card {
        padding: 1.5rem;
        background-color: #121212;
        border: 1px solid #00ff00;
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
    }

    .project-links {
        flex-direction: column;
        background-color: #1a1a1a;
        padding: 0.5rem;
        border-radius: 5px;
        border-left: 3px solid #00ff00;
    }

    .project-tech {
        justify-content: center;
        color: #00ff00;
        font-family: 'Courier New', monospace;
    }
}

/* About Section */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--neon-primary);
    box-shadow: 0 0 20px var(--neon-primary);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    justify-content: center;
    gap: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.about-image:hover .about-social {
    transform: translateY(0);
}

.about-intro {
    margin-bottom: 2rem;
}

.about-intro h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.detail-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--neon-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.detail-item i {
    font-size: 2rem;
    color: var(--neon-primary);
    margin-bottom: 1rem;
}

.detail-item h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.stat {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--neon-primary);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--neon-primary);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-content {
        padding: 0 1rem;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        padding: 1rem;
    }

    nav ul {
        position: fixed;
        top: 80px;
        right: -100%;
        height: calc(100vh - 80px);
        width: 70%;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: right 0.3s ease;
        backdrop-filter: blur(10px);
        border-left: 1px solid var(--neon-primary);
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    nav ul a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 0, 0, 0.1);
    }

    .hero {
        padding: 4rem 1rem;
        margin-top: 80px;
    }

    .glitch {
        font-size: 2.5rem;
    }

    #typewriter {
        font-size: 1.2rem;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .about-cta {
        flex-direction: column;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .contact-methods {
        gap: 1rem;
    }
    
    .contact-method {
        padding: 0.8rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.5rem 1rem;
    }

    nav ul {
        width: 100%;
        right: -100%;
    }

    .hero {
        padding: 3rem 0.5rem;
    }

    .glitch {
        font-size: 2rem;
    }

    #typewriter {
        font-size: 1rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .skill-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .project-card {
        margin: 0.5rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-social {
        justify-content: center;
    }

    .form-header h3 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .glitch {
        font-size: 1.5rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .contact-social {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
}
.github-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid var(--neon-primary);
}

.github-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.github-profile {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#github-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--neon-primary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.github-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.github-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.github-stats {
    display: flex;
    gap: 1.5rem;
}

.github-stats span {
    color: var(--neon-primary);
    font-family: 'Orbitron', sans-serif;
}

.activity-feed {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feed-header h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-primary);
}

.feed-filter {
    display: flex;
    gap: 1rem;
}

.feed-filter button {
    background: transparent;
    border: 1px solid var(--neon-primary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
}

.feed-filter button.active,
.feed-filter button:hover {
    background: var(--neon-primary);
    color: var(--bg-primary);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.activity-item:hover {
    border-color: var(--neon-primary);
    transform: translateX(10px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--neon-primary);
}

.activity-content {
    flex: 1;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.activity-title {
    color: var(--text-primary);
    font-weight: 500;
}

.activity-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.activity-details {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.activity-repo {
    display: inline-block;
    color: var(--neon-primary);
    text-decoration: none;
    margin-top: 0.5rem;
}

.activity-repo:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .github-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .github-profile {
        flex-direction: column;
        gap: 1rem;
    }

    .feed-header {
        flex-direction: column;
        gap: 1rem;
    }

    .feed-filter {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .feed-filter button {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .github-container {
        padding: 1rem;
        margin: 1rem;
    }

    .github-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .github-profile {
        flex-direction: column;
        gap: 1rem;
    }

    .github-info {
        text-align: center;
    }

    .github-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .feed-header {
        flex-direction: column;
        gap: 1rem;
    }

    .feed-filter {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        width: 100%;
    }

    .activity-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .activity-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .activity-icon {
        margin-bottom: 0.5rem;
    }

    .activity-content {
        width: 100%;
    }

    .last-fetch-time {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .github-container {
        padding: 0.5rem;
        margin: 0.5rem;
    }

    #github-avatar {
        width: 80px;
        height: 80px;
    }

    .github-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .feed-filter {
        grid-template-columns: 1fr;
    }

    .activity-item {
        margin: 0.5rem 0;
    }

    .activity-title {
        font-size: 0.9rem;
    }

    .activity-details {
        font-size: 0.85rem;
    }
}

@media (hover: none) {
    .activity-item:hover {
        transform: none;
        box-shadow: none;
    }

    .feed-filter button:hover {
        background: transparent;
        color: var(--text-secondary);
    }

    .feed-filter button.active {
        background: var(--neon-primary);
        color: var(--bg-primary);
    }
}

/* GitHub Activity Loading States */
.loading-state,
.error-state,
.no-activity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.loading-state .loader-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.loader-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 51px;
    height: 51px;
    margin: 6px;
    border: 6px solid var(--neon-primary);
    border-radius: 50%;
    animation: loader-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--neon-primary) transparent transparent transparent;
}

.loader-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.loader-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.loader-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes loader-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.error-state i {
    font-size: 2.5rem;
    color: #ff4757;
    margin-bottom: 1rem;
}

.retry-button {
    background: transparent;
    border: 1px solid var(--neon-primary);
    color: var(--neon-primary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
}

.retry-button:hover {
    background: var(--neon-primary);
    color: var(--bg-primary);
}

.retry-button i {
    margin-right: 0.5rem;
}

.no-activity i {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#github-avatar.loaded {
    animation: avatarPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes avatarPop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.last-fetch-time {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.last-fetch-time i {
    color: var(--neon-primary);
}
/* GitHub Container Loading State */
.github-container.loading {
    position: relative;
}

.github-container.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--neon-primary) 50%, 
        transparent 100%
    );
    animation: loadingBar 1.5s infinite;
}

@keyframes loadingBar {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

/* Activity Item Hover Enhancement */
.activity-item {
    transform: translateX(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.activity-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

/* Filter Button Enhancement */
.feed-filter button {
    position: relative;
    overflow: hidden;
}

.feed-filter button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.feed-filter button:hover::before {
    left: 100%;
}

/* Contact Section */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-text h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--neon-primary);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--neon-primary);
}

.method-details h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.neon-text {
    color: var(--neon-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.neon-text:hover {
    text-shadow: 0 0 10px var(--neon-primary);
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--neon-primary);
    border-radius: 50%;
    color: var(--neon-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--neon-primary);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    color: var(--bg-primary);
}

.social-icon:hover::before {
    transform: translateY(0);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--neon-primary);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header i {
    font-size: 2rem;
    color: var(--neon-primary);
    margin-bottom: 1rem;
}

.form-header h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
}

.input-group label {
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: var(--neon-primary);
    outline: none;
}

.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:valid ~ label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--neon-primary);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-primary);
    transition: width 0.3s ease;
}

.input-group input:focus ~ .input-highlight,
.input-group textarea:focus ~ .input-highlight {
    width: 100%;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--neon-primary);
    color: var(--neon-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--neon-primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-glitch {
    transform: translateX(0);
}

.submit-btn:hover {
    color: var(--bg-primary);
}

/* Contact Form Styles */
.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--neon-primary);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 10px var(--neon-primary);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hidden {
    display: none;
}

/* Form Submit Button */
.contact-form .neon-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    background: transparent;
    color: var(--neon-primary);
    border: 1px solid var(--neon-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form .neon-button:hover {
    background: var(--neon-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--neon-primary);
}

.contact-form .neon-button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--neon-primary);
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: -1;
}

.contact-form .neon-button:hover:before {
    width: 300%;
    height: 300%;
}
/* Form Success Message */
.form-success {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--neon-primary);
    border-radius: 4px;
    margin-top: 2rem;
    display: none;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-form {
        padding: 0 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 1rem;
    }

    .contact-text h3 {
        font-size: 1.5rem;
    }

    .contact-method {
        padding: 0.8rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-methods {
        gap: 1rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .form-header h3 {
        font-size: 1.2rem;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.95);
    border-top: 2px solid var(--neon-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-secondary);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.cyber-loader {
    position: relative;
    width: 200px;
    text-align: center;
}

.loader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--neon-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.5rem;
    animation: glitch 1s infinite;
}

.loader-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--neon-primary);
    animation: progress 2s ease-in-out forwards;
    box-shadow: 0 0 10px var(--neon-primary);
}

.glitch-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.glitch-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--neon-primary);
    animation: glitchLine 2s infinite;
}

@keyframes progress {
    0% {
        width: 0;
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(180deg);
    }
    100% {
        width: 100%;
        filter: hue-rotate(360deg);
    }
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--neon-primary), -0.05em -0.025em 0 #0ff;
        transform: skew(0deg);
    }
    25% {
        text-shadow: -0.05em -0.025em 0 var(--neon-primary), 0.025em 0.025em 0 #0ff;
        transform: skew(-2deg);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--neon-primary), -0.05em -0.05em 0 #0ff;
        transform: skew(2deg);
    }
    100% {
        text-shadow: 0.05em 0 0 var(--neon-primary), -0.05em -0.025em 0 #0ff;
        transform: skew(0deg);
    }
}

@keyframes glitchLine {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(100vh);
    }
    50.1% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* Scroll Reveal Animations */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.reveal-fade-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.reveal-fade-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Section Transitions */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}
