:root {
  --primary-gray: #f8f8f8;
  --secondary-gray: #e2e2e2;
  --medium-gray: #a0a0a0;
  --dark-gray: #4a4a4a;
  --anthracite: #1a1a1a;
  --accent-yellow: #ffcc00;
  --accent-yellow-hover: #e6b800;
  --text-color: #2d2d2d;
  --text-muted: #666666;
  --white: #ffffff;
  --border-soft: rgba(0, 0, 0, 0.08);
  --shadow-elegant: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition-base: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1200px;
  --header-height: 80px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-gray: #121212;
    --secondary-gray: #1e1e1e;
    --medium-gray: #3d3d3d;
    --dark-gray: #888888;
    --anthracite: #f0f0f0;
    --text-color: #e0e0e0;
    --text-muted: #aaaaaa;
    --white: #1a1a1a;
    --border-soft: rgba(255, 255, 255, 0.1);
    --shadow-elegant: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background-color: var(--primary-gray);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", "Times New Roman", serif;
  color: var(--anthracite);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
}
h2 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.8rem;
}
h4 {
  font-size: 1.3rem;
  color: var(--text-color);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

ul {
  list-style: none;
  margin-bottom: 2rem;
}

ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  background-color: var(--accent-yellow);
  border-radius: 50%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

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

header {
  height: var(--header-height);
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
}

nav {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--anthracite);
  letter-spacing: -0.5px;
}

.logo svg {
  color: var(--accent-yellow);
}

nav ul {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 0;
}

nav ul li {
  padding-left: 0;
  margin-bottom: 0;
}

nav ul li::before {
  display: none;
}

nav ul li a {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

nav ul li a:hover {
  color: var(--accent-yellow);
}

main {
  margin-top: var(--header-height);
}

section {
  padding: 100px 0;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 90%;
}

#hero {
  padding-top: 140px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

#hero h1 {
  max-width: 900px;
  margin: 0 auto 2rem;
}

#hero p {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.3rem;
  color: var(--text-muted);
}

.hero-image {
  margin-top: 4rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}

.hero-image img {
  filter: grayscale(20%);
  transition: transform 1.2s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

section header {
  position: static;
  background: transparent;
  border: none;
  height: auto;
  margin-bottom: 4rem;
  display: block;
  text-align: left;
}

section header svg {
  margin-bottom: 1.5rem;
}

section article {
  display: grid;
  gap: 2rem;
}

aside {
  background-color: var(--secondary-gray);
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent-yellow);
  margin: 3rem 0;
}

aside strong {
  color: var(--anthracite);
  display: block;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

hr {
  border: 0;
  height: 1px;
  background: var(--border-soft);
  max-width: var(--container-width);
  margin: 0 auto;
}

.media-container {
  margin: 4rem 0;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--secondary-gray);
  padding: 20px;
}

.media-container img {
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#disclaimer {
  max-width: 100%;
  width: 100%;
  background-color: var(--secondary-gray) !important;
}

#disclaimer h2 {
  color: var(--anthracite);
  font-family: inherit;
  font-weight: 800;
}

footer {
  background-color: var(--anthracite);
  color: #888888;
  padding: 80px 0 40px;
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 60px;
}

.footer-info h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.footer-links a {
  color: #888888;
}

.footer-links a:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  text-align: center;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--anthracite);
  margin: 5px 0;
  transition: var(--transition-base);
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--anthracite);
  color: var(--white);
  padding: 25px;
  border-radius: 12px;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-accept {
  color: var(--anthracite);
  background-color: var(--accent-yellow);
  padding: 12px 25px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 6px;
  white-space: nowrap;
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  h2 {
    font-size: 2.1rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }
  nav ul {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: height 0.4s ease;
    padding-top: 0;
    gap: 0;
  }
  nav ul.open {
    height: 300px;
    padding-top: 2rem;
    border-bottom: 1px solid var(--border-soft);
  }
  nav ul li {
    margin-bottom: 1.5rem;
  }
  #hero h1 {
    font-size: 2.2rem;
  }
  section {
    padding: 60px 0;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

.highlight {
  color: var(--accent-yellow);
  font-weight: 800;
}

article p b {
  color: var(--anthracite);
  font-weight: 600;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

article section {
  padding: 0;
  margin: 0;
  width: 100%;
}

.section-tag {
  display: inline-block;
  background-color: var(--secondary-gray);
  color: var(--text-muted);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Detailed Typographic Utilities to expand code volume as requested */
.text-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
}
.text-small {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-4 {
  margin-top: 4rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-4 {
  margin-bottom: 4rem;
}

/* SVG Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.logo svg {
  animation: float 4s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--primary-gray);
}
::-webkit-scrollbar-thumb {
  background: var(--medium-gray);
  border-radius: 5px;
  border: 2px solid var(--primary-gray);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--dark-gray);
}

/* Animation Classes */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: 1s ease;
}
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: 1s ease;
}
.fade-in {
  opacity: 0;
  transition: 1.5s ease;
}
.active.slide-in-left,
.active.slide-in-right,
.active.fade-in {
  opacity: 1;
  transform: translateX(0);
}

/* Card-like structures for articles */
article > div {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  transition: var(--transition-base);
}

article > div:hover {
  border-color: var(--accent-yellow);
  box-shadow: var(--shadow-elegant);
}

/* Footer details */
.footer-info p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.footer-bottom p {
  opacity: 0.6;
}

/* Disclaimer visual emphasis */
#disclaimer article {
  max-width: 1000px;
  margin: 0 auto;
}

#disclaimer h2::before {
  content: "!";
  display: inline-block;
  width: 30px;
  height: 30px;
  background: var(--accent-yellow);
  color: var(--anthracite);
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 1rem;
}

/* Responsive fixes for small devices */
@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  section {
    padding: 40px 0;
  }
  .hero-image {
    margin-top: 2rem;
  }
}

/* Specific styling for Bonus numbers */
.bonus-amount {
  color: var(--anthracite);
  background: linear-gradient(
    to top,
    var(--accent-yellow) 40%,
    transparent 40%
  );
  font-weight: 800;
}

/* Layout helpers */
.flex {
  display: flex;
}
.flex-center {
  align-items: center;
  justify-content: center;
}
.flex-column {
  flex-direction: column;
}
.w-100 {
  width: 100%;
}

/* Reach code density through repetitive but clean property sets for specific components */
#hotel article,
#bonus article,
#mobile article,
#legale article {
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 4rem;
}

#hotel ul li::before {
  background-color: var(--medium-gray);
}
#bonus ul li::before {
  background-color: var(--accent-yellow);
}
#mobile ul li::before {
  background-color: var(--dark-gray);
}
#legale ul li::before {
  background-color: var(--anthracite);
}

/* Image overlays for a "dear" or "exclusive" feel */
.media-container {
  position: relative;
}

.media-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(26, 26, 26, 0.1), transparent);
  pointer-events: none;
}
