/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-tertiary: #1a1a24;
    --accent-primary: #00d9ff;
    --accent-secondary: #7000ff;
    --accent-gradient: linear-gradient(135deg, #00d9ff 0%, #7000ff 100%);
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-code: 'Space Mono', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-glow: 0 0 20px rgba(0, 217, 255, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

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

/* ==================== ANIMATED BACKGROUND ==================== */
.background-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) { width: 80px; height: 80px; top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 60px; height: 60px; top: 70%; left: 80%; animation-delay: 2s; }
.particle:nth-child(3) { width: 100px; height: 100px; top: 40%; left: 60%; animation-delay: 4s; }
.particle:nth-child(4) { width: 40px; height: 40px; top: 80%; left: 20%; animation-delay: 6s; }
.particle:nth-child(5) { width: 70px; height: 70px; top: 20%; left: 70%; animation-delay: 8s; }
.particle:nth-child(6) { width: 90px; height: 90px; top: 60%; left: 40%; animation-delay: 10s; }
.particle:nth-child(7) { width: 50px; height: 50px; top: 30%; left: 90%; animation-delay: 12s; }
.particle:nth-child(8) { width: 110px; height: 110px; top: 90%; left: 70%; animation-delay: 14s; }
.particle:nth-child(9) { width: 65px; height: 65px; top: 50%; left: 10%; animation-delay: 16s; }
.particle:nth-child(10) { width: 75px; height: 75px; top: 15%; left: 50%; animation-delay: 18s; }

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

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-card);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-code);
    color: var(--accent-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.logo-bracket {
    color: var(--accent-secondary);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-primary);
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--accent-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.surname {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    display: inline-block;
    letter-spacing: 0.05em;
}

.glitch {
    position: relative;
    color: var(--text-primary);
    animation: glitch-skew 3s infinite linear alternate-reverse;
}

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

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-primary);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-secondary);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 31px, 0); transform: skew(0.3deg); }
    5% { clip: rect(70px, 9999px, 71px, 0); transform: skew(0.5deg); }
    10% { clip: rect(60px, 9999px, 97px, 0); transform: skew(0.2deg); }
    15% { clip: rect(48px, 9999px, 99px, 0); transform: skew(0.6deg); }
    20% { clip: rect(63px, 9999px, 24px, 0); transform: skew(0.1deg); }
    25% { clip: rect(91px, 9999px, 82px, 0); transform: skew(0.4deg); }
    30% { clip: rect(53px, 9999px, 84px, 0); transform: skew(0.3deg); }
    100% { clip: rect(40px, 9999px, 80px, 0); transform: skew(0deg); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 119px, 0); transform: skew(0.5deg); }
    5% { clip: rect(29px, 9999px, 26px, 0); transform: skew(0.2deg); }
    10% { clip: rect(79px, 9999px, 109px, 0); transform: skew(0.6deg); }
    15% { clip: rect(95px, 9999px, 53px, 0); transform: skew(0.1deg); }
    100% { clip: rect(50px, 9999px, 90px, 0); transform: skew(0deg); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg, 0deg); }
    50% { transform: skew(-0.5deg, 0.2deg); }
    100% { transform: skew(0deg, 0deg); }
}

.typing-container {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--accent-primary);
    font-family: var(--font-code);
    margin-bottom: 1.5rem;
    min-height: 2.5rem;
}

.cursor {
    animation: blink 1s infinite;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
}

.image-glow {
    position: absolute;
    inset: -20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

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

.profile-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 4px solid var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12rem;
    color: var(--accent-primary);
    overflow: hidden;
    animation: heartbeat-profile 4s ease-in-out infinite;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-img i {
    font-size: 12rem;
}

@keyframes heartbeat-profile {
    0%, 100% { 
        transform: scale(1); 
        border-color: var(--accent-primary);
    }
    25% { 
        transform: scale(1.05); 
        border-color: var(--accent-secondary);
    }
    50% { 
        transform: scale(1); 
        border-color: var(--accent-primary);
    }
    75% { 
        transform: scale(1.08); 
        border-color: var(--accent-secondary);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--accent-primary);
    border-radius: 14px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 20% { 
        opacity: 1; 
        top: 10px; 
    }
    45% {
        opacity: 0.3;
        top: 20px;
    }
    60% { 
        opacity: 0; 
        top: 26px; 
    }
    60.01%, 100% {
        opacity: 0;
        top: 10px;
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.arrow span {
    width: 12px;
    height: 12px;
    border-bottom: 2px solid var(--accent-primary);
    border-right: 2px solid var(--accent-primary);
    transform: rotate(45deg);
}

/* ==================== FADE-IN ANIMATIONS ==================== */
.fade-in {
    animation: fadeIn 1s ease-in forwards;
    opacity: 0;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ==================== SECTIONS ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.title-number {
    font-family: var(--font-code);
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.title-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, transparent 100%);
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.highlight {
    color: var(--accent-primary);
    font-weight: 600;
    position: relative;
}

.tech-stack {
    margin-top: 2rem;
}

.tech-stack h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.tech-stack ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    list-style: none;
}

.tech-stack li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-family: var(--font-code);
    font-size: 0.95rem;
}

.tech-stack i {
    color: var(--accent-primary);
    font-size: 0.8rem;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.code-window {
    width: 100%;
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.window-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.window-title {
    margin-left: auto;
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.code-content {
    padding: 1.5rem;
    font-family: var(--font-code);
    font-size: 0.75rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-content code {
    display: block;
    white-space: pre;
    line-height: 1.6;
}

.code-keyword { color: #ff79c6; }
.code-class { color: #50fa7b; }
.code-function { color: #8be9fd; }
.code-variable { color: #f1fa8c; }
.code-property { color: #50fa7b; }
.code-string { color: #f1fa8c; }

/* ==================== SKILLS SECTION ==================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

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

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
}

.skill-card > * {
    position: relative;
    z-index: 1;
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skill-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-family: var(--font-code);
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    text-align: center;
}

.contact-text {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--bg-tertiary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.social-link i {
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.link-glow {
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.social-link:hover .link-glow {
    opacity: 0.1;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--accent-primary);
}

.social-link.email:hover { box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4); }
.social-link.github:hover { box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2); }
.social-link.linkedin:hover { box-shadow: 0 10px 30px rgba(0, 119, 181, 0.3); }
.social-link.twitter:hover { box-shadow: 0 10px 30px rgba(29, 155, 240, 0.3); }
.social-link.medium:hover { box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3); }
.social-link.instagram:hover { box-shadow: 0 10px 30px rgba(225, 48, 108, 0.3); }
.social-link.facebook:hover { box-shadow: 0 10px 30px rgba(66, 103, 178, 0.3); }

.social-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 2rem 0;
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
    color: var(--text-secondary);
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-tagline i {
    color: #ff5f56;
    animation: heartbeat 1.5s infinite;
}

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

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 968px) {
    .logo {
        font-size: 1rem;
    }
    
    .logo-text {
        display: inline;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-buttons {
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-visual {
        order: -1;
    }

    .image-container {
        max-width: 300px;
    }

    .profile-img i {
        font-size: 8rem;
    }
}

@media (max-width: 640px) {
    .logo {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        text-align: center;
    }

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

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .skill-card {
        padding: 1.5rem;
    }

    .code-content {
        font-size: 0.65rem;
        padding: 1rem;
        line-height: 1.5;
    }
    
    .code-window {
        max-width: 100%;
    }
    
    .window-title {
        font-size: 0.7rem;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    /* Hide unnecessary elements */
    .navbar,
    .scroll-indicator,
    .hamburger,
    .background-animation,
    .particle {
        display: none !important;
    }
    
    /* Reset page breaks */
    * {
        page-break-inside: avoid;
        page-break-after: avoid;
        page-break-before: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    /* Fit everything on one page */
    section {
        padding: 1rem 0 !important;
        page-break-inside: avoid;
    }
    
    .hero {
        min-height: auto !important;
        padding: 2rem 1rem !important;
    }
    
    .container {
        padding: 0 1rem !important;
    }
    
    /* Scale down font sizes */
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.2rem !important;
    }
    
    h3 {
        font-size: 1rem !important;
    }
    
    p, li {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* Disable animations */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    /* Fix colors for print */
    .glitch,
    .surname,
    .highlight,
    .accent-primary {
        color: #0066cc !important;
        -webkit-text-fill-color: #0066cc !important;
    }
    
    /* Compact layout */
    .hero-content,
    .about-content,
    .skills-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .skill-card {
        padding: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .social-links {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
    
    .social-link {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.7rem !important;
    }
    
    /* Hide profile image to save space */
    .hero-image,
    .image-container,
    .profile-img {
        display: none !important;
    }
    
    /* Compact buttons */
    .btn {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.7rem !important;
    }
    
    .footer {
        padding: 0.5rem 0 !important;
        font-size: 0.7rem !important;
    }
}
