/* Variables */
:root {
    --primary: #00D9FF;
    --secondary: #FF006E;
    --accent: #FFBE0B;
    --dark: #0A0A0A;
    --dark-alt: #1A1A1A;
    --light: #FFFFFF;
    --gray: #888888;
    --success: #00F5A0;
    --danger: #FF4757;
    
    --font-main: 'Rajdhani', sans-serif;
    --font-accent: 'Orbitron', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --glow: 0 0 20px rgba(0, 217, 255, 0.5);
}

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

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-alt);
}

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

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

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

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

.game-loader {
    width: 80px;
    height: 80px;
    border: 3px solid var(--dark-alt);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

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

.logo-text {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent);
    background-size: 200px 200px;
    animation: move 20s linear infinite;
}

@keyframes move {
    to { transform: translate(-100px, -100px); }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    margin-top: 100px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(var(--primary), transparent);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes glow {
    to { opacity: 0.5; transform: scale(1.1); }
}

.hero-title {
    font-family: var(--font-accent);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

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

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

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--primary);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--secondary);
    z-index: -2;
}

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

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

.stat-value {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--dark);
}

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

.btn-secondary {
    background: transparent;
    color: var(--light);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    position: relative;
}

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

@keyframes scroll {
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--dark-alt);
}

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

.section-title {
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.title-text {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 700;
}

.title-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--primary), transparent);
}

/* About Section */
.about-content {
    max-width: 800px;
}

.lead {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.achievement-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.achievement-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.achievement-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Projects Section */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--light);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-alt), var(--dark));
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--dark);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.project-description {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 190, 11, 0.1);
    color: var(--accent);
    border-radius: 15px;
    font-size: 0.8rem;
}

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

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

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

/* Skills Section */
.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
}

.skill-category:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

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

.category-header i {
    font-size: 2rem;
    color: var(--accent);
}

.category-header h3 {
    font-size: 1.5rem;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-bar {
    position: relative;
}

.skill-bar::before {
    content: attr(data-skill);
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.skill-bar::after {
    content: attr(data-percentage) '%';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--primary);
}

.skill-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: var(--light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.4), transparent);
    transition: left 0.5s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.contact-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--dark-alt);
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid var(--primary);
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    max-height: 80vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--light);
    transform: rotate(90deg);
}

/* Footer */
.footer {
    background: var(--dark-alt);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    color: var(--gray);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark);
        width: 100%;
        text-align: center;
        padding: 2rem;
        transition: var(--transition);
        border-top: 1px solid var(--primary);
    }

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

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    /* Projects Grid */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Skills */
    .skills-content {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .project-card {
        margin: 0 -1rem;
    }
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero {
        padding: 2rem 1rem;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        padding-bottom: 80px; /* Space for scroll indicator */
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Stats - Stack vertically on mobile */
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-box {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Buttons - Better mobile layout */
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-text {
        display: inline; /* Keep text visible on mobile */
    }
    
    /* Scroll Indicator - Fixed positioning */
    .scroll-indicator {
        position: fixed; /* Changed from absolute */
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10; /* Ensure it's above other content */
        background: rgba(10, 10, 10, 0.8); /* Add subtle background */
        padding: 10px;
        border-radius: 50%;
    }
    
    .mouse {
        width: 24px;
        height: 40px;
    }
}

/* Even smaller phones */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-box {
        padding: 1rem 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Hide button icons on very small screens if needed */
    @media (max-width: 350px) {
        .btn i {
            display: none;
        }
    }
}

/* Navbar mobile improvements */
@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
}

/* Better spacing for mobile stat boxes */
.stat-box {
    min-width: 0; /* Allow boxes to shrink */
}

/* Improve avatar on mobile */
@media (max-width: 768px) {
    .hero-avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
        margin-top: 100px;
    }
}

/* Improved scroll indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

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

/* Hide scroll indicator when scrolled */
.scroll-indicator.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

/* Touch-friendly buttons */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px; /* iOS touch target size */
        display: flex;
        align-items: center;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
}
/* Public portfolio polish; keep the recovered gaming identity. */
:root { --dark: #0b1220; --dark-alt: #121e30; --gray: #bcc7d7; --primary: #55d5e8; --accent: #e9bf6d; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--dark); }
a { color: var(--primary); }
.logo { text-decoration: none; }
.navbar { background: rgba(11,18,32,.96); border-bottom: 1px solid rgba(85,213,232,.15); }
.hamburger { border: 0; background: transparent; padding: .7rem; min-width: 44px; min-height: 44px; justify-content: center; }
.hero { min-height: 100svh; padding: 7rem 1.25rem 4rem; background: radial-gradient(ellipse at 50% 25%, #17314b 0%, transparent 65%); }
.hero-avatar { margin-top: 0; }
.hero-content { max-width: 1080px; width: 100%; }
.hero-description { color: var(--gray); font-size: 1.15rem; margin: 1rem auto 2rem; }
.hero-buttons { flex-wrap: wrap; justify-content: center; }
.hero-buttons .btn { min-height: 48px; }
.hero-stats { justify-content: center; }
.hero-title { font-size: clamp(2.2rem, 6vw, 4rem); }
.scroll-indicator { display: none; }
.section { padding: 5rem 0; }
.about-content { max-width: none; }
.about-text > p { max-width: 76ch; }
.achievement-cards { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.title-text { font-size: clamp(1.6rem,4vw,2.5rem); }
.collection-intro { color: var(--gray); margin: -1rem 0 2rem; }
.projects-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.project-card { display: flex; flex-direction: column; cursor: default; background: #111d2f; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px #0003; }
.project-image { height: 210px; flex-shrink: 0; }
.project-image img { object-fit: contain; background: #101827; }
.project-card:hover .project-image img { transform: none; }
.project-badge { background: #e9bf6d; padding: .25rem .7rem; border-radius: 5px; }
.project-image-label { height: 100%; display: grid; place-content: center; text-align: center; color: var(--primary); font-family: var(--font-accent); font-size: 1.15rem; background: linear-gradient(150deg,#18354c,#111d2f); }
.project-info { display: flex; flex-direction: column; flex: 1; }
.project-description { font-size: 1rem; }
.project-tech { margin-top: auto; padding-top: .4rem; }
.project-title { font-size: 1.4rem; }
.project-links { margin-top: .5rem; }
.project-link { min-height: 44px; }
.skills-content { grid-template-columns: repeat(3,minmax(0,1fr)); }
.skill-bars { display: flex; flex-wrap: wrap; gap: .6rem; }
.contact-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 10001; background: var(--primary); color: var(--dark); padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width:1000px) { .projects-grid, .contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .skills-content { grid-template-columns: 1fr; } }
@media(max-width:768px) { .nav-menu { background: #0b1220; } .hero { padding-top: 6rem; } .hero-avatar { margin-top: 0; } .hero-content { padding-bottom: 0; } .hero-stats { flex-direction: row; flex-wrap: wrap; gap: .6rem; } .stat-box { max-width: 160px; padding: 1rem; } .stat-value { font-size: 2rem; } .stat-label { font-size: .8rem; } .achievement-cards { grid-template-columns: 1fr; } .hero-buttons { max-width: 360px; } }
@media(max-width:600px) { .projects-grid, .contact-grid { grid-template-columns: 1fr; } .project-card { margin: 0; } .nav-container { padding: 0 1rem; } .section { padding: 3.5rem 0; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
