/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Cinzel:wght@600;800&family=Lora:ital,wght@0,500;0,700;1,500&display=swap');

/* Design System & Variables */
:root {
  --font-header: 'Cinzel Decorative', serif;
  --font-title: 'Cinzel', serif;
  --font-body: 'Lora', serif;
  
  --bg-main: #1c0207; /* Marble slate dark */
  --bg-body: #24030a; /* Dark velvet wine red */
  --bg-card: #3a0611; /* Imperial crimson marble */
  
  --border-color: #d4af37; /* Imperial Roman Gold */
  --border-color-hover: #fcd34d; /* Bright warm gold */
  
  --text-primary: #d4af37;
  --text-secondary: #fcd34d;
  --text-muted: #9f1239; /* Velvet rose */
  --text-light: #f3f4f6; /* Ivory white */
  --text-white: #ffffff;
  
  --primary: #d4af37;
  --secondary: #fcd34d;
  --accent: #f8fafc;
  
  --shadow-roman: 0 0 15px rgba(212, 175, 55, 0.15), inset 0 0 10px rgba(212, 175, 55, 0.05);
  --shadow-roman-hover: 0 0 25px rgba(212, 175, 55, 0.35), inset 0 0 15px rgba(212, 175, 55, 0.1);
  
  --transition-speed: 0.3s;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(252, 211, 77, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.flex-1 { flex: 1; }

/* Disclaimer Banner */
.disclaimer-banner {
  background-color: var(--bg-main);
  border-bottom: 2px solid var(--border-color);
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  padding: 8px 10px;
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(28, 2, 7, 0.95);
  border-bottom: 3px double var(--border-color);
  padding: 14px 0;
}

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

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

.logo-icon {
  background-color: rgba(212, 175, 55, 0.05);
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-roman);
}

.logo-text {
  font-family: var(--font-header);
  font-size: 26px;
  color: var(--primary);
  line-height: 1;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.logo-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 4px;
  font-family: var(--font-title);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  font-family: var(--font-title);
  transition: all var(--transition-speed);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: 2px solid var(--border-color);
  color: var(--primary);
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
}

/* Roman imperial card */
.glass-card {
  background: var(--bg-card);
  color: var(--text-light);
  border: 2px solid var(--border-color);
  border-radius: 4px;
  box-shadow: var(--shadow-roman);
  transition: all var(--transition-speed);
  position: relative;
}

.glass-card:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-roman-hover);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-speed);
  border: 2px solid var(--border-color);
  gap: 8px;
  border-radius: 2px;
}

.btn-primary {
  background-color: var(--border-color);
  color: var(--bg-main);
}

.btn-primary:hover {
  background-color: var(--border-color-hover);
  border-color: var(--border-color-hover);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: rgba(28, 2, 7, 0.3);
  border-color: var(--border-color);
  color: var(--text-white);
}

.btn-secondary:hover {
  background-color: rgba(28, 2, 7, 0.6);
  border-color: var(--border-color-hover);
  color: var(--primary);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 10px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 14px;
}

/* Hero Section */
.hero-section {
  padding: 80px 0;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--border-color);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-title);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  box-shadow: var(--shadow-roman);
}

.hero-title {
  font-family: var(--font-header);
  font-size: 46px;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title span {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.hero-text {
  font-size: 16px;
  color: var(--text-light);
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 800px;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

/* Section Title */
.section-header {
  margin-bottom: 45px;
}

.section-kicker {
  color: var(--secondary);
  font-family: var(--font-title);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-header);
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-desc {
  color: var(--text-light);
  opacity: 0.8;
  font-size: 14.5px;
}

/* Top Three Grid */
.top-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.relic-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.relic-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(28, 2, 7, 0.9);
  color: var(--primary);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--font-title);
  font-weight: 700;
  border-radius: 2px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.card-img-wrapper {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  width: 100%;
  border-bottom: 2px solid var(--border-color);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.2) contrast(1.05);
}

.relic-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.relic-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: block;
}

.relic-title {
  font-family: var(--font-title);
  font-size: 21px;
  color: var(--text-white);
  margin-bottom: 10px;
}

.relic-desc {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 20px;
}

.relic-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  margin-top: auto;
  border-top: 1px dashed var(--border-color);
  padding-top: 14px;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #7f1d1d; /* Deep crimson stars container */
}

.star.fill {
  color: var(--primary);
  text-shadow: 0 0 5px var(--primary);
}

.star.half {
  color: var(--primary);
}

.rating-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-white);
}

.relic-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* L'Anfiteatro (Full List Leaderboard) */
.scroll-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scroll-card {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-left: 4px solid var(--border-color);
}

.scroll-rank {
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--primary);
  width: 32px;
}

.scroll-thumb {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.scroll-meta {
  flex-grow: 1;
}

.scroll-title {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--text-white);
}

.scroll-tagline {
  font-size: 13px;
  color: var(--text-light);
  opacity: 0.8;
  display: block;
}

.scroll-specs {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-light);
  opacity: 0.6;
}

.scroll-specs code {
  color: var(--primary);
}

.scroll-rating-pill {
  border: 1px solid var(--border-color-hover);
  background-color: rgba(212, 175, 55, 0.05);
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 14px;
  padding: 4px 10px;
  box-shadow: var(--shadow-roman);
}

.scroll-actions {
  display: flex;
  gap: 8px;
}

/* Home Section spacing */
.home-section {
  padding: 60px 0;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.benefit-icon-wrapper {
  background-color: rgba(212, 175, 55, 0.05);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-roman);
}

.benefit-title {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

.benefit-desc {
  font-size: 13.5px;
  color: var(--text-light);
  opacity: 0.8;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 15px;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.accordion-trigger svg {
  color: var(--secondary);
  transition: transform var(--transition-speed);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease-out;
}

.accordion-content p {
  padding: 0 22px 18px 22px;
  color: var(--text-light);
  opacity: 0.8;
  font-size: 14px;
  line-height: 1.6;
}

.accordion-item[data-open="true"] .accordion-trigger svg {
  transform: rotate(180deg);
}

/* PAGE HERO */
.page-hero {
  padding: 60px 0;
  border-bottom: 3px double var(--border-color);
  background-color: rgba(28, 2, 7, 0.4);
  margin-bottom: 40px;
}

.page-hero-title {
  font-family: var(--font-header);
  font-size: 36px;
  margin-bottom: 8px;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.page-hero-desc {
  font-size: 15px;
  color: var(--text-light);
  opacity: 0.8;
  max-width: 650px;
}

/* CATALOG PAGE SIDEBAR LAYOUT */
.catalog-sidebar-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}

.catalog-sidebar-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-title {
  font-family: var(--font-title);
  font-size: 14.5px;
  color: var(--primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.sidebar-search-box {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  background-color: rgba(28, 2, 7, 0.4);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  padding: 10px 12px 10px 38px;
  font-size: 13.5px;
  outline: none;
  font-family: var(--font-body);
  transition: border-color var(--transition-speed);
}

.search-input:focus {
  border-color: var(--border-color-hover);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  opacity: 0.5;
  pointer-events: none;
}

.sidebar-filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-filter-btn {
  width: 100%;
  background: none;
  border: 1px solid transparent;
  color: var(--text-light);
  opacity: 0.8;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-speed);
  font-family: var(--font-title);
  text-align: left;
}

.sidebar-filter-btn svg {
  opacity: 0;
  transition: transform var(--transition-speed), opacity var(--transition-speed);
}

.sidebar-filter-btn:hover {
  background-color: rgba(212, 175, 55, 0.05);
  color: var(--primary);
  opacity: 1;
}

.sidebar-filter-btn.active {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--primary);
  border-color: var(--border-color-hover);
  opacity: 1;
  box-shadow: var(--shadow-roman);
}

.sidebar-filter-btn.active svg {
  opacity: 1;
  transform: translateX(2px);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.catalog-game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.card-pub-line {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-short-desc {
  font-size: 13.5px;
  color: var(--text-light);
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 16px;
}

.card-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.no-results {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
}

/* GAME DETAIL HERO BANNER SPECIFICS */
.game-detail-hero {
  padding: 100px 40px 40px 40px;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-roman);
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  background-color: var(--bg-card);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-roman-hover);
}

.detail-title {
  font-family: var(--font-title);
  font-size: 34px;
  color: var(--text-white);
  line-height: 1.1;
  margin-top: 8px;
}

.detail-tagline {
  font-size: 15px;
  color: var(--text-light);
  opacity: 0.8;
  margin-top: 6px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 25px;
  align-items: start;
}

.detail-main {
  padding: 30px;
}

.detail-content h2 {
  font-family: var(--font-title);
  font-size: 21px;
  color: var(--primary);
  margin-bottom: 12px;
}

.desc-p {
  font-size: 15px;
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: 16px;
  line-height: 1.6;
}

.detail-sidebar {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rating-box {
  text-align: center;
  background-color: rgba(212, 175, 55, 0.03);
  border: 1px solid var(--border-color-hover);
  padding: 20px;
  border-radius: 2px;
}

.rating-title {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.6;
  margin-bottom: 6px;
}

.rating-huge {
  font-family: var(--font-title);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 8px;
}

.rating-subtext {
  font-size: 11px;
  color: var(--text-light);
  opacity: 0.6;
}

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

.info-table th, .info-table td {
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--border-color);
}

.info-table th {
  text-align: left;
  color: var(--text-light);
  opacity: 0.5;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
}

.info-table td {
  text-align: right;
  color: var(--text-white);
  font-weight: 600;
}

.info-table code {
  color: var(--primary);
}

.sidebar-actions {
  text-align: center;
}

.action-disclaimer {
  font-size: 11px;
  color: var(--text-light);
  opacity: 0.5;
  margin-top: 8px;
  text-transform: uppercase;
}

/* ABOUT / TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  padding: 24px;
  text-align: center;
}

.team-avatar {
  background-color: rgba(212, 175, 55, 0.05);
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 16px auto;
  box-shadow: var(--shadow-roman);
}

.team-name {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--text-white);
  margin-bottom: 2px;
}

.team-role {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}

.team-desc {
  font-size: 13px;
  color: var(--text-light);
  opacity: 0.8;
}

/* CONTACTS PAGE */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.contact-info-panel {
  padding: 30px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.info-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  background-color: rgba(28, 2, 7, 0.4);
  border: 1px solid var(--border-color);
}

.info-icon-col {
  color: var(--secondary);
}

.info-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.5;
}

.info-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  margin-top: 2px;
}

.alert-box {
  background-color: rgba(252, 211, 77, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 14px;
  font-size: 12px;
}

.contact-form-panel {
  padding: 30px;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background-color: rgba(28, 2, 7, 0.4);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  padding: 12px;
  border-radius: 2px;
  outline: none;
  font-family: var(--font-body);
  font-size: 13.5px;
  transition: border-color var(--transition-speed);
}

.form-control:focus {
  border-color: var(--border-color-hover);
}

textarea.form-control {
  resize: vertical;
}

#form-alert {
  display: none;
  padding: 14px;
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.form-success {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--primary);
  border-color: var(--border-color-hover) !important;
  box-shadow: var(--shadow-roman);
}

/* LEGAL PAGES */
.legal-content {
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
}

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

.legal-section h2 {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
}

.legal-section p {
  color: var(--text-light);
  opacity: 0.8;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* FOOTER */
.site-footer {
  margin-top: auto;
  background-color: #1c0207;
  border-top: 3px double var(--border-color);
  padding: 50px 0 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo-text {
  font-family: var(--font-header);
  font-size: 24px;
  color: var(--primary);
  text-decoration: none;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-light);
  opacity: 0.7;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  margin-top: 12px;
}

.footer-contact a {
  color: var(--primary);
  text-decoration: none;
}

.footer-address {
  font-size: 11px;
  color: #7f1d1d;
  margin-top: 4px;
}

.footer-col h3 {
  font-family: var(--font-title);
  font-size: 13.5px;
  color: var(--primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-light);
  opacity: 0.7;
  text-decoration: none;
  transition: all var(--transition-speed);
}

.footer-links a:hover {
  color: var(--primary);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 20px 0;
  text-align: center;
}

.copyright {
  font-size: 11px;
  color: #7f1d1d;
  letter-spacing: 0.15em;
}

/* OVERRIDE HOVER IN GAME DETAIL HERO */
.game-detail-hero.glass-card:hover {
  transform: none;
  box-shadow: var(--shadow-roman);
  border-color: var(--border-color);
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  .hero-section {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .top-three-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-sidebar-layout {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacts-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle-btn {
    display: block;
  }
  .main-nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1c0207;
    border-bottom: 2px solid var(--border-color);
    padding: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  }
  .main-nav.active {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    width: 100%;
  }
  .main-nav ul li {
    width: 100%;
  }
  .nav-link {
    display: block;
    width: 100%;
  }
  .hero-title {
    font-size: 32px;
  }
  .top-three-grid {
    grid-template-columns: 1fr;
  }
  .scroll-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .scroll-rank {
    display: none;
  }
  .scroll-actions {
    width: 100%;
  }
  .scroll-actions .btn {
    flex-grow: 1;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detail-main {
    padding: 16px;
  }
  .detail-title {
    font-size: 24px;
  }
  .game-detail-hero {
    padding-top: 60px;
  }
}

/* Roman Temple Split-Screen Layout Overhaul */
.temple-layout-body {
  display: flex;
  min-height: 100vh;
}

.temple-sidebar {
  width: 340px;
  background-color: var(--bg-card);
  border-right: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  padding: 40px 30px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  box-shadow: 5px 0 30px rgba(0,0,0,0.8);
  border-left: 8px double var(--primary);
}

.temple-main-scroll {
  margin-left: 340px;
  flex-grow: 1;
  padding: 40px;
  min-height: 100vh;
}

.temple-nav {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.temple-nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 20px;
  padding: 10px 16px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-speed);
  border-radius: 2px;
}

.temple-nav-link:hover, .temple-nav-link.active {
  color: var(--primary);
  border-color: var(--primary);
  background-color: rgba(212,175,55,0.05);
  box-shadow: 0 0 10px rgba(212,175,55,0.15);
}

@media (max-width: 1024px) {
  .temple-layout-body {
    flex-direction: column;
  }
  .temple-sidebar {
    width: 100%;
    position: static;
    border-right: none;
    border-bottom: 4px solid var(--primary);
    padding: 20px;
  }
  .temple-main-scroll {
    margin-left: 0;
    padding: 20px;
  }
  .temple-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }
}
