/* ===== CSS Variables ===== */
:root {
  --primary-color: #000000;
  --secondary-color: #1a1a2e;
  --accent-blue: #0066cc;
  --accent-sky: #00bfff;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --card-bg: #16162a;
  --border-color: #2a2a4a;
  --vip-orange: #FFA500;
  --mvp-blue: #87CEEB;
  --pro-gradient: linear-gradient(135deg, #FF4500, #FFA500);
  --elite-red: #FF0000;
  --legend-gradient: linear-gradient(135deg, #FF4500, #FFA500);
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--primary-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Animated Background ===== */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.animated-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 102, 204, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0, 191, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0, 102, 204, 0.05) 0%, transparent 50%);
  animation: bgMove 20s ease-in-out infinite;
}

@keyframes bgMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 2%) rotate(1deg); }
  66% { transform: translate(-2%, 1%) rotate(-1deg); }
}

/* ===== Floating Particles ===== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(0, 191, 255, 0.4);
  border-radius: 50%;
  animation: float 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 18s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 14s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 16s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 15s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 14s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3s; animation-duration: 16s; }
.particle:nth-child(11) { left: 25%; animation-delay: 5s; animation-duration: 12s; }
.particle:nth-child(12) { left: 35%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(13) { left: 45%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(14) { left: 55%; animation-delay: 4s; animation-duration: 13s; }
.particle:nth-child(15) { left: 65%; animation-delay: 1s; animation-duration: 17s; }
.particle:nth-child(16) { left: 75%; animation-delay: 3s; animation-duration: 14s; }
.particle:nth-child(17) { left: 85%; animation-delay: 5s; animation-duration: 16s; }
.particle:nth-child(18) { left: 5%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(19) { left: 95%; animation-delay: 4s; animation-duration: 13s; }
.particle:nth-child(20) { left: 50%; animation-delay: 0s; animation-duration: 18s; }

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1.5);
    opacity: 0;
  }
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid rgba(42, 42, 74, 0.5);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-sky));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-sky);
}

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

.discord-link {
  color: var(--accent-sky);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  animation: logoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.3));
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-sky), var(--accent-blue));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.3s both;
}

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

.server-ip-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 22, 42, 0.8);
  padding: 15px 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.5s both;
}

.server-ip-box:hover {
  border-color: var(--accent-sky);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
}

.ip-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.ip-address {
  color: var(--accent-sky);
  font-weight: 700;
  font-size: 1.1rem;
}

.copy-btn {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-sky));
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.copy-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.copy-btn:hover::before {
  left: 100%;
}

.copy-btn:hover {
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
  transform: scale(1.05);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.7s both;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-sky));
  color: white;
  box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 191, 255, 0.5);
}

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

.btn-secondary:hover {
  border-color: var(--accent-sky);
  color: var(--accent-sky);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
  transform: translateY(-3px);
}

.btn-discord {
  background: linear-gradient(135deg, #5865F2, #7289DA);
  color: white;
  box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(88, 101, 242, 0.5);
}

.btn-discord-large {
  background: linear-gradient(135deg, #5865F2, #7289DA);
  color: white;
  padding: 18px 45px;
  font-size: 1.1rem;
  box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord-large:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(88, 101, 242, 0.5);
}

/* ===== Status Section ===== */
.status-section {
  padding: 80px 0;
  background: var(--secondary-color);
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.status-card {
  background: rgba(22, 22, 42, 0.8);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.status-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4444;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px #ff4444;
}

.status-dot.online {
  background: #00ff88;
  box-shadow: 0 0 15px #00ff88;
}

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

.status-text {
  font-weight: 600;
  font-size: 1.1rem;
}

.status-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-sky), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.status-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== Features Section ===== */
.features-section {
  padding: 80px 0;
  background: var(--primary-color);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-card {
  background: rgba(22, 22, 42, 0.8);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-sky));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 102, 204, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: inline-block;
  animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== Ranks Section ===== */
.ranks-section {
  padding: 80px 0;
  background: var(--secondary-color);
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-top: -30px;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.rank-card {
  background: rgba(22, 22, 42, 0.8);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
}

.rank-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.03), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.rank-card:hover::after {
  opacity: 1;
}

.rank-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.rank-header {
  padding: 25px;
  text-align: center;
  position: relative;
}

.rank-header.vip {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.25), rgba(255, 165, 0, 0.05));
  border-bottom: 2px solid var(--vip-orange);
}

.rank-header.mvp {
  background: linear-gradient(135deg, rgba(135, 206, 235, 0.25), rgba(135, 206, 235, 0.05));
  border-bottom: 2px solid var(--mvp-blue);
}

.rank-header.pro {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.25), rgba(255, 165, 0, 0.05));
  border-bottom: 2px solid #FF4500;
}

.rank-header.elite {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.25), rgba(255, 0, 0, 0.05));
  border-bottom: 2px solid var(--elite-red);
}

.rank-header.legend {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.25), rgba(255, 165, 0, 0.05));
  border-bottom: 2px solid #FF4500;
}

.rank-name {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.rank-name.vip { color: var(--vip-orange); text-shadow: 0 0 20px rgba(255, 165, 0, 0.3); }
.rank-name.mvp { color: var(--mvp-blue); text-shadow: 0 0 20px rgba(135, 206, 235, 0.3); }
.rank-name.pro { 
  background: var(--pro-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rank-name.elite { color: var(--elite-red); text-shadow: 0 0 20px rgba(255, 0, 0, 0.3); }
.rank-name.legend { 
  background: var(--legend-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rank-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  animation: priceGlow 2s ease-in-out infinite;
}

@keyframes priceGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }
  50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.4); }
}

.rank-duration {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.rank-body {
  padding: 25px;
}

.rank-perks-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.rank-perks {
  list-style: none;
}

.rank-perks li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.rank-perks li:hover {
  color: var(--text-primary);
  padding-left: 5px;
}

.rank-perks li::before {
  content: '✓';
  color: var(--accent-sky);
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.rank-perks li:last-child {
  border-bottom: none;
}

/* ===== Discord Section ===== */
.discord-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(88, 101, 242, 0.05));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.discord-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(88, 101, 242, 0.1) 0%, transparent 40%);
  animation: discordGlow 10s ease-in-out infinite;
}

@keyframes discordGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5%, 5%); }
}

.discord-content {
  position: relative;
  z-index: 1;
}

.discord-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.discord-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-color);
  padding: 40px 0 20px;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-sky), var(--accent-blue), transparent);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 35px;
  width: auto;
  transition: transform 0.3s ease;
}

.footer-logo:hover img {
  transform: rotate(10deg);
}

.footer-logo span {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-sky);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-sky);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== Scroll Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

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

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .nav-menu.active {
    display: flex;
  }

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

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

  .hero-description {
    font-size: 1rem;
  }

  .server-ip-box {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .status-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .status-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: 100px;
  }

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

/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(22, 22, 42, 0.95);
  color: var(--text-primary);
  padding: 15px 30px;
  border-radius: 10px;
  border: 1px solid var(--accent-sky);
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 191, 255, 0.3);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== Rank Purchase Modal ===== */
.rank-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.rank-modal-overlay.show {
  opacity: 1;
}

.rank-modal {
  background: linear-gradient(135deg, var(--card-bg), rgba(22, 22, 42, 0.95));
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  text-align: center;
  max-width: 400px;
  width: 100%;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.rank-modal-overlay.show .rank-modal {
  transform: scale(1) translateY(0);
}

.rank-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.rank-modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.rank-modal-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: giftBounce 2s ease-in-out infinite;
}

@keyframes giftBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(-5deg); }
  75% { transform: translateY(-10px) rotate(5deg); }
}

.rank-modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rank-modal-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.rank-modal-message {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.rank-modal-btn {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #5865F2, #7289DA);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.rank-modal-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(88, 101, 242, 0.4);
}
