/* Yaan Batho - Cyber Aesthetic Portfolio */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0A0A0A;
    --fg: #EDEDED;
    --muted: #111111;
    --border: #222222;
    --glow: #FFFFFF;
    --accent-red: #FF0040;
    --accent-red-dim: #990028;
    --transition: all 0.3s ease;
    --font-heading: 'Orbitron', monospace;
    --font-body: 'Rajdhani', sans-serif;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Cyber Grid Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    animation: gridPulse 20s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* Scanlines */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(255, 255, 255, 0.03) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0.3;
    z-index: 9999;
}

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

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-red) 50%, 
        transparent
    );
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; box-shadow: 0 0 15px rgba(255, 0, 64, 0.5); }
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    font-family: var(--font-heading);
    text-decoration: none;
    color: var(--fg);
    transition: var(--transition);
    letter-spacing: 2px;
    position: relative;
}

.logo::before {
    content: "▸";
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--glow);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.logo:hover::before {
    opacity: 1;
    left: -15px;
    color: var(--accent-red);
    text-shadow: 0 0 10px rgba(255, 0, 64, 0.8);
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: rgba(237, 237, 237, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--accent-red);
}

nav a.active::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-red);
    box-shadow: 0 0 10px rgba(255, 0, 64, 0.6);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--fg);
    font-size: 24px;
    cursor: pointer;
}

/* Hero */
.hero {
    text-align: center;
    padding: 100px 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: clamp(40px, 8vw, 80px);
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    animation: fadeIn 0.6s ease 0.1s both;
    text-transform: uppercase;
    background: linear-gradient(135deg, #FFFFFF 0%, #EDEDED 50%, #CCCCCC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, #FFFFFF 0%, #EDEDED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.3;
}

.tagline {
    font-size: clamp(18px, 3vw, 24px);
    color: rgba(237, 237, 237, 0.6);
    margin-bottom: 40px;
    animation: fadeIn 0.6s ease 0.2s both;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease 0.3s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid var(--border);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-primary {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: rgba(237, 237, 237, 0.95);
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--fg);
    position: relative;
}

.btn-secondary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(17, 17, 17, 0.8);
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 0, 64, 0.3);
}

.btn-secondary:hover::after {
    opacity: 1;
}

/* Page Header */
.page-header {
    padding: 80px 20px 40px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(40px, 6vw, 60px);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: rgba(237, 237, 237, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* Section */
section {
    padding: 60px 20px;
    position: relative;
}

section:nth-child(even):not(.hero) {
    background: linear-gradient(180deg, 
        transparent,
        rgba(17, 17, 17, 0.3),
        transparent
    );
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

h2 {
    font-size: clamp(30px, 5vw, 40px);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), transparent);
    box-shadow: 0 0 10px rgba(255, 0, 64, 0.5);
}

h3 {
    font-size: clamp(20px, 3vw, 24px);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.view-all {
    color: rgba(237, 237, 237, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--accent-red);
    text-shadow: 0 0 10px rgba(255, 0, 64, 0.5);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.card {
    border: 1px solid rgba(34, 34, 34, 0.4);
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.8), rgba(10, 10, 10, 0.9));
    transition: var(--transition);
    cursor: pointer;
    opacity: 0;
    animation: slideUp 0.6s ease forwards;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent-red),
        transparent
    );
    box-shadow: 0 0 10px var(--accent-red);
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-6px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card:hover::before {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 200px;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-center;
    color: rgba(237, 237, 237, 0.3);
    font-size: 12px;
    font-family: var(--font-heading);
    font-weight: bold;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
}

.card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.card:hover .card-image::after {
    left: 100%;
}

.card-image video {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0.9);
}

.card:hover .card-image video {
    transform: scale(1.05);
    filter: brightness(1);
}

.card-content {
    padding: 24px;
}

.card p {
    color: rgba(237, 237, 237, 0.6);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Clickable project cards */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link .card {
    cursor: pointer;
}

.card-link .card::after {
    content: "Visit →";
    position: absolute;
    bottom: 16px;
    right: 20px;
    background: rgba(255, 0, 64, 0.1);
    color: var(--accent-red);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.card-link .card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    padding: 4px 12px;
    border: 1px solid rgba(34, 34, 34, 0.4);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(237, 237, 237, 0.6);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.tag::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tag:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--fg);
    background: rgba(17, 17, 17, 0.6);
    transform: translateY(-1px);
}

.tag:hover::before {
    opacity: 1;
}

.tag.active {
    border-color: var(--accent-red);
    color: var(--fg);
    background: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.6);
}

.tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech span {
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    font-size: 11px;
    color: rgba(237, 237, 237, 0.4);
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { 
        opacity: 0.8; 
        box-shadow: 0 0 10px rgba(255, 0, 64, 0.3);
        border-color: var(--accent-red-dim);
    }
    50% { 
        opacity: 1; 
        box-shadow: 0 0 20px rgba(255, 0, 64, 0.6);
        border-color: var(--accent-red);
    }
}

/* Filter Bar */
.filter-bar {
    margin-bottom: 40px;
}

.filter-bar p {
    font-size: 14px;
    color: rgba(237, 237, 237, 0.6);
    margin-bottom: 16px;
}

/* CTA Box */
.cta-box {
    border: 1px solid rgba(34, 34, 34, 0.4);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.8), rgba(10, 10, 10, 0.9));
    box-shadow: 
        0 0 40px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

.cta-box h2 {
    margin-bottom: 16px;
}

.cta-box p {
    color: rgba(237, 237, 237, 0.6);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Audio Player */
.audio-player {
    border: 1px solid rgba(34, 34, 34, 0.4);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fg);
    color: var(--bg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-btn:hover {
    background: var(--glow);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.progress-container {
    flex: 1;
}

.progress-info {
    font-size: 12px;
    color: rgba(237, 237, 237, 0.6);
    margin-bottom: 8px;
}

.progress-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar input[type="range"] {
    flex: 1;
    height: 4px;
    background: rgba(34, 34, 34, 0.4);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.progress-bar input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 0, 64, 0.6);
}

.progress-bar input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 0, 64, 0.6);
}

.time {
    font-size: 11px;
    color: rgba(237, 237, 237, 0.4);
    min-width: 40px;
}

/* Timeline */
.timeline {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 32px;
    padding-bottom: 40px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInLeft 0.6s ease forwards;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-red);
    box-shadow: 
        0 0 0 4px rgba(10, 10, 10, 0.8),
        0 0 15px rgba(255, 0, 64, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-year {
    font-size: 12px;
    color: rgba(237, 237, 237, 0.4);
    margin-bottom: 8px;
}

.timeline-item h3 {
    margin-bottom: 8px;
}

.timeline-item p {
    color: rgba(237, 237, 237, 0.6);
    font-size: 14px;
}

/* Content Sections */
.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    margin-bottom: 24px;
}

.content-section p {
    color: rgba(237, 237, 237, 0.6);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section li {
    padding-left: 24px;
    margin-bottom: 12px;
    color: rgba(237, 237, 237, 0.6);
    position: relative;
}

.content-section li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-red);
    text-shadow: 0 0 8px rgba(255, 0, 64, 0.5);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--muted);
    border: 1px solid rgba(34, 34, 34, 0.4);
    border-radius: 6px;
    color: var(--fg);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(17, 17, 17, 0.8);
    box-shadow: 0 0 15px rgba(255, 0, 64, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.social-links-grid {
    display: grid;
    gap: 16px;
    margin-top: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(34, 34, 34, 0.4);
    border-radius: 8px;
    text-decoration: none;
    color: var(--fg);
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.5), rgba(10, 10, 10, 0.8));
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--accent-red), transparent);
    box-shadow: 0 0 10px var(--accent-red);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(17, 17, 17, 0.9);
    transform: translateX(4px);
    box-shadow: 
        -4px 0 20px rgba(255, 255, 255, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

.social-icon {
    font-size: 24px;
}

.social-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.social-info p {
    font-size: 14px;
    color: rgba(237, 237, 237, 0.6);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 20px;
    margin-top: 80px;
    background: linear-gradient(180deg, transparent, rgba(17, 17, 17, 0.5));
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent-red) 50%,
        transparent
    );
    box-shadow: 0 0 10px rgba(255, 0, 64, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-section p,
.footer-section a {
    color: rgba(237, 237, 237, 0.6);
    font-size: 14px;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-red);
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-icons a {
    display: inline-block;
    font-size: 20px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(34, 34, 34, 0.4);
    color: rgba(237, 237, 237, 0.6);
    font-size: 13px;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    nav.active {
        display: flex;
    }

    nav a.active::after {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero {
        padding: 60px 20px;
    }

    .page-header {
        padding: 60px 20px 30px;
    }

    .cta-box {
        padding: 40px 24px;
    }

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

/* Disable overlays and parallax on mobile - causes visual glitches */
@media (max-width: 768px) {
    body::before,
    body::after {
        display: none !important;
    }
    
    .hero.parallax-container {
        background-attachment: scroll !important;
        min-height: auto !important;
    }
    
    .parallax-layer {
        position: absolute !important;
        inset: 0 !important;
    }
    
    /* Kill all section gaps and animated backgrounds on mobile */
    section {
        margin: 0 !important;
    }
    
    section:nth-child(even):not(.hero) {
        background: none !important;
    }
    
    .stats-section::before {
        display: none !important;
    }
    
    /* Ensure no gap between hero and next section */
    .hero + .stats-section,
    .hero + section {
        margin-top: 0 !important;
        border-top: none !important;
    }
}

/* Animation Delays for Cards */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

