/* ==========================================================================
   KINGZ OF GAMES - RECREATED LIGHT MODE DESIGN SYSTEM
   Theme: Luminous Pearl Canvas, Royal Purple & Imperial Gold (Logo Palette)
   Typography: Poppins exclusively (Weights: 300, 400, 500, 600, 700, 800, 900)
   Aesthetic: Minimalist, Luxury Gaming, Razor-Sharp Edges
   Responsiveness: Keypad Phones (200px) to 4K/8K Ultra-Displays (7680px)
   ========================================================================== */

/* Poppins Google Fonts Family Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,600;1,700&display=swap');

:root {
  /* LIGHT MODE CANVAS PALETTE */
  --bg-canvas: #ffffff;
  --bg-canvas-alt: #f9f6fc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f4eef9;
  --bg-surface-hover: #eee5f5;
  --bg-header: rgba(255, 255, 255, 0.95);

  /* LOGO ROYAL PURPLE ACCENTS */
  --purple-black: #1a0c28;
  --purple-deep: #2e1542;
  --purple-primary: #3d1b58;
  --purple-vivid: #592582;
  --purple-soft: #7a3ba8;
  --purple-tint: #f3ecf8;
  --purple-border: rgba(61, 27, 88, 0.12);
  --purple-glow: rgba(61, 27, 88, 0.08);

  /* LOGO IMPERIAL METALLIC GOLD (High-Contrast for Light Mode) */
  --gold-primary: #a87814;
  --gold-vivid: #c49122;
  --gold-light: #e0ab3b;
  --gold-pale: #fbf5e6;
  --gold-border: rgba(168, 120, 20, 0.32);
  --gold-border-strong: #a87814;
  --gold-gradient: linear-gradient(135deg, #c49122 0%, #996b10 100%);
  --gold-gradient-hover: linear-gradient(135deg, #d8a436 0%, #b07d16 100%);

  /* POPPINS TYPOGRAPHY SYSTEM */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* TEXT COLORS (Light Mode Contrast) */
  --text-heading: #1a0c28;
  --text-body: #453752;
  --text-muted: #736482;
  --text-light: #9486a2;
  --text-white: #ffffff;

  /* SHARP EDGES & BORDERS */
  --border-hairline: 1px solid var(--purple-border);
  --border-gold-hairline: 1px solid var(--gold-border);

  /* FLUID SIZING & SPACING */
  --container-max: 1360px;
  --container-pad: clamp(1rem, 4vw, 3rem);
  --section-spacing: clamp(3rem, 6.5vw, 6.5rem);

  /* TRANSITIONS */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & STRICT SHARP EDGES RULE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* STRICT SHARP EDGES AS REQUESTED */
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-canvas);
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-canvas);
  color: var(--text-body);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle pearl sheen background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 0%, rgba(92, 36, 130, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 90% 40%, rgba(196, 145, 34, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(61, 27, 88, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

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

button, input, textarea, select {
  font-family: var(--font-family);
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Accessibility & Keypad Navigation Focus Ring */
:focus-visible {
  outline: 2px solid var(--purple-primary) !important;
  outline-offset: 3px;
}

/* ==========================================================================
   POPPINS TYPOGRAPHY VARIATIONS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--text-heading);
  line-height: 1.2;
}

/* Bolder variations (Weights 800 & 900) */
h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Section Headings (Weight 700) */
h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Card & Component Headings (Weight 600 / 700) */
h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600;
}

/* Body & Subtitle (Weights 400 & 300) */
p {
  color: var(--text-body);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  font-weight: 400;
  line-height: 1.7;
}

.text-light {
  font-weight: 300;
  color: var(--text-muted);
}

.text-gold {
  color: var(--gold-primary);
}

.text-purple {
  color: var(--purple-primary);
}

/* Gold Gradient Text */
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 800;
}

/* Royal Purple Gradient Text */
.text-purple-gradient {
  background: linear-gradient(135deg, #1a0c28 0%, #4d1d72 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Sharp Kicker Badge */
.sharp-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--purple-tint);
  border: 1px solid var(--purple-border);
  border-left: 3px solid var(--gold-primary);
  color: var(--purple-primary);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ==========================================================================
   LAYOUT CONTAINERS & SECTIONS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  position: relative;
}

.section-alt {
  background-color: var(--bg-canvas-alt);
  border-top: var(--border-hairline);
  border-bottom: var(--border-hairline);
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  max-width: 820px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.text-center .sharp-badge {
  margin-bottom: 0.85rem;
}

.section-title {
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   SHARP BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-family);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

/* Primary Button: Royal Purple with Gold Accent */
.btn-primary {
  background: var(--purple-primary);
  color: var(--text-white);
  border: 1px solid var(--purple-deep);
  box-shadow: 0 4px 14px rgba(61, 27, 88, 0.2);
}

.btn-primary:hover {
  background: var(--purple-deep);
  border-color: var(--gold-primary);
  color: var(--gold-pale);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 27, 88, 0.3);
}

/* Gold Button: Imperial Metallic */
.btn-gold {
  background: var(--gold-gradient);
  color: var(--text-white);
  border: 1px solid var(--gold-vivid);
  box-shadow: 0 4px 15px rgba(168, 120, 20, 0.25);
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(168, 120, 20, 0.4);
}

/* Sharp Outline Button */
.btn-outline {
  background: transparent;
  color: var(--purple-primary);
  border: 1.5px solid var(--purple-primary);
}

.btn-outline:hover {
  background: var(--purple-primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* Sharp Outline White Button (For Hero & Dark Contexts) */
.btn-outline-white {
  background: rgba(13, 7, 22, 0.35);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--purple-primary);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Chamfered Diagonal Corner Cut */
.btn-chamfer {
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   NAVIGATION BAR (TRANSPARENT FROSTED GLASS DESIGN)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(61, 27, 88, 0.1);
  box-shadow: 0 4px 24px rgba(26, 12, 40, 0.04);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(200%);
  -webkit-backdrop-filter: blur(22px) saturate(200%);
  border-bottom: 1px solid rgba(168, 120, 20, 0.3);
  box-shadow: 0 10px 30px rgba(26, 12, 40, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(82px, 8.5vw, 94px);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  line-height: 0;
}

/* Bigger Header Logo Emblem */
.site-header .brand-logo-img {
  width: auto;
  height: clamp(56px, 6.5vw, 72px);
  max-height: 72px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(61, 27, 88, 0.22));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.site-header .brand:hover .brand-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 16px rgba(196, 145, 34, 0.45));
}

/* Footer Brand Logo */
.site-footer .brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition-fast);
}

.site-footer .brand:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--purple-primary);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-body);
  padding: 0.6rem 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--purple-primary);
}

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

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-top: 2px solid var(--purple-primary);
  box-shadow: 0 12px 30px rgba(61, 27, 88, 0.1);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid rgba(61, 27, 88, 0.05);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--bg-surface-elevated);
  color: var(--purple-primary);
  padding-left: 1.5rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  width: 32px;
  height: 24px;
  cursor: pointer;
  background: transparent;
  border: none;
  position: relative;
  z-index: 1100;
}

.mobile-toggle::before,
.mobile-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--purple-primary);
  transition: transform var(--transition-fast);
}

.mobile-toggle::before {
  top: 4px;
}

.mobile-toggle::after {
  bottom: 4px;
}

.mobile-toggle-line {
  position: absolute;
  top: 11px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--purple-primary);
  transition: opacity var(--transition-fast);
}

.mobile-toggle.active::before {
  top: 11px;
  transform: rotate(45deg);
}

.mobile-toggle.active .mobile-toggle-line {
  opacity: 0;
}

.mobile-toggle.active::after {
  bottom: 11px;
  transform: rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 2px solid var(--purple-primary);
  z-index: 1050;
  padding: 5.5rem 2rem 2.5rem;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(61, 27, 88, 0.12);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 12, 40, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--purple-border);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--purple-primary);
  border-bottom-color: var(--gold-primary);
}

.mobile-subnav {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mobile-subnav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
}

.mobile-subnav-link:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   HERO SECTION (VIVID HERO IMAGE AS OF CURRENT SITE)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(82vh - 80px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background-color: #0b0612;
  border-bottom: 2px solid var(--gold-primary);
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.1) brightness(0.95);
  opacity: 1 !important; /* VIVID IMAGE VISIBILITY AS ON CURRENT SITE */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(11, 6, 18, 0.45) 0%, rgba(11, 6, 18, 0.6) 45%, rgba(11, 6, 18, 0.8) 100%),
    radial-gradient(circle at 75% 35%, rgba(196, 145, 34, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.25rem;
  max-width: 720px;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

/* ==========================================================================
   FEATURED CATEGORY CARDS (EXACT MATCH TO USER SCREENSHOT)
   ========================================================================== */
.category-showcase-section {
  background: #08030e;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--purple-border);
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.category-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  min-height: 440px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #0d0716;
}

.category-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: contrast(1.1) brightness(0.9);
}

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(8, 3, 14, 0.3) 0%, rgba(8, 3, 14, 0.5) 50%, rgba(8, 3, 14, 0.78) 100%);
  transition: background 0.3s ease;
  z-index: 1;
}

.category-card-title {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.1;
  padding: 0 1.25rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 2px 5px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s ease, color 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-vivid);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(196, 145, 34, 0.3);
}

.category-card:hover .category-card-img {
  transform: scale(1.06);
  filter: contrast(1.15) brightness(1);
}

.category-card:hover .category-card-overlay {
  background: 
    linear-gradient(180deg, rgba(8, 3, 14, 0.15) 0%, rgba(61, 27, 88, 0.35) 50%, rgba(8, 3, 14, 0.7) 100%);
}

.category-card:hover .category-card-title {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .category-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .category-card {
    aspect-ratio: 16 / 10;
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .category-card {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }
  .category-card-title {
    font-size: 1.55rem;
  }
}

@media (max-width: 320px) {
  .category-card {
    min-height: 180px;
  }
  .category-card-title {
    font-size: 1.25rem;
  }
}
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--purple-primary);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
}

/* ==========================================================================
   SHARP CARDS WITH CORNER ACCENTS (LIGHT MODE)
   ========================================================================== */
.sharp-card {
  background: var(--bg-surface);
  border: 1px solid var(--purple-border);
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 18px rgba(61, 27, 88, 0.04);
}

/* Corner L-Brackets */
.sharp-card::before,
.sharp-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  transition: all var(--transition-fast);
}

.sharp-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold-primary);
  border-left: 2px solid var(--gold-primary);
}

.sharp-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
}

.sharp-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(61, 27, 88, 0.09);
}

.sharp-card:hover::before,
.sharp-card:hover::after {
  width: 22px;
  height: 22px;
  border-color: var(--purple-primary);
}

/* ==========================================================================
   FEATURE PILLARS GRID
   ========================================================================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.pillar-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--purple-border);
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(61, 27, 88, 0.04);
}

.pillar-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(61, 27, 88, 0.1);
}

.pillar-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-canvas-alt);
}

.pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-img {
  transform: scale(1.05);
}

.pillar-badge-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--purple-primary);
  color: var(--text-white);
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pillar-content {
  padding: clamp(1.25rem, 2vw, 1.85rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.45rem;
}

.pillar-title {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.pillar-desc {
  margin-bottom: 1.35rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1.5px solid transparent;
  align-self: flex-start;
  padding-bottom: 2px;
}

.pillar-link:hover {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
  gap: 0.75rem;
}

/* ==========================================================================
   ABOUT SPLIT SECTION
   ========================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-visual-box {
  position: relative;
  padding: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--purple-border);
  box-shadow: 0 10px 30px rgba(61, 27, 88, 0.06);
}

.about-visual-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 30px;
  height: 30px;
  border-top: 3px solid var(--gold-primary);
  border-left: 3px solid var(--gold-primary);
  pointer-events: none;
}

.about-visual-inner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(61, 27, 88, 0.1);
}

.about-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
}

.about-float-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--purple-primary);
  padding: 1.15rem;
  box-shadow: 0 8px 25px rgba(61, 27, 88, 0.12);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-float-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.about-float-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-primary);
}

.about-float-desc {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Clean Feature Checklist (No redundant spans!) */
.feature-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.feature-check-item {
  position: relative;
  padding: 1rem 1.25rem 1rem 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--purple-border);
  border-left: 3px solid var(--purple-primary);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-heading);
}

.feature-check-item::before {
  content: '◆';
  position: absolute;
  left: 1.15rem;
  top: 1rem;
  color: var(--gold-primary);
  font-size: 0.85rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--purple-border);
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--gold-border);
  background: var(--bg-surface-elevated);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  background: transparent;
  border: none;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--purple-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--purple-border);
  color: var(--purple-primary);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--purple-primary);
  color: var(--text-white);
  border-color: var(--purple-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   SHARP FORM STYLES
   ========================================================================== */
.form-sharp {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

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

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: var(--bg-surface);
  border: 1.5px solid var(--purple-border);
  color: var(--text-heading);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 400;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--purple-primary);
  box-shadow: 0 0 10px rgba(61, 27, 88, 0.1);
  background: var(--bg-surface);
}

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

.form-feedback {
  display: none;
  padding: 1.25rem;
  background: #f0fdf4;
  border: 1.5px solid #22c55e;
  color: #166534;
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 1rem;
}

.form-feedback.show {
  display: block;
}

/* ==========================================================================
   CONTACT DETAILS & SOCIAL STRIP
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin: 1.75rem 0;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.35rem 1.6rem;
  background: var(--bg-surface);
  border: 1px solid var(--purple-border);
  border-left: 3px solid var(--gold-primary);
  box-shadow: 0 4px 15px rgba(61, 27, 88, 0.03);
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  border-color: var(--purple-primary);
  transform: translateX(4px);
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-tint);
  border: 1px solid var(--purple-border);
  color: var(--purple-primary);
}

.contact-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--purple-primary);
  margin-bottom: 0.2rem;
}

.contact-card-value {
  color: var(--text-heading);
  font-size: 0.95rem;
}

.contact-card-sub {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* Social Strip */
.social-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--purple-border);
  color: var(--purple-primary);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(61, 27, 88, 0.2);
}

/* ==========================================================================
   FOOTER (DARK CINEMATIC ROYAL PURPLE-BLACK)
   ========================================================================== */
.site-footer {
  background: #11081a;
  color: #dcd3e6;
  border-top: 2px solid var(--gold-primary);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd875, #c49122, transparent);
}

.site-footer .brand-name {
  color: #ffffff;
}

.site-footer .brand-tagline {
  color: var(--gold-vivid);
}

.site-footer p {
  color: #b8acc7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2.5rem;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffd875;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
  position: relative;
  padding-bottom: 0.45rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: #c4b9d4;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-link:hover {
  color: #ffffff;
  font-weight: 500;
  transform: translateX(3px);
}

.footer-quick-box {
  background: #190c26 !important;
  border: 1px solid rgba(229, 193, 88, 0.25) !important;
  padding: 1rem;
  font-size: 0.78rem;
  color: #c4b9d4 !important;
  line-height: 1.8;
}

.footer-quick-box div {
  color: #c4b9d4 !important;
}

.site-footer .social-btn {
  background: #190c26;
  border: 1px solid rgba(229, 193, 88, 0.28);
  color: #ffd875;
}

.site-footer .social-btn:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #11081a;
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(196, 145, 34, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  font-weight: 400;
  color: #8f829e;
}

.footer-credit {
  font-size: 0.85rem;
  font-weight: 400;
  color: #8f829e;
}

.footer-credit-link {
  color: var(--gold-vivid);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast), text-decoration var(--transition-fast);
}

.footer-credit-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-tagline {
  font-size: 0.8rem;
  font-weight: 400;
  color: #8f829e;
}

/* ==========================================================================
   COOKIE BANNER (SHARP LIGHT OVERLAY)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 440px;
  background: var(--bg-surface);
  border: 1.5px solid var(--gold-primary);
  border-top: 4px solid var(--purple-primary);
  box-shadow: 0 15px 40px rgba(61, 27, 88, 0.15);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-primary);
  margin-bottom: 0.4rem;
}

.cookie-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 1.15rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* ==========================================================================
   KEYPAD SHORTCUT STATUS BAR (KEYPAD DEVICES)
   ========================================================================== */
.keypad-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--purple-primary);
  border-top: 2px solid var(--gold-primary);
  padding: 0.35rem 0.5rem;
  z-index: 999;
  font-size: 0.7rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-white);
}

.keypad-shortcuts {
  display: flex;
  justify-content: space-around;
  gap: 0.25rem;
  overflow-x: auto;
  white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Keypad to 8K)
   ========================================================================== */

/* 4K & 8K Ultra-Displays (3840px+) */
@media (min-width: 3840px) {
  :root {
    --container-max: 2600px;
    font-size: 24px;
  }
}

/* 2K & Quad HD (2560px - 3839px) */
@media (min-width: 2560px) and (max-width: 3839px) {
  :root {
    --container-max: 2100px;
    font-size: 19px;
  }
}

/* Desktop & Laptops (1025px - 1440px) */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablets (769px - 1024px) */
@media (max-width: 1024px) {
  .nav-menu, .header-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Screens (481px - 768px) */
@media (max-width: 768px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

/* Small Smart Phones (321px - 480px) */
@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
  }
  .nav-container {
    height: 68px;
  }
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .about-float-badge {
    position: static;
    margin-top: 1rem;
  }
}

/* Smallest Screens Ever & Keypad Phones (<= 320px & <= 240px) */
@media (max-width: 320px) {
  :root {
    font-size: 14px;
    --container-pad: 0.65rem;
  }

  body {
    padding-bottom: 35px;
  }

  .keypad-bar {
    display: block;
  }

  .nav-container {
    height: 56px;
  }

  .brand-logo-img {
    width: 30px;
    height: 30px;
  }

  .brand-tagline {
    display: none;
  }

  .hero-section {
    padding: 2rem 0;
    min-height: auto;
  }

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

  .btn {
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
    width: 100%;
  }

  .hero-stats-bar {
    padding: 1rem;
  }

  .pillar-img-wrap {
    aspect-ratio: 4 / 3;
  }

  .pillar-content {
    padding: 1rem;
  }

  .sharp-card {
    padding: 1rem;
  }

  .contact-info-card {
    padding: 0.85rem;
    flex-direction: column;
  }

  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 35px;
    padding: 1rem;
  }
}

@media (max-width: 240px) {
  :root {
    font-size: 13px;
    --container-pad: 0.4rem;
  }

  .hero-stats-bar {
    display: none;
  }

  .sharp-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
  }

  .pillar-badge-num {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.15rem 0.35rem;
  }
}
