/* ============================================
   REMINGTON WESTBROOK - Y2K RETRO-FUTURISTIC PORTFOLIO
   
   DESIGN PHILOSOPHY:
   - Maximalist aesthetics (opposite of boring minimalism)
   - Vibrant Y2K colors (hot pink, cyan, electric yellow)
   - Chrome text effects
   - Grain textures for authenticity
   - 3D transforms and parallax
   - Everything has motion and personality
   ============================================ */

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

/* === COLOR SYSTEM - VIBRANT Y2K PALETTE === */
:root {
    /* Primary Colors - Bold and electric */
    --bg-dark: #0a0118;
    --bg-darker: #050010;
    --bg-card: #120a21;
    
    /* Neon Accent Colors - The star of the show */
    --neon-pink: #ff0080;
    --neon-cyan: #00fff9;
    --neon-yellow: #ffff00;
    --neon-purple: #b026ff;
    --neon-orange: #ff6b35;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #c4c4ff;
    --text-muted: #8888aa;
    
    /* Gradients - Vibrant and eye-catching */
    --gradient-main: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 50%, var(--neon-cyan) 100%);
    --gradient-alt: linear-gradient(45deg, var(--neon-cyan) 0%, var(--neon-yellow) 100%);
    --gradient-warm: linear-gradient(135deg, var(--neon-orange) 0%, var(--neon-pink) 100%);
    
    /* Effects */
    --shadow-glow-pink: 0 0 30px rgba(255, 0, 128, 0.3);
    --shadow-glow-cyan: 0 0 30px rgba(0, 255, 249, 0.3);
    --shadow-glow-multi: 0 0 20px rgba(255, 0, 128, 0.4), 0 0 40px rgba(0, 255, 249, 0.2);
}

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

body {
    /* Using Space Mono - a technical monospace font instead of boring system fonts */
    font-family: 'Space Mono', monospace;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none; /* We'll create a custom cursor! */
}

/* === CUSTOM CURSOR - Extra flair === */
.cursor-glow {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
    transition: transform 0.15s ease;
    mix-blend-mode: screen;
}

/* Show default cursor on touch devices */
@media (hover: none) {
    body {
        cursor: default;
    }
    .cursor-glow {
        display: none;
    }
}

/* === GRAIN OVERLAY - Y2K authenticity === */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
}

/* === UTILITY CLASSES === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* === NAVIGATION - Floating glass morphism === */
.nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 4rem);
    max-width: 1200px;
}

.nav-container {
    background: rgba(18, 10, 33, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.logo-bracket {
    color: var(--neon-cyan);
    font-size: 1.75rem;
}

.logo-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.3s ease;
}

/* Glitch effect on nav hover */
.nav-links a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a:hover::before {
    opacity: 1;
    animation: glitch 0.3s ease;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* === HERO SECTION - Chrome text and 3D elements === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

/* Floating geometric shapes in background */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-main);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-alt);
    bottom: 10%;
    right: -5%;
    animation-delay: -7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-warm);
    top: 50%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--neon-cyan);
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 10px var(--neon-cyan),
                     0 0 20px var(--neon-cyan);
    }
    50% {
        text-shadow: 0 0 20px var(--neon-cyan),
                     0 0 30px var(--neon-cyan),
                     0 0 40px var(--neon-cyan);
    }
}

/* THE STAR: Chrome Text Effect */
.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 8rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.chrome-text .line {
    display: block;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #e0e0e0 25%,
        #c0c0c0 50%,
        #a8a8a8 75%,
        #8a8a8a 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    
    /* Chrome reflection effect */
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5))
            drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    
    /* Add a subtle shine animation */
    animation: chrome-shine 3s ease-in-out infinite;
}

@keyframes chrome-shine {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3))
                drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.6))
                drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    }
}

/* Add colored glow underneath chrome text */
.chrome-text .line:first-child::before {
    content: 'REMINGTON';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.6;
    z-index: -1;
}

.chrome-text .line:last-child::before {
    content: 'WESTBROOK';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gradient-alt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.6;
    z-index: -1;
}

.hero-subtitle {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.role-tag {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 0, 128, 0.1);
    border: 2px solid var(--neon-pink);
    border-radius: 50px;
    color: var(--neon-pink);
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.role-tag:hover {
    background: var(--neon-pink);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-pink);
}

.separator {
    color: var(--neon-cyan);
    font-weight: 700;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* === BUTTONS - Futuristic style === */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Orbitron', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn::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:hover::before {
    width: 300px;
    height: 300px;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 128, 0.6),
                0 0 40px rgba(176, 38, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: inset 0 0 20px rgba(0, 255, 249, 0.1);
}

.btn-secondary:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 249, 0.6);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--neon-cyan));
    border-radius: 2px;
}

.scroll-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--neon-cyan);
    font-weight: 700;
}

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

/* === SECTIONS === */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 5rem;
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.title-number {
    display: block;
    font-size: 1.5rem;
    color: var(--neon-pink);
    margin-bottom: 0.5rem;
    letter-spacing: 0.2em;
}

/* Glitch effect on section titles */
.section-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.7;
    animation: title-glitch 5s ease-in-out infinite;
}

@keyframes title-glitch {
    0%, 90%, 100% {
        transform: translate(0);
        opacity: 0;
    }
    92% {
        transform: translate(-3px, 3px);
        opacity: 0.7;
    }
    94% {
        transform: translate(3px, -3px);
        opacity: 0.7;
    }
    96% {
        transform: translate(-3px, -3px);
        opacity: 0.7;
    }
}

/* === ABOUT SECTION - Bento Grid === */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    grid-auto-rows: 200px;
}

.bento-card {
    background: rgba(18, 10, 33, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px;
}

.bento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 128, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                var(--shadow-glow-multi);
}

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

/* Animated gradient glow on hover */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-card:hover .card-glow {
    opacity: 1;
    animation: rotate-glow 8s linear infinite;
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 2;
}

.bento-small {
    grid-column: span 1;
}

.gradient-card {
    background: var(--gradient-warm);
    border: none;
}

.gradient-card .card-content {
    color: white;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    color: var(--neon-cyan);
}

.gradient-card .card-title {
    color: white;
}

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

.gradient-card .card-content p {
    color: rgba(255, 255, 255, 0.9);
}

.card-detail {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* === PROJECTS SECTION - 3D Cards === */
.projects-section {
    background: var(--bg-darker);
}

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

.project-card {
    background: rgba(18, 10, 33, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    border-color: rgba(255, 0, 128, 0.4);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
                var(--shadow-glow-multi);
}

.project-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    transition: color 0.3s ease;
}

.project-card:hover .project-number {
    color: rgba(255, 0, 128, 0.08);
}

.project-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a0f2e 0%, #2d1b4e 100%);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.1) 0%, rgba(176, 38, 255, 0.1) 100%);
}

.placeholder-icon {
    font-size: 5rem;
    filter: drop-shadow(0 0 20px currentColor);
}

.project-content {
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.project-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tech-tag {
    font-family: 'Orbitron', sans-serif;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 50px;
    color: var(--neon-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-cyan);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    font-family: 'Orbitron', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 0, 128, 0.1);
    border: 2px solid var(--neon-pink);
    border-radius: 50px;
    color: var(--neon-pink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--neon-pink);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-pink);
}

.link-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.project-link:hover .link-arrow {
    transform: translateX(3px);
}

/* === SKILLS SECTION === */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: rgba(18, 10, 33, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.skill-category:hover {
    transform: translateY(-8px);
    border-color: rgba(176, 38, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                var(--shadow-glow-multi);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    font-size: 2.5rem;
}

.category-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

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

.skill-tag {
    font-family: 'Space Mono', monospace;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(176, 38, 255, 0.1);
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    transform: translateY(-2px);
}

/* === CONTACT SECTION - Terminal Style === */
.contact-section {
    background: var(--bg-darker);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.terminal-window {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 249, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5),
                inset 0 0 100px rgba(0, 255, 249, 0.05);
}

.terminal-header {
    background: rgba(0, 255, 249, 0.1);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 255, 249, 0.2);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

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

.terminal-close {
    background: #ff5f57;
}

.terminal-minimize {
    background: #ffbd2e;
}

.terminal-maximize {
    background: #28ca42;
}

.terminal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--neon-cyan);
    font-weight: 700;
}

.terminal-body {
    padding: 2.5rem;
    font-family: 'Space Mono', monospace;
}

.terminal-line {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.prompt {
    color: var(--neon-pink);
    font-weight: 700;
}

.command {
    color: var(--neon-cyan);
}

.terminal-output {
    color: var(--neon-yellow);
    margin-left: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.contact-link {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: attr(data-hover);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    color: rgba(255, 0, 128, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.contact-link:hover {
    background: rgba(255, 0, 128, 0.1);
    border-color: var(--neon-pink);
    transform: translateX(10px);
    box-shadow: var(--shadow-glow-pink);
}

.link-icon {
    font-size: 2rem;
}

.link-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.link-value {
    color: var(--neon-cyan);
    font-weight: 700;
}

.link-arrow {
    color: var(--neon-pink);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-link:hover .link-arrow {
    transform: translateX(5px);
}

.terminal-cursor {
    margin-top: 2rem;
}

.cursor-blink {
    color: var(--neon-cyan);
    animation: blink 1s step-end infinite;
}

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

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copyright {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-separator {
    color: var(--neon-pink);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-tech {
    display: flex;
    gap: 0.75rem;
}

.tech-badge {
    font-family: 'Orbitron', sans-serif;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 50px;
    color: var(--neon-cyan);
    font-size: 0.75rem;
    font-weight: 700;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-large {
        grid-column: span 2;
    }
    
    .bento-medium {
        grid-column: span 2;
    }
    
    .bento-small {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav {
        top: 1rem;
        width: calc(100% - 2rem);
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .bento-large,
    .bento-medium,
    .bento-small {
        grid-column: span 1;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-link {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* === SCROLL ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card,
.skill-category,
.bento-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* === MULTI-PAGE ADDITIONS === */

/* Page Hero for internal pages */
.page-hero {
    padding: 12rem 0 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.page-hero-content {
    text-align: center;
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.page-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Stats Cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 700px;
}

.stat-card {
    background: rgba(18, 10, 33, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-pink);
    box-shadow: var(--shadow-glow-pink);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: rgba(18, 10, 33, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-glow-cyan);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.blog-date {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--neon-pink);
    font-weight: 700;
}

.blog-category {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    padding: 0.375rem 0.875rem;
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 20px;
    color: var(--neon-cyan);
    font-weight: 700;
}

.blog-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-muted);
}

.blog-read-more {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--neon-pink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 1rem;
    color: var(--neon-cyan);
}

/* Active nav link */
.nav-links a.active {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive updates */
@media (max-width: 768px) {
    .page-title {
        font-size: 3.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
