/* ==============================================================
   ZCity Brazuca - VIP System Stylesheet
   Tema Unificado com o Painel de Ranking (Dark Slate & Crimson Red)
   100% Responsivo & Mobile-First
============================================================== */

:root {
  /* Paleta Oficial do Painel de Ranking */
  --bg-primary: #0a0d14;
  --bg-secondary: #111622;
  --bg-tertiary: #161c2d;
  --bg-card: rgba(22, 28, 45, 0.75);
  --bg-card-hover: rgba(30, 38, 60, 0.9);
  
  --accent-red: #be1414;
  --accent-red-bright: #ff2d2d;
  --accent-red-glow: rgba(255, 45, 45, 0.4);
  --accent-blue: #00d2ff;
  --accent-gold: #ffd700;
  --accent-gold-hover: #e6c200;
  --accent-silver: #c0c0c0;
  --accent-bronze: #cd7f32;
  --accent-purple: #b464ff;
  --accent-green: #10b981;

  /* Aliases para compatibilidade do sistema VIP */
  --bg-dark: var(--bg-primary);
  --primary: var(--accent-red);
  --primary-hover: var(--accent-red-bright);
  --primary-glow: var(--accent-red-glow);
  --accent: var(--accent-blue);
  --gold: var(--accent-gold);
  --gold-hover: var(--accent-gold-hover);
  --success: var(--accent-green);
  --danger: #ef4444;

  --text-main: #f5f5f5;
  --text-secondary: #c0c7d4;
  --text-muted: #7d889b;
  --text-dim: #5a6679;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(190, 20, 20, 0.45);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius: 12px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(190, 20, 20, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(190, 20, 20, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Scrollbar Customizada (Tema Ranking) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #232b3e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* Container Principal */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* Header & Navbar Glassmorphism */
.navbar {
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  width: 100%;
  max-width: 100vw;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

/* Logomarca oficial Z-CITY BRAZUCA */
.logo-zcity {
  font-family: 'Impact', 'Bahnschrift', 'Arial Black', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}

.logo-zcity .logo-z {
  color: #e50914; /* Vermelho ZCity */
}

.logo-zcity .logo-city {
  color: #ffffff; /* Branco */
}

.logo-zcity .logo-br {
  color: #00c853; /* Verde Brasil */
  margin-left: 0.35rem;
}

.logo-zcity .logo-az {
  color: #ffd600; /* Amarelo Brasil */
}

.logo-zcity .logo-uca {
  color: #0091ff; /* Azul Brasil */
}

.logo-zcity-large {
  font-size: 2.8rem;
  letter-spacing: 1.5px;
}

.brand-badge {
  font-size: 0.72rem;
  background: rgba(190, 20, 20, 0.3);
  color: var(--accent-red-bright);
  border: 1px solid var(--accent-red);
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn {
  background: linear-gradient(135deg, var(--accent-red), #930e0e);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 12px rgba(190, 20, 20, 0.4);
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn:hover {
  background: linear-gradient(135deg, #d81818, #a81111);
  box-shadow: 0 4px 18px rgba(255, 45, 45, 0.5);
  transform: translateY(-1px);
  color: #fff;
}

/* User Steam Pill */
.user-steam-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  height: 38px;
  font-size: 0.85rem;
}

.user-steam-pill img {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  border: 1.5px solid var(--accent-blue);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(190, 20, 20, 0.15);
  border: 1px solid var(--border-accent);
  border-radius: 30px;
  color: var(--accent-red-bright);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 2.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 45%, #ffd2d2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}

/* Cards & Containers com Glassmorphism */
.player-box {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.player-box h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
}

.player-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

/* Inputs & Botões do Form */
.input-group {
  display: flex;
  gap: 0.75rem;
}

.input-field {
  flex: 1;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.2rem;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.input-field:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 14px var(--accent-red-glow);
}

.btn-search {
  background: linear-gradient(135deg, var(--accent-red), #930e0e);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 12px rgba(190, 20, 20, 0.4);
  padding: 0 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-search:hover {
  background: linear-gradient(135deg, #d81818, #a81111);
  box-shadow: 0 4px 18px rgba(255, 45, 45, 0.5);
  transform: translateY(-1px);
}

/* Player Preview Card */
.player-preview {
  margin-top: 1.25rem;
  padding: 1.15rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.player-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent-blue);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.35);
}

.player-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.player-info span {
  font-size: 0.82rem;
  color: var(--accent-blue);
  font-family: monospace;
}

/* Banner de Teste Grátis 1 Dia VIP (Espelhado no Season Banner do Ranking) */
.trial-banner {
  background: linear-gradient(90deg, rgba(22, 28, 45, 0.95), rgba(35, 20, 25, 0.85));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.trial-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: radial-gradient(circle, rgba(190, 20, 20, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.trial-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.trial-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.35rem;
  max-width: 620px;
}

.btn-steam {
  background: linear-gradient(90deg, #171a21 0%, #1b2838 100%);
  border: 1px solid #3d4450;
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-steam:hover {
  background: linear-gradient(90deg, #2a475e 0%, #1b2838 100%);
  border-color: #66c0f4;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 192, 244, 0.25);
}

.btn-trial-claim {
  background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
  color: #fff;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-trial-claim:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
  color: #fff;
}

/* ==============================================================
   Grid de Planos VIP (3 Colunas Lado a Lado no Desktop)
   ============================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.plan-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.plan-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Card em Destaque (Vermelho Ranking) */
.plan-card.featured {
  border-color: var(--accent-red);
  background: linear-gradient(180deg, rgba(190, 20, 20, 0.12) 0%, var(--bg-card) 45%);
  box-shadow: 0 8px 30px rgba(190, 20, 20, 0.25);
}

.plan-card.featured:hover {
  border-color: var(--accent-red-bright);
  box-shadow: 0 16px 45px rgba(255, 45, 45, 0.35);
}

/* Card Vitalício (Ouro Ranking) */
.plan-card.vitalicio {
  border-color: var(--accent-gold);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.12) 0%, var(--bg-card) 45%);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.plan-card.vitalicio:hover {
  border-color: #ffe033;
  box-shadow: 0 16px 45px rgba(255, 215, 0, 0.35);
}

/* Badges dos Planos */
.plan-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--accent-red), #930e0e);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px var(--accent-red-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-badge.gold {
  background: linear-gradient(135deg, #ffd700, #b8860b);
  color: #0a0d14;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.plan-badge.eco {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  box-shadow: none;
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1rem 0;
}

.currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
}

.amount {
  font-size: 2.85rem;
  font-weight: 800;
  color: #ffffff;
}

.period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  min-height: 40px;
  margin-bottom: 1.5rem;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.features-list li {
  padding: 0.55rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.features-list li i, .check-icon {
  color: var(--accent-green);
  font-weight: bold;
}

/* Botões dos Planos */
.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.95rem;
  background: var(--bg-tertiary);
  color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-plan:hover {
  background: linear-gradient(135deg, var(--accent-red), #930e0e);
  border-color: var(--accent-red-bright);
  box-shadow: 0 4px 18px var(--accent-red-glow);
  color: #fff;
}

.plan-card.featured .btn-plan {
  background: linear-gradient(135deg, var(--accent-red), #930e0e);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(190, 20, 20, 0.4);
}

.plan-card.featured .btn-plan:hover {
  background: linear-gradient(135deg, #d81818, #a81111);
  box-shadow: 0 6px 22px rgba(255, 45, 45, 0.55);
}

.plan-card.vitalicio .btn-plan {
  background: linear-gradient(135deg, #ffd700, #d4af37);
  color: #0a0d14;
  font-weight: 800;
  border-color: #ffd700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.35);
}

.plan-card.vitalicio .btn-plan:hover {
  background: linear-gradient(135deg, #ffe033, #e6c200);
  box-shadow: 0 6px 22px rgba(255, 215, 0, 0.5);
  color: #0a0d14;
}

/* ==============================================================
   Seção de Vantagens Detalhadas
   ============================================================== */
.features-section {
  margin: 4rem 0;
  padding: 3rem 2rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.features-grid > div {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.features-grid > div:hover {
  background: var(--bg-card-hover) !important;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

/* ==============================================================
   Order / Checkout Page (PIX)
   ============================================================== */
.checkout-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto 4rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
  overflow: hidden;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.order-code {
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--accent-blue);
  font-weight: 700;
}

.order-summary-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Status Badges */
.badge-status {
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pending {
  background: rgba(255, 215, 0, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 215, 0, 0.35);
}

.status-approved {
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 210, 255, 0.35);
}

.status-delivered {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-rejected {
  background: rgba(255, 45, 45, 0.12);
  color: #ff6b6b;
  border: 1px solid rgba(255, 45, 45, 0.35);
}

.pix-box {
  text-align: center;
  background: var(--bg-secondary);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.5rem;
  margin: 2rem 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.qr-image-wrapper {
  background: #ffffff;
  display: inline-block;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6);
}

.qr-code-img {
  width: 230px;
  height: 230px;
  display: block;
}

.pix-copy-area {
  margin-top: 1rem;
}

.copy-input-group {
  display: flex;
  max-width: 600px;
  margin: 0.75rem auto 0;
}

.copy-input-group input {
  flex: 1;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0.85rem 1rem;
  color: #e5e7eb;
  font-size: 0.88rem;
  font-family: monospace;
  outline: none;
  transition: var(--transition);
}

.copy-input-group input:focus {
  border-color: var(--accent-red);
}

.btn-copy {
  background: linear-gradient(135deg, var(--accent-red), #930e0e);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy:hover {
  background: linear-gradient(135deg, #d81818, #a81111);
}

.receipt-upload-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}

.alert-success-box {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-green);
  color: #a7f3d0;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  text-align: center;
}

.alert-warning-box {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--accent-gold);
  color: #fde68a;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

/* ==============================================================
   Página Consultar Pedido (status.php)
   ============================================================== */
.status-order-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: var(--transition);
}

.status-order-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.status-order-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-order-details {
  text-align: right;
}

.status-order-action {
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: flex-end;
}

/* ==============================================================
   Painel Administrativo (admin/index.php)
   ============================================================== */
.admin-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  display: block;
  box-sizing: border-box;
}

.admin-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: rgba(10, 13, 20, 0.95);
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ==============================================================
   Design Responsivo Completo para Tablets e Celulares (Smartphones)
   ============================================================== */

@media (max-width: 960px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* Ajustes Gerais */
  .container {
    padding: 0 0.85rem;
    width: 100% !important;
    max-width: 100% !important;
  }

  .admin-card {
    padding: 1.25rem 0.9rem !important;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .admin-tools-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    width: 100% !important;
  }

  /* Navbar Celular */
  .navbar {
    padding: 0.75rem 0;
  }
  
  .nav-content {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 0.75rem;
    width: 100%;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 0.25rem 0.4rem;
  }

  .nav-btn {
    font-size: 0.82rem;
    padding: 0.4rem 0.8rem;
  }

  .user-steam-pill {
    height: 36px;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
  }

  /* Hero Celular */
  .hero {
    padding: 2.2rem 0.5rem 1.6rem;
  }

  .hero-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.8rem;
  }

  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .logo-zcity-large {
    font-size: 1.95rem;
  }

  .hero p {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  /* Caixa de Identificação Steam */
  .player-box {
    padding: 1.4rem 1.1rem;
    margin-bottom: 2rem;
  }

  .player-box h3 {
    font-size: 1.15rem;
  }

  .player-box p {
    font-size: 0.85rem;
  }

  .input-group {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .input-field {
    width: 100%;
    font-size: 16px; /* Evita zoom automático incômodo no Safari iOS */
    padding: 0.8rem 1rem;
  }

  .btn-search, 
  .input-group .nav-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .player-preview {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
  }

  .player-info span, 
  .player-info div {
    word-break: break-all;
  }

  /* Banner Teste Grátis */
  .trial-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.35rem 1.1rem;
    gap: 1.2rem;
  }

  .trial-content h3 {
    justify-content: center;
    font-size: 1.25rem;
  }

  .btn-steam, 
  .btn-trial-claim {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  /* Cards de Planos VIP */
  .plans-grid {
    max-width: 100%;
    gap: 1.35rem;
    margin-bottom: 2.5rem;
  }

  .plan-card {
    padding: 1.6rem 1.15rem;
  }

  .plan-title {
    font-size: 1.35rem;
  }

  .amount {
    font-size: 2.3rem;
  }

  .features-list li {
    font-size: 0.88rem;
    padding: 0.45rem 0;
    line-height: 1.35;
  }

  .btn-plan {
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  /* Seção de Vantagens */
  .features-section {
    padding: 1.75rem 1.1rem;
    margin: 2.5rem 0;
  }

  .features-section h2 {
    font-size: 1.45rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* Checkout / Pagamento PIX */
  .checkout-wrapper {
    padding: 1.4rem 1rem;
    margin: 1.25rem auto 2.5rem;
  }

  .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .order-header h2 {
    font-size: 1.3rem !important;
  }

  .order-code {
    font-size: 0.95rem;
    word-break: break-all;
  }

  .order-summary-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .order-summary-box > div:last-child {
    width: 100%;
    text-align: left;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .pix-box {
    padding: 1.35rem 0.85rem;
    margin: 1.5rem 0;
  }

  .pix-box h3 {
    font-size: 1.15rem !important;
  }

  .qr-image-wrapper {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .qr-code-img {
    width: 195px;
    height: 195px;
    max-width: 100%;
    height: auto;
  }

  .copy-input-group {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .copy-input-group input {
    border-radius: var(--radius-sm);
    width: 100%;
    text-align: center;
    font-size: 0.82rem;
    padding: 0.8rem;
  }

  .btn-copy {
    border-radius: var(--radius-sm);
    width: 100%;
    padding: 0.85rem;
    font-size: 0.95rem;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .receipt-upload-box {
    padding: 1.25rem 1rem;
    margin-top: 1.5rem;
  }

  /* Página Consultar Pedido */
  .status-order-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.15rem 1rem;
  }

  .status-order-user {
    width: 100%;
  }

  .status-order-details {
    width: 100%;
    text-align: left !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .status-order-action {
    width: 100%;
    margin-top: 0.5rem;
  }

  .status-order-action a {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.6rem 1rem;
  }

  /* Painel Administrativo Mobile */
  .admin-nav-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    font-size: 0.82rem;
  }

  .admin-tools-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .filter-btn {
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
  }

  .admin-table th, 
  .admin-table td {
    padding: 0.65rem 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

/* Telas Muito Pequenas (Ex: 360px - 400px) */
@media (max-width: 420px) {
  .logo-zcity {
    font-size: 1.25rem;
  }

  .logo-zcity-large {
    font-size: 1.65rem;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .plan-title {
    font-size: 1.25rem;
  }

  .amount {
    font-size: 2rem;
  }

  .order-code {
    font-size: 0.85rem;
  }

  .qr-code-img {
    width: 175px;
    height: 175px;
  }
}
