/* 
  ╔════════════════════════════════════════════════════════════════════════════╗
  ║ EMO CLXN — PREMIUM DESIGN SYSTEM (STYLE.CSS)                              ║
  ║ Cyber-Sigilism, Steel Chrome & Electric Blue Aesthetics                    ║
  ╚════════════════════════════════════════════════════════════════════════════╝
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Syne:wght@700;800&family=Fira+Code:wght@400;500;600&family=Chakra+Petch:wght@400;500;600;700&family=UnifrakturMaguntia&family=Orbitron:wght@500;700;900&family=Pirata+One&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --- Theme Variables --- */
:root {
  /* Dark Mode (Default) Variables */
  --bg-primary: #060608;
  --bg-panel: rgba(12, 12, 16, 0.75);
  --bg-panel-solid: #0d0d11;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.25);
  --accent-cyan: #00f3ff;
  --accent-cyan-rgb: 0, 243, 255;
  --accent-blue: #0066ff;
  --accent-blue-rgb: 0, 102, 255;
  --text-main: #f3f4f6;
  --text-sub: rgba(243, 244, 246, 0.65);
  
  --glow-cyan: 0 0 15px rgba(0, 243, 255, 0.4);
  --glow-blue: 0 0 15px rgba(0, 102, 255, 0.4);
  --glow-chrome: 0 0 20px rgba(255, 255, 255, 0.15);
  --chrome-gradient: linear-gradient(135deg, #a1a1aa 0%, #ffffff 40%, #e4e4e7 60%, #71717a 100%);
  --accent-gradient: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  
  --scanline-opacity: 0.05;
  --noise-opacity: 0.02;
  --transition-speed: 0.4s;
  --card-height: 420px;

  /* Font Families System */
  --font-main: 'Outfit', sans-serif;
  --font-display: 'Chakra Petch', 'Syne', sans-serif;
  --font-code: 'JetBrains Mono', 'Fira Code', monospace;
  --font-gothic: 'Pirata One', 'UnifrakturMaguntia', serif;
}

/* Light Mode Variables override */
body.light-mode {
  --bg-primary: #f4f5f8;
  --bg-panel: rgba(255, 255, 255, 0.8);
  --bg-panel-solid: #ffffff;
  --border-color: rgba(0, 0, 0, 0.1);
  --border-hover: rgba(0, 0, 0, 0.3);
  --accent-cyan: #0077e6;
  --accent-cyan-rgb: 0, 119, 230;
  --accent-blue: #0044cc;
  --accent-blue-rgb: 0, 68, 204;
  --text-main: #111215;
  --text-sub: rgba(17, 18, 21, 0.65);
  
  --glow-cyan: 0 0 15px rgba(0, 119, 230, 0.2);
  --glow-blue: 0 0 15px rgba(0, 68, 204, 0.2);
  --glow-chrome: 0 0 12px rgba(0, 0, 0, 0.06);
  --chrome-gradient: linear-gradient(135deg, #1e1b1b 0%, #52525b 45%, #27272a 65%, #09090b 100%);
  --accent-gradient: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  
  --scanline-opacity: 0.01;
  --noise-opacity: 0.01;
}

/* --- Base & Reset Rules --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border-hover) transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Premium Background GIF Layer & Blending --- */
.gif-bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/emoshapes-ezgif.com-optimize.gif');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: -4;
  opacity: 0.16;
  pointer-events: none;
  transition: opacity var(--transition-speed) ease, filter var(--transition-speed) ease;
}

body.light-mode .gif-bg-layer {
  opacity: 0.06;
  filter: invert(1) brightness(1.2) contrast(1.1);
}

/* Dark vignette radial overlay on top of the GIF to make it look premium and readable */
.bg-overlay-vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(var(--bg-primary), 0.15) 0%, var(--bg-primary) 85%);
  z-index: -3;
  pointer-events: none;
  transition: background var(--transition-speed) ease;
}

/* Scanline and analog grain overlays on top of the GIF */
.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.2) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 998;
  opacity: var(--scanline-opacity);
  transition: opacity var(--transition-speed) ease;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 997;
  opacity: var(--noise-opacity);
}

/* Descending Cyber-Sword / Glowing line in the center of the background (aligned with GIF spikes) */
.sword-line-bg {
  position: fixed;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, 
    rgba(var(--accent-blue-rgb), 0) 0%, 
    rgba(var(--accent-blue-rgb), 0.15) 30%, 
    rgba(var(--accent-cyan-rgb), 0.15) 70%, 
    rgba(var(--accent-cyan-rgb), 0) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.sword-glow-bead {
  position: absolute;
  width: 6px;
  height: 120px;
  left: -2px;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0) 0%, 
    var(--accent-cyan) 50%, 
    var(--accent-blue) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 3px;
  box-shadow: 0 0 15px var(--accent-cyan), 0 0 30px var(--accent-blue);
  animation: swordDescend 8s infinite linear;
}

@keyframes swordDescend {
  0% { top: -150px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* Ambient Radial Glow */
.ambient-radial {
  position: fixed;
  width: 60vw;
  height: 60vw;
  top: 15%;
  left: 20%;
  background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.03) 0%, rgba(var(--accent-blue-rgb), 0.03) 50%, transparent 100%);
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

/* --- Typographical Styling & Headings --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
}

.chrome-text {
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #fff;
  text-shadow: var(--glow-chrome);
  position: relative;
  display: inline-block;
}

.chrome-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: transparent;
  text-shadow: 0 0 12px rgba(var(--accent-cyan-rgb), 0.5);
  -webkit-text-fill-color: initial;
}

.code-font {
  font-family: var(--font-code);
  font-size: 0.85em;
  letter-spacing: 0px;
}

/* --- Layout Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.glass-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.glass-panel:hover {
  border-color: var(--border-hover);
}

/* --- Futuristic Loading Screen (Feature 10: Progressbar Loader) --- */
.bootloader-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #030304;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

.bootloader-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-logo-wrapper {
  margin-bottom: 30px;
  position: relative;
}

.boot-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(var(--accent-cyan-rgb), 0.5));
  animation: logoPulse 2.5s infinite alternate ease-in-out;
}

@keyframes logoPulse {
  0% { transform: scale(0.96); filter: drop-shadow(0 0 5px rgba(var(--accent-cyan-rgb), 0.2)); }
  100% { transform: scale(1.04); filter: drop-shadow(0 0 20px rgba(var(--accent-blue-rgb), 0.7)); }
}

.bootloader-content {
  width: 320px;
  text-align: center;
}

.bootloader-text {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 12px;
}

.bootloader-progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.bootloader-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  box-shadow: 0 0 10px var(--accent-cyan);
  transition: width 0.1s linear;
}

.bootloader-percentage {
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 8px;
}

/* --- Premium Buttons & Intersections --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  z-index: 1;
}

.btn-primary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.15);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary:hover {
  border-color: transparent;
  box-shadow: var(--glow-cyan), var(--glow-blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

body.light-mode .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 40px;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 243, 255, 0.25);
  background: rgba(6, 6, 8, 0.55);
  transform: translateY(0);
  transition: background var(--transition-speed) ease, border var(--transition-speed) ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 15px rgba(0, 243, 255, 0.05);
}

header.nav-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

body.light-mode header {
  background: rgba(244, 245, 248, 0.55);
  border-bottom: 1px solid rgba(0, 102, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(var(--accent-cyan-rgb), 0.55));
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.brand-icon:hover {
  transform: scale(1.08) rotate(4deg);
}

.brand-text {
  font-family: var(--font-gothic);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 2px;
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.25);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-sub);
  text-transform: uppercase;
  transition: color 0.25s ease, text-shadow 0.25s ease;
  position: relative;
  padding: 6px 12px;
}

.nav-links a::before,
.nav-links a::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: monospace;
  font-size: 13px;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: bold;
}

.nav-links a::before {
  content: '[';
  left: -2px;
  transform: translate(6px, -50%);
}

.nav-links a::after {
  content: ']';
  right: -2px;
  transform: translate(-6px, -50%);
}

.nav-links a:hover {
  color: #fff;
  text-shadow: var(--glow-cyan);
}

.nav-links a:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.nav-links a:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}

/* Floating Actions Header Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Theme Switcher Button (Feature 5) */
.theme-toggle-btn {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  transform: scale(1.08) rotate(15deg);
}

/* --- Hero Section & Brand pulse --- */
.hero-section {
  min-height: 100vh;
  padding-top: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  z-index: 10;
}

.hero-wrapper {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-shield {
  position: relative;
  margin-bottom: 40px;
  cursor: pointer;
}

/* Liquid metal background aura for the logo */
.hero-shield::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.12) 0%, rgba(var(--accent-blue-rgb), 0.08) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(25px);
  animation: auraPulse 6s infinite alternate ease-in-out;
}

@keyframes auraPulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.hero-logo {
  width: 280px;
  height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.15)) drop-shadow(0 0 25px rgba(var(--accent-cyan-rgb), 0.3));
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.8s ease;
}

.hero-logo:hover {
  transform: scale(1.06) rotate(3deg);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.25)) drop-shadow(0 0 45px rgba(var(--accent-blue-rgb), 0.5));
}

.hero-meta {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 72px;
  letter-spacing: 8px;
  margin-bottom: 20px;
  animation: glitchText 5s infinite alternate steps(2);
}

@keyframes glitchText {
  0% { transform: skewX(0deg); }
  98% { transform: skewX(0deg); }
  99% { transform: skewX(-4deg) translateY(-2px); filter: hue-rotate(90deg); }
  100% { transform: skewX(4deg) translateY(1px); filter: hue-rotate(-90deg); }
}

.hero-desc {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* --- Stats Dashboard Section (Feature 4: Animated Counter) --- */
.stats-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
}

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

.stat-box {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.7;
}

.stat-number-wrapper {
  margin-bottom: 12px;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 52px;
  font-weight: 800;
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.stat-plus {
  font-size: 32px;
  color: var(--accent-blue);
  vertical-align: super;
  margin-left: 2px;
  text-shadow: var(--glow-blue);
}

.stat-lbl {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-sub);
  letter-spacing: 3px;
}

/* --- Faction cards search, filter & Carousel (Feature 1, 6) --- */
.cards-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

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

.section-subtitle {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: var(--accent-blue);
  text-shadow: var(--glow-blue);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.section-divider {
  width: 80px;
  height: 2px;
  background: var(--accent-gradient);
  margin: 0 auto;
}

/* Search Bar (Feature 6) */
.search-controls {
  max-width: 500px;
  margin: 0 auto 50px auto;
  position: relative;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-field {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background: rgba(20, 20, 26, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

body.light-mode .search-input-field {
  background: rgba(255, 255, 255, 0.5);
}

.search-input-field:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.15), inset 0 0 10px rgba(0, 243, 255, 0.05);
}

.search-icon-svg {
  position: absolute;
  left: 20px;
  width: 16px;
  height: 16px;
  fill: var(--text-sub);
  transition: fill 0.3s ease;
  pointer-events: none;
}

.search-input-field:focus + .search-icon-svg {
  fill: var(--accent-cyan);
}

.search-results-badge {
  position: absolute;
  right: 20px;
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: var(--accent-blue);
  pointer-events: none;
}

/* Carousel Styles (Feature 1) */
.carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  padding: 20px 0;
  margin: 0 -15px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide-item {
  min-width: 33.333%;
  padding: 0 15px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (max-width: 900px) {
  .carousel-slide-item {
    min-width: 50%;
  }
}

@media (max-width: 600px) {
  .carousel-slide-item {
    min-width: 100%;
  }
}

/* Faction Card Graphic styling */
.faction-card {
  height: var(--card-height);
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

/* Glow effects on hover */
.faction-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(var(--accent-cyan-rgb), 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.faction-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}

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

.faction-card.hidden {
  opacity: 0.15;
  pointer-events: none;
  transform: scale(0.95);
}

.card-num {
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-num::after {
  content: '';
  display: inline-block;
  width: 25px;
  height: 1px;
  background: var(--accent-cyan);
}

.card-body {
  margin-top: 30px;
  flex-grow: 1;
}

.card-title {
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-text {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.7;
}

.card-footer {
  margin-top: 30px;
}

/* Nav Arrows for Carousel */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 46px;
  height: 46px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 100;
  backdrop-filter: blur(6px);
}

.carousel-arrow:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--glow-blue);
  color: #fff;
  background: var(--accent-gradient);
}

.carousel-arrow.prev {
  left: -60px;
}

.carousel-arrow.next {
  right: -60px;
}

@media (max-width: 1120px) {
  .carousel-arrow.prev { left: 15px; }
  .carousel-arrow.next { right: 15px; }
}

/* Carousel Indicators dot track */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  transform: scale(1.2);
  width: 20px;
  border-radius: 4px;
}

/* --- Modal Window Detail Panel (Feature 2) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 4, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.modal-wrapper {
  background: var(--bg-panel-solid);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 550px;
  border-radius: 12px;
  padding: 40px;
  position: relative;
  transform: translateY(-40px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--glow-cyan);
}

.modal-overlay.active .modal-wrapper {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-size: 26px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--accent-blue);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 25px;
}

.modal-num {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.modal-title {
  font-size: 32px;
  letter-spacing: 2px;
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-body {
  margin-bottom: 35px;
}

.modal-description {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Feature tags inside Modal */
.modal-stats-list {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 20px;
}

.modal-stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12.5px;
}

.modal-stat-row:last-child {
  margin-bottom: 0;
}

.modal-stat-label {
  color: var(--text-sub);
  font-family: 'Fira Code', monospace;
}

.modal-stat-value {
  color: var(--accent-cyan);
  font-weight: 600;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

/* --- Emo shapes Gallery with Lightbox zoom (Feature 9) --- */
/* --- Domination and Reduxes Section (Ghetto Triumph & Resources) --- */
/* --- Domination Section (100% Biznes Triumph) --- */
.sotka-section {
  padding: 100px 0 50px 0;
  position: relative;
  z-index: 10;
}

.domination-full-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 50px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.domination-full-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 45px rgba(0, 243, 255, 0.08), var(--glow-cyan);
  transform: translateY(-3px);
}

.domination-badge {
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.domination-content-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 850px) {
  .domination-content-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.domination-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.domination-large-title {
  font-size: 38px;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.1;
}

.domination-large-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

.domination-right {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 850px) {
  .domination-right {
    justify-content: flex-start;
  }
}

.domination-date-display {
  background: rgba(0, 243, 255, 0.02);
  border: 1px dashed rgba(0, 243, 255, 0.25);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  transition: all 0.3s ease;
}

.domination-full-card:hover .domination-date-display {
  border-color: var(--accent-cyan);
  background: rgba(0, 243, 255, 0.04);
  box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.05);
}

.domination-date-label {
  font-size: 10px;
  color: var(--text-sub);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.domination-date-value {
  font-family: 'Fira Code', monospace;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
  letter-spacing: 1px;
}

.domination-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

@media (max-width: 600px) {
  .domination-stats-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 30px;
  }
}

.domination-stat-box {
  text-align: center;
}

.domination-stat-num {
  font-family: 'Fira Code', monospace;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.domination-stat-label {
  font-size: 9px;
  color: var(--text-sub);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* --- Official Redux Section (Emo Spring Redux) --- */
.redux-section {
  padding: 50px 0 100px 0;
  position: relative;
  z-index: 10;
}

.redux-showcase-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 900px) {
  .redux-showcase-card {
    grid-template-columns: 1fr;
  }
}

.redux-showcase-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 20px 45px rgba(0, 102, 255, 0.08), var(--glow-blue);
}

.redux-image-container {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .redux-image-container {
    min-height: 250px;
    height: 280px;
  }
}

.redux-preview-img {
  width: 100%;
  height: 100%;
  object-fit: fill; /* Stretches the image slightly vertically to fill space, showing 100% of the screenshot with zero black bars! */
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.redux-showcase-card:hover .redux-preview-img {
  transform: scale(1.02);
}

.redux-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(6, 6, 8, 0.4) 0%, transparent 30%, transparent 70%, rgba(6, 6, 8, 0.4) 100%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .redux-image-overlay {
    background: linear-gradient(to top, rgba(6, 6, 8, 0.4) 0%, transparent 100%);
  }
}

.redux-image-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  color: var(--accent-cyan);
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.redux-details {
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}

@media (max-width: 600px) {
  .redux-details {
    padding: 30px 20px;
    gap: 20px;
  }
}

.redux-header-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.redux-tech-badge {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
}

.redux-main-title {
  font-size: 30px;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.2;
}

.redux-main-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

.redux-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.redux-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.redux-feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: var(--glow-blue);
  margin-top: 6px;
  flex-shrink: 0;
}

.redux-feature-txt {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.4;
}

.redux-feature-txt strong {
  color: #fff;
}

.redux-action-wrap {
  margin-top: 10px;
}

.redux-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px !important;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.redux-download-btn:hover {
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.5), var(--glow-blue) !important;
}

/* Lightbox overlays (Feature 9) */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 4, 0.95);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.lightbox-content-wrapper {
  position: relative;
  max-width: 80%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-overlay.active .lightbox-img {
  opacity: 1;
  transform: scale(1);
}

.lightbox-caption-text {
  margin-top: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close-btn:hover {
  color: var(--accent-blue);
}

/* --- Socials & Contact Form (Feature 3, 7) --- */
.socials-section {
  padding: 100px 0 40px 0;
  position: relative;
  z-index: 10;
}

.contact-section {
  padding: 40px 0 140px 0;
  position: relative;
  z-index: 10;
}

.contact-card-panel {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.contact-card-panel::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(var(--accent-blue-rgb), 0.15);
  top: 8px;
  left: 8px;
  z-index: -1;
  border-radius: 12px;
  pointer-events: none;
}

.contact-form-title {
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-align: center;
}

.contact-form-subtitle {
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group.full-width {
  margin-bottom: 30px;
}

.input-label {
  display: block;
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.input-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 14px 18px;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.light-mode .input-control {
  background: rgba(0, 0, 0, 0.02);
}

.input-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.15), inset 0 0 10px rgba(0, 102, 255, 0.03);
}

.input-control:focus + .input-label {
  color: var(--accent-blue);
}

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

.form-actions {
  display: flex;
  justify-content: center;
}

.form-btn-submit {
  width: 100%;
  max-width: 280px;
}



/* --- Floating Notifications Stack Center (Feature 8) --- */
.notifications-stack-center {
  position: fixed;
  top: 90px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 340px;
  pointer-events: none;
}

.toast-message {
  background: rgba(13, 13, 17, 0.85);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 6px;
  padding: 16px 20px;
  color: var(--text-main);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(50px);
  opacity: 0;
  animation: toastIn 0.35s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.light-mode .toast-message {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

@keyframes toastIn {
  to { transform: translateX(0); opacity: 1; }
}

.toast-message.dismissing {
  transform: translateX(100px);
  opacity: 0;
}

.toast-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.toast-message.success .toast-indicator {
  background: #00ff66;
  box-shadow: 0 0 10px #00ff66;
}

.toast-message.error .toast-indicator {
  background: #ff3344;
  box-shadow: 0 0 10px #ff3344;
}

.toast-message.info .toast-indicator {
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.toast-body {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* --- Decorative Cyber Footer bottom page details --- */
footer.main-footer {
  padding: 60px 0 100px 0;
  border-top: 1px solid var(--border-color);
  background: rgba(4, 4, 6, 0.4);
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-nav-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  object-fit: contain;
  filter: grayscale(0.5);
  transition: all 0.3s ease;
}

.footer-nav-logo:hover {
  filter: grayscale(0) drop-shadow(0 0 8px var(--accent-cyan));
}

.footer-copy {
  font-family: 'Fira Code', monospace;
  font-size: 10px;
  color: var(--text-sub);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- High-tech Contact Social Cards Grid --- */
.contact-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.contact-social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px 30px;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
}

.contact-social-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.social-card-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.contact-social-card:hover .social-card-glow {
  opacity: 1;
}

/* Platform Accent Glows */
.card-tg .social-card-glow {
  background: radial-gradient(circle, rgba(38, 165, 219, 0.15) 0%, transparent 70%);
}
.card-discord .social-card-glow {
  background: radial-gradient(circle, rgba(88, 101, 242, 0.15) 0%, transparent 70%);
}
.card-yt .social-card-glow {
  background: radial-gradient(circle, rgba(255, 51, 68, 0.15) 0%, transparent 70%);
}
.card-email .social-card-glow {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

/* Platform Borders on Hover */
.card-tg:hover { border-color: rgba(38, 165, 219, 0.4); }
.card-discord:hover { border-color: rgba(88, 101, 242, 0.4); }
.card-yt:hover { border-color: rgba(255, 51, 68, 0.4); }
.card-email:hover { border-color: rgba(255, 255, 255, 0.25); }

/* Icons Styles */
.social-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-social-card:hover .social-card-icon {
  transform: scale(1.06);
}

.card-tg:hover .social-card-icon {
  border-color: rgba(38, 165, 219, 0.4);
  box-shadow: 0 0 20px rgba(38, 165, 219, 0.15);
}
.card-discord:hover .social-card-icon {
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.15);
}
.card-yt:hover .social-card-icon {
  border-color: rgba(255, 51, 68, 0.4);
  box-shadow: 0 0 20px rgba(255, 51, 68, 0.15);
}
.card-email:hover .social-card-icon {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.social-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-sub);
  transition: color 0.3s ease, filter 0.3s ease;
}

.card-tg:hover .social-card-icon svg { color: #26a5db; filter: drop-shadow(0 0 6px rgba(38, 165, 219, 0.5)); }
.card-discord:hover .social-card-icon svg { color: #5865f2; filter: drop-shadow(0 0 6px rgba(88, 101, 242, 0.5)); }
.card-yt:hover .social-card-icon svg { color: #ff3344; filter: drop-shadow(0 0 6px rgba(255, 51, 68, 0.5)); }
.card-email:hover .social-card-icon svg { color: var(--text-main); filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3)); }

/* Social Card Body Labels */
.social-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 25px;
}

.social-card-label {
  font-size: 9px;
  color: var(--text-sub);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Fira Code', monospace;
}

.social-card-handle {
  font-size: 13px;
  color: var(--text-main);
  font-family: 'Fira Code', monospace;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.card-tg:hover .social-card-handle { color: #26a5db; }
.card-discord:hover .social-card-handle { color: #5865f2; }
.card-yt:hover .social-card-handle { color: #ff3344; }

/* Control Arrows / Copy Buttons */
.social-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-social-card:hover .social-card-arrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
}

.social-card-arrow svg {
  width: 14px;
  height: 14px;
  color: var(--text-sub);
  transition: color 0.3s ease, transform 0.25s ease;
}

.contact-social-card:hover .social-card-arrow svg {
  color: var(--text-main);
  transform: translate(2px, -2px);
}

.social-card-copy svg {
  transform: none !important;
}

.contact-social-card:hover .social-card-copy svg {
  transform: scale(1.1) !important;
}

@media (max-width: 900px) {
  .contact-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .dev-credit-badge {
    display: none !important;
  }
}

/* Custom Cyber Ghetto Cursor styles */
@media (pointer: fine) {
  body, html, a, button, select, input, textarea, .contact-social-card, .domination-full-card, .redux-item, .redux-btn, .gallery-item-card, .nav-brand {
    cursor: none !important;
  }

  .custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: var(--glow-cyan);
    transition: width 0.15s ease, height 0.15s ease, background-color 0.15s ease;
  }

  .custom-cursor-circle {
    width: 28px;
    height: 28px;
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.15);
    transition: transform 0.06s cubic-bezier(0.25, 1, 0.5, 1), width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
  }

  /* Hover Active crosshair targets */
  body.cursor-active .custom-cursor-dot {
    width: 4px;
    height: 4px;
    background-color: var(--accent-blue);
    box-shadow: var(--glow-blue);
  }

  body.cursor-active .custom-cursor-circle {
    width: 38px;
    height: 38px;
    border-color: var(--accent-blue);
    border-style: dashed;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
  }
}

/* Embedded Symmetrical Coming Soon Page Iframe */
.sotka-soon-iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.05);
  transition: all 0.3s ease;
  display: block;
  pointer-events: none; /* Make cursor glide smoothly on top */
}

.sotka-soon-iframe:hover {
  box-shadow: 0 0 35px rgba(0, 243, 255, 0.18);
  transform: scale(1.01);
}

@media (max-width: 768px) {
  .sotka-soon-iframe {
    height: 300px;
  }
}
