/* Efectos adicionales para el portafolio de Godzcelrs */

/* Cursor personalizado */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

/* Efectos de texto brillante */
.glow-text {
    text-shadow: 
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 15px var(--primary-color),
        0 0 20px var(--primary-color);
}

/* Animaciones de entrada */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

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

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

/* Efectos hover mejorados para proyectos */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        var(--primary-color),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: rotate 3s linear infinite;
    z-index: -1;
}

.project-card:hover::before {
    opacity: 0.1;
}

/* Efectos de parallax para hero */
.hero-parallax {
    transform: translateY(var(--scroll-y, 0));
}

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

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

.loader-logo {
    font-family: var(--font-primary);
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-dark-3);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: loading 2s ease-in-out;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

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

/* Efectos de scroll suave para secciones */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Estilo para videos responsivos */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 15px;
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Efectos para galería de imágenes */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Modal para imágenes */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10001;
}

/* Efectos para skills */
.skill-item {
    position: relative;
}

.skill-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--primary-color);
    border-radius: 0 0 15px 15px;
    transition: width 1s ease;
    width: 0;
}

.skill-item.visible .skill-progress {
    width: var(--skill-level, 0%);
}

/* Botón de scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

/* Navbar height variable and safe-area support to avoid covering content on Android */
:root {
    --nav-height: 72px;
}

.navbar {
    height: var(--nav-height);
    line-height: var(--nav-height);
}

/* Ensure content below navbar is visible on devices with notches and Android UI */
html {
    scroll-padding-top: calc(var(--nav-height) + env(safe-area-inset-top));
}

.hero {
    padding-top: calc(var(--nav-height) + env(safe-area-inset-top));
}

@media (max-width: 768px) {
    body {
        padding-top: calc(var(--nav-height) + env(safe-area-inset-top));
    }
}

/* Efectos adicionales para mobile */
@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
    
    .hero-parallax {
        transform: none;
    }
    
    .project-card::before {
        display: none;
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    /* Prevent textarea resizing in contact form */
    .contact-form textarea {
        resize: none;
    }

    /* Ensure navbar does not cover content on mobile devices (Android) */
    html {
        scroll-padding-top: 80px; /* smooth scroll offset */
    }

    body {
        padding-top: 72px;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
}

/* Animación de tipeo mejorada */
.typing-text {
    border-right: 2px solid var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--primary-color); }
    51%, 100% { border-color: transparent; }
}

/* Estilos mejorados para proyectos con imágenes e Itch.io */

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Enlaces específicos por tipo */
.itch-link {
    background: linear-gradient(135deg, #fa5c5c, #ff8080);
}

.itch-link:hover {
    background: linear-gradient(135deg, #ff8080, #fa5c5c);
    transform: scale(1.15);
}

.demo-link {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.gallery-link {
    background: linear-gradient(135deg, #9b59b6, #e74c3c);
}

.download-link {
    background: linear-gradient(135deg, #3498db, #2ecc71);
}

.info-link {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.team-link {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.devlog-link {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.preview-link {
    background: linear-gradient(135deg, #16a085, #27ae60);
}

/* Estadísticas de proyecto */
.project-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-item i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Estado del proyecto */
.project-status {
    margin-top: 1rem;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.in-progress {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.status-badge.completed {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-dark);
}

.status-badge.released {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

/* Efectos hover mejorados para enlaces */
.project-link {
    position: relative;
    overflow: hidden;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.project-link:hover::before {
    width: 100px;
    height: 100px;
}

/* Placeholder mejorado para imágenes faltantes */
.placeholder-project {
    background: linear-gradient(135deg, var(--bg-dark-3), var(--bg-dark-2));
    border: 2px dashed rgba(0, 255, 136, 0.3);
}

/* Modal para vista previa de imágenes */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.image-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
}

/* Indicador de enlace externo */
.project-link[target="_blank"]::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

/* Animación de carga de imagen */
.project-img[src=""] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Tooltip para enlaces */
.project-link {
    position: relative;
}

.project-link[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid var(--primary-color);
}

/* Responsive para proyectos */
@media (max-width: 768px) {
    .project-stats {
        display: none;
    }
    
    .project-links {
        gap: 0.5rem;
    }
    
    .project-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Estilos mejorados para descripción limitada de proyectos */
.project-info p {
    position: relative;
    line-height: 1.6;
    transition: max-height 0.3s ease;
    margin-bottom: 1rem;
}

.project-info p.has-overflow:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: var(--fade-height, 1.6em);
    width: 100%;
    background: linear-gradient(transparent, var(--bg-dark-2));
    pointer-events: none;
    z-index: 1;
}

/* Botón para expandir/contraer */
.read-more-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem 0;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-family: inherit;
    display: inline-block;
}

.read-more-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 255, 136, 0.3);
}

.read-more-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.read-more-btn:active {
    transform: translateY(0);
}

/* Animación suave para expansión */
.project-info p.expanded {
    transition: max-height 0.4s ease-out;
}

.project-info p:not(.expanded) {
    transition: max-height 0.3s ease-in;
}

/* Mejorar el spacing cuando hay botón */
.project-info p.has-overflow {
    margin-bottom: 0.5rem;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .read-more-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin: 0.3rem 0 0.8rem 0;
    }
    
    .project-info p.has-overflow:not(.expanded)::after {
        height: calc(var(--fade-height, 1.6em) * 0.8);
    }
}

/* Estado de carga */
.project-info p.loading {
    opacity: 0.7;
}

/* Indicador visual para overflow */
.project-info p.has-overflow {
    border-left: 2px solid rgba(0, 255, 136, 0.2);
    padding-left: 1rem;
    margin-left: -1rem;
}

/* Force textarea non-resizable across browsers */
.contact-form textarea,
textarea {
    resize: none !important;
    -webkit-resize: none !important;
    -moz-resize: none !important;

    /* Fix height so browser cannot resize it; allow internal scroll when content overflows */
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    touch-action: manipulation;

    /* ensure resize cursor doesn't appear */
    cursor: text !important;
    box-sizing: border-box;
}

/* Hide webkit resizer handle if present */
.contact-form textarea::-webkit-resizer,
textarea::-webkit-resizer {
    display: none !important;
}

/* Hide Firefox resizer (if any) */
.contact-form textarea::-moz-resizer,
textarea::-moz-resizer {
    display: none !important;
}

/* Video gallery styles */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.video-card {
    background: var(--bg-dark-2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,255,136,0.08);
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(0,0,0,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.play-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
}

.play-overlay i {
    pointer-events: none;
}

.video-meta {
    padding: 1rem;
}

/* Video modal */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal .modal-content {
    width: 90%;
    max-width: 1200px;
    background: transparent;
}

.video-modal video {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.video-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Custom video controls for modal */
.custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active .custom-controls {
    opacity: 1;
}

.modal-content:hover .custom-controls {
    opacity: 1;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

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

.timeline-slider, .volume-slider {
    -webkit-appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    outline: none;
    cursor: pointer;
}

.timeline-slider {
    flex: 1;
}

.volume-slider {
    width: 80px;
}

.timeline-slider::-webkit-slider-thumb,
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.timeline-slider::-moz-range-thumb,
.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
}

.time-display {
    color: white;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

.modal-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Hide default video controls */
.modal-video::-webkit-media-controls {
    display: none !important;
}

.modal-video::-webkit-media-controls-panel {
    display: none !important;
}

/* Logo circular en navbar - Tamaño reducido */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 8px rgba(0,255,136,0.3);
}

/* Hero video styles - Tamaño reducido */
.hero-video-container {
    position: relative;
    width: 320px;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,255,136,0.1), rgba(0,212,255,0.05));
    border: 1px solid rgba(0,255,136,0.2);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 6px 24px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.hero-video-container:hover .video-overlay {
    opacity: 1;
}

.play-pause-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-pause-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.1);
}

/* Featured Project Styles - Professional Game Developer Layout */
.featured-project {
    background: linear-gradient(135deg, rgba(0,255,136,0.08), rgba(0,212,255,0.04));
    border: 1px solid rgba(0,255,136,0.15);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 12px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.featured-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    animation: shimmer 3s infinite;
}

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

.project-header {
    text-align: center;
    margin-bottom: 20px;
}

.project-label {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    background: rgba(0,255,136,0.1);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0,255,136,0.3);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.project-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.project-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin: 0;
    font-style: italic;
}

/* Hero video container - Enhanced */
.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 20px auto;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.4),
        0 0 20px rgba(0,255,136,0.1);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.project-info-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 3;
}

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

.tech-tag {
    background: rgba(0,0,0,0.7);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0,255,136,0.3);
}

.project-status {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.7);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0,255,136,0.3);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
}

.project-description {
    text-align: center;
}

.project-description p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-project-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-project-action.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-dark);
}

.btn-project-action.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,255,136,0.4);
}

.btn-project-action.secondary {
    background: rgba(255,255,255,0.1);
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-project-action.secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Video overlay adjustments */
.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 2;
}

.hero-video-container:hover .video-overlay {
    opacity: 1;
}

.play-pause-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0,0,0,0.8);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .featured-project {
        padding: 20px;
    }
    
    .project-title {
        font-size: 1.6rem;
    }
    
    .hero-video-container {
        max-width: 100%;
        height: 220px;
    }
    
    .project-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-project-action {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .project-info-overlay {
        position: static;
        background: rgba(0,0,0,0.8);
        margin-top: 12px;
        padding: 12px;
        border-radius: 12px;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}