/* ============================================
   L2 SOLISIUM - Lineage 2 Private Server
   Modern • Responsive • Cinematic Dark Fantasy
   ============================================ */

:root {
  --bg-dark: #060a14;
  --bg-card: #0c1220;
  --bg-card-hover: #141c2e;
  --bg-nav: rgba(6, 10, 20, 0.95);
  --gold: #d4af37;
  --gold-light: #f0d77b;
  --gold-dark: #a67c00;
  --silver: #c0c0c0;
  --text: #e8e6e3;
  --text-muted: #9a9690;
  --accent: #8b1a1a;
  --accent-blue: #1a3a5c;
  --success: #2e7d32;
  --border: rgba(212, 175, 55, 0.22);
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.35);
  --radius: 14px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Cinzel', 'Times New Roman', serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(139, 26, 26, 0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 90%, rgba(26, 58, 92, 0.09) 0%, transparent 45%);
  z-index: -2;
  pointer-events: none;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-light);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 45%, var(--gold-light) 100%);
  color: #1a1200;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
  color: #1a1200;
}

.btn-secondary {
  background: rgba(0,0,0,0.4);
  color: var(--gold);
  border: 1px solid var(--gold);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-lg {
  padding: 1.15rem 2.5rem;
  font-size: 1.05rem;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 6px 40px rgba(0,0,0,0.6);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Logo retangular limpa — sem círculo */
.logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.25));
  transition: opacity 0.2s ease;
}
.logo-img:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

/* Banner mascote */
.mascot-banner {
  max-width: 1280px;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.mascot-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 340px;
  object-fit: cover;
  object-position: center 40%;
}

/* ========== PAGE LOADER ========== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #060a14;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  text-align: center;
  animation: loaderFadeIn 0.4s ease;
}
@keyframes loaderFadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.loader-logo {
  width: min(220px, 55vw);
  height: auto;
  max-height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
@keyframes loaderPulse {
  0%, 100% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.12); transform: scale(1.02); }
}
.loader-bar {
  width: 180px;
  height: 3px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 3px;
  margin: 0 auto 1rem;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 3px;
  animation: loaderSlide 1.1s ease-in-out infinite;
}
@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
.loader-text {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ========== LANGUAGE SWITCHER ========== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.3rem 0.4rem;
}
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid transparent;
  padding: 0.2rem;
  border-radius: 6px;
  cursor: pointer;
  line-height: 0;
  transition: var(--transition);
  opacity: 1;
  filter: none;
}
.lang-btn .flag-img {
  width: 28px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
  display: block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.lang-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-1px);
}
.lang-btn.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.18);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

/* Features page */
.features-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.feat-menu {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: sticky;
  top: 90px;
}
.feat-tab {
  text-align: left;
  padding: 0.85rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}
.feat-tab:hover {
  color: var(--gold-light);
  border-color: rgba(212,175,55,0.4);
  background: var(--bg-card-hover);
}
.feat-tab.active {
  color: #1a1200;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
  font-weight: 600;
}
.feat-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.feat-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(212,175,55,0.06), transparent 55%);
  pointer-events: none;
}
.feat-panel { display: none; position: relative; }
.feat-panel.active { display: block; animation: fadeUp 0.35s ease; }
.feat-panel h2 {
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}
.feat-highlight {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}
.feat-panel p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.feat-list {
  list-style: none;
  padding: 0;
}
.feat-list li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  color: var(--text);
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.feat-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.rates-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.rate-box {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.6rem;
  text-align: center;
  min-width: 110px;
}
.rb-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
}
.rb-lab {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .features-layout {
    grid-template-columns: 1fr;
  }
  .feat-menu {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .feat-tab {
    flex: 1 1 auto;
    font-size: 0.8rem;
    padding: 0.65rem 0.8rem;
  }
  .feat-content { padding: 1.5rem; }
}

.btn-nav {
  padding: 0.5rem 1.15rem !important;
  font-size: 0.82rem !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}
.nav-links a {
  padding: 0.55rem 1.05rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-select {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.4rem 0.65rem;
  border-radius: 5px;
  font-size: 0.85rem;
  cursor: pointer;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* ========== HERO (Cinematic) ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 1.5rem 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(7,7,12,0.45) 0%,
      rgba(7,7,12,0.55) 40%,
      rgba(7,7,12,0.92) 75%,
      var(--bg-dark) 100%),
    url('../img/hero-bg.jpg') center/cover no-repeat;
  z-index: -1;
  transform: scale(1.05);
  animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-content {
  max-width: 920px;
  animation: fadeUp 1.1s ease-out;
}

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

.hero-badge {
  display: inline-block;
  padding: 0.45rem 1.4rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 1.6rem;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.hero h1 {
  margin-bottom: 0.6rem;
  text-shadow: 0 0 50px rgba(212, 175, 55, 0.45), 0 4px 20px rgba(0,0,0,0.8);
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(232, 230, 227, 0.85);
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

.hero-rates {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 2.2rem 0 2.6rem;
}

.rate-item {
  background: rgba(14, 14, 22, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.6rem;
  min-width: 110px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.rate-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.rate-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.rate-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.server-status {
  margin-top: 2.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.5rem;
  background: rgba(46, 125, 50, 0.18);
  border: 1px solid rgba(46, 125, 50, 0.45);
  border-radius: 50px;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
}

.status-dot {
  width: 11px; height: 11px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.55); }
  50% { opacity: 0.85; box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
}

/* ========== SECTIONS ========== */
.section {
  padding: 5.5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.2rem;
}
.section-header p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0.6rem auto 0;
  font-size: 1.05rem;
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 58px; height: 58px;
  background: linear-gradient(145deg, rgba(212,175,55,0.22), rgba(212,175,55,0.06));
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.3rem;
  color: var(--gold);
}

.feature-card h3 {
  margin-bottom: 0.65rem;
  color: var(--text);
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== NEWS ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.news-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.4);
}

.news-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.news-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,14,22,0.85) 100%);
}

.news-body {
  padding: 1.5rem 1.6rem 1.7rem;
}
.news-date {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.news-body h3 {
  color: var(--text);
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.news-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ========== RANKINGS ========== */
.rankings-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}

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

.ranking-header {
  background: linear-gradient(90deg, rgba(212,175,55,0.18), transparent);
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.ranking-header h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin: 0;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
}
.ranking-table th,
.ranking-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ranking-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  font-weight: 500;
}
.ranking-table tr:hover td {
  background: rgba(212, 175, 55, 0.06);
}

.rank-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  width: 42px;
}
.rank-num.gold { color: #ffd700; text-shadow: 0 0 10px rgba(255,215,0,0.4); }
.rank-num.silver { color: #c0c0c0; }
.rank-num.bronze { color: #cd7f32; }

/* ========== STATS BAR ========== */
.stats-bar {
  background:
    linear-gradient(180deg, rgba(14,14,22,0.95), rgba(14,14,22,0.98)),
    url('../img/night.jpg') center/cover;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem;
  position: relative;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,7,12,0.7);
}

.stats-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ========== CTA SECTION ========== */
.cta-section {
  text-align: center;
  padding: 6rem 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(212,175,55,0.04), transparent);
  position: relative;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p {
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

/* ========== FORMS ========== */
.form-container {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.6rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.form-group input::placeholder { color: #555; }

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

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 150px 1.5rem 70px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(7,7,12,0.5) 0%, rgba(7,7,12,0.92) 100%),
    url('../img/castle.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-header h1 {
  margin-bottom: 0.5rem;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
}
.page-header p { color: rgba(232,230,227,0.8); }

/* ========== DOWNLOAD ========== */
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  text-align: center;
  transition: var(--transition);
}
.download-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.download-card .icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: var(--gold);
}
.download-card h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
}
.download-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ========== FOOTER ========== */
.footer {
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.5)),
    #050508;
  border-top: 1px solid var(--border);
  padding: 4.5rem 1.5rem 2.2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 1.1rem; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.footer h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.08em;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--gold); }

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.social-links a {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 1.1rem;
}
.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1050px) {
  /* botões Entrar/Criar ficam visíveis; menu links no hamburger */
  .nav-user-name { display: none; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg-nav);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.95rem;
  }
  .hamburger { display: flex; }

  .hero-rates { gap: 0.8rem; }
  .rate-item {
    min-width: 85px;
    padding: 0.85rem 1.1rem;
  }
  .rate-value { font-size: 1.45rem; }

  .logo-img {
    height: 32px;
    max-width: 120px;
  }
}

@media (max-width: 600px) {
  .hero { padding-top: 110px; }
  .section { padding: 3.8rem 1rem; }
  .form-container { padding: 1.8rem; }
  .page-header { padding: 130px 1rem 50px; }
  .lang-switcher { padding: 0.15rem; }
  .lang-btn { padding: 0.3rem 0.4rem; }
  .loader-logo { width: min(180px, 50vw); max-height: 72px; }
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ========== COUNTDOWN ========== */
.countdown-section {
  padding: 3.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(212,175,55,0.06), transparent 70%);
  border-bottom: 1px solid var(--border);
}
.countdown-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}
.countdown-block { text-align: center; }
.countdown-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: var(--gold-light);
}
.countdown-block > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}
.countdown-divider {
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}
.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cd-unit {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 72px;
  padding: 0.85rem 0.6rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.cd-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}
.cd-lab {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.cd-date {
  margin-top: 1rem !important;
  font-size: 0.85rem !important;
  color: var(--gold) !important;
  letter-spacing: 0.04em;
}

/* Floating donate button */
.fab-donate {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-dark), var(--gold));
  color: #1a1200 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
  z-index: 900;
  transition: var(--transition);
  text-decoration: none !important;
}
.fab-donate:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.55);
  color: #1a1200 !important;
}

@media (max-width: 800px) {
  .countdown-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .countdown-divider {
    width: 80%;
    height: 1px;
    margin: 0 auto;
  }
  .cd-unit { min-width: 64px; padding: 0.7rem 0.5rem; }
  .cd-num { font-size: 1.4rem; }
}


/* Hero title + inline logo */
.hero-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  line-height: 1.15;
}
.hero-title-row .hero-logo-inline {
  height: 1.15em;
  width: auto;
  max-height: 72px;
  max-width: min(340px, 70vw);
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.45));
}
@media (max-width: 700px) {
  .hero-title-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-title-row .hero-logo-inline {
    max-height: 52px;
    max-width: 85vw;
  }
}


/* Mobile: bandeiras em combo + botões de login visíveis */
.lang-select-mobile {
  display: none;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  max-width: 100px;
}
.nav-user-name {
  color: var(--gold-light);
  font-size: 0.85rem;
  margin: 0 0.25rem;
}
@media (max-width: 900px) {
  .lang-flags-desktop { display: none !important; }
  .lang-select-mobile { display: inline-block; }
  .nav-actions {
    gap: 0.4rem;
    flex-wrap: nowrap;
  }
  .btn-nav {
    display: inline-flex !important;
    padding: 0.4rem 0.7rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap;
  }
}
@media (max-width: 400px) {
  .btn-nav { padding: 0.35rem 0.55rem !important; font-size: 0.7rem !important; }
}

/* ========== SERVER SPECIFICATIONS ========== */
.specs-intro {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
  font-size: 0.95rem;
}
.specs-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.spec-row {
  display: grid;
  grid-template-columns: 40px 1fr 1fr;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  transition: background 0.2s ease;
}
.spec-row:last-child { border-bottom: none; }
.spec-row:hover {
  background: rgba(212, 175, 55, 0.04);
}
.spec-icon {
  font-size: 1.25rem;
  text-align: center;
  line-height: 1;
  opacity: 0.9;
}
.spec-label strong,
.spec-value strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.spec-label strong { color: var(--text); }
.spec-value strong {
  color: var(--gold);
  text-align: right;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.spec-label span,
.spec-value span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  line-height: 1.4;
}
.spec-value span { text-align: right; }

@media (max-width: 700px) {
  .spec-row {
    grid-template-columns: 32px 1fr;
    gap: 0.35rem 0.75rem;
  }
  .spec-value {
    grid-column: 2;
  }
  .spec-value strong,
  .spec-value span { text-align: left; }
}

/* Feature menu L2 gold icons */
.feat-tab {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.feat-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(212,175,55,0.25));
}
.feat-tab.active .feat-ico {
  filter: brightness(0.35) drop-shadow(0 0 0 transparent);
}
.spec-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 4px rgba(212,175,55,0.3));
}

.feature-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(212,175,55,0.35));
}
