/* ===================================
   Variables y Reset
=================================== */
:root {
    --primary: #00f0ff;
    --primary-dark: #00a8b3;
    --secondary: #ff00ff;
    --accent: #ff6b35;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    width: 100%;
    min-width: 0;
}

/* ===================================
   Cursor Personalizado
=================================== */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    opacity: 0.5;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--secondary);
}

@media (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none;
    }
    body {
        cursor: auto;
    }
}

/* ===================================
   Partículas
=================================== */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    #particles-container {
        display: none;
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

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

/* ===================================
   Navegación
=================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem;
    background: transparent;
    transition: background var(--transition-normal), padding var(--transition-normal);
    width: 100%;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.8rem 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    text-decoration: none;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.logo-text .accent {
    color: var(--primary);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all var(--transition-fast);
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
    transition: width var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #ff00ff;
    box-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff, 0 0 40px #00f0ff;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

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

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right var(--transition-normal);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }
}

/* ===================================
   Botones
=================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left var(--transition-slow);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Hero Section
=================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 1rem 2rem;
    overflow: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 1rem 2rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-dark) 70%);
    z-index: 1;
}

/* Scanlines overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: 2;
    animation: scanlines 10s linear infinite;
}

@keyframes scanlines {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Efecto Glitch Cyberpunk */
.hero-title.glitch {
    animation: glitch-skew 4s infinite linear alternate-reverse;
}

.hero-title.glitch::before,
.hero-title.glitch::after {
    content: 'Daniel Franco';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.hero-title.glitch::before {
    color: #00f0ff;
    animation: glitch-effect 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translateX(-2px);
}

.hero-title.glitch::after {
    color: #ff00ff;
    animation: glitch-effect 2s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translateX(2px);
}

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

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    10% { transform: skew(0deg); }
    11% { transform: skew(2deg); }
    12% { transform: skew(0deg); }
    50% { transform: skew(0deg); }
    51% { transform: skew(-1deg); }
    52% { transform: skew(0deg); }
    100% { transform: skew(0deg); }
}

/* Desactivar glitch en móvil */
@media (max-width: 768px) {
    .hero-title.glitch {
        animation: none;
    }
    
    .hero-title.glitch::before,
    .hero-title.glitch::after {
        display: none;
    }
}

.hero-title .line {
    display: block;
}

.hero-title .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

/* Hero Visual - Cubo 3D */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* Hero Logo (reemplaza el cubo) */
.hero-logo-container {
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 
        0 0 30px var(--primary),
        0 0 60px rgba(0, 240, 255, 0.4),
        0 0 100px rgba(0, 240, 255, 0.2);
    animation: logo-glow 3s ease-in-out infinite, logo-rotate 6s ease-in-out infinite;
}

@keyframes logo-rotate {
    0%, 100% {
        transform: rotateY(0deg);
    }
    25% {
        transform: rotateY(20deg);
    }
    75% {
        transform: rotateY(-20deg);
    }
}

@keyframes logo-glow {
    0%, 100% {
        box-shadow: 
            0 0 30px var(--primary),
            0 0 60px rgba(0, 240, 255, 0.4),
            0 0 100px rgba(0, 240, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 40px var(--primary),
            0 0 80px rgba(0, 240, 255, 0.5),
            0 0 120px rgba(255, 0, 255, 0.3);
    }
}

@media (max-width: 768px) {
    .hero-logo {
        width: 200px;
        height: 200px;
    }
}

.floating-cube {
    perspective: 1000px;
}

.cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.cube .face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary);
    background: rgba(0, 240, 255, 0.05);
    backdrop-filter: blur(5px);
}

.cube .front { transform: translateZ(100px); }
.cube .back { transform: rotateY(180deg) translateZ(100px); }
.cube .right { transform: rotateY(90deg) translateZ(100px); }
.cube .left { transform: rotateY(-90deg) translateZ(100px); }
.cube .top { transform: rotateX(90deg) translateZ(100px); }
.cube .bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.orbit-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    animation: spin 15s infinite linear;
}

.orbit-ring::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
}

.orbit-ring.delay-1 {
    width: 450px;
    height: 450px;
    animation-duration: 20s;
    animation-direction: reverse;
    border-color: rgba(255, 0, 255, 0.15);
}

.orbit-ring.delay-1::after {
    background: var(--secondary);
    box-shadow: 0 0 20px var(--secondary);
}

.orbit-ring.delay-2 {
    width: 550px;
    height: 550px;
    animation-duration: 25s;
    border-color: rgba(255, 107, 53, 0.1);
}

.orbit-ring.delay-2::after {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

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

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

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

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

    .hero-visual {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .contact-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '//';
    margin: 0 0.5rem;
    opacity: 0.5;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

.section-title .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   About Section
=================================== */
.about {
    background: var(--bg-darker);
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
}

@media (max-width: 1100px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
}

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

.image-frame:hover img {
    transform: scale(1.05);
}

.placeholder-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
}

.placeholder-avatar i {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.3;
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary);
}

.frame-corner.top-left {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.frame-corner.top-right {
    top: -5px;
    right: -5px;
    border-left: none;
    border-bottom: none;
}

.frame-corner.bottom-left {
    bottom: -5px;
    left: -5px;
    border-right: none;
    border-top: none;
}

.frame-corner.bottom-right {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.floating-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--gradient-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.floating-badge .years {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--bg-dark);
}

.floating-badge .text {
    font-size: 0.8rem;
    color: var(--bg-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

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

.about-text p strong {
    color: var(--primary);
}

.skills-container {
    margin: 2.5rem 0;
}

.skills-container h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

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

.skill-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 10px;
    background: var(--bg-darker);
}

.skill-icon img {
    width: 35px;
    height: 35px;
}

.skill-icon.zbrush { color: #f26522; }
.skill-icon.substance { color: #82d8c3; }
.skill-icon.maya { color: #0db3a7; }
.skill-icon.printer { color: var(--primary); }
.skill-icon.keyshot { color: #ffc107; }

.skill-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-card);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .about-image {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .image-frame {
        margin: 0 auto;
    }

    .floating-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 1rem auto 0;
        padding: 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .skill-item {
        padding: 0.8rem;
    }

    .about-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ===================================
   Portfolio Section
=================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-muted);
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

.portfolio-item {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    transition: transform var(--transition-normal);
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-10px);
}

.card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

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

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

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.placeholder-image i {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.5;
}

.placeholder-image span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.placeholder-image.batman {
    background: linear-gradient(135deg, #1a1a2e 0%, #0d0d0d 100%);
}

.placeholder-image.monk {
    background: linear-gradient(135deg, #2d1b2e 0%, #1a0f1f 100%);
}

.placeholder-image.guardian {
    background: linear-gradient(135deg, #1b2d2e 0%, #0f1f1a 100%);
}

.placeholder-image.steampunk {
    background: linear-gradient(135deg, #2e2a1b 0%, #1f1a0f 100%);
}

.placeholder-image.dungeon {
    background: linear-gradient(135deg, #2e1b1b 0%, #1f0f0f 100%);
}

.placeholder-image.sentinel {
    background: linear-gradient(135deg, #1b1b2e 0%, #0f0f1f 100%);
}

.placeholder-image.huntress {
    background: linear-gradient(135deg, #2e1b2e 0%, #1f0f1f 100%);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: #000000;
    font-weight: 900;
    -webkit-text-stroke: 0.5px #fff;
    text-shadow: 
        1px 1px 0 #fff,
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff;
}

.overlay-content p {
    font-size: 0.95rem;
    color: #000000;
    margin-bottom: 0;
    font-weight: 700;
    -webkit-text-stroke: 0.3px #fff;
    text-shadow: 
        1px 1px 0 #fff,
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff;
}

.view-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    transform: translateY(-20px);
    opacity: 0;
}

.portfolio-card:hover .view-btn {
    transform: translateY(0);
    opacity: 1;
}

.view-btn:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===================================
   Showreel Section
=================================== */
/* ===================================
   Testimonials Section
=================================== */
.testimonials {
    background: var(--bg-dark);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.testimonial-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.4s ease;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f0ff, #ff00ff, transparent);
    animation: borderSlide 3s linear infinite;
}

@keyframes borderSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.2);
}

.testimonial-card.featured {
    border-color: rgba(255, 0, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(255, 0, 255, 0.05));
}

.testimonial-card.featured::before {
    animation-duration: 2s;
}

.testimonial-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.testimonial-card:hover .testimonial-glow {
    opacity: 1;
}

.quote-icon {
    font-size: 2rem;
    color: #00f0ff;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f0ff, #ff00ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.2rem;
}

.author-info h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.85rem;
    color: #00f0ff;
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

.showreel {
    background: var(--bg-dark);
    padding: 6rem 0;
    overflow: hidden;
}

.video-stage {
    perspective: 1000px;
    max-width: 950px;
    margin: 0 auto;
}

.video-frame {
    position: relative;
    transform: rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.video-frame:hover {
    transform: rotateX(0deg) scale(1.02);
}

.frame-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.3) 0%, rgba(255, 0, 255, 0.3) 100%);
    filter: blur(40px);
    opacity: 0.5;
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.frame-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.frame-lines span {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00f0ff, transparent);
}

.frame-lines span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    animation: lineMove 3s linear infinite;
}

.frame-lines span:nth-child(2) {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    animation: lineMove 3s linear infinite reverse;
}

.frame-lines span:nth-child(3) {
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #ff00ff, transparent);
    animation: lineMove 3s linear infinite;
}

.frame-lines span:nth-child(4) {
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #ff00ff, transparent);
    animation: lineMove 3s linear infinite reverse;
}

@keyframes lineMove {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* YouTube Lazy Loading */
.youtube-lazy {
    cursor: pointer;
}

.youtube-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.youtube-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.youtube-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    filter: brightness(1.2);
}

.youtube-play-btn svg {
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.youtube-lazy:hover .youtube-thumbnail {
    opacity: 0.85;
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #00f0ff;
    z-index: 15;
}

.frame-corner.tl {
    top: -8px;
    left: -8px;
    border-right: none;
    border-bottom: none;
}

.frame-corner.tr {
    top: -8px;
    right: -8px;
    border-left: none;
    border-bottom: none;
}

.frame-corner.bl {
    bottom: -8px;
    left: -8px;
    border-right: none;
    border-top: none;
}

.frame-corner.br {
    bottom: -8px;
    right: -8px;
    border-left: none;
    border-top: none;
}

.video-reflection {
    height: 100px;
    margin-top: -10px;
    background: linear-gradient(to bottom, rgba(0, 240, 255, 0.1), transparent);
    filter: blur(20px);
    transform: scaleY(-0.3) translateY(-50%);
    opacity: 0.4;
}

.video-description {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.video-description i {
    color: #00f0ff;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .showreel {
        padding: 4rem 0;
    }
    
    .video-frame {
        transform: none;
    }
    
    .video-frame:hover {
        transform: none;
    }
    
    .frame-corner {
        width: 20px;
        height: 20px;
    }
    
    .video-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* ===================================
   Services Section
=================================== */
.services {
    background: var(--bg-darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    position: relative;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

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

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(255, 0, 255, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.3rem 1rem;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darker);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

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

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.service-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ===================================
   Contact Section
=================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-content.contact-centered {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-centered .contact-info h3 {
    font-size: 2.5rem;
}

.contact-centered .contact-details {
    justify-content: center;
}

.contact-centered .contact-item {
    justify-content: center;
}

.contact-centered .social-links {
    justify-content: center;
}

.contact-email {
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.contact-email:hover {
    color: var(--primary);
}

.contact-email:hover i {
    transform: scale(1.1);
    background: var(--primary);
    color: var(--bg-dark);
}

.contact-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-item i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    color: var(--primary);
}

.social-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.6rem;
    justify-content: center;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: #00f0ff;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    border-color: #00f0ff;
    color: #fff;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 255, 0.2));
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--text-muted);
    outline: none;
    transition: border-color var(--transition-normal);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-normal);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: -0.8rem;
    font-size: 0.8rem;
    color: var(--primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border,
.form-group select:focus ~ .focus-border {
    width: 100%;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .contact-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ===================================
   Footer
=================================== */
.footer {
    background: var(--bg-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--bg-card);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

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

.footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    color: #00f0ff;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 240, 255, 0.3);
    font-size: 0.95rem;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #00f0ff, #ff00ff);
    color: var(--bg-dark);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-card);
}

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

.footer-credit {
    margin-top: 0.5rem;
    font-size: 0.8rem !important;
}

.footer-credit a {
    color: #00f0ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #ff00ff;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* ===================================
   Animaciones de Scroll
=================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ===================================
   Scrollbar Personalizado
=================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: 5px;
}

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

/* ===================================
   Selection
=================================== */
::selection {
    background: var(--primary);
    color: var(--bg-dark);
}
