/* =============================================
   ARIZONA — Arizona City
   Global CSS Design System
   ============================================= */

/* ==============================================
   DISCORD LOGIN GATE
   ============================================== */

.discord-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gate-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(88,101,242,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(220,38,38,0.2) 0%, transparent 60%),
    #080810;
  z-index: 0;
}

.gate-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.gate-particle {
  position: absolute;
  border-radius: 50%;
  animation: gateFloat var(--dur, 8s) var(--delay, 0s) ease-in-out infinite alternate;
  opacity: 0.6;
}

@keyframes gateFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0.4; }
  100% { transform: translateY(-40px) scale(1.3); opacity: 0.9; }
}

.gate-card {
  position: relative;
  z-index: 10;
  background: rgba(20, 20, 35, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 28px;
  padding: 3rem 3.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(88,101,242,0.1),
    0 32px 80px rgba(0,0,0,0.6),
    0 0 120px rgba(88,101,242,0.15);
  animation: gateCardIn 0.7s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes gateCardIn {
  from { opacity: 0; transform: translateY(40px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.gate-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(88,101,242,0.5);
  box-shadow: 0 0 30px rgba(88,101,242,0.4);
  animation: gatePulse 3s ease-in-out infinite;
}

@keyframes gatePulse {
  0%, 100% { box-shadow: 0 0 30px rgba(88,101,242,0.4); }
  50%       { box-shadow: 0 0 50px rgba(88,101,242,0.7); }
}

.gate-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(88,101,242,0.15);
  border: 1px solid rgba(88,101,242,0.35);
  color: #a5b4fc;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.gate-title {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.gate-title span {
  background: linear-gradient(135deg, #5865F2, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gate-desc {
  color: #a0a0c0;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #5865F2;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(88,101,242,0.5);
  font-family: 'Outfit', sans-serif;
}

.btn-discord svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(88,101,242,0.6);
}

.btn-discord:active {
  transform: translateY(0);
}

.gate-footer {
  margin-top: 1.75rem;
  font-size: 0.8rem;
  color: #555570;
  letter-spacing: 0.03em;
}

/* Site content wrapper */
.site-content {
  display: block;
}

/* ==============================================
   NAV USER INFO
   ============================================== */

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(88,101,242,0.12);
  border: 1px solid rgba(88,101,242,0.3);
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  border-radius: 999px;
}

.nav-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(88,101,242,0.5);
}

.nav-username {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c7d2fe;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-logout {
  font-size: 0.75rem;
  color: #f87171;
  text-decoration: none;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background: rgba(220,38,38,0.1);
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-logout:hover {
  background: rgba(220,38,38,0.25);
}

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

:root {
  --purple: #DC2626;
  --purple-light: #F87171;
  --purple-dark: #991B1B;
  --cyan: #B91C1C;
  --cyan-light: #FCA5A5;
  --amber: #F59E0B;
  --red: #EF4444;
  --green: #10B981;
  --bg: #0A0A0A;
  --bg2: #111111;
  --bg3: #161616;
  --card: #1A1A1A;
  --card2: #222222;
  --border: rgba(220, 38, 38, 0.25);
  --border2: rgba(255,255,255,0.07);
  --text: #F5F5F5;
  --text2: #A8A8A8;
  --text3: #6B6B6B;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 32px rgba(220,38,38,0.18);
  --shadow-lg: 0 8px 64px rgba(220,38,38,0.28);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* =============================================
   UTILITIES
   ============================================= */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, #F87171, #DC2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(139,92,246,0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   NAVBAR
   ============================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(139,92,246,0.5);
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--purple-light);
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(220,38,38,0.5);
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  color: var(--text2);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(139,92,246,0.12);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, #DC2626, #991B1B);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 4px 20px rgba(220,38,38,0.4);
  flex-shrink: 0;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(220,38,38,0.55);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 5%;
  background: rgba(10,10,15,0.97);
  border-top: 1px solid var(--border2);
}

.mobile-menu.open { display: flex; }

.mob-link {
  text-decoration: none;
  color: var(--text2);
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.mob-link:hover {
  color: var(--text);
  background: rgba(139,92,246,0.1);
}

.mob-cta {
  margin-top: 8px;
  text-align: center;
}

/* =============================================
   NAVBAR DROPDOWN
   ============================================= */

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15, 15, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  list-style: none;
  padding: 8px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  text-align: center;
}

.dropdown-item:hover {
  background: rgba(220,38,38,0.1);
  color: var(--purple-light);
}

/* Mobile Sublinks */
.mob-sublinks {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.02);
  border-left: 2px solid var(--purple-light);
  margin: 4px 16px;
  border-radius: 0 8px 8px 0;
  overflow: hidden;
}

.mob-sublink {
  text-decoration: none;
  color: var(--text2);
  font-size: 0.9rem;
  padding: 10px 16px;
  transition: color 0.2s, background 0.2s;
}

.mob-sublink:hover {
  color: var(--text);
  background: rgba(139,92,246,0.1);
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 5% 80px;
  gap: 60px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(220,38,38,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 30% 70%, rgba(153,27,27,0.1) 0%, transparent 70%),
    linear-gradient(180deg, #0A0A0A 0%, #111111 100%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--purple-light);
  opacity: 0;
  animation: floatParticle var(--dur, 6s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes floatParticle {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  20%  { opacity: 0.6; }
  80%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-120px) scale(0.5); }
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(220,38,38,0.12);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--green); }
  50% { box-shadow: 0 0 16px var(--green), 0 0 24px rgba(16,185,129,0.5); }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s 0.1s ease both;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInDown 0.8s 0.2s ease both;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 56px;
  animation: fadeInDown 0.8s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: linear-gradient(135deg, #DC2626, #991B1B);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 30px rgba(220,38,38,0.45);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(220,38,38,0.55);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border2);
  color: var(--text);
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-ghost:hover {
  background: rgba(139,92,246,0.12);
  border-color: var(--border);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
  animation: fadeInDown 0.8s 0.4s ease both;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 20px 28px;
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, #F87171, #DC2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border2);
  flex-shrink: 0;
}

/* HERO VISUAL / PHONE MOCKUP */

.hero-visual {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s 0.3s ease both;
}

/* LOGO SHOWCASE */
.logo-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 380px;
  height: 380px;
}

.hero-logo-img {
  width: 320px;
  height: 320px;
  object-fit: contain;
  position: relative;
  z-index: 3;
  animation: logoBob 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(220,38,38,0.55)) drop-shadow(0 0 80px rgba(220,38,38,0.25));
}

@keyframes logoBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.03); }
}

.logo-glow-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1.5px solid rgba(220,38,38,0.3);
  animation: ringPulse 3s ease-in-out infinite;
  z-index: 1;
}

.logo-glow-ring.ring2 {
  width: 400px;
  height: 400px;
  border-color: rgba(220,38,38,0.15);
  animation: ringPulse 3s ease-in-out infinite 1s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.06); opacity: 1; }
}


.phone-mockup {
  position: relative;
  width: 260px;
}

.phone-frame {
  background: linear-gradient(145deg, #2A1A1A, #1A0E0E);
  border-radius: 40px;
  border: 1.5px solid rgba(220,38,38,0.35);
  padding: 16px;
  box-shadow:
    0 0 0 6px rgba(220,38,38,0.07),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(220,38,38,0.2);
  animation: phoneBob 4s ease-in-out infinite;
}

@keyframes phoneBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(-2deg); }
}

.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  padding: 16px;
  min-height: 380px;
  overflow: hidden;
}

.app-ui { display: flex; flex-direction: column; gap: 14px; }

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}

.app-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: transparent;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-avatar-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.app-title-block { flex: 1; display: flex; flex-direction: column; gap: 5px; }

.app-line {
  height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
}
.app-line.short { width: 60%; }
.app-line.xshort { width: 40%; }
.app-line.medium { width: 80%; }

.app-badge-pill {
  padding: 3px 8px;
  background: rgba(16,185,129,0.2);
  border: 1px solid rgba(16,185,129,0.4);
  border-radius: 100px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  animation: pulse-pill 2s infinite;
}

@keyframes pulse-pill {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.app-card-list { display: flex; flex-direction: column; gap: 8px; }

.app-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  animation: slideInCard 0.5s ease both;
}

.app-card.ac1 { animation-delay: 0.5s; }
.app-card.ac2 { animation-delay: 0.7s; }
.app-card.ac3 { animation-delay: 0.9s; }

@keyframes slideInCard {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.app-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.app-card-info { flex: 1; display: flex; flex-direction: column; gap: 5px; }

.app-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.app-check.active {
  background: rgba(16,185,129,0.2);
  color: var(--green);
  border: 1px solid rgba(16,185,129,0.4);
}

.app-check.pending {
  background: rgba(245,158,11,0.2);
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.4);
}

.app-progress-section { padding: 4px 0; }

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
  margin: 6px 0;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #991B1B, #EF4444);
  border-radius: 100px;
  animation: fillProgress 2s 1s ease both;
}

@keyframes fillProgress {
  to { width: 83%; }
}

.progress-label {
  font-size: 0.6rem;
  color: var(--text3);
  text-align: right;
}

.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 60px;
  background: #DC2626;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
}

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text3);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeInDown 1s 1s ease both;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text3);
  border-bottom: 2px solid var(--text3);
  transform: rotate(45deg);
  animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #DC2626, transparent);
}

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

.about-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  animation: fadeInUp 0.6s var(--delay) ease both;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #991B1B, #EF4444);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.about-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.65;
}

/* =============================================
   PERKS / TIERS
   ============================================= */

.perks {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}

.tiers-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.tier-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 36px 30px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.tier-card.featured {
  border-color: #DC2626;
  background: linear-gradient(145deg, #1F0808, #111111);
  box-shadow: 0 8px 48px rgba(220,38,38,0.28);
  transform: scale(1.04);
}

.tier-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
}

.featured-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #DC2626, #7F1D1D);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 0 20px 0 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tier-badge {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.tier-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.tier-tag {
  font-size: 0.8rem;
  color: var(--purple-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.tier-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.tier-perks li {
  font-size: 0.9rem;
  color: var(--text2);
}

.btn-tier {
  display: block;
  text-align: center;
  padding: 13px;
  background: rgba(139,92,246,0.12);
  border: 1px solid var(--border);
  color: var(--purple-light);
  text-decoration: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}

.btn-tier:hover {
  background: rgba(139,92,246,0.25);
  transform: translateY(-2px);
}

.btn-tier-featured {
  background: linear-gradient(135deg, #DC2626, #991B1B);
  border: none;
  color: white;
  box-shadow: 0 6px 24px rgba(220,38,38,0.4);
}

.btn-tier-featured:hover {
  background: linear-gradient(135deg, #991B1B, #7F1D1D);
  box-shadow: 0 10px 32px rgba(220,38,38,0.5);
}

/* =============================================
   APPLY SECTION
   ============================================= */

.apply-section {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}

.apply-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 50%, rgba(220,38,38,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.apply-info .section-tag,
.apply-info .section-title,
.apply-info .section-desc {
  text-align: left;
}

.apply-info .section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); }

.apply-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(220,38,38,0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--purple-light);
  font-family: 'Space Grotesk', sans-serif;
  flex-shrink: 0;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.step-text strong {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
}

.step-text span {
  font-size: 0.85rem;
  color: var(--text2);
}

/* FORM */

.apply-form-wrap {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Section label divider inside form */
.form-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 0 4px;
  border-bottom: 1px solid var(--border2);
  margin-bottom: 4px;
  margin-top: 8px;
}

/* Required star */
.req-star {
  color: #F87171;
  font-size: 0.9rem;
}

/* Label hint text */
.label-hint {
  font-size: 0.75rem;
  color: var(--text3);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}


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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

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

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select-wrap select option {
  background: #1C1C32;
  color: var(--text);
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text3);
  pointer-events: none;
}

.field-err {
  font-size: 0.78rem;
  color: var(--red);
  display: none;
}

.field-err.visible { display: block; }

.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--purple);
  cursor: pointer;
}

.form-check label {
  font-size: 0.85rem;
  color: var(--text2);
  cursor: pointer;
}

.link-inline {
  color: var(--purple-light);
  text-decoration: underline;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(135deg, #DC2626, #991B1B);
  border: none;
  border-radius: 100px;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 6px 28px rgba(220,38,38,0.4);
}

.btn-submit svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(220,38,38,0.5);
}

.btn-submit:hover svg { transform: translateX(4px); }

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit.loading .btn-submit-text::after {
  content: '…';
}

/* SUCCESS CARD */

.success-card {
  text-align: center;
  padding: 60px 20px;
  animation: scaleIn 0.5s ease;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
  animation: bounceIn 0.6s ease;
}

.success-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.success-card p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 28px;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes bounceIn {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* =============================================
   FAQ SECTION
   ============================================= */

.faq-section {
  padding: 100px 0;
  background: var(--bg);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  transition: color var(--transition);
}

.faq-q:hover { color: var(--purple-light); }

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text3);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--purple-light);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a p {
  padding: 0 24px 22px;
  font-size: 0.93rem;
  color: var(--text2);
  line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border2);
  padding: 60px 0 30px;
}

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

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text3);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text3);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-links-col a:hover { color: var(--purple-light); }

.footer-bottom {
  border-top: 1px solid var(--border2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text3);
}

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-wrap { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .tier-card.featured { transform: scale(1); }
  .apply-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 100px 5% 60px; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .apply-form-wrap { padding: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { flex-direction: column; padding: 16px; }
  .stat-divider { width: 80%; height: 1px; }
}


/* Language Switcher */
.lang-switcher { margin-left: 1rem; }
.lang-select { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; padding: 0.5rem; border-radius: 6px; font-family: inherit; font-size: 0.9rem; cursor: pointer; outline: none; }
.lang-select option { background: #111; color: #fff; }
body.rtl { direction: rtl; text-align: right; }
body.rtl .nav-links { margin-right: auto; margin-left: 0; }

/* 3D GLITCH PRELOADER */
#glitch-preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.glitch-container {
  position: relative;
}

.glitch-logo {
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  position: relative;
  color: #fff;
  letter-spacing: 5px;
  text-shadow: 0 0 20px rgba(239,68,68,0.5);
}

.glitch-logo::before,
.glitch-logo::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
}

.glitch-logo::before {
  left: 3px;
  text-shadow: -2px 0 #ef4444;
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch-logo::after {
  left: -3px;
  text-shadow: -2px 0 #3b82f6;
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip-path: inset(20% 0 80% 0); transform: translate(-2px, 1px); }
  20% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -1px); }
  40% { clip-path: inset(40% 0 50% 0); transform: translate(-2px, 2px); }
  60% { clip-path: inset(80% 0 5% 0); transform: translate(2px, -2px); }
  80% { clip-path: inset(10% 0 70% 0); transform: translate(-1px, 1px); }
  100% { clip-path: inset(30% 0 50% 0); transform: translate(1px, -1px); }
}
@keyframes glitch-anim-2 {
  0% { clip-path: inset(10% 0 60% 0); transform: translate(2px, 1px); }
  20% { clip-path: inset(30% 0 20% 0); transform: translate(-2px, -2px); }
  40% { clip-path: inset(70% 0 10% 0); transform: translate(2px, 2px); }
  60% { clip-path: inset(20% 0 50% 0); transform: translate(-2px, -1px); }
  80% { clip-path: inset(50% 0 30% 0); transform: translate(1px, 1px); }
  100% { clip-path: inset(80% 0 5% 0); transform: translate(-1px, -2px); }
}

.scanlines {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 10;
}

@keyframes pulseLogo {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(239,68,68,0.5)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 30px rgba(239,68,68,1)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(239,68,68,0.5)); }
}



/* ==============================================
   NEW APPLY SECTION DESIGN
   ============================================== */
.requirements-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
}
.requirements-box h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
}
.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.req-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #ccc;
}
.req-list li svg {
  width: 20px;
  height: 20px;
}

.form-card {
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.form-card .form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.form-card input, .form-card select, .form-card textarea {
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 500;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  border-color: var(--red) !important;
}
.form-submit-btn {
  width: 100%;
  border-radius: 30px !important;
  padding: 15px !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  justify-content: center !important;
  margin-top: 20px !important;
  text-transform: uppercase;
}

.apply-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 992px) {
  .apply-content {
    grid-template-columns: 1fr;
  }
}
.form-card select option {
  background: #111 !important;
  color: #fff !important;
  padding: 10px;
}

/* ==============================================
   NEW STAFF SECTION DESIGN
   ============================================== */
.staff-card {
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.staff-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
  transform: translateY(-5px);
}
.staff-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.staff-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.staff-card:hover .staff-img img {
  transform: scale(1.05);
}
.staff-info {
  padding: 25px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.staff-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.staff-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 15px;
}
.staff-info p {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.5;
}

/* ==============================================
   GALLERY SECTION
   ============================================== */
.gallery-section {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}
.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}
.gallery-header .badge {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.gallery-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #fff;
}
.gallery-title span {
  color: var(--red);
}
.gallery-desc {
  color: #aaa;
  margin-top: 10px;
  font-size: 1.1rem;
}

.gallery-layout {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}
.gallery-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 2;
}
.gallery-right {
  flex: 1;
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-card:hover img {
  transform: scale(1.05);
}
.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  pointer-events: none;
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 2;
}
.gallery-overlay h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 1px;
}

.gallery-welcome {
  height: 400px;
}
.gallery-welcome .gallery-overlay {
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.4);
}
.gallery-welcome img {
  object-fit: contain;
  background: #0a0a0a;
}
.gallery-welcome h3 {
  font-size: 2.5rem;
  margin-top: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.gallery-welcome p {
  color: #fff;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 700;
  margin-top: 5px;
}

.gallery-row {
  display: flex;
  gap: 20px;
}
.gallery-job {
  height: 220px;
  flex: 1;
}

.gallery-tall {
  height: 640px;
}

@media (max-width: 992px) {
  .gallery-layout {
    flex-direction: column;
  }
  .gallery-tall {
    height: 300px;
  }
}
@media (max-width: 768px) {
  .gallery-row {
    flex-direction: column;
  }
}
