/* ========================================================================
   NEOCASTRO STUDIOS - MODERN DARK THEME
   ======================================================================== */

:root { 
    --primary: #034078; 
    --deep: #080808; 
    --ink: #050505; 
    --paper: #fefcfb; 
    --glow: #1282a2; 
    --muted: #aebbc9; 
    --line: rgba(254,252,251,.08); 
    --mono: "DM Mono", monospace; 
    --sans: "Manrope", sans-serif;
    --header-height: 87px; 
}
* { box-sizing: border-box; } 
html { scroll-behavior: smooth; background: var(--ink); } 
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); overflow-x: hidden; }

/* SCROLLBAR */
html { scrollbar-color: var(--glow) var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--glow), var(--primary)); border-radius: 999px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--glow); } 
a { color: inherit; } 
button { font: inherit; }

/* GRAIN AZALTILDI */
.page-noise { position: fixed; z-index: 100; inset: 0; pointer-events: none; opacity: .015; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* HEADER & LOGO - HEADER ARTIK SABİT (FIXED) */
.site-header { position: fixed; top: 0; left: 0; z-index: 20; display: flex; align-items: center; width: 100%; min-height: 87px; padding: 18px 4.2vw; border-bottom: 1px solid rgba(254,252,251,.1); background: rgba(5,5,5,.28); backdrop-filter: blur(12px); transition: transform 0.3s ease; }
.brand { display: inline-flex; text-decoration: none; }
.brand-logo { display: flex; align-items: center; min-height: 35px; }

.brand-logo img { 
    content: url("assets/icons/neocastrologo.png");
    display: block; 
    max-width: 250px; 
    max-height: 80px; 
    object-fit: contain; 
    object-position: left center; 
}
.brand-fallback { font-size: 17px; font-weight: 800; letter-spacing: -1px; }
.brand-fallback span { color: var(--glow); }

/* NAV - YAZILAR BİR TIK BÜYÜTÜLDÜ (10px -> 12px) */
.main-nav { display: flex; gap: clamp(15px,2.2vw,36px); margin-left: auto; margin-right: clamp(18px,2.8vw,43px); align-items: center; }
.main-nav a { color: rgba(254,252,251,.75); font: 12px var(--mono); letter-spacing: .04em; text-decoration: none; text-transform: uppercase; transition: color .25s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--paper); }
.main-nav .is-active::before { content: "[ "; color: var(--glow); }
.main-nav .is-active::after { content: " ]"; color: var(--glow); }
.menu-toggle { display: none; }

/* HERO */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 830px; height: 100vh; max-height: 1080px; padding: 130px 9.2vw; overflow: hidden; background: linear-gradient(90deg, rgba(5,5,5,.98) 6%, rgba(5,5,5,.8) 48%, rgba(5,5,5,.3)), url("assets/background.webp") center/cover; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), transparent 35%, rgba(0,0,0,.6)); }
.hero-grid { position: absolute; z-index: -1; inset: 0; opacity: .15; background-image: linear-gradient(to right, transparent 24.8%, rgba(254,252,251,.16) 25%, transparent 25.2%), linear-gradient(to bottom, transparent 49.8%, rgba(254,252,251,.16) 50%, transparent 50.2%); background-size: 25% 100%, 100% 33.333%; }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; mix-blend-mode: screen; filter: blur(24px); }
.glow-one { top: -7vw; right: 19vw; width: 21vw; aspect-ratio: 1; background: rgba(18,130,162,.25); }
.glow-two { bottom: -13vw; left: 35vw; width: 35vw; aspect-ratio: 1; background: rgba(3,64,120,.4); }
.hero-content { max-width: 735px; margin-top: 50px; }

.eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; color: var(--muted); font: 10px/1.5 var(--mono); letter-spacing: .085em; text-transform: uppercase; }
.hero .eyebrow { justify-content: flex-start; }
.eyebrow span { display: inline-block; width: 20px; height: 1px; background: var(--glow); }
.eyebrow b { font-weight: 400; }
.hero h1, h2 { margin: 0; font-weight: 800; letter-spacing: -.075em; text-transform: uppercase; }
.hero h1 { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px,1.5vw,24px); margin: 25px 0 27px; font-size: clamp(43px,5.8vw,104px); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 em, h2 em { color: var(--glow); font-style: normal; text-shadow: 0 0 28px rgba(18,130,162,.25); }
.hero-copy { max-width: 475px; margin: 0; color: #dae0e7; font-size: 15px; line-height: 1.72; }
.hero-actions, .section-actions { display: flex; align-items: center; gap: 14px; margin-top: 35px; }

.button { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-width: 132px; padding: 12px 17px 12px 19px; border-radius: 999px; font: 10px var(--mono); letter-spacing: .04em; text-decoration: none; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1), background .25s, border-color .25s, box-shadow .35s; }
.button:hover { transform: translateY(-4px); }
.button-primary { color: var(--paper); background: linear-gradient(135deg, rgba(18,130,162,.98), rgba(11,92,118,.92)); border: 1px solid rgba(81,184,214,.5); box-shadow: 0 13px 30px rgba(0,0,0,.45), 0 0 22px rgba(18,130,162,.12), inset 0 1px rgba(254,252,251,.18); }
.button-primary span, .button-glass span { color: var(--glow); font-size: 16px; transition: transform 0.3s; }
.button:hover span { transform: translateX(3px); }
.button-glass { color: var(--paper); border: 1px solid rgba(254,252,251,.14); background: linear-gradient(135deg, rgba(254,252,251,.075), rgba(254,252,251,.025)); backdrop-filter: blur(14px); box-shadow: inset 0 1px rgba(254,252,251,.08), 0 8px 24px rgba(0,0,0,.18); }
.button-glass:hover { border-color: rgba(18,130,162,.72); background: linear-gradient(135deg, rgba(18,130,162,.16), rgba(18,130,162,.05)); box-shadow: 0 10px 25px rgba(0,0,0,.28), 0 0 20px rgba(18,130,162,.1); }

/* SOUND PANEL */
.sound-panel { position: absolute; right: 4.2vw; bottom: 8vh; width: min(34vw,455px); padding: 17px 18px 14px; border: 1px solid rgba(254,252,251,.1); background: rgba(5,5,5,.6); box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 1px rgba(254,252,251,.05); backdrop-filter: blur(17px); }
.sound-panel-top, .sound-panel-bottom { display: flex; align-items: center; justify-content: space-between; color: #8a9ba8; font: 9px var(--mono); letter-spacing: .08em; }
.waveform { display: flex; align-items: center; justify-content: space-between; height: 76px; margin: 8px 0; }
.waveform i { width: 2px; min-height: 4px; background: var(--glow); box-shadow: 0 0 6px rgba(18,130,162,.5); transform-origin: center; animation: pulse 1.5s ease-in-out infinite alternate; }
.waveform i:nth-child(3n) { animation-delay: -.6s; }
.waveform i:nth-child(2n) { animation-delay: -.3s; }
.waveform i:nth-child(1) { height:15%; } .waveform i:nth-child(2) { height:56%; } .waveform i:nth-child(3) { height:29%; } .waveform i:nth-child(4) { height:84%; } .waveform i:nth-child(5) { height:45%; } .waveform i:nth-child(6) { height:63%; } .waveform i:nth-child(7) { height:30%; } .waveform i:nth-child(8) { height:100%; } .waveform i:nth-child(9) { height:66%; } .waveform i:nth-child(10) { height:36%; } .waveform i:nth-child(11) { height:82%; } .waveform i:nth-child(12) { height:55%; } .waveform i:nth-child(13) { height:25%; } .waveform i:nth-child(14) { height:68%; } .waveform i:nth-child(15) { height:95%; } .waveform i:nth-child(16) { height:49%; } .waveform i:nth-child(17) { height:30%; } .waveform i:nth-child(18) { height:80%; } .waveform i:nth-child(19) { height:61%; } .waveform i:nth-child(20) { height:39%; } .waveform i:nth-child(21) { height:76%; } .waveform i:nth-child(22) { height:48%; } .waveform i:nth-child(23) { height:90%; } .waveform i:nth-child(24) { height:40%; } .waveform i:nth-child(25) { height:68%; } .waveform i:nth-child(26) { height:27%; } .waveform i:nth-child(27) { height:84%; } .waveform i:nth-child(28) { height:39%; } .waveform i:nth-child(29) { height:53%; } .waveform i:nth-child(30) { height:71%; } .waveform i:nth-child(31) { height:20%; } .waveform i:nth-child(32) { height:61%; }
@keyframes pulse { to { transform: scaleY(.42); opacity: .35; } }
.sound-panel-bottom strong { color: var(--paper); font-weight: 500; }
.sound-panel-bottom span { margin-left: auto; margin-right: 18px; }
.sound-panel-bottom button { width: 27px; height: 27px; border: 1px solid rgba(254,252,251,.2); border-radius: 50%; color: var(--paper); background: rgba(18,130,162,.3); cursor: pointer; font-size: 9px; transition: 0.3s; }
.sound-panel-bottom button:hover { background: var(--glow); transform: scale(1.1); }
.hero-index { position: absolute; top: 50%; right: 4.2vw; margin: 0; color: var(--paper); font: 10px var(--mono); letter-spacing: .12em; writing-mode: vertical-rl; }
.hero-index span { color: var(--glow); }

/* SECTIONS */
.section { min-height: 100vh; padding: 135px 8vw; scroll-margin-top: var(--header-height); }
.section-heading.centered { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-heading h2, .portfolio-heading h2 { margin-top: 20px; font-size: clamp(44px,5.25vw,86px); line-height: .89; }
.section-subtitle { max-width: 520px; margin: 19px auto 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* SERVICES */
.services { position: relative; background: radial-gradient(circle at 15% 10%, rgba(18,130,162,.08), transparent 24%), linear-gradient(180deg, var(--ink), #080808); }
.services::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(254,252,251,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(254,252,251,.03) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.services > * { position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 58px; }
.service-card { position: relative; min-height: 315px; padding: 25px; overflow: hidden; border: 1px solid rgba(254,252,251,.05); background: rgba(10,10,10,.6); box-shadow: inset 0 1px rgba(254,252,251,.03); backdrop-filter: blur(13px); transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), border-color .35s, background .35s; }
.service-card::after { content: ""; position: absolute; right: -35px; bottom: -45px; width: 150px; aspect-ratio: 1; border: 1px solid rgba(18,130,162,.15); border-radius: 50%; transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1); }
.service-card:hover { z-index: 1; border-color: rgba(18,130,162,.5); background: rgba(15,15,15,.8); transform: translateY(-7px); }
.service-card:hover::after { transform: scale(1.7); border-color: rgba(18,130,162,.3); }
.service-icon { display: block; width: 50px; height: 50px; margin: 10px 0 23px; object-fit: contain; border: 0; color: transparent; transition: transform .35s cubic-bezier(.22,1,.36,1), filter .35s ease; }
.service-card:hover .service-icon { transform: scale(1.12); filter: drop-shadow(0 0 9px rgba(18,130,162,.45)); }
.service-card h3 { margin: 0 0 9px; font-size: 18px; letter-spacing: -.04em; }
.service-card p { position: relative; z-index: 1; margin: 0; color: #9ba8b5; font-size: 12px; line-height: 1.65; }
.section-actions { justify-content: center; margin-top: 31px; }

/* PORTFOLIO */
.portfolio { background: var(--ink); }
.portfolio-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 55px; }
.portfolio-heading .eyebrow { justify-content: flex-start; }
.portfolio-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 13px; }
.project-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 505px; padding: 26px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; }
.project-feature { min-height: 620px; }
.project-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.3) brightness(.4); transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s; }
.project-card:hover img { filter: saturate(1) brightness(.75); transform: scale(1.05); }
.project-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(5,5,5,.95) 95%); }
.project-number { position: absolute; top: 22px; left: 24px; font: 10px var(--mono); color: #fff; }
.project-info p { margin: 0 0 8px; color: #a3b1bc; font: 9px var(--mono); letter-spacing: .09em; }
.project-info h3 { margin: 0; font-size: clamp(20px,2vw,32px); letter-spacing: -.06em; color: #fff; }
.project-info > span { display: block; margin-top: 14px; color: #8a9ba8; font: 9px var(--mono); opacity: 0; transform: translateY(10px); transition: .4s cubic-bezier(0.22, 1, 0.36, 1); }
.project-info b { margin-left: 8px; color: var(--glow); font-size: 17px; }
.project-card:hover .project-info > span { opacity: 1; transform: translateY(0); }

/* PARTNERS */
.partners { border-top: 1px solid var(--line); background: linear-gradient(180deg, #080808, var(--ink)); }
.partners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 1060px; margin: 55px auto 0; }
.partner-card { position: relative; min-height: 365px; padding: 27px; overflow: hidden; border: 1px solid rgba(254,252,251,.05); background: rgba(10,10,10,.5); color: var(--paper); text-decoration: none; box-shadow: inset 0 1px rgba(254,252,251,.02); backdrop-filter: blur(14px); transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), border-color .35s; }
.partner-card:hover { border-color: rgba(18,130,162,.6); transform: translateY(-6px); }
.partner-card::before { content: ""; position: absolute; top: -50%; left: -25%; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(18,130,162,.15), transparent 68%); transition: transform .8s cubic-bezier(0.22, 1, 0.36, 1); }
.partner-card:hover::before { transform: translate(45%, 38%); }
.partner-top { display: flex; align-items: center; justify-content: space-between; color: #788a99; font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.partner-logo { position: relative; display: flex; align-items: center; justify-content: center; height: 120px; margin: 24px 0 18px; border-top: 1px solid rgba(254,252,251,.05); border-bottom: 1px solid rgba(254,252,251,.05); }
.partner-logo img { display: block; max-width: 63%; max-height: 70px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(18,130,162,.1)); }
.partner-logo strong { color: var(--paper); font-size: 22px; line-height: .85; letter-spacing: -.08em; text-align: center; }
.partner-card h3 { margin: 0 0 9px; font-size: 20px; letter-spacing: -.04em; }
.partner-card p { max-width: 440px; margin: 0; color: #8a9ba8; font-size: 12px; line-height: 1.65; }

/* CONTACT */
.contact { position: relative; overflow: hidden; padding: 139px 8vw 34px; background: linear-gradient(140deg, #0a0a0a, #050505 53%, #080808); }
.contact::after { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(254,252,251,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(254,252,251,.05) 1px, transparent 1px); background-size: 10vw 10vw; mask-image: linear-gradient(90deg, transparent 28%, #000 100%); }
.contact > * { position: relative; z-index: 1; }
.contact-glow { position: absolute; z-index: 0; top: -18vw; right: 11vw; width: 41vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(18,130,162,.2), transparent 67%); filter: blur(15px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; gap: clamp(42px, 6vw, 92px); min-height: 390px; }
.contact-copy { min-width: 0; max-width: 100%; }
.contact .eyebrow { justify-content: flex-start; }
.contact-title { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 3.8vw, 56px); width: 100%; max-width: 100%; margin: 30px 0 40px; font-size: clamp(38px, 5.15vw, 76px); line-height: 1.04; letter-spacing: -.055em; overflow: visible; }
.contact-title > span { display: block; width: max-content; max-width: 100%; min-width: 0; white-space: nowrap; overflow: visible; text-overflow: clip; transform: translateY(24px); opacity: 0; transition: transform .85s cubic-bezier(.22,1,.36,1), opacity .7s ease; }
.contact-title-accent { font-style: italic; color: var(--glow); }
.active .contact-title > span, .contact-title.active > span { transform: translateY(0); opacity: 1; }
.contact-title > span:nth-child(2) { transition-delay: .06s; }
.contact-title > span:nth-child(3) { transition-delay: .12s; }
.contact > .contact-layout .contact-copy > p:not(.eyebrow) { max-width: 390px; margin: 0 0 27px; color: #a3b1bc; font-size: 14px; line-height: 1.7; }

/* CONTACT OPTIONS — HORIZONTAL CARDS */
.contact-boxes { display: grid; grid-template-columns: 1fr; gap: 13px; width: 100%; max-width: 560px; margin: 0; padding: 0; justify-self: end; }
.c-box { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 18px; width: 100%; min-height: 92px; padding: 18px 20px; border: 1px solid rgba(254,252,251,.08); background: rgba(10,10,10,.62); border-radius: 9px; text-decoration: none; color: #a3b1bc; box-shadow: 0 7px 22px rgba(0,0,0,.28); overflow: hidden; isolation: isolate; transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s ease, background-color .35s ease, box-shadow .35s ease; }
.c-box::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: radial-gradient(circle at 18% 50%, rgba(18,130,162,.34), transparent 56%); opacity: 0; filter: blur(16px); transform: scale(1.08); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.c-box::after { content: ""; position: absolute; top: 0; bottom: 0; left: -35%; width: 24%; z-index: 0; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(254,252,251,.18), transparent); opacity: 0; transition: left .65s ease, opacity .25s ease; pointer-events: none; }
.c-box:hover { border-color: rgba(18,130,162,.65); background: rgba(14,16,17,.9); color: var(--paper); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.48), 0 0 26px rgba(18,130,162,.16); }
.c-box:hover::before { opacity: 1; transform: scale(1); }
.c-box:hover::after { left: 118%; opacity: 1; }
.c-box-icon { position: relative; z-index: 1; display: block; width: 38px; height: 38px; margin: 0; background-size: contain; background-position: center; background-repeat: no-repeat; filter: drop-shadow(0 0 0 rgba(18,130,162,0)); transition: filter .35s ease, transform .35s ease; }
.c-box:hover .c-box-icon { filter: drop-shadow(0 0 9px rgba(18,130,162,.72)); transform: scale(1.06); }
.c-box-content { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.c-box-content strong { display: block; color: var(--paper); font: 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.c-box-content small { display: block; max-width: 100%; color: #7f909d; font: 11px/1.55 var(--mono); letter-spacing: .01em; text-transform: none; }
.c-box:hover .c-box-content small { color: #a9b7c1; }
.c-box-arrow { position: relative; z-index: 1; color: #587180; font: 17px var(--mono); transition: color .3s ease, transform .3s ease; }
.c-box:hover .c-box-arrow { position: relative; z-index: 1; color: var(--glow); transform: translate(2px,-2px); }
.contact-foot { display: none; justify-content: space-between; margin-top: 105px; color: #788a99; font: 9px var(--mono); letter-spacing: .07em; text-transform: uppercase; }

/* FOOTER */
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 30px 8vw; border-top: 1px solid var(--line); background: var(--ink); color: #788a99; font: 9px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.copyright { margin: 0; }

/* CENTER LOGO — NO CIRCLE */
.footer-logo { display: flex; align-items: center; justify-content: center; width: max-content; height: auto; padding: 0; margin: 0 auto; border: 0; background: transparent; border-radius: 0; text-decoration: none; box-shadow: none; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.footer-logo:hover { transform: translateY(-2px); background: transparent; border: 0; box-shadow: none; }
.footer-logo img { display: block; width: 68px; height: 68px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 0 0 rgba(18,130,162,0)); transition: filter .4s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.footer-logo:hover img { filter: drop-shadow(0 0 7px rgba(18,130,162,.85)) drop-shadow(0 0 18px rgba(18,130,162,.38)); transform: scale(1.04); }

/* SOCIAL ICONS — LARGER + FULL GLOW */
.social-links { display: flex; justify-content: flex-end; gap: 12px; }
.social-links a { position: relative; display: flex; width: 42px; height: 42px; overflow: hidden; isolation: isolate; place-items: center; border: 1px solid rgba(254,252,251,.1); background-color: rgba(10,10,10,.5); background-size: 21px !important; background-position: center !important; background-repeat: no-repeat !important; color: transparent; text-decoration: none; border-radius: 7px; transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s ease, background-color .35s ease, box-shadow .35s ease; }
.social-links a::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: radial-gradient(circle, rgba(18,130,162,.42), transparent 68%); opacity: 0; filter: blur(7px); transform: scale(1.12); transition: opacity .35s ease; pointer-events: none; }
.social-links a::after { content: ""; position: absolute; top: -30%; left: -70%; width: 34%; height: 160%; z-index: 0; background: linear-gradient(90deg, transparent, rgba(254,252,251,.25), transparent); transform: rotate(25deg); opacity: 0; transition: left .65s ease, opacity .2s ease; pointer-events: none; }
.social-links a:hover { border-color: rgba(18,130,162,.68); background-color: rgba(15,18,19,.92); transform: translateY(-4px) scale(1.03); box-shadow: 0 7px 18px rgba(0,0,0,.42), 0 0 18px rgba(18,130,162,.18); }
.social-links a:hover::before { opacity: 1; }
.social-links a:hover::after { left: 135%; opacity: 1; }
.social-links a[aria-label="Fiverr"] { background-image: url("assets/icons/fivericon.png"); }
.social-links a[aria-label="YouTube"] { background-image: url("assets/icons/youtubeicon.png"); }
.social-links a[aria-label="Instagram"] { background-image: url("assets/icons/instagramicon.png"); }
.social-links a[aria-label="Discord"] { background-image: url("assets/icons/discordicon.png"); }

/* ========================================================================
   SCROLL REVEAL & ANIMATIONS 
   ======================================================================== */
.reveal, .tt-anim-fadeinup, .service-card, .project-card, .partner-card {
    opacity: 0; transform: translateY(40px); transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active, .tt-anim-fadeinup.active, .active .service-card, .active .project-card, .active .partner-card, .service-card.active, .project-card.active, .partner-card.active {
    opacity: 1; transform: translateY(0);
}
.services-grid > *:nth-child(1) { transition-delay: 0.1s; } .services-grid > *:nth-child(2) { transition-delay: 0.2s; } .services-grid > *:nth-child(3) { transition-delay: 0.3s; } .services-grid > *:nth-child(4) { transition-delay: 0.4s; }
.portfolio-grid > *:nth-child(1) { transition-delay: 0.1s; } .portfolio-grid > *:nth-child(2) { transition-delay: 0.2s; } .portfolio-grid > *:nth-child(3) { transition-delay: 0.3s; }
.partners-grid > *:nth-child(1) { transition-delay: 0.1s; } .partners-grid > *:nth-child(2) { transition-delay: 0.2s; }

.tt-text-reveal { overflow: visible; display: block; vertical-align: top; }
.tt-text-reveal > * { display: block; transform: translateY(110%); transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1); }
.active .tt-text-reveal > *, .tt-text-reveal.active > * { transform: translateY(0); }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 900px) { 
    :root { --header-height: 75px; }
    .site-header { min-height: 75px; padding: 16px 24px; background: rgba(5,5,5,.22); }
    .brand-logo img { max-width: 160px; max-height: 34px; }
    .menu-toggle { display: flex; z-index: 21; flex-direction: column; gap: 6px; margin-left: auto; padding: 5px 0 5px 12px; border: 0; background: transparent; cursor: pointer; }
    .menu-toggle span { display: block; width: 23px; height: 1px; background: var(--paper); transition: transform .25s; }
    .menu-toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .main-nav { position: fixed; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 30px; margin: 0; background: rgba(5,5,5,.98); backdrop-filter: blur(10px); }
    .main-nav.is-open { display: flex; }
    .main-nav a { font-size: 18px; }
    .hero { min-height: 760px; height: 100svh; padding: 123px 29px 200px; background-position: 58% center; }
    .hero-grid { background-size: 50% 100%, 100% 33%; }
    .hero h1 { gap: 17px; font-size: clamp(42px,12.2vw,78px); line-height: 1.04; }
    .hero-copy { font-size: 13px; }
    .sound-panel { right: 24px; bottom: 36px; left: 24px; width: auto; }
    .hero-index { display: none; }
    .section { padding: 90px 24px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); margin-top: 38px; }
    .portfolio-heading { display: block; margin-bottom: 37px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .project-card, .project-feature { min-height: 385px; }
    .project-info > span { opacity: 1; transform: none; }
    .partners-grid { grid-template-columns: 1fr; margin-top: 38px; }
    .contact { padding: 100px 24px 29px; }
    .contact-layout { grid-template-columns: 1fr; gap: 42px; min-height: 0; }
    .contact-title { font-size: clamp(36px, 8.6vw, 62px); gap: 32px; margin: 30px 0 38px; line-height: 1.05; }
    .contact-boxes { max-width: 100%; justify-self: stretch; }
    .contact-foot { margin-top: 80px; }
    .site-footer { grid-template-columns: 1fr auto; padding: 22px 24px; gap: 15px; }
    .copyright { order: 3; grid-column: 1 / -1; }
    .footer-logo { margin: 0; }
    .social-links { gap: 8px; } 
}

@media (max-width: 520px) { 
    .hero-actions { gap: 10px; }
    .button { gap: 13px; padding: 13px 12px; font-size: 9px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 255px; }
    .service-icon { margin: 8px 0 18px; }
    .section-heading h2, .portfolio-heading h2 { font-size: 42px; }
    .contact-title { gap: 28px; margin: 28px 0 35px; font-size: clamp(31px, 9.4vw, 49px); line-height: 1.07; }
    .contact-title > span { white-space: normal; width: auto; }
    .contact-boxes { gap: 10px; }
    .c-box { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 13px; min-height: 82px; padding: 15px; }
    .c-box-icon { width: 32px; height: 32px; }
    .c-box-content small { font-size: 10px; }
    .contact-foot { align-items: flex-start; flex-direction: column; gap: 8px; }
    .social-links a { width: 40px; height: 40px; } 
}

@media (prefers-reduced-motion: reduce) { 
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0s !important; }
    .reveal, .tt-anim-fadeinup, .service-card, .project-card, .partner-card { opacity: 1; transform: none; }
}


/* ========================================================================
   LANGUAGE SELECTOR (HEADER)
   ======================================================================== */
.lang-selector-wrapper {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-left: 20px;
    border-left: 1px solid rgba(254,252,251,.15);
}
.lang-inner {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}
.lang-selector-wrapper input[type="radio"] {
    display: none; 
}
.lang-selector-wrapper .lang-label {
    padding: 0;
    border: 0;
    background: none;
    color: rgba(254,252,251,.55);
    cursor: pointer;
    font: 14px var(--mono);
    text-transform: uppercase;
    transition: color .2s;
}
.lang-selector-wrapper input[type="radio"]:checked + .lang-label {
    color: var(--glow);
}
.lang-selector-wrapper .lang-label:hover {
    color: var(--paper);
}

@media (max-width: 900px) {
    .lang-selector-wrapper {
        position: absolute;
        top: 50%;
        right: 68px;
        transform: translateY(-50%);
        margin: 0;
        padding-left: 12px;
        gap: 9px;
        z-index: 22;
    }
    .lang-inner { gap: 9px; }
}

@media (max-width: 520px) {
    .lang-selector-wrapper {
        right: 58px;
        padding-left: 9px;
        gap: 7px;
    }
    .lang-inner { gap: 7px; }
    .lang-selector-wrapper .lang-label { font-size: 12px; }
}
/* ========================================================================
   CONTACT ICONS
   ======================================================================== */
.c-box-icon-fiverr {
    background-image: url("assets/icons/fivericon.png");
}
.c-box-icon-email {
    background-image: url("assets/icons/mailicon.png");
}
.c-box-icon-discord {
    background-image: url("assets/icons/discordicon.png");
}

/* ========================================================================
   FINAL LAYOUT REFINEMENTS
   ======================================================================== */
/* 1) Hero headline: three clicks smaller */
.hero h1 { font-size: clamp(39px, 5vw, 90px); }

/* 2) Service cards are links; keep all descriptive text clean */
.service-card,
.service-card h3,
.service-card p,
.service-card * { text-decoration: none !important; }

/* 3) Portfolio: viewport-fit layout, pulled up under the header */
.portfolio {
    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));
    padding: 25px 8vw 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.portfolio-heading { margin-bottom: 30px; }
.portfolio-grid {
    flex: 1 1 auto;
    min-height: 0;
}
.portfolio-grid .project-card,
.portfolio-grid .project-feature {
    min-height: 0;
    height: 100%;
}

/* 4) Partners: centered, slightly larger, and closer to the header */
.partners {
    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));
    padding: 25px 8vw 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.partners-grid {
    margin-top: 30px;
}
.partner-card {
    min-height: 390px;
}

/* 5) Contact: make the whole section occupy exactly the viewport below header */
.contact {
    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));
    padding: 30px 8vw;
    display: flex;
    align-items: center;
}
.contact-layout {
    width: 100%;
    min-height: 0;
}

@media (max-width: 900px) {
    .hero h1 { font-size: clamp(38px, 10.8vw, 68px); }

    .portfolio,
    .partners,
    .contact {
        height: auto;
        min-height: calc(100svh - var(--header-height));
        overflow: visible;
    }

    .portfolio,
    .partners { padding: 55px 24px 35px; }
    .contact { padding: 70px 24px 35px; }

    .portfolio-heading { margin-bottom: 30px; }
    .portfolio-grid { flex: none; }
    .portfolio-grid .project-card,
    .portfolio-grid .project-feature {
        height: auto;
    }

    .partners-grid { margin-top: 28px; }
    .partner-card { min-height: 390px; }
}

@media (max-width: 520px) {
    .hero h1 { font-size: clamp(36px, 10.2vw, 58px); }
    .portfolio,
    .partners { padding: 45px 24px 30px; }
    .contact { padding: 60px 24px 30px; }
    .partner-card { min-height: 350px; }
}

/* ========================================================================
   REQUESTED VISUAL REFINEMENTS
   ======================================================================== */
/* 1. Simplified hero sound panel: waveform remains, supporting labels/controls removed. */
.sound-panel {
    border-radius: 14px;
    overflow: hidden;
}
.sound-panel .waveform { margin: 0; }

/* 3. Hero eyebrow marker becomes a small blue dot. */
.eyebrow span {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--glow);
    box-shadow: 0 0 10px rgba(18,130,162,.42);
}

/* 5. Service cards: subtle premium rounding. */
.service-card {
    border-radius: 12px;
}

/* 6. Portfolio cards: slightly smaller, rounded and blue glow on hover. */
.portfolio-grid {
    width: min(100%, 1120px);
    margin-left: auto;
    margin-right: auto;
}
.project-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .35s, box-shadow .45s cubic-bezier(.22,1,.36,1);
}
.project-card:hover {
    border-color: rgba(18,130,162,.58);
    box-shadow: 0 18px 55px rgba(0,0,0,.45), 0 0 42px rgba(18,130,162,.16);
}

/* 7. Larger, detailed partner cards and their contact/link boxes. */
.partners-grid {
    max-width: 1160px;
    gap: 20px;
}
.partner-card {
    min-height: 475px;
    padding: 31px;
    border-radius: 15px;
}
.partner-logo {
    height: 145px;
    margin: 26px 0 21px;
    border-radius: 10px;
    background: rgba(254,252,251,.018);
}
.partner-card h3 {
    font-size: 24px;
}
.partner-card p {
    max-width: 520px;
    font-size: 13px;
    line-height: 1.75;
}
.partner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}
.partner-meta span {
    padding: 6px 9px;
    border: 1px solid rgba(254,252,251,.08);
    border-radius: 999px;
    color: #9aabb8;
    background: rgba(254,252,251,.025);
    font: 8px var(--mono);
    letter-spacing: .06em;
    text-transform: uppercase;
}
.partner-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
    margin-top: 22px;
}
.partner-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(254,252,251,.08);
    border-radius: 9px;
    background: rgba(254,252,251,.025);
    color: #aebbc9;
    font: 9px var(--mono);
    text-decoration: none;
    text-transform: uppercase;
    transition: .3s ease;
}
.partner-links a:hover {
    color: var(--paper);
    border-color: rgba(18,130,162,.62);
    background: rgba(18,130,162,.08);
    box-shadow: 0 0 22px rgba(18,130,162,.10);
}
.partner-links b { color: var(--glow); font-size: 14px; }

/* 8. Keep logo/icons sizes; only make footer vertically thinner. */
.site-footer {
    padding-top: 16px;
    padding-bottom: 16px;
}

/* 2. Single-box language dropdown. */
.lang-selector-wrapper {
    position: relative;
    display: block;
    width: 76px;
    margin-left: 0;
    padding: 0;
    border: 1px solid rgba(254,252,251,.12);
    border-radius: 8px;
    background: rgba(10,10,10,.72);
    backdrop-filter: blur(12px);
    z-index: 25;
}
.lang-selector-wrapper::after {
    content: "⌄";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-55%);
    color: #7f929f;
    font: 12px var(--mono);
    pointer-events: none;
}
.lang-selector-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 38px;
    padding: 0 28px 0 12px;
    border: 0;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
    font: 10px var(--mono);
    letter-spacing: .06em;
}
.lang-inner {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 5px;
    border: 1px solid rgba(254,252,251,.12);
    border-radius: 9px;
    background: rgba(8,8,8,.97);
    box-shadow: 0 16px 35px rgba(0,0,0,.42), 0 0 24px rgba(18,130,162,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.lang-selector-wrapper.is-open .lang-inner {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-selector-wrapper .lang-label {
    display: block;
    width: 100%;
    padding: 10px 9px;
    border-radius: 6px;
    color: rgba(254,252,251,.58);
    text-align: left;
    font-size: 10px;
}
.lang-selector-wrapper .lang-label:hover,
.lang-selector-wrapper input[type="radio"]:checked + .lang-label {
    color: var(--paper);
    background: rgba(18,130,162,.12);
}

@media (max-width: 900px) {
    .lang-selector-wrapper {
        position: absolute;
        top: 18px;
        right: 68px;
        width: 74px;
    }
    .partner-card { min-height: 0; }
    .partner-links { grid-template-columns: 1fr; }
    .site-footer { padding-top: 14px; padding-bottom: 14px; }
}


/* ========================================================================
   LATEST POLISH PASS
   ======================================================================== */
/* 1. View Project: slightly smaller and more refined. */
.button-glass { font-size: 10px; letter-spacing: .045em; }
.button-glass span[data-i18n="View Project"] { font-size: .92em; }

/* 2. Language selector: cleaner single control, no redundant arrow. */
.lang-selector-wrapper {
    width: 86px;
    border-radius: 10px;
    border-color: rgba(254,252,251,.14);
    background: linear-gradient(180deg, rgba(18,18,18,.92), rgba(8,8,8,.88));
    box-shadow: inset 0 1px rgba(254,252,251,.045), 0 8px 22px rgba(0,0,0,.22);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.lang-selector-wrapper::after { display: none; }
.lang-selector-wrapper::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: var(--glow);
    box-shadow: 0 0 9px rgba(18,130,162,.55);
    pointer-events: none;
}
.lang-selector-wrapper:hover,
.lang-selector-wrapper.is-open {
    border-color: rgba(18,130,162,.5);
    box-shadow: inset 0 1px rgba(254,252,251,.06), 0 10px 28px rgba(0,0,0,.3), 0 0 18px rgba(18,130,162,.08);
}
.lang-selector-current {
    min-height: 40px;
    padding: 0 12px 0 22px;
    justify-content: center;
    font-size: 10px;
    letter-spacing: .12em;
}
.lang-inner {
    top: calc(100% + 7px);
    padding: 5px;
    border-radius: 10px;
    border-color: rgba(254,252,251,.13);
}
.lang-selector-wrapper .lang-label {
    padding: 10px 11px;
    border-radius: 7px;
    text-align: center;
    font-size: 9px;
    letter-spacing: .12em;
}

/* 3. Portfolio: smaller, shorter rectangles with wider spacing across the page. */
.portfolio-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.portfolio-grid .project-card,
.portfolio-grid .project-feature {
    height: 285px;
    min-height: 285px;
    border-radius: 13px;
}
.project-card { padding: 22px; }

/* 5. Footer: exactly 4px thinner vertically than the previous pass. */
.site-footer {
    padding-top: 14px;
    padding-bottom: 14px;
}

/* 6. Services: pill-like Details indicator anchored at the lower-left. */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.service-details {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 8px 12px;
    border: 1px solid rgba(254,252,251,.1);
    border-radius: 999px;
    background: rgba(8,8,8,.56);
    color: #aebbc9;
    font: 9px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: inset 0 1px rgba(254,252,251,.035);
    transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.service-details b { color: var(--glow); font-size: 12px; line-height: 1; }
.service-card:hover .service-details {
    color: var(--paper);
    border-color: rgba(18,130,162,.5);
    background: rgba(18,130,162,.09);
    box-shadow: 0 0 18px rgba(18,130,162,.1);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .portfolio-grid .project-card,
    .portfolio-grid .project-feature {
        height: 270px;
        min-height: 270px;
    }
    .site-footer { padding-top: 12px; padding-bottom: 12px; }
}


/* ========================================================================
   FINAL POLISH — PORTFOLIO / PARTNERS
   ======================================================================== */
@media (min-width: 901px) {
    .portfolio-grid .project-card,
    .portfolio-grid .project-feature {
        height: 335px;
        min-height: 335px;
    }
}

.partner-top > span:last-child:empty { display: none; }


/* =========================================================================
   PORTFOLIO DETAIL PAGES
   ========================================================================= */
.portfolio-detail-page { background: var(--ink); min-height: 100vh; }
.portfolio-detail { padding-top: 150px; }
.portfolio-detail-head { max-width: 850px; margin: 0 auto 55px; }
.portfolio-detail-head h1 { margin: 20px 0 18px; font-size: clamp(44px, 6vw, 88px); line-height: .92; letter-spacing: -.065em; text-transform: uppercase; }
.portfolio-detail-head h1 em { color: var(--glow); font-style: normal; }
.portfolio-detail-copy { max-width: 650px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.portfolio-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.portfolio-detail-meta span { padding: 7px 10px; border: 1px solid rgba(254,252,251,.09); color: #8a9ba8; font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: rgba(254,252,251,.025); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1180px; margin: 0 auto; }
.video-card { position: relative; overflow: hidden; border: 1px solid rgba(254,252,251,.07); background: #080808; box-shadow: inset 0 1px rgba(254,252,251,.035); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 35%, rgba(18,130,162,.14), transparent 50%), #060606; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 28px; }
.video-placeholder-inner { max-width: 360px; }
.video-index { color: var(--glow); font: 10px var(--mono); letter-spacing: .12em; }
.video-placeholder h3 { margin: 11px 0 7px; color: var(--paper); font-size: 18px; letter-spacing: -.035em; }
.video-placeholder p { margin: 0; color: #778795; font-size: 11px; line-height: 1.6; }
.video-watch { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding: 8px 11px; border: 1px solid rgba(18,130,162,.35); color: var(--paper); text-decoration: none; font: 9px var(--mono); text-transform: uppercase; }
.video-watch b { color: var(--glow); font-size: 14px; }
.video-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 14px; border-top: 1px solid rgba(254,252,251,.06); }
.video-caption strong { color: var(--paper); font-size: 12px; }
.video-caption span { color: #657684; font: 8px var(--mono); letter-spacing: .08em; }
.portfolio-detail-footer { max-width: 1180px; margin: 42px auto 0; display: flex; justify-content: space-between; gap: 14px; }
@media (max-width: 760px) {
    .portfolio-detail { padding-top: 125px; }
    .video-grid { grid-template-columns: 1fr; }
    .portfolio-detail-head { margin-bottom: 38px; }
    .portfolio-detail-footer { flex-direction: column; }
}


/* ========================================================================
   PORTFOLIO DETAIL PAGES
   Page-specific styles live here so HTML files contain structure only.
   ======================================================================== */

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 24px;
            margin-top: 40px;
        }
        .video-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            text-decoration: none;
            display: flex;
            flex-direction: column;
        }
        .video-card:hover {
            transform: translateY(-5px);
            border-color: rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.06);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }
        .video-thumbnail-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            background: #111;
            overflow: hidden;
        }
        .video-thumbnail-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        .video-card:hover .video-thumbnail-wrapper img {
            transform: scale(1.05);
        }
        .play-icon-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            background: rgba(220, 20, 60, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.4);
            transition: transform 0.3s ease, background 0.3s ease;
        }
        .video-card:hover .play-icon-overlay {
            transform: translate(-50%, -50%) scale(1.1);
            background: #ff0033;
        }
        .play-icon-overlay svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
            margin-left: 2px;
        }
        .video-info {
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .video-title {
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .video-channel {
            color: #888;
            font-size: 0.85rem;
        }
    

        .pack-category {
            margin-bottom: 60px;
            max-width: 1180px;
            margin-left: auto;
            margin-right: auto;
        }
        .pack-category-title {
            color: var(--glow);
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 24px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(254,252,251,0.08);
            text-transform: uppercase;
            letter-spacing: 1px;
            text-shadow: 0 0 18px rgba(18,130,162,.22);
        }
        .pack-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px;
            justify-content: center;
        }
        .pack-card {
            position: relative;
            background: rgba(10, 10, 10, 0.6);
            border: 1px solid rgba(254, 252, 251, 0.08);
            border-radius: 14px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), border-color .35s, background .35s, box-shadow .45s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .pack-card:hover {
            transform: translateY(-7px);
            border-color: rgba(18, 130, 162, 0.6);
            background: rgba(15, 15, 15, 0.85);
            box-shadow: 0 18px 55px rgba(0,0,0,0.45), 0 0 42px rgba(18,130,162,0.18);
        }
        .pack-image-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            background: #060606;
            overflow: hidden;
            cursor: pointer;
        }
        .pack-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .pack-card:hover .pack-image-wrapper img {
            transform: scale(1.06);
        }
        .zoom-icon-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 45px;
            height: 45px;
            background: rgba(0, 0, 0, 0.75);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .pack-image-wrapper:hover .zoom-icon-overlay {
            opacity: 1;
        }
        .zoom-icon-overlay svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }
        .pack-info {
            padding: 18px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            flex-grow: 1;
            justify-content: space-between;
        }
        .pack-title {
            color: var(--paper);
            font-size: 1rem;
            font-weight: 600;
            text-transform: capitalize;
            letter-spacing: -0.02em;
        }
        /* styles.css içerisindeki button-primary sınıfına tam uyumlu mavi satın al butonu */
        .buy-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 10px 16px;
            border-radius: 999px;
            font: 10px var(--mono);
            letter-spacing: .06em;
            text-decoration: none;
            text-transform: uppercase;
            color: var(--paper);
            background: linear-gradient(135deg, rgba(18,130,162,.98), rgba(11,92,118,.92));
            border: 1px solid rgba(81,184,214,.5);
            box-shadow: 0 8px 20px rgba(0,0,0,.35), 0 0 15px rgba(18,130,162,.15);
            transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1), background .25s, box-shadow .3s;
        }
        .buy-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(0,0,0,.45), 0 0 22px rgba(18,130,162,0.3);
            background: linear-gradient(135deg, rgba(20,145,182,1), rgba(13,105,135,1));
        }

        /* Lightbox Modal */
        .lightbox-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.92);
            align-items: center;
            justify-content: center;
            padding: 20px;
            backdrop-filter: blur(8px);
        }
        .lightbox-modal.active {
            display: flex;
        }
        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.8);
            border: 1px solid rgba(254,252,251,0.1);
        }
        .lightbox-close {
            position: absolute;
            top: 25px;
            right: 35px;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            background: none;
            border: none;
        }

        @media (max-width: 900px) {
            .pack-grid {
                grid-template-columns: 1fr;
            }
            .pack-category {
                padding: 0 20px;
            }
        }
    
.portfolio-detail-footer--packs { max-width: 1180px; margin: 60px auto 0; }
.buy-button { text-decoration: none !important; }
@media (max-width: 900px) {
    .portfolio-detail-footer--packs { margin-top: 40px; }
}

/* =========================================================
   NE0CASTRO STUDIOS — SITE OWNERSHIP / CONTACT IMPRINT
   Website owner: Semih Uludağ
   Contact: neocastrofficial@gmail.com | info@neocastrostudios.com
   ========================================================= */

.site-footer .footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.site-footer .footer-legal::before {
    content: "Semih Uludağ";
    display: block;
    color: var(--paper);
    font: 10px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer .footer-legal::after {
    content: "neocastrofficial@gmail.com  ·  info@neocastrostudios.com";
    display: block;
    color: #788a99;
    font: 9px var(--mono);
    letter-spacing: .02em;
    line-height: 1.6;
    text-transform: none;
}

.site-footer .footer-legal a {
    display: none;
}

/* Keep the ownership imprint readable on smaller screens. */
@media (max-width: 900px) {
    .site-footer {
        grid-template-columns: 1fr auto;
    }

    .site-footer .footer-legal {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .site-footer .footer-logo {
        grid-column: 1;
        grid-row: 2;
    }

    .site-footer .social-links {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 520px) {
    .site-footer .footer-legal::after {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}
