/* ========================================
   RECKOR STUDIOS — Dark Studio Theme
   ======================================== */

:root {
    --bg-darkest: #050505;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --bg-alt: #0d0d0d;
    --bg-surface: #161616;

    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;

    --accent: #c8a44e;
    --accent-light: #dfc076;
    --accent-dark: #a6862f;
    --accent-glow: rgba(200, 164, 78, 0.15);

    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 1001;
}

.logo-icon {
    color: var(--accent);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 4px;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-left: -4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1001;
}

.lang-toggle {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--transition);
}

.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

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

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

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

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-darkest);
}

.hero-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.08;
}

.hero-waveform {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 300px;
}

.wave-bar {
    width: 4px;
    background: var(--accent);
    border-radius: 4px;
    animation: waveAnimation 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1)  { height: 20%; animation-delay: 0.00s; }
.wave-bar:nth-child(2)  { height: 40%; animation-delay: 0.05s; }
.wave-bar:nth-child(3)  { height: 60%; animation-delay: 0.10s; }
.wave-bar:nth-child(4)  { height: 80%; animation-delay: 0.15s; }
.wave-bar:nth-child(5)  { height: 100%; animation-delay: 0.20s; }
.wave-bar:nth-child(6)  { height: 80%; animation-delay: 0.25s; }
.wave-bar:nth-child(7)  { height: 55%; animation-delay: 0.30s; }
.wave-bar:nth-child(8)  { height: 75%; animation-delay: 0.35s; }
.wave-bar:nth-child(9)  { height: 90%; animation-delay: 0.40s; }
.wave-bar:nth-child(10) { height: 65%; animation-delay: 0.45s; }
.wave-bar:nth-child(11) { height: 45%; animation-delay: 0.50s; }
.wave-bar:nth-child(12) { height: 70%; animation-delay: 0.55s; }
.wave-bar:nth-child(13) { height: 95%; animation-delay: 0.60s; }
.wave-bar:nth-child(14) { height: 50%; animation-delay: 0.65s; }
.wave-bar:nth-child(15) { height: 85%; animation-delay: 0.70s; }
.wave-bar:nth-child(16) { height: 35%; animation-delay: 0.75s; }
.wave-bar:nth-child(17) { height: 60%; animation-delay: 0.80s; }
.wave-bar:nth-child(18) { height: 90%; animation-delay: 0.85s; }
.wave-bar:nth-child(19) { height: 40%; animation-delay: 0.90s; }
.wave-bar:nth-child(20) { height: 75%; animation-delay: 0.95s; }
.wave-bar:nth-child(21) { height: 55%; animation-delay: 1.00s; }
.wave-bar:nth-child(22) { height: 85%; animation-delay: 1.05s; }
.wave-bar:nth-child(23) { height: 30%; animation-delay: 1.10s; }
.wave-bar:nth-child(24) { height: 65%; animation-delay: 1.15s; }
.wave-bar:nth-child(25) { height: 45%; animation-delay: 1.20s; }
.wave-bar:nth-child(26) { height: 80%; animation-delay: 1.25s; }
.wave-bar:nth-child(27) { height: 50%; animation-delay: 1.30s; }
.wave-bar:nth-child(28) { height: 70%; animation-delay: 1.35s; }
.wave-bar:nth-child(29) { height: 35%; animation-delay: 1.40s; }
.wave-bar:nth-child(30) { height: 20%; animation-delay: 1.45s; }

@keyframes waveAnimation {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, transparent 0%, var(--bg-darkest) 70%),
        linear-gradient(180deg, transparent 0%, var(--bg-darkest) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 164, 78, 0.08);
    border: 1px solid rgba(200, 164, 78, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-accent {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-darkest);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 164, 78, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 4px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    position: relative;
    padding: 0 40px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--accent);
    opacity: 0.4;
}

.section-tag::before { left: 0; }
.section-tag::after { right: 0; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

/* ========================================
   ABOUT
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-brand {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 460px;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 50% 45%, rgba(200, 164, 78, 0.12) 0%, transparent 60%),
        linear-gradient(135deg, #0b0b0b 0%, #050505 100%);
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-brand::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 55%);
    opacity: 0.6;
    animation: brandPulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes brandPulse {
    0%, 100% { transform: scale(0.95); opacity: 0.45; }
    50%      { transform: scale(1.05); opacity: 0.7; }
}

.about-brand-img {
    position: relative;
    z-index: 1;
    width: 72%;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(200, 164, 78, 0.3));
    transition: transform var(--transition-slow);
}

.about-brand:hover .about-brand-img {
    transform: scale(1.04) rotate(-1deg);
}

/* Equalizer animation */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
}

.equalizer span {
    width: 6px;
    background: var(--accent);
    border-radius: 3px;
    animation: equalize 1s ease-in-out infinite;
}

.equalizer span:nth-child(1)  { height: 30%; animation-delay: 0.0s; }
.equalizer span:nth-child(2)  { height: 60%; animation-delay: 0.1s; }
.equalizer span:nth-child(3)  { height: 40%; animation-delay: 0.2s; }
.equalizer span:nth-child(4)  { height: 80%; animation-delay: 0.3s; }
.equalizer span:nth-child(5)  { height: 50%; animation-delay: 0.4s; }
.equalizer span:nth-child(6)  { height: 70%; animation-delay: 0.5s; }
.equalizer span:nth-child(7)  { height: 35%; animation-delay: 0.6s; }
.equalizer span:nth-child(8)  { height: 90%; animation-delay: 0.7s; }
.equalizer span:nth-child(9)  { height: 45%; animation-delay: 0.8s; }
.equalizer span:nth-child(10) { height: 65%; animation-delay: 0.9s; }

@keyframes equalize {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

/* ========================================
   SERVICES
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    padding: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: inherit;
    font-family: inherit;
    text-align: left;
    width: 100%;
    display: block;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5),
                0 0 0 1px var(--accent-glow);
    border-color: rgba(200, 164, 78, 0.4);
}

.portfolio-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

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

.portfolio-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-darkest);
}

.portfolio-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow), filter var(--transition);
    filter: saturate(0.9) contrast(1.02);
}

.portfolio-item:hover .portfolio-poster {
    transform: scale(1.06);
    filter: saturate(1.1) contrast(1.05);
}

.portfolio-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(200, 164, 78, 0.95);
    color: var(--bg-darkest);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition), transform var(--transition);
    box-shadow: 0 8px 32px rgba(200, 164, 78, 0.4);
    pointer-events: none;
}

.portfolio-play svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
}

.portfolio-item:hover .portfolio-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
                rgba(5, 5, 5, 0) 40%,
                rgba(5, 5, 5, 0.55) 75%,
                rgba(5, 5, 5, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 22px;
    pointer-events: none;
}

.portfolio-cat {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.portfolio-overlay h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

/* ========================================
   TEAM
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.team-avatar {
    margin-bottom: 20px;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bg-darkest);
    letter-spacing: 1px;
}

.team-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
}

.contact-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

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

.contact-cta {
    padding: 32px;
    background: linear-gradient(135deg, rgba(200, 164, 78, 0.08), rgba(200, 164, 78, 0.02));
    border: 1px solid rgba(200, 164, 78, 0.15);
    border-radius: var(--radius);
}

.contact-cta p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    text-align: center;
    font-size: 0.9rem;
    padding: 8px;
    border-radius: var(--radius-sm);
    display: none;
}

.form-status.success {
    display: block;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.form-status.error {
    display: block;
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-darkest);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color var(--transition);
}

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

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

.footer-contact a {
    color: var(--accent);
}

.footer-contact a:hover {
    color: var(--accent-light);
}

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

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

/* ========================================
   ANIMATIONS
   ======================================== */
[data-anim] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-anim="fade-right"] {
    transform: translateX(-30px);
}

[data-anim="fade-left"] {
    transform: translateX(30px);
}

[data-anim].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .nav-link {
        font-size: 1.2rem;
    }

    .nav-hamburger {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 14px;
    }
}

/* ========================================
   VIDEO PLAYER MODAL
   ======================================== */
.vp-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.vp-modal.is-open {
    display: flex;
    animation: vp-fade 0.25s ease both;
}

@keyframes vp-fade { from { opacity: 0 } to { opacity: 1 } }

.vp-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    cursor: pointer;
}

.vp-shell {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background: linear-gradient(180deg, #0d0d0d 0%, #060606 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7),
                0 0 0 1px var(--accent-glow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: vp-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes vp-pop {
    from { transform: scale(0.94); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.vp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

.vp-meta {
    min-width: 0;
}

.vp-cat {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2px;
}

.vp-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vp-close {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.vp-close:hover {
    background: var(--accent);
    color: var(--bg-darkest);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.vp-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}

.vp-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.vp-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(200, 164, 78, 0.92);
    color: var(--bg-darkest);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.25s;
    box-shadow: 0 10px 40px rgba(200, 164, 78, 0.45);
}

.vp-modal.is-paused .vp-center-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.vp-modal.is-playing .vp-center-btn {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
}

.vp-center-btn svg {
    width: 36px;
    height: 36px;
    margin-left: 4px;
}

.vp-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    gap: 6px;
}

.vp-modal.is-buffering .vp-loading { display: flex; }
.vp-modal.is-buffering .vp-center-btn { opacity: 0; }

.vp-loading span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    animation: vp-bounce 1s infinite ease-in-out both;
}
.vp-loading span:nth-child(1) { animation-delay: -0.32s; }
.vp-loading span:nth-child(2) { animation-delay: -0.16s; }

@keyframes vp-bounce {
    0%, 80%, 100% { transform: scale(0.4); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.vp-controls {
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    padding: 10px 16px 14px;
    user-select: none;
}

.vp-progress {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: height 0.15s;
}

.vp-progress:hover,
.vp-progress.is-scrubbing {
    height: 8px;
}

.vp-progress-buffer {
    position: absolute;
    inset: 0;
    width: 0%;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    transition: width 0.2s;
}

.vp-progress-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-light));
    border-radius: 3px;
}

.vp-progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.15s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.vp-progress:hover .vp-progress-handle,
.vp-progress.is-scrubbing .vp-progress-handle {
    transform: translate(-50%, -50%) scale(1);
}

.vp-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vp-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}

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

.vp-btn svg {
    width: 22px;
    height: 22px;
}

/* play/pause icon swap */
#vpPlay .ic-pause { display: none; }
.vp-modal.is-playing #vpPlay .ic-play { display: none; }
.vp-modal.is-playing #vpPlay .ic-pause { display: inline-block; }

/* mute icon swap */
#vpMute .ic-mute { display: none; }
.vp-modal.is-muted #vpMute .ic-vol { display: none; }
.vp-modal.is-muted #vpMute .ic-mute { display: inline-block; }

/* fullscreen icon swap */
#vpFull .ic-fs-exit { display: none; }
.vp-modal.is-fullscreen #vpFull .ic-fs { display: none; }
.vp-modal.is-fullscreen #vpFull .ic-fs-exit { display: inline-block; }

.vp-volume {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vp-volume-track {
    position: relative;
    width: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
    transition: width 0.2s;
    cursor: pointer;
}

.vp-volume:hover .vp-volume-track {
    width: 80px;
}

.vp-volume-fill {
    height: 100%;
    width: 100%;
    background: var(--accent);
}

.vp-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.vp-spacer {
    flex: 1;
}

.vp-rate-wrap {
    position: relative;
}

.vp-rate {
    width: auto;
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
}

.vp-rate-menu {
    position: absolute;
    bottom: 110%;
    right: 0;
    background: #0a0a0a;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 4px;
    display: none;
    flex-direction: column;
    gap: 2px;
    min-width: 90px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.vp-rate-menu.is-open { display: flex; }

.vp-rate-menu button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 12px;
    text-align: left;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    transition: all var(--transition);
}

.vp-rate-menu button:hover,
.vp-rate-menu button.active {
    background: var(--accent);
    color: var(--bg-darkest);
}

/* Fullscreen */
.vp-modal:fullscreen,
.vp-modal.is-fullscreen .vp-shell:fullscreen {
    padding: 0;
}

.vp-shell:fullscreen {
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
}

.vp-shell:fullscreen .vp-stage {
    flex: 1;
    aspect-ratio: auto;
}

/* responsive */
@media (max-width: 768px) {
    .vp-modal { padding: 0; }
    .vp-shell { border-radius: 0; max-width: 100%; height: 100%; }
    .vp-stage { aspect-ratio: 16/9; }
    .vp-volume:hover .vp-volume-track { width: 0; }
    .vp-time { font-size: 0.72rem; }
    .vp-title { font-size: 0.95rem; }
}

/* Discord link card in contact section */
.contact-card-link {
    cursor: pointer;
    transition: all var(--transition);
}
.contact-card-link:hover {
    transform: translateY(-2px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.15);
}
.contact-icon-discord {
    color: #5865f2;
    background: rgba(88, 101, 242, 0.12) !important;
}

/* Discord link in footer */
.footer-discord a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.footer-discord a:hover {
    color: #5865f2;
}
.footer-discord svg {
    flex-shrink: 0;
}
