/* 
   REVOLUCION GAMING - ULTRA PREMIUM CSS
   Concept: High-Tech / Esports / Glassmorphism
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700;800&display=swap');

:root {
  --primary: #ffcc00;
  --primary-rgb: 255, 204, 0;
  --secondary: #1a1a1a;
  --accent: #ff4444;
  --bg-dark: #050505;
  --card-bg: rgba(20, 20, 20, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  --text-main: #f5f5f5;
  --text-muted: #a0a0a0;
  --font-base: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --container: 1240px;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(var(--primary-rgb), 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(var(--primary-rgb), 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

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

ul { list-style: none; }

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}

.loader.fade-out {
  transform: translateY(-100%);
}

.loader-logo {
  width: 100px;
  margin-bottom: 2rem;
  animation: pulse 2s infinite ease-in-out;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--primary);
  animation: loading 1.5s infinite ease;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px var(--primary)); }
}

@keyframes loading {
  to { left: 100%; }
}

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 50px 2rem 50px 2rem;
}

/* Header & Nav */
.top-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: 80px;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.top-header.scrolled {
  height: 65px;
  background: rgba(5, 5, 5, 0.95);
}

.nav-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo img {
  height: 65px;
  transition: var(--transition);
}

.main-nav {
  display: flex;
  gap: 0.5rem;
}

.nav-item {
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 100px;
}

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

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

.btn {
  padding: 1.2rem 2.5rem;
  border-radius: var(--radius);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-visual {
  position: absolute;
  top: 50%; right: 2%;
  transform: translateY(-50%);
  width: 45%;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.hero-visual img {
  max-width: 90%;
  max-height: 85vh;
  filter: drop-shadow(0 0 50px rgba(var(--primary-rgb), 0.3));
  animation: float 6s infinite ease-in-out;
  object-fit: contain;
}

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

/* Sections */
section {
  padding: 6rem 0;
  position: relative;
}

.section-head {
  margin-bottom: 2rem;
  text-align: center;
}

.section-head span {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
}

.section-head h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-top: 0.5rem;
}

/* Info Cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.info-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: var(--transition);
}

.info-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateY(-10px);
  background: rgba(30, 30, 30, 0.8);
}

.info-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--text-muted);
}

/* Servers Grid */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 4rem;
}

.server-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.server-card:hover {
  border-color: rgba(var(--primary-rgb), 0.4);
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.server-img {
  position: relative;
  height: 220px;
}

.server-img img {
  width: 100%; height: 100%; object-fit: cover;
}

.server-tag {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-pulse {
  width: 8px; height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.server-content {
  padding: 2rem;
}

.server-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.server-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stat-item i { color: var(--primary); }

.server-ip-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.server-ip-box code {
  font-family: 'JetBrains Mono', monospace;
  color: var(--primary);
  font-weight: 600;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.copy-btn:hover { color: #fff; }

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10001;
}

.toast {
  background: rgba(var(--primary-rgb), 0.9);
  color: #000;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Hall of Fame / Donors */
.hall-of-fame {
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.05), transparent);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  margin: 4rem 0;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.hall-of-fame::before {
  content: 'HALL OF FAME';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10rem;
  font-weight: 900;
  opacity: 0.02;
  white-space: nowrap;
  pointer-events: none;
}

.donors-list-premium {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.donor-premium-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.donor-premium-card:hover {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: var(--primary);
  transform: translateY(-10px);
}

.donor-rank-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.donor-name-premium {
  font-weight: 800;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.donor-val-premium {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .donors-list-premium { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .donors-list-premium { grid-template-columns: 1fr; }
}

.server-footer-btn {
  background: rgba(182, 164, 0, 0.15);
  color: #b6a400;
  border: 1px solid rgba(182, 164, 0, 0.3);
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  transition: var(--transition);
  text-decoration: none;
}

.server-footer-btn:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(255, 204, 0, 0.15);
}



/* Data Tables Premium */
.premium-table-container {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  margin-top: 3rem;
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.premium-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  color: var(--primary);
  border-bottom: 1px solid var(--glass-border);
}

.premium-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  font-size: 0.95rem;
  transition: var(--transition);
}

.premium-table tr:hover td {
  background: rgba(var(--primary-rgb), 0.03);
}

/* Affiliates Grid */
.affiliates-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.affiliate-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  text-align: center;
  width: 280px;
  transition: var(--transition);
}

.affiliate-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.affiliate-card img {
  height: 60px;
  width: auto;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  filter: grayscale(1) brightness(2);
  opacity: 0.6;
  transition: var(--transition);
}

.affiliate-card:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

.affiliate-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.affiliate-type {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.premium-table tr:last-child td {
  border-bottom: none;
}

.rank-number {
  font-weight: 800;
  font-size: 1.1rem;
}

.player-name-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
}

.player-tag-premium {
  padding: 0.2rem 0.6rem;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .premium-table thead { display: none; }
  .premium-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
  }
  .premium-table td::before {
    content: attr(data-label);
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.7rem;
  }
}

/* Ranking Switcher */
.ranking-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.rank-switch-item {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}

.rank-switch-item:hover, .rank-switch-item.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

/* Footer */
.ultra-footer {
  background: #080808;
  padding: 8rem 0 3rem;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1.5rem;
  color: var(--text-muted);
}

.footer-links h4 {
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 10px;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 45px; height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.social-icon:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-5px);
}

.footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Ultra Flashy Empreya Credit */
.empreya-credit {
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.05);
  transition: var(--transition);
  text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.empreya-credit:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary);
  transform: scale(1.1) rotate(-2deg);
}

.empreya-credit::after {
  content: 'DEV TEAM';
  position: absolute;
  top: -15px;
  right: -10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.5rem;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 900;
  box-shadow: 0 0 10px var(--accent);
}

/* Mobile Menu */
.menu-trigger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.8, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-size: 2rem;
  font-weight: 800;
}

.close-nav {
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 2.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-trigger { display: block; }
  .hero { text-align: center; justify-content: center; }
  .hero h1 { font-size: 2.8rem; }
  .hero-btns { justify-content: center; flex-direction: column; }
  .info-grid { grid-template-columns: 1fr; }
  .servers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}
