/* ==================== CSS Variables ==================== */
:root {
    --primary-cyan: #00f0ff;
    --primary-magenta: #ff00ff;
    --primary-purple: #8b00ff;
    --accent-blue: #0066ff;
    --neon-green: #00ff88;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: rgba(10, 10, 20, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --gradient-cyber: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    --gradient-dark: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 40px rgba(0, 240, 255, 0.3);
    --glow-magenta: 0 0 20px rgba(255, 0, 255, 0.5), 0 0 40px rgba(255, 0, 255, 0.3);
    --font-main: 'Rajdhani', sans-serif;
    --font-cyber: 'Orbitron', sans-serif;
}

/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: var(--primary-cyan);
    color: var(--dark-bg);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-magenta);
}

/* ==================== Cyber Background ==================== */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.scanline {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0.1;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { top: -10%; }
    100% { top: 110%; }
}

.glow-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-cyan);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-magenta);
    top: 50%;
    right: 10%;
    animation-delay: -3s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--primary-purple);
    bottom: 10%;
    left: 30%;
    animation-delay: -6s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

/* ==================== Particles ==================== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ==================== Navigation ==================== */
.cyber-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}

.cyber-nav.scrolled {
    padding: 0.8rem 5%;
    background: rgba(5, 5, 10, 0.95);
}

.nav-logo {
    font-family: var(--font-cyber);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    text-shadow: var(--glow-cyan);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-cyber);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cyber);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-cyan);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-cyan);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==================== Glitch Effect ==================== */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary-magenta);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary-cyan);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip: rect(30px, 9999px, 10px, 0); }
    10% { clip: rect(70px, 9999px, 130px, 0); }
    20% { clip: rect(20px, 9999px, 90px, 0); }
    30% { clip: rect(110px, 9999px, 130px, 0); }
    40% { clip: rect(50px, 9999px, 100px, 0); }
    50% { clip: rect(10px, 9999px, 60px, 0); }
    60% { clip: rect(80px, 9999px, 120px, 0); }
    70% { clip: rect(40px, 9999px, 80px, 0); }
    80% { clip: rect(90px, 9999px, 140px, 0); }
    90% { clip: rect(20px, 9999px, 50px, 0); }
    100% { clip: rect(60px, 9999px, 100px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(60px, 9999px, 100px, 0); }
    10% { clip: rect(20px, 9999px, 50px, 0); }
    20% { clip: rect(90px, 9999px, 140px, 0); }
    30% { clip: rect(40px, 9999px, 80px, 0); }
    40% { clip: rect(80px, 9999px, 120px, 0); }
    50% { clip: rect(10px, 9999px, 60px, 0); }
    60% { clip: rect(50px, 9999px, 100px, 0); }
    70% { clip: rect(110px, 9999px, 130px, 0); }
    80% { clip: rect(20px, 9999px, 90px, 0); }
    90% { clip: rect(70px, 9999px, 130px, 0); }
    100% { clip: rect(30px, 9999px, 10px, 0); }
}

/* ==================== Hero Section ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 50px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.cyber-frame {
    padding: 3rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
    clip-path: polygon(
        0 20px, 20px 0, calc(100% - 20px) 0, 100% 20px,
        100% calc(100% - 20px), calc(100% - 20px) 100%,
        20px 100%, 0 calc(100% - 20px)
    );
}

.cyber-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-cyber);
    z-index: -1;
    clip-path: polygon(
        0 20px, 20px 0, calc(100% - 20px) 0, 100% 20px,
        100% calc(100% - 20px), calc(100% - 20px) 100%,
        20px 100%, 0 calc(100% - 20px)
    );
    opacity: 0.5;
}

.status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green); }
    50% { box-shadow: 0 0 15px var(--neon-green), 0 0 30px var(--neon-green); }
}

.status-text {
    font-family: var(--font-cyber);
    font-size: 0.8rem;
    color: var(--neon-green);
    letter-spacing: 3px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.greeting {
    display: block;
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.name {
    display: block;
    font-family: var(--font-cyber);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.typing-container {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    min-height: 30px;
}

.cursor {
    animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== Cyber Buttons ==================== */
.cyber-btn {
    font-family: var(--font-cyber);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 40px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.cyber-btn.primary {
    background: var(--gradient-cyber);
    color: var(--dark-bg);
    font-weight: 600;
}

.cyber-btn.secondary {
    background: transparent;
    color: var(--primary-cyan);
    border: 2px solid var(--primary-cyan);
}

.cyber-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

.cyber-btn.secondary:hover {
    background: rgba(0, 240, 255, 0.1);
}

.btn-glitch {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cyber-btn:hover .btn-glitch {
    left: 100%;
}

/* ==================== Scroll Indicator ==================== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-cyan);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

.scroll-indicator span {
    font-family: var(--font-cyber);
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==================== Section Styles ==================== */
section {
    padding: 100px 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-cyber);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.cyber-line {
    width: 100px;
    height: 3px;
    background: var(--gradient-cyber);
    margin: 0 auto;
    position: relative;
}

.cyber-line::before,
.cyber-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-cyan);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.cyber-line::before {
    left: -15px;
}

.cyber-line::after {
    right: -15px;
}

/* ==================== Cyber Card ==================== */
.cyber-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 240, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.cyber-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-cyber);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cyber-card:hover::before {
    opacity: 0.05;
}

.cyber-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
    transform: translateY(-5px);
}

.card-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-cyan);
}

.card-corner.top-left {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.card-corner.top-right {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
}

.card-corner.bottom-left {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
}

.card-corner.bottom-right {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* ==================== About Section ==================== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    padding: 3rem;
}

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text .intro-text {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.highlight {
    color: var(--primary-cyan);
    font-weight: 600;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-cyber);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==================== Skills Section ==================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    padding: 2rem;
    text-align: center;
}

.skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-cyan);
    border: 2px solid var(--primary-cyan);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    background: var(--primary-cyan);
    color: var(--dark-bg);
    box-shadow: var(--glow-cyan);
}

.skill-title {
    font-family: var(--font-cyber);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.skill-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-cyber);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease;
}

/* ==================== Interests Section ==================== */
.interests-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.interest-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-left: 3px solid var(--primary-cyan);
    transition: all 0.3s ease;
}

.interest-item:hover {
    border-left-color: var(--primary-magenta);
    background: rgba(0, 240, 255, 0.05);
    transform: translateX(10px);
}

.interest-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-cyan);
    background: rgba(0, 240, 255, 0.1);
    border-radius: 10px;
}

.interest-icon.pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.interest-content h3 {
    font-family: var(--font-cyber);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.interest-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== Connect Section ==================== */
.connect {
    text-align: center;
}

.connect-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 250px;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: all 0.3s ease;
}

.social-card.youtube::before { background: #ff0000; }
.social-card.instagram::before { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-card.linkedin::before { background: #0077b5; }

.social-card:hover {
    transform: translateY(-5px);
}

.social-card.youtube:hover {
    border-color: #ff0000;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.social-card.instagram:hover {
    border-color: #e6683c;
    box-shadow: 0 0 30px rgba(230, 104, 60, 0.2);
}

.social-card.linkedin:hover {
    border-color: #0077b5;
    box-shadow: 0 0 30px rgba(0, 119, 181, 0.2);
}

.social-icon {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-card.youtube .social-icon { color: #ff0000; }
.social-card.instagram .social-icon { color: #e6683c; }
.social-card.linkedin .social-icon { color: #0077b5; }

.social-info {
    text-align: left;
}

.social-name {
    display: block;
    font-family: var(--font-cyber);
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.social-handle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.social-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.social-card:hover .social-hover-effect {
    left: 100%;
}

/* ==================== Terminal ==================== */
.terminal-container {
    max-width: 600px;
    margin: 0 auto;
    background: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: #2d2d44;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-title {
    font-family: var(--font-cyber);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: auto;
    margin-right: auto;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.terminal-body p {
    margin-bottom: 5px;
}

.prompt {
    color: var(--neon-green);
}

.output {
    color: var(--text-secondary);
    padding-left: 20px;
}

.blink {
    animation: cursorBlink 0.8s infinite;
}

/* ==================== Footer ==================== */
.cyber-footer {
    padding: 50px 5%;
    text-align: center;
    background: var(--darker-bg);
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: var(--font-cyber);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    .cyber-frame {
        padding: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-card {
        padding: 2rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .interest-item {
        flex-direction: column;
        text-align: center;
    }

    .interest-icon {
        margin: 0 auto;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-card {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 4%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cyber-frame {
        padding: 1.5rem;
    }

    .name {
        font-size: 2rem;
    }

    .greeting {
        font-size: 1.2rem;
    }

    .typing-container {
        font-size: 1rem;
    }
}

/* ==================== Animation Classes ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}
