/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #0a0e17;
  --bg-card: rgba(15, 20, 35, 0.8);
  --bg-card-hover: rgba(20, 30, 50, 0.9);
  --text: #e0e8f0;
  --text-muted: #7a8ea5;
  --primary: #00ff88;
  --primary-hover: #00cc6a;
  --accent: #ff2d78;
  --accent-glow: rgba(255, 45, 120, 0.4);
  --secondary: #ff8c00;
  --secondary-glow: rgba(255, 140, 0, 0.4);
  --border: #1a2d4a;
  --shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 255, 136, 0.15);
  --glow: 0 0 30px rgba(0, 255, 136, 0.2);
  --radius: 12px;
  --transition: 0.3s ease;
}

body {
  background: var(--bg);
  color: #c8f8d8;
  font-family: 'Rajdhani', 'Exo 2', 'Segoe UI', system-ui, -apple-system, sans-serif;
  
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 1px 3px rgba(0, 0, 0, 0.9);
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
  opacity: 0;
  animation: pageLoad 0.4s ease forwards;
  overflow-x: hidden;
  font-weight: 500;
}

/* === Star field background === */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 30% 70%, rgba(0,212,255,0.3), transparent),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 70% 50%, rgba(123,47,255,0.3), transparent),
    radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 15% 90%, rgba(0,212,255,0.2), transparent),
    radial-gradient(1px 1px at 85% 30%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 45% 45%, rgba(123,47,255,0.2), transparent),
    radial-gradient(1.5px 1.5px at 25% 55%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 65% 15%, rgba(0,212,255,0.4), transparent),
    radial-gradient(1px 1px at 5% 60%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1.5px 1.5px at 75% 85%, rgba(123,47,255,0.4), transparent),
    radial-gradient(1px 1px at 95% 40%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 35% 95%, rgba(0,212,255,0.3), transparent),
    radial-gradient(1px 1px at 55% 35%, rgba(255,255,255,0.2), transparent);
  pointer-events: none;
  z-index: 0;
}

/* === Hero background images === */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

body.hero-home,
body.hero-about,
body.hero-tips,
body.hero-heroes,
body.hero-contact,
body.hero-discord {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.hero-home::after,
body.hero-about::after,
body.hero-tips::after,
body.hero-heroes::after,
body.hero-contact::after,
body.hero-discord::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 10, 20, 0.75);
  pointer-events: none;
  z-index: 0;
}

body.hero-home {
  background-image: url('https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?w=1920&q=80');
}

body.hero-about {
  background-image: url('https://images.unsplash.com/photo-1507400492013-162706c8c05e?w=1920&q=80');
}

body.hero-tips {
  background-image: url('https://images.unsplash.com/photo-1519681393784-d120267933ba?w=1920&q=80');
}

body.hero-heroes {
  background-image: url('https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?w=1920&q=80');
}

body.hero-contact {
  background-image: url('https://images.unsplash.com/photo-1506443432602-ac2626046f5c?w=1920&q=80');
}

body.hero-discord {
  background-image: url('https://images.unsplash.com/photo-1534796636912-3b95b3ab5986?w=1920&q=80');
}

body > * {
  position: relative;
  z-index: 1;
}

@keyframes pageLoad {
  to { opacity: 1; }
}

/* === Selection color === */
::selection {
  background: var(--accent);
  color: white;
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* === Navigation === */
nav {
  background: rgba(5, 10, 20, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 255, 136, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition);
}

nav.scrolled {
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.08), 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(0, 255, 136, 0.25);
}

h1, h2, h3, .hero h1, .brand, .section-title h2, .stat-card .number, .category-title {
  font-family: 'Orbitron', 'Rajdhani', 'Segoe UI', sans-serif;
}

nav .brand {
  color: #00ff88;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  padding: 1rem 0;
  letter-spacing: 3px;
  text-transform: uppercase;
  
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0, 255, 136, 0.5), 0 2px 4px rgba(0, 0, 0, 0.9);
  transition: all var(--transition);
}

nav .brand:hover {
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.7), 0 0 60px rgba(0, 212, 255, 0.3);
  color: #fff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

nav ul li a {
  color: #90e0a8;
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: all var(--transition);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  position: relative;
  
  text-shadow: 0 2px 6px rgba(0,0,0,0.9), 0 1px 3px rgba(0, 0, 0, 0.9);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--primary);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 60%;
}

nav ul li a:hover,
nav ul li a.active {
  color: #00ff88;
  background: rgba(0, 255, 136, 0.12);
  
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 15px rgba(0, 255, 136, 0.5), 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* === Dark mode toggle === */
.dark-toggle {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.2);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
  margin-left: 0.5rem;
}

.dark-toggle:hover {
  background: rgba(0, 255, 136, 0.2);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  transform: scale(1.1);
}

/* === Scroll to top === */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 99;
  box-shadow: 0 0 20px rgba(123, 47, 255, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 0 30px rgba(123, 47, 255, 0.5), 0 0 60px rgba(255, 45, 120, 0.2);
}

/* === Main content === */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 5rem 1rem 3rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, rgba(123, 47, 255, 0.03) 40%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 6px;
  background: linear-gradient(135deg, #00ff88, #ffffff, #ff2d78, #00ff88);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 6s ease infinite;
  filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.6)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.9)) ;
  margin-bottom: 0.5rem;
  text-shadow: none;
}

@keyframes gradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero .subtitle {
  font-size: 1.1rem;
  color: #00ff88;
  margin-bottom: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0, 255, 136, 0.6), 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero .tagline {
  font-size: 1.15rem;
  color: #a0e8b8;
  font-style: italic;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero .game-link {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.hero .game-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--glow);
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: #050a14;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background: linear-gradient(135deg, #ff2d78, #cc1460);
  color: white;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ff5599, #ff2d78);
  box-shadow: 0 0 30px var(--accent-glow), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

/* === Stats === */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.stat-card {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.15);
  transform: translateY(-3px);
}

.stat-card .number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #00ff88, #ff2d78);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.stat-card .label {
  font-size: 0.8rem;
  color: #90e0a8;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.3rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* === Cards === */
.card {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transition: height var(--transition);
  box-shadow: 0 0 10px var(--primary);
}

.card:hover::before {
  height: 100%;
}

.card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.08);
  transform: translateY(-2px);
}

.card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: #00ff88;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-text-stroke: 0.3px rgba(255, 255, 255, 0.25);
  text-shadow: 0 2px 6px rgba(0,0,0,0.9), 0 0 15px rgba(0, 255, 136, 0.4);
}

.card p {
  color: #b0f0c8;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* === Estates === */
.estates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.estate-card {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.estate-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.estate-card:hover::after {
  opacity: 1;
}

.estate-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.15);
  transform: translateY(-3px);
}

.estate-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  transition: transform var(--transition);
}

.estate-card:hover .icon {
  transform: scale(1.15);
}

.estate-card .name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00ff88;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  -webkit-text-stroke: 0.3px rgba(255, 255, 255, 0.25);
  text-shadow: 0 2px 6px rgba(0,0,0,0.9), 0 0 12px rgba(0, 255, 136, 0.4);
}

.estate-card p {
  font-size: 0.9rem;
  color: #b0f0c8;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* === Members Grid === */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.member-card {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.member-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 25px var(--accent-glow);
  transform: translateY(-3px);
}

.member-card .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.member-card:hover .avatar {
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--accent-glow), 0 0 50px rgba(0, 255, 136, 0.2);
}

.member-card .name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.member-card .specialty {
  color: #a855f7;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

/* === Rules === */
.rules-list {
  list-style: none;
  margin-top: 1rem;
  counter-reset: rule;
}

.rules-list li {
  counter-increment: rule;
  padding: 0.75rem 0 0.75rem 2.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}

.rules-list li:hover {
  padding-left: 3rem;
  color: var(--text);
}

.rules-list li::before {
  content: counter(rule);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 1.8rem;
  height: 1.8rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.rules-list li:hover::before {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  transform: scale(1.1);
}

.rules-list li:last-child {
  border-bottom: none;
}

/* === Build Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gallery-card {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.gallery-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.15);
  transform: translateY(-3px);
}

.gallery-card .placeholder {
  height: 160px;
  background: linear-gradient(135deg, var(--bg-card-hover), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform var(--transition);
}

.gallery-card:hover .placeholder {
  transform: scale(1.05);
}

.gallery-card .info {
  padding: 1rem;
}

.gallery-card .info h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.gallery-card .info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === Form === */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a0e8b8;
  transition: color var(--transition);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.form-group:focus-within label {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(10, 22, 40, 0.8);
  color: var(--text);
  transition: all var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1), 0 0 20px rgba(0, 255, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .error-msg {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: var(--secondary);
  animation: shake 0.4s ease;
}

.form-group.has-error .error-msg {
  display: block;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* === Success message === */
.success-msg {
  background: rgba(0, 255, 136, 0.08);
  color: var(--primary);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: none;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.5s ease;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

/* === Section titles === */
.section-title {
  text-align: center;
  margin: 3rem 0 1.5rem;
}

.section-title h2 {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ffffff;
  
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0, 255, 136, 0.3), 0 2px 6px rgba(0, 0, 0, 0.9);
}

.section-title .divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
  transition: width var(--transition);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.section-title:hover .divider {
  width: 120px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* === Channel categories === */
.channel-category {
  margin-bottom: 2rem;
}

.category-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #00ff88;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  margin-bottom: 0.75rem;
  
  text-shadow: 0 2px 6px rgba(0,0,0,0.9), 0 0 15px rgba(0, 255, 136, 0.4);
}

/* === Channel cards === */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.channel-card {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.channel-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.channel-card .channel-name {
  color: #00ff88;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  
  text-shadow: 0 2px 6px rgba(0,0,0,0.9), 0 0 12px rgba(0, 255, 136, 0.4);
}

.channel-card .channel-desc {
  font-size: 0.85rem;
  color: #a0e8b8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* === Discord hero === */
.discord-hero {
  text-align: center;
  padding: 5rem 1rem 3rem;
  position: relative;
}

.discord-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.discord-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  background: #5865F2;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
}

.discord-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  display: block;
}

/* === FAQ === */
.faq-item {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.08);
}

.faq-item h3 {
  color: #00ff88;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  
  text-shadow: 0 2px 6px rgba(0,0,0,0.9), 0 0 12px rgba(0, 255, 136, 0.3);
}

.faq-item p {
  color: #b0f0c8;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* === Status badge === */
.status-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0, 255, 136, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 255, 136, 0.2);
}

/* === Footer === */
footer {
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  color: #5090b0;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

footer a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition);
}

footer a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

/* === Scroll reveal animation === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Hero animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1,
.hero .subtitle,
.hero .tagline,
.hero .btn {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.hero .subtitle { animation-delay: 0.1s; }
.hero .tagline { animation-delay: 0.2s; }
.hero .btn { animation-delay: 0.3s; }
.hero .game-link { animation: fadeInUp 0.6s ease 0.1s forwards; opacity: 0; }

/* === Particle Background === */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 8s infinite ease-in-out;
  box-shadow: 0 0 6px var(--primary);
}

@keyframes float-particle {
  0% { opacity: 0; transform: translateY(100px) scale(0); }
  20% { opacity: 0.8; }
  80% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-200px) scale(1); }
}

/* === Typing Animation === */
.typing-text {
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid var(--primary);
  white-space: nowrap;
  animation: typing 3s steps(40) forwards, blink-caret 0.75s step-end infinite;
  max-width: 100%;
}

@keyframes typing {
  from { max-width: 0; }
  to { max-width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--primary); }
}

/* === Floating Icon Animation === */
.float-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* === Glow Pulse === */
.glow-pulse {
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 136, 0.2); }
  50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.3), 0 0 50px rgba(123, 47, 255, 0.1); }
}

/* === Gradient Border Animation === */
.gradient-border {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* === 3D Card Tilt === */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card .card-inner {
  transition: transform 0.1s ease;
}

/* === Counter Animation === */
.counter {
  display: inline-block;
}

/* === Shimmer Effect === */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.05), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* === Stagger Animation === */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-item.visible {
  animation: stagger-in 0.5s ease forwards;
}

@keyframes stagger-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Scan line effect (subtle) === */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

/* === Members Table === */
.members-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.members-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.members-table thead {
  background: rgba(0, 255, 136, 0.08);
}

.members-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #00ff88;
  border-bottom: 2px solid rgba(0, 255, 136, 0.2);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.members-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #c8f8d8;
  font-size: 0.95rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  transition: background 0.2s;
}

.members-table tbody tr:hover td {
  background: rgba(0, 255, 136, 0.04);
}

.members-table tbody tr {
  animation: fadeInUp 0.4s ease forwards;
  opacity: 0;
}

.members-table td:first-child {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: #ff2d78;
  font-size: 0.85rem;
}

.members-table td:nth-child(2) {
  font-weight: 700;
  color: #ffffff;
}

.members-table td:nth-child(3) {
  color: #a0e8b8;
}

.members-table td:nth-child(4) {
  color: #7a8ea5;
  font-size: 0.85rem;
}

.no-members-msg {
  text-align: center;
  padding: 2rem;
  color: #7a8ea5;
  font-style: italic;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  border: 1px dashed rgba(0, 255, 136, 0.15);
  border-radius: var(--radius);
}

.new-member-flash {
  animation: member-flash 1s ease;
}

@keyframes member-flash {
  0% { background: rgba(0, 255, 136, 0.2); }
  100% { background: transparent; }
}

/* === Responsive === */
@media (max-width: 768px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .estates-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: 3px;
  }

  nav ul {
    gap: 0.25rem;
  }

  nav ul li a {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 3rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .scroll-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}


/* === Glitch Effect === */
.glitch {
  position: relative;
  animation: glitch-skew 4s infinite linear alternate-reverse;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #ff2d78;
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}
.glitch::after {
  left: -2px;
  text-shadow: -2px 0 #00ff88;
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim 2s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
  0% { clip: rect(42px, 9999px, 44px, 0); }
  5% { clip: rect(12px, 9999px, 59px, 0); }
  10% { clip: rect(48px, 9999px, 29px, 0); }
  15% { clip: rect(42px, 9999px, 73px, 0); }
  20% { clip: rect(63px, 9999px, 27px, 0); }
  25% { clip: rect(34px, 9999px, 55px, 0); }
  30% { clip: rect(86px, 9999px, 73px, 0); }
  35% { clip: rect(20px, 9999px, 20px, 0); }
  40% { clip: rect(26px, 9999px, 60px, 0); }
  45% { clip: rect(25px, 9999px, 66px, 0); }
  50% { clip: rect(57px, 9999px, 98px, 0); }
  55% { clip: rect(5px, 9999px, 46px, 0); }
  60% { clip: rect(82px, 9999px, 31px, 0); }
  65% { clip: rect(54px, 9999px, 27px, 0); }
  70% { clip: rect(28px, 9999px, 99px, 0); }
  75% { clip: rect(45px, 9999px, 69px, 0); }
  80% { clip: rect(23px, 9999px, 85px, 0); }
  85% { clip: rect(54px, 9999px, 84px, 0); }
  90% { clip: rect(45px, 9999px, 47px, 0); }
  95% { clip: rect(37px, 9999px, 20px, 0); }
  100% { clip: rect(4px, 9999px, 91px, 0); }
}
@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  2% { transform: skew(2deg); }
  4% { transform: skew(0deg); }
  50% { transform: skew(0deg); }
  52% { transform: skew(-1deg); }
  54% { transform: skew(0deg); }
  100% { transform: skew(0deg); }
}

/* === Matrix Rain === */
#matrix-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.06;
}

/* === Sparkle Cursor === */
.sparkle {
  position: fixed; width: 6px; height: 6px;
  border-radius: 50%; pointer-events: none; z-index: 9999;
  animation: sparkle-fade 0.6s ease forwards;
}
@keyframes sparkle-fade {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0) translateY(-20px); opacity: 0; }
}

/* ===================== NEW GAMING EFFECTS ===================== */

/* === Neon Flicker on Hero Title === */
@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow:
      0 0 4px #00ff88,
      0 0 11px #00ff88,
      0 0 19px #00ff88,
      0 0 40px #00ff88,
      0 0 80px #00ff88;
  }
  20%, 24%, 55% {
    text-shadow: none;
  }
}

.hero h1 {
  animation: gradientText 6s ease infinite, neon-flicker 4s infinite alternate;
}

/* === Cyber Grid Background === */
cyber-grid {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  animation: grid-scroll 20s linear infinite;
}

@keyframes grid-scroll {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* === Ripple Effect on Buttons === */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* === Pulse Ring on Cards === */
.card::after,
.stat-card::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.15), transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  pointer-events: none;
  z-index: 0;
}

.card:hover::after,
.stat-card:hover::after {
  width: 300px;
  height: 300px;
}

/* === Animated Section Loading Bars === */
.section-title .loading-bar {
  width: 100%;
  height: 2px;
  background: var(--border);
  margin-top: 1rem;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.section-title .loading-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  animation: loading-slide 2s ease-in-out infinite;
}

@keyframes loading-slide {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* === Glow Trail on Card Hover === */
.glow-trail {
  position: relative;
  overflow: hidden;
}

.glow-trail::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 255, 136, 0.1) 60deg, transparent 120deg);
  animation: glow-rotate 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: -1;
}

.glow-trail:hover::before {
  opacity: 1;
}

@keyframes glow-rotate {
  to { transform: rotate(360deg); }
}

/* === Scan Lines Overlay === */
.scan-lines::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.03),
    rgba(0, 0, 0, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 9998;
}

/* === Magnetic Button Effect === */
.btn-magnetic {
  transition: transform 0.15s ease, box-shadow 0.3s ease;
}

/* === Floating Badge === */
.floating-badge {
  animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-5px) rotate(1deg); }
  75% { transform: translateY(5px) rotate(-1deg); }
}

/* === Neon Text Glow === */
.neon-text {
  animation: neon-text-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-text-glow {
  from {
    text-shadow: 0 0 5px #00ff88, 0 0 10px #00ff88, 0 0 20px #00ff88;
  }
  to {
    text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 40px #00ff88, 0 0 80px #00ff88;
  }
}

/* === Hex Pattern on Hero === */
.hex-pattern {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2300ff88' fill-opacity='0.03'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

/* === Card Stacking Effect === */
.card-stack:hover {
  z-index: 10;
}

/* === Animated Border Glow === */
@keyframes border-glow {
  0%, 100% {
    border-color: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 5px rgba(0, 255, 136, 0.05);
  }
  50% {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
  }
}

.pulse-border {
  animation: border-glow 3s ease-in-out infinite;
}

/* === Hero Entry Zoom === */
.hero-zoom {
  animation: hero-zoom-in 1s ease-out forwards;
}

@keyframes hero-zoom-in {
  from { transform: scale(1.1); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* === Text Reveal Clip === */
.text-reveal {
  clip-path: inset(0 100% 0 0);
  animation: text-reveal-anim 1s ease forwards 0.3s;
}

@keyframes text-reveal-anim {
  to { clip-path: inset(0 0 0 0); }
}

/* === Stat Card Progress Bar === */
.stat-card .progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  margin-top: 0.75rem;
  overflow: hidden;
}

.stat-card .progress-bar .fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 1.5s ease;
  box-shadow: 0 0 8px var(--primary);
}

.stat-card:hover .progress-bar .fill {
  width: var(--fill, 100%);
}

/* === Typewriter Cursor Blink === */
.cursor-blink::after {
  content: '|';
  animation: blink-cursor 0.8s step-end infinite;
  color: var(--primary);
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* === Card Hover Lift + Shadow === */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 255, 136, 0.15);
}

/* === Animated Underline === */
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--primary);
}

.animated-underline:hover::after {
  width: 100%;
}

/* === Orbital Dots === */
.orbital-dots {
  position: absolute;
  width: 200px; height: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbital-spin 10s linear infinite;
  pointer-events: none;
}

.orbital-dots .dot {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--primary);
}

.orbital-dots .dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.orbital-dots .dot:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); }
.orbital-dots .dot:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.orbital-dots .dot:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); }

@keyframes orbital-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* === Enhanced Responsive === */
@media (max-width: 768px) {
  .hero h1 {
    animation: gradientText 6s ease infinite;
  }
}
