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

:root {
    --bg-primary: #050509;
    --bg-secondary: #0a0a10;
    --bg-card: #0f0f18;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-1: #6366f1;
    --accent-2: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
    overflow: visible;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 150%;
    background: radial-gradient(ellipse at center,
        rgba(116, 192, 252, 0.05) 0%,
        rgba(52, 152, 219, 0.03) 30%,
        transparent 70%);
    filter: blur(50px);
    animation: auraGlow 6s ease-in-out infinite;
    z-index: -1;
}

.version-badge {
    position: absolute;
    top: -40px;
    right: 10px;
    background: linear-gradient(135deg, rgba(0, 255, 150, 0.15), rgba(100, 220, 255, 0.15));
    border: 1px solid rgba(0, 255, 150, 0.3);
    color: rgba(0, 255, 150, 0.9);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 255, 150, 0.2);
    transition: all 0.3s ease;
    cursor: help;
    z-index: 10;
}

.version-badge:hover {
    background: linear-gradient(135deg, rgba(0, 255, 150, 0.25), rgba(100, 220, 255, 0.25));
    border-color: rgba(0, 255, 150, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 150, 0.4);
    transform: scale(1.05);
}

.brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}


.logo {
    font-size: 6rem;
    font-weight: 950;
    display: flex;
    flex-direction: column;
    letter-spacing: 0.15em;
    text-align: center;
    position: relative;
    margin: 0;
    line-height: 0.95;
}

.logo-line {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-line.main-brand {
    filter: drop-shadow(0 2px 5px rgba(116, 192, 252, 0.1));
}

.logo span {
    display: inline-block;
    background:
        linear-gradient(45deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 60%,
            transparent 100%),
        linear-gradient(135deg,
            #74c0fc 0%,
            #4dabf7 20%,
            #339af0 40%,
            #1c7ed6 60%,
            #1864ab 80%,
            #0c2b4e 100%);
    background-size: 200% 200%, 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 950;
    text-shadow: 0 0 5px rgba(116, 192, 252, 0.15);
}

.logo span::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg,
        #74c0fc 0%,
        #4dabf7 20%,
        #339af0 40%,
        #1c7ed6 60%,
        #1864ab 80%,
        #0c2b4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(3px);
    opacity: 0.15;
}

.logo span:nth-child(1) { animation-delay: 0s; }
.logo span:nth-child(2) { animation-delay: 0.1s; }
.logo span:nth-child(3) { animation-delay: 0.2s; }
.logo span:nth-child(4) { animation-delay: 0.3s; }
.logo span:nth-child(5) { animation-delay: 0.4s; }
.logo span:nth-child(6) { animation-delay: 0.5s; }
.logo span:nth-child(8) { animation-delay: 0.7s; }
.logo span:nth-child(9) { animation-delay: 0.8s; }
.logo span:nth-child(10) { animation-delay: 0.9s; }
.logo span:nth-child(11) { animation-delay: 1s; }
.logo span:nth-child(12) { animation-delay: 1.1s; }
.logo span:nth-child(13) { animation-delay: 1.2s; }

.logo .space {
    width: 0.4em;
}

/* Studio text - bold and strong like main logo */
.studio-text {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    background: linear-gradient(135deg,
        rgba(116, 192, 252, 0.5) 0%,
        rgba(74, 171, 247, 0.6) 50%,
        rgba(51, 154, 240, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-left: 0.3em;
    margin-top: 0;
    position: relative;
}

@keyframes innerShine {
    0% {
        background-position: -200% 0%, 0% 0%;
    }
    100% {
        background-position: 200% 0%, 0% 0%;
    }
}

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

/* Ice Particles */
.ice-particles {
    display: none;
}

/* Tagline */
.tagline {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(96, 165, 250, 0.75);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
    opacity: 0.85;
}

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

/* Code Animation Background */
.code-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(29, 84, 108, 0.06) 0%, rgba(26, 61, 100, 0.04) 50%, transparent 70%);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--accent-gradient);
    -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: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1d546c 0%, #0c2b4e 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(29, 84, 108, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 84, 108, 0.4);
    background: linear-gradient(135deg, #1a3d64 0%, #0c2b4e 100%);
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    text-decoration: none;
    color: rgba(116, 192, 252, 0.3);
    transition: all 0.3s ease;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-down-arrow:hover {
    color: rgba(116, 192, 252, 0.5);
    transform: translateY(-4px);
}

.scroll-down-arrow svg {
    stroke: currentColor;
    filter: drop-shadow(0 2px 8px rgba(116, 192, 252, 0.1));
}


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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 2s ease-in;
    transition: opacity 0.3s ease;
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    font-weight: 600;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--accent-1);
    animation: bounce 2s infinite;
}

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

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

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
}

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

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Carousel */
.services-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(29, 84, 108, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-slide {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    padding: 3rem 2rem;
}

.service-slide.active {
    opacity: 1;
    transform: scale(1);
}

.service-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.service-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: #60a5fa;
    filter: drop-shadow(0 4px 12px rgba(96, 165, 250, 0.3));
    animation: float 3s ease-in-out infinite;
}

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

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.carousel-btn:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(96, 165, 250, 0.4);
}

.carousel-dot.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
}

/* Projects Section */
.projects {
    background-color: var(--bg-primary);
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.2) 0%, rgba(12, 43, 78, 0.2) 100%);
    border: 2px solid rgba(116, 192, 252, 0.2);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn:hover {
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.3) 0%, rgba(12, 43, 78, 0.3) 100%);
    border-color: rgba(116, 192, 252, 0.4);
    color: rgba(116, 192, 252, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(116, 192, 252, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #1d546c 0%, #0c2b4e 100%);
    border-color: rgba(116, 192, 252, 0.6);
    color: #ffffff;
    box-shadow:
        0 0 20px rgba(116, 192, 252, 0.3),
        inset 0 0 20px rgba(116, 192, 252, 0.1);
}

.filter-btn.active:hover {
    transform: translateY(-2px);
    box-shadow:
        0 4px 16px rgba(116, 192, 252, 0.4),
        inset 0 0 20px rgba(116, 192, 252, 0.15);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(29, 84, 108, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 12px 40px rgba(29, 84, 108, 0.3);
}

/* Browser Preview Mockup */
.project-preview {
    position: relative;
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.1) 0%, rgba(12, 43, 78, 0.1) 100%);
    padding: 1.5rem;
}

.preview-browser {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.browser-bar {
    background: linear-gradient(180deg, #1a1a24 0%, #13131a 100%);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.browser-dots {
    display: flex;
    gap: 0.4rem;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(96, 165, 250, 0.3);
}

.browser-dots span:nth-child(1) {
    background-color: rgba(239, 68, 68, 0.5);
}

.browser-dots span:nth-child(2) {
    background-color: rgba(251, 191, 36, 0.5);
}

.browser-dots span:nth-child(3) {
    background-color: rgba(34, 197, 94, 0.5);
}

.preview-screen {
    background-color: rgba(10, 10, 15, 0.5);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.preview-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Video Badge for Videography Projects */
.video-placeholder {
    position: relative;
}

.video-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9) 0%, rgba(220, 38, 38, 0.9) 100%);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow:
        0 4px 12px rgba(239, 68, 68, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: videoPulse 2s ease-in-out infinite;
}

.video-badge svg {
    width: 18px;
    height: 18px;
}

@keyframes videoPulse {
    0%, 100% {
        box-shadow:
            0 4px 12px rgba(239, 68, 68, 0.4),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow:
            0 4px 16px rgba(239, 68, 68, 0.6),
            inset 0 0 25px rgba(255, 255, 255, 0.15);
    }
}

/* Project Info */
.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: rgba(29, 84, 108, 0.2);
    color: #60a5fa;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(96, 165, 250, 0.2);
    transition: all 0.2s ease;
}

.project-card:hover .tag {
    background-color: rgba(29, 84, 108, 0.3);
    border-color: rgba(96, 165, 250, 0.4);
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.view-project-btn {
    background: linear-gradient(135deg, #1d546c 0%, #0c2b4e 100%);
    color: #fff;
    border: 2px solid #60a5fa;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.project-card:hover .view-project-btn {
    transform: translateY(0);
}

.view-project-btn:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #1d546c 100%);
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.4);
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    background-color: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-1);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

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

.form-group textarea {
    resize: vertical;
}

/* Project Detail Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #0a0e1a 0%, #12182b 100%);
    border-radius: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(116, 192, 252, 0.1);
    animation: modalSlideIn 0.4s ease-out;
    z-index: 10000;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    padding: 4rem;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 100vh;
    align-items: center;
}

.modal-preview {
    position: relative;
}

.modal-preview .preview-browser {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-preview .browser-bar {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-preview .browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.modal-preview .browser-dots span:nth-child(1) {
    background: #ff5f57;
}

.modal-preview .browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.modal-preview .browser-dots span:nth-child(3) {
    background: #28ca42;
}

.modal-preview .preview-screen {
    background: var(--bg-secondary);
    min-height: 500px;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.modal-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #74c0fc 0%, #4dabf7 50%, #339af0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.modal-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.modal-tags .tag {
    background: rgba(116, 192, 252, 0.1);
    border: 1px solid rgba(116, 192, 252, 0.3);
    color: #74c0fc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.modal-note {
    background: rgba(116, 192, 252, 0.05);
    border: 1px solid rgba(116, 192, 252, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.modal-note svg {
    flex-shrink: 0;
    color: #74c0fc;
    margin-top: 2px;
}

.modal-note p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.modal-cta {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    margin-top: auto;
}

/* Modal Responsive */
@media (max-width: 1024px) {
    .modal-body {
        padding: 3rem;
        gap: 2.5rem;
    }

    .modal-preview .preview-screen {
        height: 50vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        border-radius: 0;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
        min-height: 100vh;
        padding-bottom: 3rem;
    }

    .modal-preview {
        order: 1;
    }

    .modal-info {
        order: 2;
    }

    .modal-preview .preview-screen {
        min-height: 300px;
        height: 40vh;
        padding: 2rem;
    }

    .modal-title {
        font-size: 1.8rem;
    }

    .modal-description {
        font-size: 1rem;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .modal-info {
        gap: 1rem;
    }
}

/* Footer */
.footer {
    background-color: var(--bg-primary);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.footer-nav .domain-link {
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
    padding-left: 1.5rem;
}

.footer-nav .domain-link::before {
    content: '|';
    position: absolute;
    left: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.3;
}

.footer-nav .domain-link:hover {
    color: var(--accent-light);
}

.footer p {
    color: var(--text-secondary);
    text-align: center;
}

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


/* Responsive Design */
/* Medium devices (tablets, 992px and down) */
@media (max-width: 992px) {
    .logo {
        font-size: 5rem;
    }

    .studio-text {
        font-size: 1.9rem;
        letter-spacing: 0.3em;
        padding-left: 0.3em;
    }

    .hero-description {
        font-size: 1.15rem;
    }

    .brand-container {
        gap: 0.8rem;
    }
}

/* Small devices (landscape phones, 768px and down) */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .logo {
        font-size: 3.5rem;
        letter-spacing: 0.1em;
    }

    .studio-text {
        font-size: 1.5rem;
        letter-spacing: 0.25em;
        padding-left: 0.25em;
    }

    .brand-container {
        gap: 0.7rem;
    }

    .logo-wrapper {
        margin-bottom: 2rem;
    }

    .logo span {
        filter: drop-shadow(0 1px 3px rgba(116, 192, 252, 0.1));
    }

    .logo-wrapper {
        margin-bottom: 2rem;
    }

    .logo-wrapper::before {
        filter: blur(35px);
        opacity: 0.3;
    }

    .ice-particles .particle {
        width: 6px;
        height: 6px;
    }

    .tagline {
        font-size: 0.85rem;
        letter-spacing: 0.12em;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .btn-primary {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .scroll-down-arrow {
        margin-top: 2.5rem;
    }

    .scroll-down-arrow svg {
        width: 35px;
        height: 35px;
    }

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

    .portfolio-filters {
        gap: 0.75rem;
        margin: 2rem 0;
    }

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

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

    .project-title {
        font-size: 1.2rem;
    }

    /* Carousel responsive */
    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .service-slide {
        padding: 2rem 1.5rem;
    }

    .service-content h3 {
        font-size: 1.6rem;
    }

    .service-content p {
        font-size: 1rem;
    }

    .service-icon {
        width: 64px;
        height: 64px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .hero {
        padding: 2rem 0;
    }

}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }

    .logo .space {
        width: 0.25em;
    }

    .studio-text {
        font-size: 1rem;
        letter-spacing: 0.2em;
        margin-top: 0;
        padding-left: 0.2em;
    }

    .brand-container {
        gap: 0.75rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .logo span {
        filter: drop-shadow(0 1px 2px rgba(116, 192, 252, 0.08));
    }

    .logo-line.main-brand {
        filter: drop-shadow(0 1px 3px rgba(116, 192, 252, 0.08));
    }

    .ice-particles .particle {
        width: 5px;
        height: 5px;
    }

    .logo-wrapper {
        margin-bottom: 2rem;
    }

    .logo-wrapper::before {
        filter: blur(30px);
        opacity: 0.2;
    }

    .brand-container {
        gap: 0.75rem;
    }

    .tagline {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        margin-bottom: 1.25rem;
        padding: 0 0.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.75rem;
        padding: 0 0.5rem;
        line-height: 1.6;
    }

    .btn-primary {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
    }

    .scroll-down-arrow {
        margin-top: 2rem;
    }

    .scroll-down-arrow svg {
        width: 32px;
        height: 32px;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .portfolio-filters {
        gap: 0.5rem;
        margin: 1.5rem 0 2rem;
    }

    .filter-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        max-width: 100%;
    }

    .project-title {
        font-size: 1.1rem;
    }

    .project-description {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    .services-intro {
        font-size: 1.05rem;
        padding: 0 0.5rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Modal adjustments for small screens */
    .modal-body {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-description {
        font-size: 0.95rem;
    }

    .modal-preview .preview-screen {
        min-height: 250px;
        height: 35vh;
        padding: 1.5rem;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .modal-cta {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Extra small devices (360px and down) */
@media (max-width: 360px) {
    .logo {
        font-size: 1.6rem;
        letter-spacing: 0.03em;
    }

    .logo .space {
        width: 0.2em;
    }

    .studio-text {
        font-size: 0.85rem;
        letter-spacing: 0.15em;
        padding-left: 0.15em;
    }

    .brand-container {
        gap: 0.6rem;
    }

    .container {
        padding: 0 0.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 0.25rem;
    }

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

/* Album Gallery Styles */
.gallery {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

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

.album-card {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.album-card:hover {
    transform: translateY(-8px);
}

.album-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(0);
    transition: var(--transition);
}

.album-card:hover .album-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.3));
}

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

.album-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Album Modal Styles */
.album-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    width: 1200px;
}

.album-modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.album-modal-header .modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.album-modal-header .modal-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.album-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    max-height: 60vh;
    overflow-y: auto;
    padding: 1rem;
}

.media-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

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

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox Modal Styles */
.lightbox-modal {
    z-index: 10000;
}

.lightbox-modal .modal-content {
    max-width: 95vw;
    max-height: 95vh;
    background: transparent;
    padding: 0;
}

.lightbox-modal .modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 4rem 2rem 2rem;
}

.lightbox-body img {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-info {
    margin-top: 2rem;
    text-align: center;
    color: white;
}

.lightbox-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.lightbox-info #lightboxCounter {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Scrollbar Styling for Album Media Grid */
.album-media-grid::-webkit-scrollbar {
    width: 8px;
}

.album-media-grid::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.album-media-grid::-webkit-scrollbar-thumb {
    background: var(--accent-1);
    border-radius: 4px;
}

.album-media-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent-2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .albums-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .album-modal .modal-content {
        max-width: 95vw;
        padding: 1.5rem;
    }

    .album-media-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
        max-height: 50vh;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-body {
        padding: 3rem 1rem 1rem;
    }

    .lightbox-body img {
        max-height: calc(100vh - 120px);
    }
}

@media (max-width: 480px) {
    .album-media-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* Video Gallery Styles */
.videos-section {
    margin-top: 2rem;
}

.video-search-container {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.video-search {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid rgba(116, 192, 252, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.video-search:focus {
    outline: none;
    border-color: rgba(116, 192, 252, 0.5);
    box-shadow: 0 0 20px rgba(116, 192, 252, 0.2);
}

.video-search::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.video-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.video-filter-btn {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.2) 0%, rgba(12, 43, 78, 0.2) 100%);
    border: 2px solid rgba(116, 192, 252, 0.2);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.video-filter-btn:hover {
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.3) 0%, rgba(12, 43, 78, 0.3) 100%);
    border-color: rgba(116, 192, 252, 0.4);
    color: rgba(116, 192, 252, 0.9);
    transform: translateY(-2px);
}

.video-filter-btn.active {
    background: linear-gradient(135deg, #1d546c 0%, #0c2b4e 100%);
    border-color: rgba(116, 192, 252, 0.6);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(116, 192, 252, 0.3);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(29, 84, 108, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 12px 40px rgba(29, 84, 108, 0.4);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: rgba(10, 10, 15, 0.8);
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-card:hover .video-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
}

.play-icon {
    width: 64px;
    height: 64px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.video-card:hover .play-icon {
    transform: scale(1.2);
    color: #74c0fc;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.video-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.video-type-badge.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
}

.video-type-badge.vimeo {
    background: linear-gradient(135deg, #1ab7ea 0%, #0e8fc2 100%);
    color: white;
}

.video-type-badge.html5 {
    background: linear-gradient(135deg, #1d546c 0%, #0c2b4e 100%);
    color: white;
}

.video-info {
    padding: 1.25rem;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-album {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.video-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.video-stats .views {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.video-stats svg {
    opacity: 0.6;
}

.no-videos,
.video-error {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

/* Video Player Modal */
.video-modal .modal-content {
    max-width: 95vw;
    max-height: 95vh;
    background: linear-gradient(135deg, #0a0e1a 0%, #12182b 100%);
    border-radius: 16px;
    overflow: hidden;
}

.video-modal-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-player-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(116, 192, 252, 0.2);
    border-top-color: #74c0fc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

.video-element {
    width: 100%;
    height: 100%;
    max-height: 70vh;
    border-radius: 12px;
}

.video-modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.video-modal-nav:hover {
    background: rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.video-modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.video-modal-nav:disabled:hover {
    transform: translateY(-50%) scale(1);
    background: rgba(255, 255, 255, 0.1);
}

.video-modal-prev {
    left: 20px;
}

.video-modal-next {
    right: 20px;
}

.video-modal-info {
    padding: 0 1rem;
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1rem;
}

.video-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.video-modal-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.video-modal-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.video-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.video-modal-tags .tag {
    background: rgba(116, 192, 252, 0.1);
    border: 1px solid rgba(116, 192, 252, 0.3);
    color: #74c0fc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Video Gallery Responsive */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .video-modal-body {
        padding: 1.5rem;
    }

    .video-modal-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .video-search-container {
        margin-bottom: 1.5rem;
    }

    .video-filters {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .video-filter-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }

    .video-modal .modal-content {
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }

    .video-modal-body {
        padding: 1rem;
        gap: 1.5rem;
    }

    .video-modal-header {
        flex-direction: column;
        gap: 1rem;
    }

    .video-modal-meta {
        align-items: flex-start;
        width: 100%;
    }

    .video-modal-title {
        font-size: 1.3rem;
    }

    .video-modal-nav {
        width: 45px;
        height: 45px;
    }

    .video-modal-prev {
        left: 10px;
    }

    .video-modal-next {
        right: 10px;
    }

    .play-icon {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .video-search {
        padding: 0.85rem 1.2rem;
        font-size: 0.95rem;
    }

    .video-filters {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .video-filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .video-title {
        font-size: 1.1rem;
    }

    .video-album {
        font-size: 0.85rem;
    }

    .video-modal-title {
        font-size: 1.2rem;
    }

    .video-modal-description {
        font-size: 0.95rem;
    }

    .video-modal-nav {
        width: 40px;
        height: 40px;
    }

    .play-icon {
        width: 48px;
        height: 48px;
    }

    .video-type-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Enhanced Project Showcase Styles */

/* Project Card Enhancements */
.project-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: rgba(10, 10, 15, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover .project-thumbnail {
    transform: scale(1.05);
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.category-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.3) 0%, rgba(12, 43, 78, 0.3) 100%);
    border: 1px solid rgba(116, 192, 252, 0.4);
    border-radius: 6px;
    color: #74c0fc;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-badge-large {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.3) 0%, rgba(12, 43, 78, 0.3) 100%);
    border: 1px solid rgba(116, 192, 252, 0.5);
    border-radius: 8px;
    color: #74c0fc;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
    transition: all 0.2s ease;
}

.tech-badge-large {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid;
    transition: all 0.2s ease;
}

.project-card:hover .tech-badge {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* No Results Message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Project Detail Modal */
.project-detail-modal .modal-content {
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: linear-gradient(135deg, #0a0e1a 0%, #12182b 100%);
}

.project-detail-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.project-hero-image {
    width: 100%;
    max-height: 60vh;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 60vh;
}

.project-detail-content-wrapper {
    padding: 3rem 4rem;
    flex: 1;
}

.project-detail-header {
    margin-bottom: 2rem;
}

.project-category-wrapper {
    margin-bottom: 1rem;
}

.project-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #74c0fc 0%, #4dabf7 50%, #339af0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.project-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(116, 192, 252, 0.1);
    border-bottom: 1px solid rgba(116, 192, 252, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.project-detail-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.project-detail-description h1,
.project-detail-description h2,
.project-detail-description h3,
.project-detail-description h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.project-detail-description h1 {
    font-size: 2rem;
}

.project-detail-description h2 {
    font-size: 1.75rem;
}

.project-detail-description h3 {
    font-size: 1.5rem;
}

.project-detail-description ul,
.project-detail-description ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.project-detail-description li {
    margin-bottom: 0.5rem;
}

.project-detail-description a {
    color: #74c0fc;
    text-decoration: none;
    border-bottom: 1px solid rgba(116, 192, 252, 0.3);
    transition: all 0.2s ease;
}

.project-detail-description a:hover {
    color: #4dabf7;
    border-bottom-color: #4dabf7;
}

.project-detail-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.project-technologies-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(116, 192, 252, 0.1);
}

.project-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-image {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.gallery-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(116, 192, 252, 0.2);
}

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

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

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image:hover .image-caption {
    opacity: 1;
}

.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-live,
.btn-code {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-live {
    background: linear-gradient(135deg, #1d546c 0%, #0c2b4e 100%);
    color: white;
    border: 2px solid #74c0fc;
}

.btn-live:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #1d546c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(116, 192, 252, 0.4);
}

.btn-secondary {
    background: rgba(116, 192, 252, 0.1);
    color: #74c0fc;
    border: 2px solid rgba(116, 192, 252, 0.3);
}

.btn-secondary:hover {
    background: rgba(116, 192, 252, 0.2);
    border-color: #74c0fc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(116, 192, 252, 0.2);
}

.btn-live svg,
.btn-code svg {
    flex-shrink: 0;
}

/* Project Navigation Arrows */
.project-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.project-nav-btn:hover:not(:disabled) {
    background: rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.project-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.project-prev-btn {
    left: 20px;
}

.project-next-btn {
    right: 20px;
}

/* Lightbox Enhancements */
.lightbox-modal .lightbox-content {
    background: transparent;
}

.lightbox-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 4rem 2rem 2rem;
}

.lightbox-body img {
    max-width: 95vw;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Responsive Design for Project Showcase */
@media (max-width: 1024px) {
    .project-detail-content-wrapper {
        padding: 2rem 2.5rem;
    }

    .project-detail-title {
        font-size: 2rem;
    }

    .project-image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .project-detail-content-wrapper {
        padding: 2rem 1.5rem;
    }

    .project-detail-title {
        font-size: 1.75rem;
    }

    .project-detail-description {
        font-size: 1rem;
    }

    .project-metadata {
        flex-direction: column;
        gap: 0.75rem;
    }

    .project-image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .project-actions {
        flex-direction: column;
    }

    .btn-live,
    .btn-code {
        width: 100%;
        justify-content: center;
    }

    .project-nav-btn {
        width: 45px;
        height: 45px;
    }

    .project-prev-btn {
        left: 10px;
    }

    .project-next-btn {
        right: 10px;
    }

    .project-hero-image {
        max-height: 50vh;
    }
}

@media (max-width: 480px) {
    .project-detail-content-wrapper {
        padding: 1.5rem 1rem;
    }

    .project-detail-title {
        font-size: 1.5rem;
    }

    .project-detail-description {
        font-size: 0.95rem;
    }

    .project-technologies-section {
        gap: 0.5rem;
    }

    .tech-badge-large {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .project-image-gallery {
        grid-template-columns: 1fr;
    }

    .btn-live,
    .btn-code {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .project-nav-btn {
        width: 40px;
        height: 40px;
    }

    .project-hero-image {
        max-height: 40vh;
    }

    .lightbox-body {
        padding: 3rem 1rem 1rem;
    }
}

/* ============================================
   UNIFIED PORTFOLIO SYSTEM
   ============================================ */

/* Portfolio Controls Container */
.portfolio-controls {
    margin-bottom: 3rem;
}

/* Type Filters - Primary Row */
.portfolio-type-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.portfolio-filter-btn {
    padding: 0.85rem 2.5rem;
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.2) 0%, rgba(12, 43, 78, 0.2) 100%);
    border: 2px solid rgba(116, 192, 252, 0.25);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.portfolio-filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(116, 192, 252, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.portfolio-filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.portfolio-filter-btn:hover {
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.3) 0%, rgba(12, 43, 78, 0.3) 100%);
    border-color: rgba(116, 192, 252, 0.5);
    color: rgba(116, 192, 252, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(116, 192, 252, 0.25);
}

.portfolio-filter-btn.active {
    background: linear-gradient(135deg, #1d546c 0%, #0c2b4e 100%);
    border-color: rgba(116, 192, 252, 0.7);
    color: #ffffff;
    box-shadow:
        0 0 25px rgba(116, 192, 252, 0.4),
        inset 0 0 20px rgba(116, 192, 252, 0.15);
    transform: translateY(-2px);
}

/* Advanced Filters Row */
.portfolio-advanced-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 24, 0.6);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(116, 192, 252, 0.1);
}

/* Search Wrapper */
.portfolio-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.portfolio-search-wrapper .search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(116, 192, 252, 0.6);
    pointer-events: none;
    z-index: 2;
}

.portfolio-search {
    width: 100%;
    padding: 0.9rem 1.25rem 0.9rem 3.25rem;
    background: var(--bg-card);
    border: 2px solid rgba(116, 192, 252, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.portfolio-search:focus {
    outline: none;
    border-color: rgba(116, 192, 252, 0.6);
    box-shadow: 0 0 0 4px rgba(116, 192, 252, 0.1);
    background: rgba(15, 15, 24, 0.9);
}

.portfolio-search::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Select Dropdowns */
.portfolio-select {
    padding: 0.9rem 2.5rem 0.9rem 1.25rem;
    background: var(--bg-card);
    border: 2px solid rgba(116, 192, 252, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2374c0fc' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.portfolio-select:hover {
    border-color: rgba(116, 192, 252, 0.4);
    background-color: rgba(15, 15, 24, 0.9);
}

.portfolio-select:focus {
    outline: none;
    border-color: rgba(116, 192, 252, 0.6);
    box-shadow: 0 0 0 4px rgba(116, 192, 252, 0.1);
}

/* Checkbox Label */
.portfolio-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid rgba(116, 192, 252, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.portfolio-checkbox-label:hover {
    border-color: rgba(116, 192, 252, 0.4);
    background-color: rgba(15, 15, 24, 0.9);
}

.portfolio-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #1d546c;
}

/* View Toggle */
.portfolio-view-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-card);
    padding: 0.5rem;
    border-radius: 50px;
    border: 2px solid rgba(116, 192, 252, 0.2);
}

.view-toggle-btn {
    padding: 0.6rem;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle-btn:hover {
    background: rgba(116, 192, 252, 0.1);
    color: rgba(116, 192, 252, 0.9);
}

.view-toggle-btn.active {
    background: linear-gradient(135deg, #1d546c 0%, #0c2b4e 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(116, 192, 252, 0.3);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    min-height: 400px;
}

/* Grid View */
.portfolio-grid.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* List View */
.portfolio-grid.list-view {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.portfolio-grid.list-view .portfolio-card {
    display: flex;
    flex-direction: row;
    max-width: 900px;
    margin: 0 auto;
}

.portfolio-grid.list-view .portfolio-thumbnail {
    width: 300px;
    flex-shrink: 0;
}

.portfolio-grid.list-view .portfolio-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Portfolio Card */
.portfolio-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(29, 84, 108, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow:
        0 20px 50px rgba(29, 84, 108, 0.4),
        0 0 0 1px rgba(116, 192, 252, 0.2);
}

/* Ultra-Simple Album Card */
.portfolio-card-album-simple {
    background: transparent;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
}

.portfolio-card-album-simple:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.album-thumbnail-simple {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
}

.album-thumbnail-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-card-album-simple:hover .album-thumbnail-simple img {
    transform: scale(1.05);
}

/* Portfolio Thumbnail */
.portfolio-thumbnail {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.1) 0%, rgba(12, 43, 78, 0.1) 100%);
}

.portfolio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* Type Icon in Overlay */
.portfolio-type-icon {
    color: rgba(116, 192, 252, 0.9);
    filter: drop-shadow(0 4px 12px rgba(116, 192, 252, 0.4));
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-type-icon {
    transform: translateY(0);
}

/* View Button */
.portfolio-view-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #1d546c 0%, #0c2b4e 100%);
    border: 2px solid #74c0fc;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(10px);
    opacity: 0;
}

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

.portfolio-view-btn:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #1d546c 100%);
    box-shadow: 0 6px 24px rgba(116, 192, 252, 0.5);
    transform: scale(1.05) translateY(0);
}

/* Portfolio Badges */
.portfolio-badge {
    position: absolute;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.featured-badge {
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 165, 0, 0.9));
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.count-badge {
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.95), rgba(12, 43, 78, 0.95));
    border: 1px solid rgba(116, 192, 252, 0.5);
    color: #74c0fc;
}

.duration-badge {
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95), rgba(185, 28, 28, 0.95));
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ffffff;
}

/* Portfolio Info */
.portfolio-info {
    padding: 1.5rem;
}

/* Simplified Album Card Info */
.portfolio-info-simple {
    padding: 1rem 1.25rem;
    background: rgba(29, 84, 108, 0.1);
    backdrop-filter: blur(10px);
}

.portfolio-info-simple .portfolio-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Album Icon in Overlay */
.album-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card-album:hover .album-icon {
    opacity: 1;
}

.portfolio-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.portfolio-type-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-type-badge.album {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #3b82f6;
}

.portfolio-type-badge.video {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(185, 28, 28, 0.2));
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: #dc2626;
}

.portfolio-type-badge.project {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(147, 51, 234, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #a855f7;
}

.portfolio-category {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.portfolio-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.portfolio-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Portfolio Footer */
.portfolio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(116, 192, 252, 0.1);
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
}

.portfolio-tag {
    padding: 0.35rem 0.75rem;
    background: rgba(29, 84, 108, 0.2);
    border: 1px solid rgba(116, 192, 252, 0.25);
    border-radius: 6px;
    color: #74c0fc;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.portfolio-card:hover .portfolio-tag {
    background: rgba(29, 84, 108, 0.3);
    border-color: rgba(116, 192, 252, 0.4);
}

.portfolio-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.portfolio-views {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.portfolio-views svg {
    opacity: 0.6;
}

/* Loading State */
.portfolio-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.portfolio-loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(116, 192, 252, 0.2);
    border-top-color: #74c0fc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.portfolio-loading p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Empty State */
.portfolio-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-secondary);
}

.portfolio-empty svg {
    margin: 0 auto 1.5rem;
    opacity: 0.3;
    stroke: currentColor;
}

.portfolio-empty h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.portfolio-empty p {
    font-size: 1rem;
    opacity: 0.7;
}

/* Load More Button */
.portfolio-load-more-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.portfolio-load-more-btn {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, rgba(29, 84, 108, 0.3) 0%, rgba(12, 43, 78, 0.3) 100%);
    border: 2px solid rgba(116, 192, 252, 0.4);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-load-more-btn:hover {
    background: linear-gradient(135deg, #1d546c 0%, #0c2b4e 100%);
    border-color: rgba(116, 192, 252, 0.7);
    box-shadow: 0 6px 20px rgba(116, 192, 252, 0.3);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .portfolio-grid.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .portfolio-advanced-filters {
        gap: 0.75rem;
    }

    .portfolio-search-wrapper {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .portfolio-type-filters {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .portfolio-filter-btn {
        padding: 0.7rem 1.75rem;
        font-size: 0.9rem;
    }

    .portfolio-advanced-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .portfolio-search-wrapper,
    .portfolio-select,
    .portfolio-checkbox-label {
        width: 100%;
        max-width: none;
    }

    .portfolio-view-toggle {
        align-self: center;
    }

    .portfolio-grid.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }

    .portfolio-grid.list-view .portfolio-card {
        flex-direction: column;
    }

    .portfolio-grid.list-view .portfolio-thumbnail {
        width: 100%;
    }

    .portfolio-title {
        font-size: 1.2rem;
    }

    .portfolio-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .portfolio-controls {
        margin-bottom: 2rem;
    }

    .portfolio-type-filters {
        gap: 0.5rem;
    }

    .portfolio-filter-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .portfolio-grid.grid-view {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portfolio-card {
        max-width: 100%;
    }

    .portfolio-info {
        padding: 1.25rem;
    }

    .portfolio-title {
        font-size: 1.1rem;
    }

    .portfolio-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .portfolio-load-more-btn {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }
}
