 

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Inter:wght@300;400;600;700;800&display=swap');

:root {
  
  --bg-main:    #080e1a;
  --bg-section: #0c1426;
  --bg-darker:  #060b16;
  --bg-card:    #111c2e;
  --bg-soft:    #162035;
  --bg-hover:   #1a2640;

  
  --text-main:  #f0f4ff;
  --text-muted: #7e92b0;
  --text-hero: #fdfdfd;
  --text-dark:  #3d5070;
  --text-white: #ffffff;

  
  --color-main:        #00c8e8;
  --color-main-light:  #33d9f5;
  --color-main-extra:  #00a8c5;
  --color-main-dim:    rgba(0, 200, 232, 0.12);
  --color-main-glow:   rgba(0, 200, 232, 0.35);

  
  --color-success: #22c55e;
  --color-warning: #facc15;
  --color-error:   #ef4444;
  --color-discord: #5865f2;

  
  --color-leadership: #ef4444;
  --color-helper:     #3b82f6;
  --color-builder:    #22c55e;

  
  --border:            #1d3050;
  --border-light:      #253d5e;
  --border-radius:     12px;
  --transition-speed:  0.25s;
  --box-shadow:        0 4px 20px rgba(0,0,0,0.5);
  --box-shadow-hover:  0 10px 40px rgba(0, 200, 232, 0.2);
}

 
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  scrollbar-color: var(--color-main) var(--bg-darker);
  scrollbar-width: thin;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.main-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-main);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover { color: var(--color-main-light); }

ul { list-style-position: inside; }

 
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

@media (max-width: 768px) { .container { padding: 0 20px; } }

 


@keyframes ambientFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50%       { transform: translateY(-18px) scale(1.04); opacity: 0.8; }
}


@keyframes cardFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-6px) scale(1.01); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--color-main-glow); }
  50%       { box-shadow: 0 0 30px 8px var(--color-main-glow); }
}

@keyframes scanLine {
  0%   { background-position: 0 -100vh; }
  100% { background-position: 0 100vh; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes shimmerSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes rolePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

@keyframes rotateIn {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


@keyframes floatDiscord {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-15px); }
}


@keyframes discordPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(88,101,242,0.3); }
  50%       { box-shadow: 0 0 60px rgba(88,101,242,0.6); }
}

@keyframes discordShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes discordFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


@keyframes sectionFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

 
.header {
  background-color: rgba(6, 11, 22, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
  letter-spacing: 2px;
  text-shadow: 0 0 20px var(--color-main-glow);
}

.logo img { height: 40px; width: auto; }
.logo i   { font-size: 28px; color: var(--color-main-light); }

.logo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 15px;
}

.logo-footer img { height: 50px; width: auto; }


.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--color-main);
  transition: all var(--transition-speed);
  border-radius: 2px;
}

.burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }


.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-link {
  padding: 8px 14px;
  color: var(--text-muted);
  border-radius: var(--border-radius);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}


.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover::before { left: 100%; }

.nav-link img { height: 20px; width: 20px; }

.nav-link:hover {
  background-color: var(--bg-hover);
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.nav-link.active {
  background-color: var(--color-main-dim);
  color: var(--color-main);
  border: 1px solid var(--color-main);
}

.nav-link-shop {
  background: linear-gradient(135deg, var(--color-main), var(--color-main-extra));
  color: var(--bg-main) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 20px;
  border: none !important;
  box-shadow: 0 4px 15px var(--color-main-glow);
}

.nav-link-shop:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--color-main-glow);
  color: var(--bg-main) !important;
  letter-spacing: 0.5px;
}

 
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 200, 232, 0.015) 2px,
    rgba(0, 200, 232, 0.015) 4px
  );
  pointer-events: none;
  z-index: 2;
  animation: scanLine 8s linear infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(0, 118, 136, 0.075) 0%, rgba(8,14,26,0.92) 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  animation: fadeInUp 0.7s ease both;
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 76px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  letter-spacing: 4px;
  text-shadow: 0 0 40px var(--color-main-glow);
}

.hero-title span { color: var(--color-main); }

.hero-subtitle {
  font-size: 20px;
  color: var(--text-hero);
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.hero-join-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  animation: fadeInUp 0.9s 0.2s ease both;
}

.server-ip-box {
  position: relative;
  background: linear-gradient(145deg, var(--bg-card), rgba(0,200,232,0.04));
  border: 1px solid var(--color-main);
  border-radius: 16px;
  padding: 32px 60px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulseGlow 4s ease-in-out infinite;
  overflow: hidden;
}


.server-ip-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,200,232,0.06), transparent);
  transition: left 0.8s ease;
}

.server-ip-box:hover::before { left: 100%; }

.server-ip-box:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0, 200, 232, 0.25);
}

.ip-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-main);
  margin-bottom: 8px;
  transition: letter-spacing 0.3s ease;
}

.server-ip-box:hover .ip-label { letter-spacing: 0.15em; }

.ip-label::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-main);
  border-radius: 2px;
  margin: 6px auto 0;
  transition: width 0.4s ease;
}

.server-ip-box:hover .ip-label::after { width: 80px; }

.ip-address {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 12px 0 18px;
  letter-spacing: 0.05em;
  user-select: all;
}

.hero-stats {
  display: flex;
  gap: 30px;
  background-color: rgba(11, 18, 36, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 18px 30px;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stats:hover {
  border-color: var(--color-main);
  box-shadow: var(--box-shadow-hover);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  transition: transform 0.3s ease;
}

.hero-stat:hover { transform: translateY(-3px); }

.hero-stat i {
  font-size: 26px;
  color: var(--color-main);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stat:hover i { transform: scale(1.2) rotate(-5deg); }

.stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  display: block;
}

.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

 
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before { left: 100%; }

.btn-copy {
  background: linear-gradient(135deg, var(--color-main), var(--color-main-extra));
  color: var(--bg-main);
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 15px var(--color-main-glow);
}

.btn-copy:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px var(--color-main-glow);
  color: var(--bg-main);
}

.btn-discord {
  background-color: var(--color-discord);
  color: white;
  font-size: 16px;
  padding: 12px 26px;
  border-radius: 999px;
}

.btn-discord:hover {
  background-color: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.45);
  color: white;
}

.btn-vote {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-vote:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.45);
  color: white;
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--color-main);
  color: var(--color-main);
  transform: translateY(-2px);
}

 
.section { padding: 90px 0; }
.section-page { padding: 40px 0 90px 0; }

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: 1px;
  transition: letter-spacing 0.4s ease;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 55px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 52px;
  color: var(--text-white);
  margin-bottom: 10px;
  font-weight: 700;
  animation: sectionFadeIn 0.6s ease-out both;
}

.page-title span { color: var(--color-main); }

.page-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  animation: sectionFadeIn 0.6s 0.1s ease-out both;
}

 
.section-status {
  background-color: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.status-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: cardFloat 5s ease-in-out infinite;
}


.status-grid .status-card:nth-child(1) { animation-delay: 0s; }
.status-grid .status-card:nth-child(2) { animation-delay: 0.6s; }
.status-grid .status-card:nth-child(3) { animation-delay: 1.2s; }


.status-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-main), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}


.status-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,200,232,0.04), transparent);
  transition: left 0.7s ease;
}

.status-card:hover::before { transform: scaleX(1); }
.status-card:hover::after  { left: 100%; }

.status-card:hover {
  border-color: var(--color-main);
  box-shadow: 0 10px 30px rgba(0, 200, 232, 0.25), 0 0 0 1px rgba(0,200,232,0.1) inset;
  transform: translateY(-8px) scale(1.02);
  animation-play-state: paused;
}

.status-icon {
  font-size: 44px;
  color: var(--color-main);
  margin-bottom: 14px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-card:hover .status-icon { transform: scale(1.15) rotate(-5deg); }

.status-card h3 { font-size: 20px; color: var(--text-white); margin-bottom: 18px; transition: letter-spacing 0.3s ease; }
.status-card:hover h3 { letter-spacing: 0.5px; }
.status-label { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }

.status-count {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-white);
}

.count-number { color: var(--color-main); }
.status-unavailable { font-size: 15px; color: var(--text-dark); }

 
.section-minigames {
  width: 100%;
  background-color: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 90px 0;
}

.minigames-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  width: 100%;
}

@media (max-width: 1200px) { .minigames-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .minigames-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .minigames-grid { grid-template-columns: 1fr; } }

 
.minigame-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
  animation: cardFloat 4s ease-in-out infinite;
}

.minigame-card:nth-child(1) { animation-delay: 0.0s; }
.minigame-card:nth-child(2) { animation-delay: 0.5s; }
.minigame-card:nth-child(3) { animation-delay: 1.0s; }
.minigame-card:nth-child(4) { animation-delay: 1.5s; }
.minigame-card:nth-child(5) { animation-delay: 2.0s; }
.minigame-card:nth-child(6) { animation-delay: 2.5s; }
.minigame-card:nth-child(7) { animation-delay: 3.0s; }
.minigame-card:nth-child(8) { animation-delay: 3.5s; }


.minigame-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-main), transparent);
  opacity: 0.5;
  transition: opacity 0.4s ease, height 0.4s ease;
  z-index: 1;
}

.minigame-card:hover::before {
  opacity: 1;
  height: 4px;
}


.minigame-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left 0.8s ease;
  z-index: 0;
}

.minigame-card:hover::after { left: 100%; }

.minigame-card:hover {
  border-color: var(--color-main);
  box-shadow: 0 20px 55px rgba(0,200,232,0.18),
              0 0 0 1px rgba(0,200,232,0.1) inset;
  transform: translateY(-12px) scale(1.02);
  animation-play-state: paused;
  background-color: var(--bg-hover);
}


.minigame-icon,
.minigame-card h3,
.minigame-card p,
.minigame-badge { position: relative; z-index: 1; }

 
.minigame-icon {
  width: 100%;
  height: 190px;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background-color: var(--bg-soft);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.minigame-card:hover .minigame-icon {
  border-color: rgba(0,200,232,0.3);
  box-shadow: 0 0 20px rgba(0,200,232,0.1) inset;
}

.minigame-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.4s ease;
}

.minigame-card:hover .minigame-icon img {
  transform: scale(1.12);
  filter: brightness(1.1) saturate(1.1);
}

 
.minigame-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  color: var(--text-white);
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: letter-spacing 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s ease;
}

.minigame-card:hover h3 {
  letter-spacing: 1.5px;
  color: var(--color-main-light);
}

.minigame-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.minigame-card:hover p { color: var(--text-main); }

 
.minigame-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  background: linear-gradient(90deg, var(--color-main), var(--color-main-extra));
  color: var(--bg-main);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 15px var(--color-main-glow);
  margin-top: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: rolePulse 3s ease-in-out infinite;
  align-self: center;
}

.minigame-card:hover .minigame-badge {
  letter-spacing: 0.12em;
  box-shadow: 0 8px 28px var(--color-main-glow);
  transform: translateY(-2px);
  animation-play-state: paused;
}

 
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: cardFloat 5s ease-in-out infinite;
}

.features-grid .feature-card:nth-child(1) { animation-delay: 0.0s; }
.features-grid .feature-card:nth-child(2) { animation-delay: 0.7s; }
.features-grid .feature-card:nth-child(3) { animation-delay: 1.4s; }
.features-grid .feature-card:nth-child(4) { animation-delay: 2.1s; }
.features-grid .feature-card:nth-child(5) { animation-delay: 2.8s; }
.features-grid .feature-card:nth-child(6) { animation-delay: 3.5s; }


.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-main), transparent);
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1;
}


.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transition: left 0.7s ease;
  z-index: 0;
}

.feature-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.feature-card:hover::after { left: 100%; }

.feature-card:hover {
  border-color: var(--color-main);
  box-shadow: 0 12px 36px rgba(0,200,232,0.22),
              0 0 0 1px rgba(0,200,232,0.08) inset;
  transform: translateY(-9px) scale(1.02);
  background-color: var(--bg-hover);
  animation-play-state: paused;
}


.feature-icon,
.feature-card h3,
.feature-card p { position: relative; z-index: 1; }

 
.feature-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-main), var(--color-main-extra));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--bg-main);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0,200,232,0.2);
}

.feature-card:hover .feature-icon {
  transform: rotate(360deg) scale(1.12);
  box-shadow: 0 8px 28px var(--color-main-glow);
}

 
.feature-card h3 {
  font-size: 20px;
  color: var(--text-white);
  margin-bottom: 10px;
  transition: letter-spacing 0.3s ease, color 0.3s ease;
}

.feature-card:hover h3 {
  letter-spacing: 0.5px;
  color: var(--color-main-light);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  transition: color 0.3s ease;
}

.feature-card:hover p { color: var(--text-main); }

 
@media (max-width: 480px) {
  .minigame-card { animation: none; min-height: auto; }
  .feature-card  { animation: none; }
  .minigame-icon { height: 150px; }
  .minigame-card h3 { font-size: 22px; }
  .minigame-card p  { font-size: 14px; }
}
 
.section-faq {
  background-color: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-list {
  max-width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .faq-list { grid-template-columns: 1fr; }
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  align-self: start;
  position: relative;
}


.faq-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-main), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 1;
}


.faq-item::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,200,232,0.04), transparent);
  transition: left 0.7s ease;
  z-index: 0;
  pointer-events: none;
}

.faq-item:hover::before,
.faq-item.is-open::before { transform: scaleX(1); }

.faq-item:hover::after { left: 100%; }

.faq-item:hover,
.faq-item.is-open {
  border-color: var(--color-main);
  box-shadow: 0 8px 28px rgba(0,200,232,0.14),
              0 0 0 1px rgba(0,200,232,0.06) inset;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.faq-question span {
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.faq-question:hover span,
.faq-item.is-open .faq-question span {
  color: var(--color-main);
  letter-spacing: 0.2px;
}

.faq-question i {
  flex-shrink: 0;
  color: var(--color-main);
  font-size: 14px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.3s ease;
}

.faq-item.is-open .faq-question i {
  transform: rotate(180deg);
  filter: drop-shadow(0 0 6px var(--color-main-glow));
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.faq-item.is-open .faq-answer { max-height: 600px; }

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 14px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-answer a {
  color: var(--color-main);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.faq-answer a:hover { color: var(--color-main-light); }

.faq-answer strong { color: var(--text-white); }
 
.join-section {
  margin-bottom: 60px;
  animation: sectionFadeIn 0.6s ease-out both;
}

.join-section:nth-child(1) { animation-delay: 0.1s; }
.join-section:nth-child(2) { animation-delay: 0.2s; }
.join-section:nth-child(3) { animation-delay: 0.3s; }
.join-section:nth-child(4) { animation-delay: 0.4s; }

.join-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.join-header i {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.join-header:hover i {
  transform: scale(1.2) rotate(-8deg);
}

.join-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 34px;
  color: var(--text-white);
  transition: letter-spacing 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.join-header:hover h2 {
  letter-spacing: 1.5px;
}


.join-header--download { border-bottom-color: rgba(34,197,94,0.4); }
.join-header--java     { border-bottom-color: rgba(0,200,232,0.4); }
.join-header--bedrock  { border-bottom-color: rgba(250,204,21,0.4); }
.join-header--tips     { border-bottom-color: rgba(249,115,22,0.4); }

.join-header--download:hover { border-bottom-color: #22c55e; }
.join-header--java:hover     { border-bottom-color: var(--color-main); }
.join-header--bedrock:hover  { border-bottom-color: #facc15; }
.join-header--tips:hover     { border-bottom-color: #f97316; }

.join-header--download i,
.join-header--download .join-icon { color: #22c55e; }
.join-header--java i,
.join-header--java .join-icon     { color: var(--color-main); }
.join-header--bedrock i,
.join-header--bedrock .join-icon  { color: #facc15; }
.join-header--tips i,
.join-header--tips .join-icon     { color: #f97316; }

.join-header--download h2 { color: #22c55e; }
.join-header--java h2     { color: var(--color-main); }
.join-header--bedrock h2  { color: #facc15; }
.join-header--tips h2     { color: #f97316; }

 
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}


.step-card-wrap {
  animation: cardFloat 5s ease-in-out infinite;
}

.steps-grid .step-card-wrap:nth-child(1) { animation-delay: 0.0s; }
.steps-grid .step-card-wrap:nth-child(2) { animation-delay: 0.8s; }
.steps-grid .step-card-wrap:nth-child(3) { animation-delay: 1.6s; }
.steps-grid .step-card-wrap:nth-child(4) { animation-delay: 2.4s; }

.steps-grid .step-card-wrap:hover { animation-play-state: paused; }

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 28px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}


.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-main), transparent);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s ease;
  z-index: 0;
}


.step-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,200,232,0.05), transparent);
  transition: left 0.7s ease;
  z-index: 0;
}

.step-card:hover::before {
  width: 100%;
  opacity: 0.06;
}

.step-card:hover::after { left: 100%; }

.step-card:hover {
  border-color: var(--color-main);
  box-shadow: 0 12px 35px rgba(0,200,232,0.2),
              0 0 0 1px rgba(0,200,232,0.08) inset;
  transform: translateY(-5px);
}


.step-number,
.step-card h3,
.step-card p { position: relative; z-index: 1; }

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-main), var(--color-main-extra));
  color: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,200,232,0.2);
}

.step-card:hover .step-number {
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 6px 20px var(--color-main-glow);
}

.step-card h3 {
  font-size: 18px;
  color: var(--text-white);
  margin-bottom: 8px;
  transition: letter-spacing 0.3s ease, color 0.3s ease;
}

.step-card:hover h3 {
  letter-spacing: 0.3px;
  color: var(--color-main-light);
}

.step-card p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 14px;
}

.highlight-ip {
  color: var(--color-main);
  background-color: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.95em;
  border: 1px solid rgba(0,200,232,0.2);
}

 
.info-box {
  display: flex;
  gap: 18px;
  padding: 22px 28px;
  border-radius: var(--border-radius);
  border: 1px solid;
  margin-bottom: 28px;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.info-box::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transition: left 0.7s ease;
  z-index: 0;
}

.info-box:hover::before { left: 100%; }
.info-box:hover { transform: translateX(5px); }

.info-box > i {
  font-size: 30px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.info-box:hover > i { transform: scale(1.2) rotate(-8deg); }

.info-box > div { position: relative; z-index: 1; }

.info-box h3,
.info-box h4 { margin-bottom: 6px; font-size: 18px; }

.info-box p,
.info-box ol { color: var(--text-muted); line-height: 1.7; }

.info-box ol     { margin-left: 20px; margin-top: 10px; list-style-position: outside; }
.info-box ol li  { margin-bottom: 5px; }
.info-box strong { color: inherit; filter: brightness(1.3); }

.info-warning  { background-color: rgba(250,204,21,0.07);  border-color: rgba(250,204,21,0.5); color: #facc15; }
.info-success  { background-color: rgba(34,197,94,0.07);   border-color: rgba(34,197,94,0.5);  color: #22c55e; }
.info-info     { background-color: rgba(59,130,246,0.07);  border-color: rgba(59,130,246,0.5); color: #3b82f6; }
.info-primary  { background-color: var(--color-main-dim);  border-color: rgba(0,200,232,0.4);  color: var(--color-main); }
.info-secondary{ background-color: rgba(0,200,232,0.05);   border-color: rgba(0,200,232,0.3);  color: var(--color-main-light); }
.info-special  { background-color: rgba(249,115,22,0.07);  border-color: rgba(249,115,22,0.5); color: #f97316; }


.info-warning:hover  { border-color: #facc15; box-shadow: 0 6px 24px rgba(250,204,21,0.12); }
.info-success:hover  { border-color: #22c55e; box-shadow: 0 6px 24px rgba(34,197,94,0.12); }
.info-info:hover     { border-color: #3b82f6; box-shadow: 0 6px 24px rgba(59,130,246,0.12); }
.info-primary:hover  { border-color: var(--color-main); box-shadow: 0 6px 24px var(--color-main-glow); }
.info-secondary:hover{ border-color: var(--color-main-light); box-shadow: 0 6px 24px rgba(0,200,232,0.1); }
.info-special:hover  { border-color: #f97316; box-shadow: 0 6px 24px rgba(249,115,22,0.12); }

 
.tips-section { margin-top: 60px; }

.tips-section h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 34px;
  color: var(--text-white);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: letter-spacing 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.tips-section h2 i {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tips-section h2:hover { letter-spacing: 1px; }
.tips-section h2:hover i { transform: scale(1.2) rotate(-8deg); }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.tip-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: cardFloat 5s ease-in-out infinite;
}

.tips-grid .tip-card:nth-child(1) { animation-delay: 0.0s; }
.tips-grid .tip-card:nth-child(2) { animation-delay: 0.9s; }
.tips-grid .tip-card:nth-child(3) { animation-delay: 1.8s; }
.tips-grid .tip-card:nth-child(4) { animation-delay: 2.7s; }


.tip-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-main), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 0;
}


.tip-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.tip-card:hover::before { transform: scaleX(1); }
.tip-card:hover::after  { left: 100%; }

.tip-card:hover {
  border-color: var(--color-main);
  box-shadow: 0 12px 32px rgba(0,200,232,0.18),
              0 0 0 1px rgba(0,200,232,0.08) inset;
  transform: translateY(-7px) scale(1.02);
  animation-play-state: paused;
}

.tip-icon {
  font-size: 36px;
  color: var(--color-main);
  margin-bottom: 12px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.4s ease;
  position: relative;
  z-index: 1;
  display: block;
}

.tip-card:hover .tip-icon {
  transform: scale(1.25) rotate(-8deg);
  filter: drop-shadow(0 0 8px var(--color-main-glow));
}

.tip-card h3 {
  font-size: 17px;
  color: var(--text-white);
  margin-bottom: 8px;
  transition: letter-spacing 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 1;
}

.tip-card:hover h3 {
  letter-spacing: 0.3px;
  color: var(--color-main-light);
}

.tip-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

 
.help-box {
  background: linear-gradient(135deg, #0a1e3a, #061424);
  border: 1px solid rgba(0,200,232,0.35);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 0 40px rgba(0,200,232,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}


.help-box::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,200,232,0.04), transparent);
  transition: left 0.9s ease;
  z-index: 0;
}


.help-box::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-main), transparent);
  opacity: 0.6;
}

.help-box:hover::before { left: 100%; }

.help-box:hover {
  transform: translateY(-5px);
  border-color: var(--color-main);
  box-shadow: 0 20px 60px rgba(0,200,232,0.14),
              0 0 0 1px rgba(0,200,232,0.06) inset;
}

.help-box h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 30px;
  color: var(--color-success);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: letter-spacing 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.help-box h3 i {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.help-box:hover h3 { letter-spacing: 1px; }
.help-box:hover h3 i { transform: scale(1.2) rotate(-8deg); }

.help-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.help-options {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}


@media (max-width: 480px) {
  .step-card-wrap { animation: none; }
  .tip-card       { animation: none; }
}
 
.rules-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  margin-top: 40px;
  animation: sectionFadeIn 0.6s ease-out both;
}

.rules-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.rules-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rules-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.rules-nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transition: left 0.5s ease;
}

.rules-nav-item:hover::before { left: 100%; }

.rules-nav-item:hover {
  border-color: var(--color-main);
  color: var(--text-white);
  background-color: var(--bg-hover);
  transform: translateX(4px);
}

.rules-nav-item.active {
  background-color: var(--color-main-dim);
  border-color: var(--color-main);
  color: var(--color-main);
}

.rules-nav-item i { font-size: 16px; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.rules-nav-item:hover i { transform: scale(1.15) rotate(-5deg); }

.rules-content { min-height: 500px; }

.rules-category { display: none; }

.rules-category.active {
  display: block;
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rules-category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  transition: all 0.3s ease;
}

.rules-category-header:hover i { transform: scale(1.15) rotate(-5deg); }
.rules-category-header:hover h2 { letter-spacing: 1px; }

.rules-category-header i { font-size: 32px; color: var(--color-main); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.rules-category-header h2 { font-family: 'Rajdhani', sans-serif; font-size: 30px; color: var(--text-white); transition: letter-spacing 0.3s ease; }

.rules-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 22px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.rules-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-main), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.rules-box:hover::before { transform: scaleX(1); }

.rules-box:hover {
  border-color: var(--color-main);
  box-shadow: 0 8px 25px rgba(0, 200, 232, 0.15);
  transform: translateY(-3px);
}

.rules-box h3 {
  font-size: 18px;
  color: var(--text-white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: letter-spacing 0.3s ease;
}

.rules-box:hover h3 { letter-spacing: 0.3px; }
.rules-box h3 i { color: var(--color-main); }

.rules-box ul { list-style: none; }

.rules-box li {
  padding: 9px 0 9px 22px;
  color: var(--text-muted);
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.rules-box li:last-child { border-bottom: none; }
.rules-box li:hover { color: var(--text-main); padding-left: 28px; }

.rules-box li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-main);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.rules-box li:hover::before { transform: translateX(4px); }

 


body.page-vote  .page-title span { color: #22c55e; }
body.page-rules .page-title span { color: var(--color-main); }
body.page-team  .page-title span { color: #f97316; }
body.page-join  .page-title span { color: #facc15; }

 
.vote-why-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: rgba(34, 197, 94, 0.07);
  border: 1px solid #22c55e;
  border-radius: var(--border-radius);
  padding: 24px 28px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vote-why-box::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,0.06), transparent);
  transition: left 0.7s ease;
}

.vote-why-box:hover::before { left: 100%; }
.vote-why-box:hover { transform: translateX(4px); box-shadow: 0 8px 30px rgba(34,197,94,0.15); }

.vote-why-icon {
  font-size: 32px;
  color: #22c55e;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vote-why-box:hover .vote-why-icon { transform: scale(1.15) rotate(-5deg); }

.vote-why-text h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 6px;
}

.vote-why-text p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

 
.vote-block {
  margin-bottom: 50px;
}

.vote-block-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: letter-spacing 0.3s ease;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(34,197,94,0.3);
}

.vote-block-title:hover { letter-spacing: 1px; }
.vote-block-title i { color: inherit; }

.vote-block-title--howto {
  color: var(--color-main);
  border-bottom-color: rgba(0,200,232,0.3);
  font-size: 44px;
}

.vote-block-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  margin-top: 10px;
}

 
.vote-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) { .vote-links-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .vote-links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .vote-links-grid { grid-template-columns: 1fr; } }

.vote-link-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: cardFloat 5s ease-in-out infinite;
}

.vote-links-grid .vote-link-card:nth-child(1) { animation-delay: 0.0s; }
.vote-links-grid .vote-link-card:nth-child(2) { animation-delay: 0.4s; }
.vote-links-grid .vote-link-card:nth-child(3) { animation-delay: 0.8s; }
.vote-links-grid .vote-link-card:nth-child(4) { animation-delay: 1.2s; }
.vote-links-grid .vote-link-card:nth-child(5) { animation-delay: 1.6s; }
.vote-links-grid .vote-link-card:nth-child(6) { animation-delay: 2.0s; }
.vote-links-grid .vote-link-card:nth-child(7) { animation-delay: 2.4s; }


.vote-link-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}


.vote-link-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,0.05), transparent);
  transition: left 0.6s ease;
}

.vote-link-card:hover::before { transform: scaleX(1); }
.vote-link-card:hover::after  { left: 100%; }

.vote-link-card:hover {
  border-color: #22c55e;
  box-shadow: 0 10px 30px rgba(34,197,94,0.2), 0 0 0 1px rgba(34,197,94,0.08) inset;
  transform: translateY(-6px) scale(1.01);
  animation-play-state: paused;
}

.vote-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.vote-link-card:hover .vote-card-icon {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 6px 18px rgba(34,197,94,0.4);
}

.vote-link-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
  transition: letter-spacing 0.3s ease;
  position: relative;
  z-index: 1;
}

.vote-link-card:hover h3 { letter-spacing: 0.3px; }

.vote-link-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  position: relative;
  z-index: 1;
}


.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 22px;
  color: #22c55e;
  border: 2px solid #22c55e;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin-top: auto;
  z-index: 1;
}

.vote-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.vote-btn:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(34,197,94,0.45);
}

.vote-btn:hover::before { transform: scaleX(1); }

 
.vote-howto-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: rgba(59,130,246,0.07);
  border: 1px solid #3b82f6;
  border-radius: var(--border-radius);
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vote-howto-box::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.06), transparent);
  transition: left 0.7s ease;
}

.vote-howto-box:hover::before { left: 100%; }
.vote-howto-box:hover { transform: translateX(4px); box-shadow: 0 8px 30px rgba(59,130,246,0.12); }

.vote-howto-box > i {
  font-size: 30px;
  color: #3b82f6;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vote-howto-box:hover > i { transform: scale(1.15) rotate(-5deg); }

.vote-howto-box ol {
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 20px;
  list-style-position: outside;
}

.vote-howto-box ol li {
  margin-bottom: 6px;
  font-size: 15px;
}

.vote-howto-box ol li strong { color: var(--color-main); }

.vote-howto-tip {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 14px;
}

.vote-howto-tip i { color: #facc15; margin-right: 4px; }


@media (max-width: 480px) {
  .vote-link-card   { animation: none; }
  .vote-block-title { font-size: 28px; }
  .vote-block-title--howto { font-size: 30px; }
}
 

@keyframes teamCardFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-6px) scale(1.01); }
}

@keyframes avatarShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes teamCardFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes rolePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

.team-section {
  margin-bottom: 60px;
  animation: teamCardFadeIn 0.6s ease-out both;
}

.team-section:nth-child(1) { animation-delay: 0.1s; }
.team-section:nth-child(2) { animation-delay: 0.2s; }
.team-section:nth-child(3) { animation-delay: 0.3s; }

.team-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  transition: all 0.3s ease;
}

.team-section-header.leadership { border-bottom-color: var(--color-leadership); }
.team-section-header.helpers    { border-bottom-color: var(--color-helper); }
.team-section-header.builders   { border-bottom-color: var(--color-builder); }

.team-section-header i {
  font-size: 32px;
  transition: transform 0.3s ease;
}

.team-section-header:hover i { transform: scale(1.15) rotate(-5deg); }

.team-section-header.leadership i { color: var(--color-leadership); }
.team-section-header.helpers    i { color: var(--color-helper); }
.team-section-header.builders   i { color: var(--color-builder); }

.team-section-header.leadership h2 { color: var(--color-leadership); }
.team-section-header.helpers    h2 { color: var(--color-helper); }
.team-section-header.builders   h2 { color: var(--color-builder); }

.team-section-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  transition: letter-spacing 0.3s ease;
}

.team-section-header:hover h2 { letter-spacing: 1px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 22px;
}

.team-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: teamCardFloat 4s ease-in-out infinite;
}

.team-card:nth-child(1)  { animation-delay: 0s; }
.team-card:nth-child(2)  { animation-delay: 0.5s; }
.team-card:nth-child(3)  { animation-delay: 1s; }
.team-card:nth-child(4)  { animation-delay: 1.5s; }
.team-card:nth-child(5)  { animation-delay: 2s; }
.team-card:nth-child(6)  { animation-delay: 2.5s; }
.team-card:nth-child(7)  { animation-delay: 3s; }
.team-card:nth-child(8)  { animation-delay: 3.5s; }

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transition: left 0.6s ease;
}

.team-card:hover::before { left: 100%; }

.team-card:hover {
  transform: translateY(-10px) scale(1.02);
  animation-play-state: paused;
}

.team-section.leadership .team-card:hover {
  border-color: var(--color-leadership);
  box-shadow: 0 10px 30px rgba(239,68,68,0.25), 0 0 0 1px rgba(239,68,68,0.1) inset;
}

.team-section.helpers .team-card:hover {
  border-color: var(--color-helper);
  box-shadow: 0 10px 30px rgba(59,130,246,0.25), 0 0 0 1px rgba(59,130,246,0.1) inset;
}

.team-section.builders .team-card:hover {
  border-color: var(--color-builder);
  box-shadow: 0 10px 30px rgba(34,197,94,0.25), 0 0 0 1px rgba(34,197,94,0.1) inset;
}

.team-avatar {
  margin-bottom: 14px;
  position: relative;
}

.team-avatar::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--border-radius);
  padding: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: avatarShimmer 3s linear infinite;
  pointer-events: none;
}

.team-card:hover .team-avatar::before { opacity: 1; }

.team-avatar img {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  border: 2px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.team-card:hover .team-avatar img { transform: scale(1.1) rotate(3deg); border-color: currentColor; }

.team-section.leadership .team-card:hover .team-avatar img { border-color: var(--color-leadership); }
.team-section.helpers    .team-card:hover .team-avatar img { border-color: var(--color-helper); }
.team-section.builders   .team-card:hover .team-avatar img { border-color: var(--color-builder); }

.team-nick {
  font-size: 16px;
  color: var(--text-white);
  margin-bottom: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.team-card:hover .team-nick { transform: translateY(-2px); }

.team-card:hover .team-nick::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: currentColor;
  opacity: 0.5;
}

.team-section.leadership .team-role { color: var(--color-leadership); }
.team-section.helpers    .team-role { color: var(--color-helper); }
.team-section.builders   .team-role { color: var(--color-builder); }

.team-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  transition: all 0.3s ease;
  animation: rolePulse 3s ease-in-out infinite;
}

.team-card:hover .team-role {
  letter-spacing: 0.12em;
  animation-play-state: paused;
}

.team-join-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 20px;
  background-color: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: var(--border-radius);
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.team-join-hint::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--color-main-dim), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.team-join-hint:hover::before { transform: translateX(100%); }

.team-join-hint:hover {
  border-color: var(--color-main);
  color: var(--color-main);
  background-color: var(--color-main-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--color-main-glow);
}

.team-join-hint i {
  color: var(--color-main);
  font-size: 18px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.team-join-hint:hover i { transform: rotate(90deg) scale(1.2); }

.team-join-hint span { position: relative; z-index: 1; }

.team-info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 50px;
  animation: teamCardFadeIn 0.6s 0.4s ease-out both;
}



.team-card--join {
  border-style: dashed;
  cursor: pointer;
}

.team-card--join:hover {
  border-style: dashed;
}

.team-avatar-placeholder {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-avatar-placeholder i {
  font-size: 28px;
  color: var(--text-dark);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.team-section.helpers .team-card--join:hover .team-avatar-placeholder {
  border-color: var(--color-helper);
  background-color: rgba(59, 130, 246, 0.08);
}
.team-section.helpers .team-card--join:hover .team-avatar-placeholder i {
  color: var(--color-helper);
  transform: rotate(90deg) scale(1.2);
}

.team-section.builders .team-card--join:hover .team-avatar-placeholder {
  border-color: var(--color-builder);
  background-color: rgba(34, 197, 94, 0.08);
}
.team-section.builders .team-card--join:hover .team-avatar-placeholder i {
  color: var(--color-builder);
  transform: rotate(90deg) scale(1.2);
}

 
.section-discord-cta {
  background: linear-gradient(135deg, #3c3f8e 0%, #424bb3 50%, #3b4194 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.section-discord-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 50%);
  animation: discordPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.section-discord-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.02) 2px,
    rgba(255,255,255,0.02) 4px
  );
  pointer-events: none;
}

.discord-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.discord-cta-content-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  animation: discordFadeIn 0.8s ease-out both;
}

.discord-cta-text { position: relative; }

.discord-cta-text h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  display: inline-block;
}

.discord-cta-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 5px;
  background: white;
  border-radius: 3px;
  box-shadow: 0 2px 15px rgba(255,255,255,0.6);
}

.discord-cta-text p {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
  margin-bottom: 35px;
  max-width: 480px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.discord-cta-button { position: relative; display: inline-block; }

.discord-cta-button .btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: white;
  color: #5865f2;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 800;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 0 3px rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.discord-cta-button .btn-discord::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(88,101,242,0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.discord-cta-button .btn-discord:hover::before { width: 300px; height: 300px; }

.discord-cta-button .btn-discord::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: transform 0.6s ease;
}

.discord-cta-button .btn-discord:hover::after { animation: discordShimmer 0.8s ease; }

.discord-cta-button .btn-discord:hover {
  background: #f0f4ff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 0 4px rgba(255,255,255,0.4);
}

.discord-cta-button .btn-discord i {
  font-size: 22px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.discord-cta-button .btn-discord:hover i { transform: scale(1.2) rotate(-10deg); }

.discord-cta-button .btn-discord span { position: relative; z-index: 1; }

.discord-cta-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.discord-cta-image::before {
  content: '';
  position: absolute;
  inset: 15%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  filter: blur(50px);
  animation: discordPulse 3s ease-in-out infinite;
  pointer-events: none;
}

.discord-cta-image img {
  max-width: 100%;
  width: 100%;
  max-height: 400px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6));
  animation: floatDiscord 4s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.discord-cta-image:hover img {
  animation-play-state: paused;
  transform: scale(1.1) rotate(-3deg);
}

 
.footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--color-main);
  padding: 55px 0 22px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  color: var(--color-main);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: letter-spacing 0.3s ease;
}

.footer-section h3:hover { letter-spacing: 0.1em; }

.social-links { display: flex; flex-direction: column; gap: 10px; }

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
  color: var(--text-main);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,200,232,0.06), transparent);
  transition: left 0.5s ease;
}

.social-link:hover::before { left: 100%; }

.social-link:hover {
  background-color: var(--color-main-dim);
  border-color: var(--color-main);
  color: var(--color-main);
  transform: translateX(6px);
}

.social-link i { font-size: 18px; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.social-link:hover i { transform: scale(1.2) rotate(-5deg); }

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  color: var(--text-muted);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
}

.footer-links a:hover { color: var(--color-main); padding-left: 8px; }

.footer-description {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-dark);
  font-size: 13px;
}

.footer-bottom #copyright-year { color: var(--color-main); }
.footer-bottom .copyright-brand { color: var(--text-muted); font-weight: 600; }

 
.copy-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 14px 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 30px rgba(34,197,94,0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  z-index: 9999;
  animation: slideInUp 0.3s ease-out;
  opacity: 0;
  pointer-events: none;
}

.copy-notification.show { opacity: 1; }

 
body.page-vote  .page-title span  { color: #22c55e; }
body.page-rules .page-title span  { color: var(--color-main); }
body.page-team  .page-title span  { color: #f97316; }
body.page-join  .page-title span  { color: #facc15; }

body.page-vote  .section-title { color: #22c55e; }
body.page-rules .section-title { color: var(--color-main); }

 
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: var(--color-main); border: 2px solid var(--bg-darker); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-main-light); }
::-webkit-scrollbar-corner { background: var(--bg-darker); }

 
@media (max-width: 1024px) {
  .rules-layout { display: block; }
  .rules-sidebar { position: static; width: 100%; margin-bottom: 18px; }
  .rules-nav { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 8px; }
  .rules-nav::-webkit-scrollbar { height: 4px; }
  .rules-nav-item { flex: 0 0 auto; white-space: nowrap; }
}

@media (max-width: 900px) {
  .section-discord-cta { padding: 70px 0; }
  .discord-cta-container { padding: 0 30px; }
  .discord-cta-content-wrapper { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .discord-cta-text h2 { font-size: 44px; }
  .discord-cta-text h2::after { left: 50%; transform: translateX(-50%); }
  .discord-cta-text p { margin-left: auto; margin-right: auto; font-size: 17px; }
  .discord-cta-image img { max-width: 320px; max-height: 320px; }
}

@media (max-width: 768px) {
  .burger-menu { display: flex; }

  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background-color: rgba(6,11,22,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    transform: translateX(-100%);
    transition: transform var(--transition-speed);
    box-shadow: var(--box-shadow);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    border-top: 1px solid var(--color-main);
  }

  .nav.active { transform: translateX(0); }
  .nav-link { width: 100%; padding: 13px; font-size: 15px; }

  .hero-title    { font-size: 48px; }
  .hero-subtitle { font-size: 17px; }
  .ip-address    { font-size: 1.6rem; }
  .hero-stats    { flex-direction: column; gap: 14px; width: 100%; }
  .server-ip-box { width: 100%; }

  .section       { padding: 55px 0; }
  .section-title { font-size: 34px; }
  .page-title    { font-size: 38px; }

  .features-grid,
  .steps-grid,
  .tips-grid,
  .rewards-grid  { grid-template-columns: 1fr; }

  .team-grid     { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .team-avatar img { width: 78px; height: 78px; }
  .team-section-header h2 { font-size: 24px; }

  .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .help-options { flex-direction: column; }
  .help-options .btn { width: 100%; }
}

@media (max-width: 600px) {
  .section-discord-cta { padding: 60px 0; }
  .discord-cta-container { padding: 0 20px; }
  .discord-cta-content-wrapper { gap: 40px; }
  .discord-cta-text h2 { font-size: 36px; }
  .discord-cta-text p { font-size: 16px; margin-bottom: 28px; }
  .discord-cta-button .btn-discord { padding: 14px 32px; font-size: 16px; }
  .discord-cta-image img { max-width: 240px; max-height: 240px; }
  .discord-cta-image::before,
  .section-discord-cta::before { animation: none; }
  .discord-cta-image img { animation: floatDiscord 6s ease-in-out infinite; }
}

@media (max-width: 480px) {
  .hero-title    { font-size: 34px; }
  .hero-subtitle { font-size: 15px; }
  .server-ip-box { padding: 22px 18px; }
  .ip-address    { font-size: 1.35rem; }
  .section-title { font-size: 28px; }
  .page-title    { font-size: 30px; }

  .minigames-grid { display: flex; flex-direction: column; gap: 18px; }
  .minigame-card h3 { font-size: 22px; }
  .minigame-card p  { font-size: 14px; }
  .minigame-icon    { height: 150px; }

  .team-grid { grid-template-columns: 1fr; }

  
  .team-card,
  .status-card,
  .feature-card,
  .minigame-card,
  .step-card,
  .tip-card,
  .reward-card,
  .vote-link-card { animation: none; }

  .rules-nav-item { padding: 9px 14px; font-size: 13px; }
  .rules-category-header h2 { font-size: 22px; }
}


@media print {
  .team-card,
  .team-section,
  .team-role,
  .section-discord-cta *,
  .status-card,
  .feature-card,
  .minigame-card,
  .step-card,
  .tip-card,
  .reward-card { animation: none !important; }

  .section-discord-cta { background: #5865f2 !important; }
}