/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Cyberpunk Theme */
    --bg-dark: #0a0a0a;
    --bg-medium: #1a1a1a;
    --accent-light: #00ffff;
    --accent-bright: #00d4ff;
    --text-light: #ffffff;
    --shadow: #000000;
    --character-color: #ffffff;
    --trail-color: rgba(0, 255, 255, 0.6);
}

body {
    font-family: 'Press Start 2P', cursive;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    image-rendering: pixelated;
    -webkit-font-smoothing: none;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.hidden {
    display: none !important;
}

/* ==================== START SCREEN ==================== */
.start-screen-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.start-content {
    text-align: center;
    animation: fadeIn 1s ease-in;
}

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

/* Pixel Character */
.pixel-character {
    width: 80px;
    height: 80px;
    margin: 0 auto 60px;
    background-color: var(--character-color);
    position: relative;
    box-shadow: 
        0 0 20px var(--accent-light),
        0 0 40px var(--accent-bright);
    animation: pixelFloat 2s ease-in-out infinite;
    border-radius: 4px;
}

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

/* Character Jump Animation with Trail (triggered on START click) */
@keyframes characterJump {
    0% { 
        transform: translateY(0) scale(1); 
        box-shadow: 0 0 20px var(--accent-light), 0 0 40px var(--accent-bright);
    }
    30% { 
        transform: translateY(-150px) scale(1.1) rotate(5deg); 
        box-shadow: 0 150px 40px var(--trail-color), 0 0 60px var(--accent-bright);
    }
    50% { 
        transform: translateY(-200px) scale(1.15) rotate(-5deg); 
        box-shadow: 0 200px 50px var(--trail-color), 0 0 80px var(--accent-bright);
    }
    70% { 
        transform: translateY(-150px) scale(1.1) rotate(3deg); 
        box-shadow: 0 150px 40px var(--trail-color), 0 0 60px var(--accent-bright);
    }
    100% { 
        transform: translateY(0) scale(1) rotate(0deg); 
        box-shadow: 0 0 20px var(--accent-light), 0 0 40px var(--accent-bright);
    }
}

.pixel-character.jumping {
    animation: characterJump 0.8s cubic-bezier(0.36, 0, 0.66, -0.56);
}

/* Trail particles */
.pixel-character.jumping::before,
.pixel-character.jumping::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--trail-color);
    opacity: 0;
    border-radius: 4px;
}

.pixel-character.jumping::before {
    animation: trail1 0.8s ease-out;
}

.pixel-character.jumping::after {
    animation: trail2 0.8s ease-out;
}

@keyframes trail1 {
    0% { opacity: 0.8; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(50px) scale(0.5); }
}

@keyframes trail2 {
    0% { opacity: 0.6; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(80px) scale(0.3); }
}

/* START Button */
.pixel-start-button {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    padding: 20px 40px;
    background-color: var(--accent-light);
    color: var(--bg-dark);
    border: 4px solid var(--bg-dark);
    box-shadow: 
        4px 4px 0 var(--shadow),
        8px 8px 0 var(--bg-medium);
    cursor: pointer;
    transition: all 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pixel-start-button:hover {
    background-color: var(--accent-bright);
    transform: translate(2px, 2px);
    box-shadow: 
        2px 2px 0 var(--shadow),
        4px 4px 0 var(--bg-medium);
}

.pixel-start-button:active {
    transform: translate(4px, 4px);
    box-shadow: none;
}

/* ==================== MAIN NAVIGATION SCREEN ==================== */
.main-nav-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
    padding: 40px 20px;
}

.nav-container {
    text-align: center;
    max-width: 800px;
    animation: slideUp 0.6s ease-out;
}

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

.pixel-name {
    font-size: 32px;
    color: var(--accent-light);
    margin-bottom: 20px;
    text-shadow: 4px 4px 0 var(--shadow);
    letter-spacing: 2px;
}

.pixel-title {
    font-size: 14px;
    color: var(--accent-bright);
    margin-bottom: 80px;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.nav-menu-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 50px;
    background-color: var(--bg-medium);
    border: 4px solid var(--accent-light);
    box-shadow: 6px 6px 0 var(--shadow);
    text-decoration: none;
    color: var(--text-light);
    font-size: 18px;
    transition: all 0.2s ease;
    min-width: 400px;
    justify-content: flex-start;
}

.nav-menu-item:hover {
    background-color: var(--accent-light);
    color: var(--bg-dark);
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 var(--shadow);
}

.nav-menu-item:active {
    transform: translate(6px, 6px);
    box-shadow: none;
}

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

.nav-text {
    letter-spacing: 2px;
}

/* ==================== STICKY NAV BAR ==================== */
.pixel-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    border-bottom: 4px solid var(--accent-light);
    padding: 15px 30px;
    z-index: 1000;
    display: none; /* Hidden by default */
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.no-scroll .pixel-nav {
    display: none !important; /* Force hide during start screen */
}

.pixel-nav.visible {
    display: flex;
    opacity: 1;
    justify-content: space-between;
    align-items: center;
}

.nav-progress {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 10px;
}

.progress-label {
    color: var(--accent-light);
}

.progress-bar-container {
    width: 200px;
    height: 20px;
    background-color: var(--bg-medium);
    border: 2px solid var(--accent-light);
}

.progress-bar {
    height: 100%;
    background-color: var(--accent-bright);
    width: 0%;
    transition: width 0.3s ease;
}

#progress-percentage {
    color: var(--accent-bright);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
    padding: 10px 15px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    border: 2px solid var(--accent-light);
    background-color: var(--bg-medium);
}

/* ==================== SECTIONS ==================== */
section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hide all sections except start screen on load */
body.no-scroll section:not(#start-screen) {
    display: none;
}

.page_title {
    font-size: 36px;
    text-align: center;
    color: var(--accent-light);
    margin-bottom: 20px;
    text-shadow: 4px 4px 0 var(--shadow);
    letter-spacing: 3px;
}

.section-subtitle,
.extra-subheading,
.contact-subheading {
    font-size: 12px;
    text-align: center;
    color: var(--accent-bright);
    margin-bottom: 60px;
    line-height: 1.8;
}

/* ==================== PROJECTS SECTION ==================== */
#projects-section {
    padding: 100px 0;
}

.projects-carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin-top: 60px;
    padding: 0 80px;
}

.projects-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 40px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.projects-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.project-card {
    min-width: 350px;
    max-width: 350px;
    background-color: var(--bg-medium);
    border: 4px solid var(--accent-light);
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0 var(--shadow);
    flex-shrink: 0;
    opacity: 1 !important; /* Override any opacity animations */
    transform: none !important; /* Override any transform animations */
}

.project-card:hover {
    transform: translate(-4px, -4px) !important;
    box-shadow: 10px 10px 0 var(--shadow);
    border-color: var(--accent-bright);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent-light);
    color: var(--bg-dark);
    border: 3px solid var(--bg-dark);
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0 var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
}

.carousel-button:hover {
    background-color: var(--accent-bright);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    background-color: var(--bg-medium);
    border: 2px solid var(--accent-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background-color: var(--accent-bright);
    transform: scale(1.3);
}

.indicator-dot:hover {
    background-color: var(--accent-light);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid var(--accent-light);
    margin-bottom: 20px;
    image-rendering: pixelated;
}

.project-card h3 {
    font-size: 14px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.project-card p {
    font-size: 10px;
    line-height: 1.6;
}

.project-link {
    text-decoration: none;
    color: inherit;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    background-color: var(--bg-medium);
    margin: 10% auto;
    padding: 40px;
    border: 4px solid var(--accent-light);
    width: 80%;
    max-width: 600px;
    box-shadow: 8px 8px 0 var(--shadow);
}

.close-button {
    color: var(--accent-light);
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.close-button:hover {
    color: var(--accent-bright);
}

#modal-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-light);
}

#modal-content-details p {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ==================== EXTRAS SECTION ==================== */
.extra-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.extra.card {
    background-color: var(--bg-medium);
    border: 4px solid var(--accent-light);
    padding: 30px;
    box-shadow: 6px 6px 0 var(--shadow);
}

.card-subheading {
    font-size: 16px;
    color: var(--accent-light);
    margin-bottom: 25px;
}

.blog-preview-item {
    font-size: 10px;
    line-height: 1.8;
}

.blog-post-preview {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--accent-light);
}

.blog-post-preview:last-child {
    border-bottom: none;
}

.post-cover-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid var(--accent-light);
}

.blog-post-preview h3 {
    font-size: 12px;
    margin-bottom: 10px;
    color: var(--accent-light);
}

.blog-post-preview p {
    font-size: 10px;
    margin-bottom: 10px;
}

.blog-post-preview a {
    color: var(--accent-bright);
    text-decoration: none;
    font-size: 10px;
}

.blog-post-preview a:hover {
    text-decoration: underline;
}

.certification_list {
    list-style: none;
}

.cert-card-small {
    background-color: var(--bg-dark);
    border: 2px solid var(--accent-light);
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.cert-card-small img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.cert-status-small {
    font-size: 10px;
    color: var(--accent-bright);
    margin-bottom: 10px;
}

.cert-title-small {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.certification_link a {
    color: var(--accent-bright);
    font-size: 10px;
    text-decoration: none;
}

.certification_link a:hover {
    text-decoration: underline;
}

/* ==================== CONTACT SECTION ==================== */
.contact_content {
    max-width: 600px;
    margin: 0 auto;
}

.form-container {
    margin-top: 40px;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--accent-light);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-medium);
    border: 2px solid var(--accent-light);
    color: var(--text-light);
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-bright);
    background-color: var(--bg-dark);
}

.pixel-button-small {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    padding: 15px 30px;
    background-color: var(--accent-light);
    color: var(--bg-dark);
    border: 3px solid var(--bg-dark);
    box-shadow: 4px 4px 0 var(--shadow);
    cursor: pointer;
    transition: all 0.1s ease;
}

.pixel-button-small:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--shadow);
}

.pixel-button-small:active {
    transform: translate(4px, 4px);
    box-shadow: none;
}

/* ==================== SOCIAL LINKS ==================== */
.social-links {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 20px;
    z-index: 999;
}

.social-links a {
    color: var(--accent-light);
    font-size: 32px;
    transition: all 0.2s ease;
}

.social-links a:hover {
    color: var(--accent-bright);
    transform: scale(1.2);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .pixel-name {
        font-size: 20px;
    }
    
    .pixel-title {
        font-size: 10px;
    }
    
    .nav-menu-item {
        min-width: 300px;
        font-size: 14px;
        padding: 20px 30px;
    }
    
    .pixel-nav.visible {
        flex-direction: column;
        gap: 15px;
    }
    
    .progress-bar-container {
        width: 150px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 10px;
    }
    
    .page_title {
        font-size: 24px;
    }
    
    .extra-content {
        grid-template-columns: 1fr;
    }
    
    /* Carousel responsive */
    .projects-carousel-container {
        padding: 0 20px;
    }
    
    .project-card {
        min-width: 280px;
        max-width: 280px;
    }
    
    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .carousel-button.prev {
        left: 5px;
    }
    
    .carousel-button.next {
        right: 5px;
    }
}

/* ==================== CASE STUDIES PAGE ==================== */
.case-studies-hero {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 60px;
}

.what-i-do-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 28px;
    text-align: center;
    color: var(--accent-light);
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 var(--shadow);
    letter-spacing: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--bg-medium);
    border: 3px solid var(--accent-light);
    padding: 30px;
    box-shadow: 6px 6px 0 var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--shadow);
    border-color: var(--accent-bright);
}

.service-card h3 {
    font-size: 16px;
    color: var(--accent-bright);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 11px;
    line-height: 1.8;
    color: var(--text-light);
}

.case-studies-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-study-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

.case-study-card {
    background-color: var(--bg-medium);
    border: 4px solid var(--accent-light);
    padding: 40px;
    box-shadow: 8px 8px 0 var(--shadow);
}

.case-study-card.placeholder {
    border-style: dashed;
    opacity: 0.8;
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.case-study-header h3 {
    font-size: 20px;
    color: var(--accent-light);
    letter-spacing: 1px;
}

.case-study-tag {
    font-size: 10px;
    color: var(--bg-dark);
    background-color: var(--accent-bright);
    padding: 8px 15px;
    border: 2px solid var(--accent-light);
}

.case-study-content h4 {
    font-size: 14px;
    color: var(--accent-bright);
    margin-top: 25px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.case-study-content p {
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.case-study-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.case-study-content li {
    font-size: 11px;
    line-height: 1.8;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.case-study-content li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-bright);
}

.case-study-button {
    display: inline-block;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    padding: 12px 24px;
    background-color: var(--accent-light);
    color: var(--bg-dark);
    border: 3px solid var(--bg-dark);
    box-shadow: 4px 4px 0 var(--shadow);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.niche-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.niche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.niche-card {
    background-color: var(--bg-medium);
    border: 2px solid var(--accent-light);
    padding: 25px;
    box-shadow: 4px 4px 0 var(--shadow);
    transition: all 0.2s ease;
}

.niche-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--shadow);
}

.niche-card h4 {
    font-size: 14px;
    color: var(--accent-light);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.niche-card p {
    font-size: 10px;
    line-height: 1.8;
}

.cta-section {
    text-align: center;
    padding: 100px 40px;
    background-color: var(--bg-medium);
    border-top: 4px solid var(--accent-light);
    border-bottom: 4px solid var(--accent-light);
}

.cta-section h2 {
    font-size: 28px;
    color: var(--accent-light);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cta-section p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.pixel-button-large {
    display: inline-block;
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    padding: 20px 40px;
    background-color: var(--accent-light);
    color: var(--bg-dark);
    border: 3px solid var(--bg-dark);
    box-shadow: 6px 6px 0 var(--shadow);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pixel-button-large:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 var(--shadow);
    background-color: var(--accent-bright);
}

.pixel-button-large:active {
    transform: translate(6px, 6px);
    box-shadow: none;
}

/* ==================== ENHANCED PROJECT MODAL STYLES ==================== */

/* Existing modal base - keep your current modal styles */

/* Enhanced modal content */
#modal-description {
    font-size: 11px;
    line-height: 1.8;
    margin: 20px 0;
    color: var(--text-light);
}

#modal-description p {
    margin-bottom: 15px;
}

#modal-description strong {
    color: var(--accent-light);
    display: block;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Tech Stack Badges */
.tech-stack {
    margin: 25px 0;
}

.tech-stack strong {
    color: var(--accent-light);
    font-size: 12px;
    display: block;
    margin-bottom: 15px;
}

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

.tech-badge {
    background-color: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--accent-light);
    color: var(--accent-light);
    padding: 8px 16px;
    font-size: 10px;
    border-radius: 4px;
    font-family: 'Press Start 2P', cursive;
    box-shadow: 2px 2px 0 var(--shadow);
    transition: all 0.2s ease;
}

.tech-badge:hover {
    background-color: rgba(0, 255, 255, 0.2);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--shadow);
}

/* Modal Links/Buttons */
.modal-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.modal-btn {
    display: inline-block;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    padding: 12px 24px;
    border: 3px solid var(--accent-light);
    box-shadow: 4px 4px 0 var(--shadow);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--shadow);
}

.modal-btn:active {
    transform: translate(4px, 4px);
    box-shadow: none;
}

/* Button type colors */
.btn-demo {
    background-color: var(--accent-light);
    color: var(--bg-dark);
    border-color: var(--accent-light);
}

.btn-demo:hover {
    background-color: var(--accent-bright);
    border-color: var(--accent-bright);
}

.btn-github {
    background-color: transparent;
    color: var(--accent-light);
    border-color: var(--accent-light);
}

.btn-github:hover {
    background-color: rgba(0, 255, 255, 0.1);
}

.btn-video {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-video:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Project Card Cursor */
.project-link[data-project] {
    cursor: pointer;
}

.project-link[data-project] .project-card {
    transition: all 0.3s ease;
}

.project-link[data-project]:hover .project-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

/* Modal Animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal {
    animation: modalFadeIn 0.3s ease-out;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 25px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-links {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
        text-align: center;
    }
    
    .tech-badges {
        justify-content: center;
    }
    
    #modal-description {
        font-size: 10px;
    }
}
