/* ==========================================================================
   FRA-LIZARO.COM - PURE VANILLA CSS
   Design Tokens & Stylesheet matching Pixel-Perfect original site
   ========================================================================== */

:root {
  --primary: #b17848;
  --primary-hover: #c68953;
  --secondary: #b22d01;
  --background: #121212;
  --surface-card: rgba(18, 17, 23, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-gold: #b17848;
  --text-color: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.85);
  --max-width: 1200px;
  --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--background);
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  color: var(--text-color);
  overflow-x: hidden;
}

::selection {
  background-color: var(--primary);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ==========================================================================
   Buttons (Skewed Parallelogram Style)
   ========================================================================== */
.lizaro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #ffffff;
  cursor: pointer;
  border: none;
  transform: skew(-12deg);
  transition: all 0.2s ease-in-out;
  text-align: center;
  user-select: none;
}

.lizaro-btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: skew(12deg);
}

.lizaro-btn-primary {
  background-color: var(--primary);
}

.lizaro-btn-primary:hover {
  background-color: var(--primary-hover);
  opacity: 0.95;
}

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

.lizaro-btn-secondary:hover {
  background-color: rgba(177, 120, 72, 0.15);
}

.lizaro-btn:active {
  transform: skew(-12deg) scale(0.97);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: var(--background);
  border-bottom: 1px solid var(--border-color);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

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

.header-logo img {
  height: 48px;
  width: auto;
}

.header-nav {
  display: none;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.8;
  color: var(--primary);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.header-actions .lizaro-btn {
  min-width: 110px;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-actions-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px 0 12px 0;
}

.mobile-actions-bar .lizaro-btn {
  width: 100%;
  padding: 8px 12px;
  font-size: 15px;
}

.mobile-drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
  background-color: var(--background);
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}

.mobile-drawer.open {
  grid-template-rows: 1fr;
}

.mobile-drawer-inner {
  min-height: 0;
  overflow: hidden;
}

.mobile-drawer ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  list-style: none;
}

.mobile-drawer .nav-link {
  font-size: 18px;
  padding: 6px 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0.5) 0%, rgba(18, 18, 18, 0.2) 50%, #121212 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--surface-card);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 28px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-offer-title {
  font-size: 24px;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 6px;
}

.hero-offer-number {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.25;
}

.hero-cta {
  display: inline-flex;
}

.hero-cta .lizaro-btn {
  padding: 12px 36px;
  font-size: 18px;
}

/* ==========================================================================
   Game Gallery
   ========================================================================== */
.gallery-section {
  padding: 40px 0;
}

.gallery-block {
  margin-bottom: 48px;
}

.gallery-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  width: 100%;
}

.gallery-divider::before,
.gallery-divider::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}

.gallery-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2.688px;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  padding: 0 16px;
}

.game-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: #333333 #1a1a1a;
}

.game-card {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

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

.game-media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.game-play-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.game-card:hover .game-play-overlay {
  opacity: 1;
}

.game-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transform: scale(0.8);
  transition: transform 0.2s ease;
}

.game-card:hover .game-play-btn {
  transform: scale(1);
}

.game-play-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  margin-left: 2px;
}

.game-info {
  padding-top: 8px;
}

.game-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.game-card:hover .game-name {
  color: var(--primary);
}

.game-studio {
  font-size: 12.8px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Table of Contents (Table des matières)
   ========================================================================== */
.toc-section {
  padding: 16px 0 32px 0;
}

.toc-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.toc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.toc-trigger:hover {
  color: var(--primary);
}

.toc-trigger svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.toc-trigger.expanded svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.toc-menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
  overflow: hidden;
}

.toc-menu.open {
  grid-template-rows: 1fr;
}

.toc-menu-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 24px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.toc-menu.open .toc-menu-inner {
  visibility: visible;
  opacity: 1;
  padding: 16px 24px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.toc-menu ol {
  list-style: decimal inside;
  margin-top: 16px;
}

.toc-menu li {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.toc-menu li a {
  transition: color 0.2s;
}

.toc-menu li a:hover {
  color: var(--primary);
}

.toc-menu ol ol {
  margin-top: 6px;
  margin-left: 20px;
  list-style: decimal inside;
}

.toc-menu ol ol li {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ==========================================================================
   Article & Editorial Content
   ========================================================================== */
.article-section {
  padding: 20px 0 40px 0;
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
}

.article-content h2 {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 16px;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 10px;
  line-height: 1.4;
}

.article-content p {
  color: var(--text-dim);
}

.article-content ol {
  list-style: decimal inside;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Styled Data Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  margin: 16px 0;
}

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

.lizaro-table th {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 20px;
  border-bottom: 1px solid var(--primary-hover);
}

.lizaro-table td {
  padding: 14px 20px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}

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

.lizaro-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.lizaro-table td:first-child {
  font-weight: 500;
  color: #ffffff;
}

/* Promotional Banners */
.promo-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 32px 24px;
  margin: 32px 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  background-color: #0d0d0d;
}

.promo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.promo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.8;
}

.promo-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.65) 60%, transparent 100%);
}

.promo-body {
  position: relative;
  z-index: 10;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-tag {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.promo-headline {
  font-size: 22px;
  font-weight: 300;
  color: #ffffff;
}

.promo-highlight {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.promo-action {
  margin-top: 8px;
}

.promo-action .lizaro-btn {
  padding: 12px 32px;
  font-size: 16px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 32px 0 48px 0;
}

.faq-title {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}

.faq-trigger:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.faq-item.expanded .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
  overflow: hidden;
}

.faq-item.expanded .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 20px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.faq-item.expanded .faq-panel-inner {
  visibility: visible;
  opacity: 1;
  padding: 14px 20px 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(255, 255, 255, 0.015);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--background);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 28px 0;
  margin-top: 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-email {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 768px) {
  .mobile-toggle,
  .mobile-actions-bar,
  .mobile-drawer {
    display: none !important;
  }

  .header-nav {
    display: flex;
  }

  .header-actions {
    display: flex;
  }

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

  .hero-offer-title {
    font-size: 28px;
  }

  .hero-offer-number {
    font-size: 36px;
  }

  .game-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow-x: visible;
    padding-bottom: 0;
  }

  .game-card {
    flex: unset;
  }

  .article-content h2 {
    font-size: 28.8px;
  }

  .article-content h3 {
    font-size: 20px;
  }

  .promo-banner {
    padding: 44px 40px;
    border-radius: 24px;
  }

  .promo-tag {
    font-size: 20px;
  }

  .promo-headline {
    font-size: 24px;
  }

  .promo-highlight {
    font-size: 32px;
  }

  .faq-title {
    font-size: 28.8px;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
