/* =====================================================
   ÇAKA MEDYA — style.css
   Premium Dark Theme — Crimson / Black Palette
   ===================================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background-color: #030303; color: #fff; font-family: 'Syne', sans-serif; cursor: none; }
::selection { background: #ed0000; color: #fff; }
:focus-visible { outline: 2px solid #ed0000; outline-offset: 3px; }

/* ── CSS Variables ── */
:root {
  --crimson:       #ed0000;
  --crimson-dark:  #a50000;
  --crimson-glow:  rgba(237,0,0,0.35);
  --pitch-950:     #030303;
  --pitch-900:     #0a0a0a;
  --pitch-800:     #111111;
  --pitch-700:     #1a1a1a;
  --pitch-600:     #222222;
  --pitch-500:     #2e2e2e;
  --discord:       #5865f2;
  --discord-dark:  #4752c4;
  --glass-bg:      rgba(255,255,255,0.03);
  --glass-border:  rgba(255,255,255,0.07);
  --glass-bg-dark: rgba(0,0,0,0.5);
  --transition:    cubic-bezier(0.4, 0, 0.2, 1);
  --bounce:        cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =====================================================
   CUSTOM CURSOR
   ===================================================== */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--crimson);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
  mix-blend-mode: normal;
}
.cursor-follower {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1px solid rgba(237,0,0,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--transition), width 0.3s var(--bounce), height 0.3s var(--bounce), border-color 0.3s;
}
.cursor-follower.hovering {
  width: 56px; height: 56px;
  border-color: var(--crimson);
  background: rgba(237,0,0,0.06);
}
.cursor-follower.clicking {
  width: 20px; height: 20px;
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-follower { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* =====================================================
   LOADING SCREEN
   ===================================================== */
.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--pitch-950);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--transition), visibility 0.8s;
}
.loader-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo { letter-spacing: 0.3em; }
.loader-bar-track {
  width: 240px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  margin: 24px auto 12px;
  overflow: hidden;
}
.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--crimson-dark), var(--crimson));
  border-radius: 999px;
  transition: width 0.1s linear;
  position: relative;
}
.loader-bar::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 40px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
  border-radius: 999px;
}
.loader-percent { font-family: 'Space Mono', monospace; }

/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--crimson-dark), var(--crimson), #ff5c5c);
  z-index: 9997;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--crimson-glow);
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  backdrop-filter: blur(0px);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  backdrop-filter: blur(24px);
  background: rgba(3,3,3,0.85);
  border-bottom-color: var(--glass-border);
}
.navbar-logo { font-family: 'Bebas Neue', cursive; letter-spacing: 0.2em; }
.nav-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--crimson);
  transition: width 0.3s var(--transition);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

/* Mobile menu */
.hamburger-line {
  display: block;
  height: 1.5px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  width: 22px;
}
.mobile-menu {
  background: rgba(10,10,10,0.98);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
}
.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid var(--pitch-700);
  transition: color 0.3s, padding-left 0.3s;
}
.mobile-nav-link:hover { color: #fff; padding-left: 8px; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--crimson);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid var(--crimson);
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s var(--bounce);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  background: #c80000;
  box-shadow: 0 0 30px rgba(237,0,0,0.5), 0 8px 24px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: border-color 0.3s, background 0.3s, transform 0.2s var(--bounce);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #5865f2;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid #5865f2;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s var(--bounce);
}
.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 0 30px rgba(88,101,242,0.5);
  transform: translateY(-2px);
}

.btn-lg { padding: 14px 36px; font-size: 0.85rem; }

/* =====================================================
   GLASSMORPHISM CARDS
   ===================================================== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.glass-card-dark {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(30px);
}

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* Staggered delays via data-delay */
[data-delay="0"]  { transition-delay: 0ms; }
[data-delay="100"]{ transition-delay: 100ms; }
[data-delay="200"]{ transition-delay: 200ms; }
[data-delay="300"]{ transition-delay: 300ms; }
[data-delay="400"]{ transition-delay: 400ms; }
[data-delay="500"]{ transition-delay: 500ms; }

/* =====================================================
   SECTION COMMON
   ===================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid rgba(237,0,0,0.25);
  border-radius: 999px;
  background: rgba(237,0,0,0.06);
}
.section-title { font-family: 'Bebas Neue', cursive; line-height: 0.9; }
.section-subtitle { max-width: 500px; line-height: 1.7; }

/* =====================================================
   HERO
   ===================================================== */
.hero-section { background: var(--pitch-950); }

/* Grid background */
.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}
.hero-glow {
  background: radial-gradient(ellipse 60% 50% at 50% 50%,
    rgba(237,0,0,0.12) 0%,
    rgba(237,0,0,0.04) 40%,
    transparent 70%);
}

/* Scanline */
.scanline-overlay {
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
}

/* Corner accents */
.corner-accent {
  position: absolute;
  width: 120px; height: 120px;
  pointer-events: none;
}
.corner-accent.top-left {
  top: 80px; left: 24px;
  border-top: 1px solid rgba(237,0,0,0.3);
  border-left: 1px solid rgba(237,0,0,0.3);
}
.corner-accent.bottom-right {
  bottom: 80px; right: 24px;
  border-bottom: 1px solid rgba(237,0,0,0.3);
  border-right: 1px solid rgba(237,0,0,0.3);
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(237,0,0,0.08) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(237,0,0,0.06) 0%, transparent 70%);
  top: 30%; right: -100px;
  animation-delay: -2s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(237,80,0,0.05) 0%, transparent 70%);
  bottom: 10%; left: 20%;
  animation-delay: -4s;
}
@keyframes float {
  0%,100% { transform: translateY(0px) scale(1); }
  50%      { transform: translateY(-20px) scale(1.02); }
}

/* Hero title */
.hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(80px, 18vw, 200px);
  line-height: 0.88;
  letter-spacing: 0.05em;
}
.hero-line-1 {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-line-2 {
  text-shadow: 0 0 60px rgba(237,0,0,0.4);
}

/* Stats */
.stat-item { min-width: 80px; }
.stat-number {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* Scroll indicator */
.scroll-mouse {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 999px;
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Hero tag */
.hero-tag {
  border: 1px solid rgba(237,0,0,0.2);
  border-radius: 999px;
  padding: 8px 20px;
  background: rgba(237,0,0,0.05);
  backdrop-filter: blur(10px);
}

/* =====================================================
   MARQUEE
   ===================================================== */
.marquee-band {
  background: var(--pitch-900);
  position: relative;
  z-index: 5;
}
.marquee-track { display: inline-block; }
.marquee-item {
  display: inline-block;
  font-family: 'Bebas Neue', cursive;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.2);
  padding: 0 24px;
  transition: color 0.3s;
}
.marquee-item:hover { color: rgba(255,255,255,0.6); }
.marquee-dot {
  display: inline-block;
  color: var(--crimson);
  font-size: 0.7rem;
  padding: 0 4px;
}

/* =====================================================
   SERVICES
   ===================================================== */
.section-bg-deco {
  background: radial-gradient(ellipse 50% 50% at 100% 50%, rgba(237,0,0,0.05), transparent);
  pointer-events: none;
}
.services-grid { }

.service-card {
  position: relative;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--bounce), box-shadow 0.4s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(237,0,0,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  border-color: rgba(237,0,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(237,0,0,0.1);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }
.service-card:hover .service-icon { color: var(--crimson); }

.service-card-featured {
  background: linear-gradient(135deg, rgba(237,0,0,0.08) 0%, rgba(0,0,0,0.2) 100%);
  border-color: rgba(237,0,0,0.2);
}
.service-card-featured:hover { border-color: rgba(237,0,0,0.5); }

.service-card-inner { padding: 32px; position: relative; z-index: 1; }

.service-icon-wrap {
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s, background 0.3s;
}
.service-card:hover .service-icon-wrap {
  border-color: rgba(237,0,0,0.3);
  background: rgba(237,0,0,0.08);
}
.service-icon {
  width: 28px; height: 28px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.service-card-number {
  position: absolute;
  top: 24px; right: 24px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  opacity: 0.4;
}
.service-title {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 0.05em;
  line-height: 1;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
}
.service-card:hover .service-title { color: #fff; }
.service-desc { line-height: 1.7; }
.service-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}
.service-tag-red {
  border-color: rgba(237,0,0,0.3);
  color: rgba(237,0,0,0.7);
}
.service-arrow {
  position: absolute;
  bottom: 24px; right: 24px;
  color: var(--crimson);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

/* =====================================================
   PORTFOLIO
   ===================================================== */
.portfolio-filters { }
.filter-btn {
  padding: 8px 20px;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  color: rgba(255,255,255,0.4);
  background: transparent;
  transition: all 0.3s;
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--crimson);
  color: var(--crimson);
  background: rgba(237,0,0,0.08);
}

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

.portfolio-thumb-wrap { border-radius: 10px; overflow: hidden; }
.portfolio-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
}
/* Placeholder gradient thumbs */
.portfolio-thumb-1 { background: linear-gradient(135deg, #1a0000 0%, #3a0505 50%, #200000 100%); }
.portfolio-thumb-2 { background: linear-gradient(135deg, #0d0d1a 0%, #1a1a35 50%, #0d0d20 100%); }
.portfolio-thumb-3 { background: linear-gradient(135deg, #001a0d 0%, #003318 50%, #001a0a 100%); }
.portfolio-thumb-4 { background: linear-gradient(135deg, #1a1200 0%, #332200 50%, #1a1200 100%); }
.portfolio-thumb-5 { background: linear-gradient(135deg, #1a001a 0%, #330033 50%, #1a001a 100%); }
.portfolio-thumb-6 { background: linear-gradient(135deg, #001a1a 0%, #003333 50%, #001a1a 100%); }

/* Add fake "screenshot" pattern to thumbs */
.portfolio-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.01) 40px,
    rgba(255,255,255,0.01) 80px
  );
}
/* fake play icon / content indicator */
.portfolio-thumb::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--bounce);
}
.portfolio-thumb:hover::after {
  border-color: var(--crimson);
  background: rgba(237,0,0,0.15);
  transform: translate(-50%, -50%) scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s;
}
.portfolio-thumb:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 6px;
}
.portfolio-title {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 0.05em;
  color: #fff;
}
.portfolio-desc-short { margin-top: 6px; }
.portfolio-modal-btn {
  margin-top: 12px;
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: letter-spacing 0.3s;
}
.portfolio-modal-btn:hover { letter-spacing: 0.2em; }
.portfolio-meta {
  padding: 16px 0 0;
  border-top: 1px solid var(--pitch-700);
  margin-top: 0;
}
.portfolio-meta-cat { display: block; }

/* Modal */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.portfolio-modal.hidden { display: none; }
.portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}
.portfolio-modal-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
  padding: 48px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.4s var(--bounce);
}
@keyframes modalIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-close-btn {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.modal-close-btn:hover { border-color: var(--crimson); color: var(--crimson); }

/* =====================================================
   ORDER FORM
   ===================================================== */
.order-bg-deco {
  background:
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(237,0,0,0.06), transparent),
    radial-gradient(ellipse 40% 40% at 100% 80%, rgba(237,0,0,0.04), transparent);
}
.order-form-wrap { }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.form-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: #fff;
  padding: 14px 18px;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.2); }
.form-input:focus {
  outline: none;
  border-color: rgba(237,0,0,0.5);
  box-shadow: 0 0 0 3px rgba(237,0,0,0.08);
  background: rgba(255,255,255,0.05);
}
.form-input.error { border-color: rgba(237,0,0,0.6); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}
.form-select option { background: #111; color: #fff; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-error {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: #ff5c5c;
  display: none;
}
.form-error.visible { display: block; }

/* Budget options */
.budget-option { position: relative; }
.budget-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.budget-label {
  display: block;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
}
.budget-option input:checked + .budget-label {
  border-color: var(--crimson);
  background: rgba(237,0,0,0.1);
  color: var(--crimson);
}
.budget-label:hover { border-color: rgba(237,0,0,0.3); color: rgba(255,255,255,0.8); }

/* File upload */
.file-drop-zone {
  border: 1.5px dashed rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.file-drop-zone:hover, .file-drop-zone.drag-over {
  border-color: rgba(237,0,0,0.4);
  background: rgba(237,0,0,0.04);
}
.file-list {
  text-align: left;
  padding: 12px 0 0;
}
.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  margin-bottom: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
}
.file-remove {
  background: none;
  border: none;
  color: rgba(237,0,0,0.6);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 2px;
  transition: color 0.3s;
}
.file-remove:hover { color: var(--crimson); }

/* Form success */
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 8px;
}
.form-success.visible { display: flex; }

/* =====================================================
   DISCORD SECTION
   ===================================================== */
.discord-section { background: var(--pitch-950); }
.discord-bg {
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(88,101,242,0.04), transparent),
    radial-gradient(ellipse 30% 40% at 80% 20%, rgba(237,0,0,0.03), transparent);
}
.discord-icon-wrap {
  width: 80px; height: 80px;
  background: rgba(88,101,242,0.12);
  border: 1px solid rgba(88,101,242,0.25);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  color: #5865f2;
}
.text-discord-blurple { color: #7289da; }

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.benefit-icon { font-size: 1.1rem; flex-shrink: 0; }

/* Discord Server Card Mock */
.discord-server-card {
  background: #1e2124;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.server-banner {
  height: 100px;
  background: linear-gradient(135deg, #3a0000 0%, #1a0000 50%, #200d0d 100%);
  position: relative;
}
.server-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(237,0,0,0.04) 20px, rgba(237,0,0,0.04) 40px
  );
}
.server-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--crimson);
  border: 4px solid #1e2124;
  display: flex; align-items: center; justify-content: center;
  margin-top: -36px;
  margin-left: 20px;
  position: relative;
  z-index: 1;
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 0.1em;
}
.server-card-body { padding: 12px 20px 24px; }
.server-stat { }
.channel-item {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  cursor: default;
  transition: background 0.2s, color 0.2s;
}
.channel-item:hover { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.7); }
.channel-hash {
  font-weight: bold;
  color: rgba(255,255,255,0.2);
  margin-right: 6px;
  font-size: 1rem;
}
.channel-voice { color: rgba(255,255,255,0.25); }
.server-join-btn {
  display: block;
  padding: 12px;
  background: #5865f2;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  text-align: center;
  transition: background 0.3s;
}
.server-join-btn:hover { background: #4752c4; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonial-card {
  transition: transform 0.4s var(--bounce), box-shadow 0.4s, border-color 0.4s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-color: rgba(237,0,0,0.15);
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.author-avatar-1 { background: linear-gradient(135deg, #8b0000, #cc0000); color: #fff; }
.author-avatar-2 { background: linear-gradient(135deg, #1a1a8b, #3333cc); color: #fff; }
.author-avatar-3 { background: linear-gradient(135deg, #1a4d1a, #33cc33); color: #fff; }
.author-avatar-4 { background: linear-gradient(135deg, #8b4d00, #cc7700); color: #fff; }
.author-avatar-5 { background: linear-gradient(135deg, #4d1a4d, #9933cc); color: #fff; }
.author-avatar-6 { background: linear-gradient(135deg, #004d4d, #009999); color: #fff; }

/* =====================================================
   CONTACT CARDS
   ===================================================== */
.contact-card {
  transition: transform 0.4s var(--bounce), border-color 0.3s;
  display: block;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(237,0,0,0.3);
}
.contact-card-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: border-color 0.3s, color 0.3s;
}
.contact-card:hover .contact-card-icon {
  border-color: rgba(237,0,0,0.3);
  color: var(--crimson);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem;
  letter-spacing: 0.2em;
  display: inline-block;
  transition: opacity 0.3s;
}
.footer-logo:hover { opacity: 0.8; }
.footer-heading { }
.footer-link {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s, padding-left 0.3s;
}
.footer-link:hover { color: rgba(255,255,255,0.9); padding-left: 4px; }
.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.social-link:hover {
  border-color: rgba(237,0,0,0.4);
  color: var(--crimson);
  background: rgba(237,0,0,0.06);
}
.social-link-discord:hover {
  border-color: rgba(88,101,242,0.4);
  color: #5865f2;
  background: rgba(88,101,242,0.06);
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(237,0,0,0.3);
  background: rgba(237,0,0,0.1);
  color: var(--crimson);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s, background 0.3s;
  backdrop-filter: blur(10px);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: rgba(237,0,0,0.25); }

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--pitch-950); }
::-webkit-scrollbar-thumb { background: rgba(237,0,0,0.4); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--crimson); }

/* =====================================================
   UTILITIES & RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(70px, 22vw, 120px); }
  .section-title { font-size: 3.5rem !important; }
  .portfolio-modal-content { padding: 32px 24px; }
  .corner-accent { display: none; }
  .btn-lg { padding: 14px 24px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 72px; }
  .section-title { font-size: 3rem !important; }
  .budget-options { grid-template-columns: 1fr 1fr; }
}

/* Focus trap for modals */
.portfolio-modal:not(.hidden) { display: flex; }

/* Hide form error spans by default, shown via .visible */
.form-error { display: none; }
.form-error.visible { display: block; }
.form-success { display: none; }
.form-success.visible { display: flex; }