/* ==========================================================================
   LFBB.NET — Minimalist Luxury Gaming Portal Stylesheet
   Clean, Uncluttered, High-Impact Modern Aesthetics (Mobile & Desktop)
   ========================================================================== */

:root {
  /* Core Luxury Dark Palette */
  --bg-dark: #07090e;
  --bg-surface: #0e121a;
  --bg-card: rgba(14, 18, 28, 0.75);
  --bg-card-hover: rgba(20, 26, 40, 0.95);
  
  /* Borders & Hairlines */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.22);

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Theme Accents */
  --accent-cyan: #00f0ff;
  --accent-blue: #3b82f6;

  /* Game Specific Accents */
  --cod-gold: #f59e0b;
  --cod-glow: rgba(245, 158, 11, 0.22);

  --genshin-cyan: #06b6d4;
  --genshin-glow: rgba(6, 182, 212, 0.22);

  --pubg-blue: #0ea5e9;
  --pubg-glow: rgba(14, 165, 233, 0.22);

  /* Fonts */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  background-color: var(--bg-dark);
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Ambient Subtle Background Lighting */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

.glow-top {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.16) 0%, rgba(59, 130, 246, 0.06) 60%, transparent 80%);
}

.glow-bottom {
  bottom: -120px;
  right: 15%;
  width: 450px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

/* Main App Shell */
.app-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.app-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s var(--ease-smooth);
}

.brand-link:hover .brand-logo {
  transform: scale(1.02);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.status-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  color: #e2e8f0;
  text-transform: uppercase;
}

/* Main Content Area */
.main-content {
  flex: 1;
  padding: 44px 0 54px;
  width: 100%;
}

/* Minimal Hero Section */
.hero-section {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 46px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 24px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 14px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================================
   Game Cards Grid
   ========================================================================== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 48px;
  width: 100%;
}

/* Base Game Card */
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
  width: 100%;
}

.game-card:hover {
  transform: translateY(-5px);
}

/* Card Specific Glows */
.card-cod:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 16px 36px var(--cod-glow);
}

.card-genshin:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 16px 36px var(--genshin-glow);
}

.card-pubg:hover {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 16px 36px var(--pubg-glow);
}

/* Background Image Wrap */
.card-bg-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  flex-shrink: 0;
  overflow: hidden;
  background: #090d16;
}

.card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.5s var(--ease-smooth);
}

.game-card:hover .card-bg-img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.05) 0%, rgba(7, 9, 14, 0.6) 65%, var(--bg-card) 100%);
}

/* Card Content Area */
.card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
  width: 100%;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  width: 100%;
}

.game-tag {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
}

.tag-cod {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag-genshin {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.tag-pubg {
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.game-node-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #22c55e;
}

/* Card Body */
.card-body {
  flex: 1;
  margin-bottom: 20px;
  width: 100%;
}

.game-title {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #ffffff;
  margin-bottom: 4px;
}

.game-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Perks List */
.perks-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.perk-pill {
  font-size: 12px;
  font-weight: 500;
  color: #e2e8f0;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

/* Card Footer & Action Button */
.card-footer {
  margin-top: auto;
  width: 100%;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.25s var(--ease-smooth);
}

.arrow-icon {
  font-size: 14px;
  transition: transform 0.25s var(--ease-smooth);
}

.game-card:hover .arrow-icon {
  transform: translateX(4px);
}

/* Button Variants */
.btn-cod {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.game-card:hover .btn-cod {
  background: #f59e0b;
  color: #000000;
  border-color: #f59e0b;
}

.btn-genshin {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.game-card:hover .btn-genshin {
  background: #06b6d4;
  color: #000000;
  border-color: #06b6d4;
}

.btn-pubg {
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.35);
}

.game-card:hover .btn-pubg {
  background: #0ea5e9;
  color: #000000;
  border-color: #0ea5e9;
}

/* Minimal Trust Row */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  font-size: 20px;
  line-height: 1;
  padding-top: 2px;
}

.trust-label {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.trust-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Minimal Footer */
.app-footer {
  padding: 30px 0 38px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  width: 100%;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-sep {
  color: var(--text-muted);
  font-size: 12px;
}

.footer-copy {
  font-size: 11.5px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Adaptations & Mobile First Layout
   ========================================================================== */

/* Tablet & Mobile Screens (<= 880px) */
@media (max-width: 880px) {
  .app-wrapper {
    padding: 0 16px;
  }

  .main-content {
    padding: 32px 0 44px;
  }

  .hero-section {
    margin-bottom: 32px;
  }

  .hero-title {
    font-size: 32px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
  }

  .game-card {
    flex-direction: column;
    border-radius: 16px;
  }

  .card-bg-wrap {
    width: 100%;
    height: 150px;
    min-height: unset;
  }

  .card-content {
    padding: 18px 18px 20px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
}

/* Compact Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .app-wrapper {
    padding: 0 12px;
  }

  .app-header {
    padding: 14px 0;
  }

  .brand-logo {
    height: 30px;
  }

  .status-text {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .header-status {
    padding: 4px 10px;
  }

  .main-content {
    padding: 22px 0 36px;
  }

  .hero-section {
    margin-bottom: 24px;
  }

  .hero-badge {
    font-size: 9.5px;
    padding: 4px 10px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .hero-description {
    font-size: 13px;
  }

  .game-grid {
    gap: 16px;
    margin-bottom: 28px;
  }

  .card-bg-wrap {
    height: 130px;
  }

  .card-content {
    padding: 14px 14px 16px;
  }

  .game-title {
    font-size: 19px;
  }

  .game-subtitle {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .perks-list {
    gap: 5px;
    margin-bottom: 14px;
  }

  .perk-pill {
    font-size: 11px;
    padding: 5px 8px;
  }

  .action-btn {
    padding: 10px 14px;
    font-size: 11px;
  }

  .trust-row {
    padding: 14px;
    gap: 14px;
  }

  .trust-label {
    font-size: 12.5px;
  }

  .trust-sub {
    font-size: 10.5px;
  }

  .footer-links {
    gap: 8px;
    font-size: 11px;
  }

  .footer-copy {
    font-size: 10.5px;
  }
}
