/* ===================================================
   RevolutionCO - Main Stylesheet
   Fantasy MMORPG Private Server Website
   =================================================== */

/* --- Google Fonts & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;700;900&display=swap');

:root {
  --gold: #d4a017;
  --gold-light: #f0c040;
  --gold-dark: #a07010;
  --orange: #e8620a;
  --orange-dark: #b84a05;
  --bg-dark: #0a0805;
  --bg-mid: #120e08;
  --bg-panel: #1a1208;
  --bg-card: #1f1710;
  --bg-card2: #241c11;
  --border-gold: rgba(212, 160, 23, 0.35);
  --border-gold-bright: rgba(212, 160, 23, 0.7);
  --text-primary: #f0e8d0;
  --text-secondary: #b8a880;
  --text-muted: #7a6a4a;
  --red: #c0392b;
  --green: #27ae60;
  --blue: #2980b9;
  --purple: #8e44ad;
  --cyan: #16a085;
  --shadow-gold: 0 0 20px rgba(212, 160, 23, 0.3);
  --shadow-strong: 0 4px 30px rgba(0, 0, 0, 0.8);
  --radius: 8px;
  --radius-lg: 14px;
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at top, rgba(212,160,23,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(232,98,10,0.03) 0%, transparent 60%);
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

button { cursor: pointer; font-family: 'Rajdhani', sans-serif; border: none; outline: none; }

input, select, textarea {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-mid); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===================================================
   NAVIGATION
   =================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 8, 5, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.navbar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212,160,23,0.5));
}

.navbar-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(212,160,23,0.5);
}

.navbar-logo-text span {
  color: var(--orange);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(212,160,23,0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 14, 8, 0.98);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 180px;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(212,160,23,0.08);
  padding-left: 22px;
}

/* Navbar right side */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  background: rgba(212,160,23,0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  background: rgba(212,160,23,0.2);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(18,14,8,0.98);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 6px 0;
  min-width: 140px;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 101;
}

.lang-selector:hover .lang-dropdown,
.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
}

.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 14px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

.lang-dropdown button:hover,
.lang-dropdown button.active {
  color: var(--gold);
  background: rgba(212,160,23,0.08);
}

/* Auth Buttons in Navbar */
.btn-nav-login {
  background: transparent;
  border: 1px solid var(--border-gold-bright);
  color: var(--gold);
  padding: 7px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-nav-login:hover {
  background: rgba(212,160,23,0.1);
  box-shadow: 0 0 12px rgba(212,160,23,0.2);
}

.btn-nav-register {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: 1px solid var(--orange);
  color: #fff;
  padding: 7px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-nav-register:hover {
  background: linear-gradient(135deg, #f0720a, var(--orange));
  box-shadow: 0 0 15px rgba(232,98,10,0.4);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================
   PAGE WRAPPER
   =================================================== */
.page-wrapper {
  min-height: 100vh;
  padding-top: 70px;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.5) saturate(0.85);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,8,5,0.1) 0%,
    rgba(10,8,5,0.3) 40%,
    rgba(10,8,5,0.85) 80%,
    rgba(10,8,5,1) 100%
  );
  z-index: 1;
}

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

.hero-logo {
  width: 600px;
  height: 500px;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 20px rgba(212,160,23,0.6));
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(212,160,23,0.6)); }
  50% { filter: drop-shadow(0 0 35px rgba(212,160,23,0.9)); }
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(212,160,23,0.7), 0 2px 10px rgba(0,0,0,0.8);
  letter-spacing: 3px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-title span {
  color: var(--orange);
  text-shadow: 0 0 25px rgba(232,98,10,0.7);
}

.hero-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(212,160,23,0.5);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-dark);
  border: 1px solid var(--gold);
  box-shadow: 0 0 15px rgba(212,160,23,0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg-dark);
  box-shadow: 0 0 25px rgba(212,160,23,0.6);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: rgba(212,160,23,0.1);
  box-shadow: 0 0 15px rgba(212,160,23,0.2);
  transform: translateY(-2px);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  border: 1px solid var(--orange);
  box-shadow: 0 0 15px rgba(232,98,10,0.3);
}

.btn-orange:hover {
  background: linear-gradient(135deg, #f07020, var(--orange));
  box-shadow: 0 0 25px rgba(232,98,10,0.5);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, #c0392b, #922b21);
  color: #fff;
  border: 1px solid #c0392b;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-block { width: 100%; }

/* ===================================================
   SECTION STYLES
   =================================================== */
.section {
  padding: 80px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.section-full {
  padding: 80px 20px;
}

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

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(212,160,23,0.4);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px auto;
  max-width: 400px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold-bright));
}

.section-divider::after {
  background: linear-gradient(to left, transparent, var(--border-gold-bright));
}

.section-divider span {
  color: var(--gold);
  font-size: 1.2rem;
}

/* ===================================================
   CARDS
   =================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-gold-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

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

/* ===================================================
   GRIDS
   =================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ===================================================
   FORMS
   =================================================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}

.form-input::placeholder { color: var(--text-muted); }

.form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4a017' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}

.form-error {
  font-size: 0.82rem;
  color: #e74c3c;
  margin-top: 5px;
}

/* ===================================================
   TABLES
   =================================================== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background: rgba(212,160,23,0.1);
}

.data-table th {
  padding: 14px 16px;
  text-align: left;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-gold);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(212,160,23,0.08);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.data-table tbody tr {
  transition: var(--transition);
}

.data-table tbody tr:hover {
  background: rgba(212,160,23,0.05);
}

.data-table tbody tr:nth-child(1) td { color: var(--gold); }
.data-table tbody tr:nth-child(2) td { color: #c0c0c0; }
.data-table tbody tr:nth-child(3) td { color: #cd7f32; }

/* Rank badges */
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.82rem;
}

.rank-1 { background: var(--gold); color: var(--bg-dark); }
.rank-2 { background: #c0c0c0; color: var(--bg-dark); }
.rank-3 { background: #cd7f32; color: var(--bg-dark); }
.rank-other { background: rgba(255,255,255,0.08); color: var(--text-muted); }

/* ===================================================
   CLASS BADGES
   =================================================== */
.class-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.class-water { background: rgba(52,152,219,0.15); color: #5dade2; border: 1px solid rgba(52,152,219,0.3); }
.class-fire { background: rgba(231,76,60,0.15); color: #e74c3c; border: 1px solid rgba(231,76,60,0.3); }
.class-trojan { background: rgba(142,68,173,0.15); color: #9b59b6; border: 1px solid rgba(142,68,173,0.3); }
.class-warrior { background: rgba(231,150,10,0.15); color: #e67e22; border: 1px solid rgba(231,150,10,0.3); }
.class-archer { background: rgba(39,174,96,0.15); color: #2ecc71; border: 1px solid rgba(39,174,96,0.3); }

/* ===================================================
   TABS
   =================================================== */
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: -1px;
}

.tab-btn:hover { color: var(--text-secondary); }
.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===================================================
   ALERTS / NOTIFICATIONS
   =================================================== */
.alert {
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.alert-success { background: rgba(39,174,96,0.12); border: 1px solid rgba(39,174,96,0.3); color: #2ecc71; }
.alert-error { background: rgba(192,57,43,0.12); border: 1px solid rgba(192,57,43,0.3); color: #e74c3c; }
.alert-info { background: rgba(41,128,185,0.12); border: 1px solid rgba(41,128,185,0.3); color: #3498db; }
.alert-warning { background: rgba(212,160,23,0.12); border: 1px solid rgba(212,160,23,0.3); color: var(--gold); }

/* ===================================================
   MODAL
   =================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  background: var(--bg-panel);
  border: 1px solid var(--border-gold-bright);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 50px rgba(212,160,23,0.2);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.modal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ===================================================
   FEATURES / CLASSES SECTION
   =================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transition: var(--transition);
}

.feature-card.water::before { background: linear-gradient(90deg, transparent, #3498db, transparent); }
.feature-card.fire::before { background: linear-gradient(90deg, transparent, #e74c3c, transparent); }
.feature-card.trojan::before { background: linear-gradient(90deg, transparent, #9b59b6, transparent); }
.feature-card.warrior::before { background: linear-gradient(90deg, transparent, #e67e22, transparent); }
.feature-card.archer::before { background: linear-gradient(90deg, transparent, #2ecc71, transparent); }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: var(--border-gold-bright);
}

.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
}

.feature-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===================================================
   SERVER FEATURES LIST
   =================================================== */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--border-gold-bright);
  background: var(--bg-card2);
}

.feature-item i {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===================================================
   SHOP ITEMS
   =================================================== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.shop-item {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.shop-item:hover {
  border-color: var(--border-gold-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.shop-item-img {
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-card2));
  padding: 24px;
  text-align: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border-gold);
  position: relative;
}

.shop-item-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

.shop-item-info {
  padding: 16px;
}

.shop-item-name {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.shop-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.shop-item-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price-points {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
}

.price-points span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 400;
}

/* ===================================================
   PAYMENT SECTION
   =================================================== */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.payment-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.payment-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.payment-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #333;
  border: 4px solid var(--gold);
  padding: 10px;
  text-align: center;
}

/* ===================================================
   GALLERY
   =================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  cursor: pointer;
  background: var(--bg-card2);
}

.gallery-item img,
.gallery-item video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay i {
  font-size: 2.5rem;
  color: var(--gold);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
}

.gallery-placeholder i {
  font-size: 2.5rem;
  color: var(--border-gold);
}

/* ===================================================
   PROFILE / AUTH PAGES
   =================================================== */
.auth-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg-dark);
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/poster.jpg') center/cover no-repeat;
  opacity: 0.06;
}

.auth-card {
  position: relative;
  z-index: 1;
  background: var(--bg-panel);
  border: 1px solid var(--border-gold-bright);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 0 50px rgba(0,0,0,0.8), 0 0 30px rgba(212,160,23,0.1);
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 12px;
  filter: drop-shadow(0 0 12px rgba(212,160,23,0.5));
}

.auth-title {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 6px;
}

.auth-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-footer a { color: var(--gold); }

.divider-text {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-gold);
}

/* Password toggle */
.input-wrapper {
  position: relative;
}

.input-wrapper .form-input {
  padding-right: 44px;
}

.input-toggle {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  padding: 4px;
}

.input-toggle:hover { color: var(--gold); }

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: rgba(10,8,5,0.98);
  border-top: 1px solid var(--border-gold);
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  max-width: 300px;
}

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

.footer-logo img {
  width: 44px; height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(212,160,23,0.4));
}

.footer-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 6px;
}

/* Discord Block */
.discord-block {
  background: linear-gradient(135deg, rgba(88,101,242,0.15), rgba(88,101,242,0.05));
  border: 1px solid rgba(88,101,242,0.4);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 50px;
  transition: var(--transition);
}

.discord-block:hover {
  border-color: rgba(88,101,242,0.7);
  box-shadow: 0 0 30px rgba(88,101,242,0.15);
}

.discord-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
}

.discord-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: #7289da;
  margin-bottom: 6px;
}

.discord-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865f2;
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(88,101,242,0.4);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border-gold);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

/* Online indicator */
.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

/* define cor só aqui */
.online-dot.online {
  background: var(--green);
  animation: pulse 2s infinite;
}

.online-dot.offline {
  background: #ff3b3b;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(39,174,96,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(39,174,96,0); }
}

/* ===================================================
   PAGE HERO (inner pages)
   =================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-dark));
  border-bottom: 1px solid var(--border-gold);
  padding: 50px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/poster.jpg') center/cover no-repeat;
  opacity: 0.05;
}

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

.page-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--gold);
  text-shadow: 0 0 20px rgba(212,160,23,0.4);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.page-hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===================================================
   BREADCRUMB
   =================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 12px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

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

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ===================================================
   PROFILE SIDEBAR
   =================================================== */
.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
}

.profile-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
}

.profile-avatar {
  text-align: center;
  margin-bottom: 20px;
}

.avatar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--bg-card2));
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 2.5rem;
  box-shadow: 0 0 20px rgba(212,160,23,0.3);
}

.profile-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.profile-class {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  text-decoration: none;
}

.profile-nav-item:hover {
  background: rgba(212,160,23,0.08);
  color: var(--text-secondary);
}

.profile-nav-item.active {
  background: rgba(212,160,23,0.12);
  color: var(--gold);
}

.profile-nav-item i {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

/* ===================================================
   DOWNLOAD PAGE
   =================================================== */
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.download-card:hover {
  border-color: var(--border-gold-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.download-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.download-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.download-size {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.download-progress {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  height: 6px;
  margin: 12px 0;
  overflow: hidden;
}

.download-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 20px;
  transition: width 0.5s ease;
}

/* ===================================================
   RANKINGS
   =================================================== */
.rankings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.rankings-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===================================================
   BADGES / TAGS
   =================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold { background: rgba(212,160,23,0.15); color: var(--gold); border: 1px solid rgba(212,160,23,0.3); }
.badge-green { background: rgba(39,174,96,0.15); color: #2ecc71; border: 1px solid rgba(39,174,96,0.3); }
.badge-red { background: rgba(192,57,43,0.15); color: #e74c3c; border: 1px solid rgba(192,57,43,0.3); }
.badge-blue { background: rgba(41,128,185,0.15); color: #3498db; border: 1px solid rgba(41,128,185,0.3); }

/* ===================================================
   UTILITY CLASSES
   =================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.text-orange { color: var(--orange); }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.fw-bold { font-weight: 700; }
.font-cinzel { font-family: 'Cinzel', serif; }
.font-orbitron { font-family: 'Orbitron', sans-serif; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.hidden { display: none !important; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .payment-grid { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { display: none; }
  .profile-sidebar.mobile-open { display: block; }
}

@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(10,8,5,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    padding: 20px;
    gap: 4px;
    z-index: 999;
    max-height: none;
    overflow: visible;
  }
  .hamburger { display: flex; }
  /*.btn-nav-login, .btn-nav-register { display: none; }*/
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .discord-block { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .auth-card { padding: 28px 24px; }
  .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .tab-nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tab-btn { white-space: nowrap; }
  
}

@media (max-width: 480px) {
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-stats { gap: 20px; }
  .section { padding: 50px 16px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================
   LOADING OVERLAY
   =================================================== */
.loading {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(212,160,23,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===================================================
   TOAST NOTIFICATIONS
   =================================================== */
#toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-panel);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-strong);
  min-width: 260px;
  max-width: 360px;
  animation: toastIn 0.3s ease;
  font-size: 0.9rem;
}

.toast.success { border-color: rgba(39,174,96,0.5); }
.toast.error { border-color: rgba(192,57,43,0.5); }
.toast.info { border-color: rgba(41,128,185,0.5); }

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

@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ===================================================
   GUILDWAR
   =================================================== */
.gw-team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.gw-team-card:hover {
  border-color: var(--border-gold-bright);
  box-shadow: var(--shadow-gold);
}

.gw-team-name {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.gw-score {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 12px 0;
}

.gw-vs {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--orange);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Donate History */
.donate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: var(--transition);
  flex-wrap: wrap;
  gap: 10px;
}

.donate-item:hover {
  border-color: var(--border-gold-bright);
}

.donate-amount {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
}

.donate-status {
  font-size: 0.82rem;
  font-weight: 700;
}

/* ===================================================
   SCROLL TO TOP
   =================================================== */
#scroll-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
  z-index: 500;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

#scroll-top:hover {
  background: rgba(212,160,23,0.15);
  box-shadow: 0 0 12px rgba(212,160,23,0.3);
}
