:root {
  --navy: #062843;
  --orange: #ff5a0b;
  --cream: #fffaf2;
  --line: #ece4d9;
  --green: #62a83b;
  --shadow: 0 12px 30px rgba(6,40,67,.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Nunito, Arial, sans-serif;
  color: var(--navy);
  background: #fffdf9;
  overflow-x: hidden;
}

/* Strict Image Anti-Stretching & Anti-Distortion Rules */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.brand img, .footer-grid img {
  object-fit: contain !important;
  height: auto !important;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
}

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

/* Header & Nav */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.nav-wrap {
  height: 105px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand img {
  width: 255px;
  max-width: 100%;
  display: block;
  margin-top: 20px;
}

.main-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  font-weight: 800;
}

.main-nav a {
  padding: 12px 0;
  transition: color 0.2s;
}

.main-nav a.active, .main-nav a:hover {
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 23px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff5a0b, #f34100);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 90, 11, .25);
}

.btn-dark {
  background: var(--navy);
  color: white;
}

.join-btn {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: white;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
  min-height: 545px;
  position: relative;
  padding-top: 118px;
  padding-bottom: 90px;
  overflow: visible;
  z-index: 5;
}

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

.hero-bg::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -5%;
  width: 110%;
  height: 120%;
  z-index: 1;
  background: 
    linear-gradient(90deg, #f4fbff 0%, #f4fbff 12%, rgba(244, 251, 255, 0.75) 25%, transparent 50%), 
    url('assets/trail-dans-le-sancy.jpg') right top / cover no-repeat;
  transform: translate(var(--hero-img-x, 0px), var(--hero-img-y, 0px));
  will-change: transform;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.1, 0.8, 0.2, 1);
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05) translateY(-6px);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 345px;
  display: flex;
  align-items: center;
}

.hero-copy {

}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
  margin: 12px 0 22px;
  font-weight: 900;
  letter-spacing: -1.2px;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

/* Values Banner (Overlap 50% Hero / 50% Next Section) */
.values {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 15px 35px rgba(6, 40, 67, 0.16);
  width: min(1120px, 92%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 1025px) {
  .values:hover {
    transform: translate(-50%, 46%);
    box-shadow: 0 20px 42px rgba(6, 40, 67, 0.22);
  }
}

.values article {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 6px 18px;
  border-right: 1px solid #e2e8f0;
  transition: transform 0.2s ease;
}

.values article:hover {
  transform: translateY(-2px);
}

.values article:hover .icon {
  transform: scale(1.1) rotate(4deg);
}

.values article:last-child {
  border-right: 0;
}

.values strong, .values small {
  display: block;
}

.values small {
  font-size: 12px;
  color: #64748b;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 21px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.orange { background: #f16b32; }
.green { background: #68ae49; }
.blue { background: #459bd0; }
.yellow { background: #eab72f; }
.purple-light { background: #9d5ce5; }
.white-red { 
  background: #ffffff; 
  border: 2.5px solid #e11d48; 
  color: #e11d48;
  box-sizing: border-box;
  padding-bottom: 7px;
}
.blue-black {
  background: #446aaf;
  border: 2.5px solid #000000;
  color: #ffffff;
  box-sizing: border-box;
}
.purple-red {
  background: #9d5ce5;
  border: 2.5px solid #e11d48;
  color: #ffffff;
  box-sizing: border-box;
}
.orange-black {
  background: #ff690a;
  border: 2.5px solid #000000;
  color: #ffffff;
  box-sizing: border-box;
}

/* Dedicated Videos Page Styling */
.header-bar-wrapper {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-bar-wrapper .site-header {
  position: relative;
  background: #ffffff;
}

.videos-hero {
  background: linear-gradient(135deg, #062843 0%, #0c436f 100%);
  color: white;
  padding: 45px 0 55px;
  text-align: left;
  border-bottom: 4px solid var(--orange);
}

.videos-hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  margin: 0 0 24px 0;
  line-height: 1.25;
  color: white;
}

.videos-seo-text {
  font-size: 16px;
  line-height: 1.7;
  color: #e2e8f0;
  max-width: 960px;
}

.videos-seo-text p {
  margin-top: 0;
  margin-bottom: 14px;
}

.videos-seo-text p:last-child {
  margin-bottom: 0;
  font-weight: 700;
  color: #ffd0b8;
}

/* Main Sections */
.section {
  padding-top: 80px;
  scroll-margin-top: 40px;
}

.section:first-of-type {
  padding-top: 85px;
}

.section h2, .beta-form h2 {
  font-size: clamp(26px, 4vw, 34px);
  margin: 0 0 22px;
  font-weight: 900;
}

.section h2:after {
  content: "";
  display: block;
  width: 45px;
  height: 3px;
  background: var(--orange);
  margin-top: 6px;
}

/* Media Section (Videos & Musics) */
.media-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.media-grid > * {
  min-width: 0;
}

.panel {
  background: #fff7ea;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #dea44d;
  min-width: 0;
  overflow: hidden;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.panel-head h3 {
  font-size: 20px;
  margin: 0;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-btn {
  background: white;
  border: 1px solid #cbd5e1;
  color: var(--navy);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
  user-select: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.carousel-btn:hover {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(224, 86, 36, 0.25);
}

.carousel-btn:active {
  transform: translateY(0);
}

.see-all-link {
  background: white;
  border: 1px solid #ddd;
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.see-all-link:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 14px 4px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-track {
  background: transparent;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.carousel-track::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

.carousel-track .video-card {
  flex: 0 0 220px;
  width: 220px;
  max-width: 220px;
  scroll-snap-align: start;
}

.cards {
  display: grid;
  gap: 14px;
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.video-card {
  background: white;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #ebdccb;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(6, 40, 67, 0.12);
}

.thumb {
  height: 140px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.thumb button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border: 0;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-card:hover .thumb button {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--orange);
}

.thumb time {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 700;
}

.video-card strong {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.25;
}

.video-card p {
  font-size: 12px;
  line-height: 1.45;
  margin: 6px 0;
  color: #475569;
}

.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.video-card-share-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.video-card-share-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}

.video-card-share-btn svg {
  width: 12px;
  height: 12px;
}

/* Games Grid */
.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 22px;
}

.title-row h2 {
  margin: 0;
}

.title-row span {
  background: #dff2ce;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #2e6015;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.game-card {
  min-height: 180px;
  border-radius: 16px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(6, 40, 67, 0.15);
}

.game-card b {
  font-size: 22px;
  display: block;
}

.game-card p {
  width: 70%;
  font-weight: 700;
  font-size: 13px;
  margin-top: 8px;
}

.game-card em {
  position: absolute;
  right: 12px;
  bottom: 25px;
  font-style: normal;
  font-size: 54px;
  opacity: .9;
}

.game-card small {
  position: absolute;
  bottom: 12px;
  left: 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  padding: 4px 12px;
  font-weight: 800;
  font-size: 11px;
}

.peach { background: linear-gradient(135deg, #ffd6aa, #ff9c58); }
.mint { background: linear-gradient(135deg, #d8edc6, #9ccf80); }
.sky { background: linear-gradient(135deg, #d6edff, #8ec7ea); }
.sand { background: linear-gradient(135deg, #fff0bd, #ffd067); }

/* Beta Section */
.beta {
  width: min(1220px, 94%);
  margin: 80px auto 80px;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
  border: 1px solid #e2e8f0;
}

.beta-visual {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.beta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.12) translateX(var(--beta-img-x, 0px));
  transition: transform 0.25s cubic-bezier(0.1, 0.8, 0.2, 1);
  will-change: transform;
}

.beta-visual-copy {
  position: absolute;
  left: 30px;
  bottom: 40px;
  right: 30px;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  background: linear-gradient(180deg, transparent 0%, rgba(6,40,67,0.85) 100%);
  padding: 20px;
  border-radius: 14px;
  z-index: 2;
  transform: translateX(calc(var(--beta-img-x, 0px) * -0.3));
  transition: transform 0.25s cubic-bezier(0.1, 0.8, 0.2, 1);
  will-change: transform;
}

.beta-visual-copy h3 {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.beta-visual-copy p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.beta-form {
  padding: 30px;
  background: white;
}

.beta-form h2 {
  font-size: 24px;
  margin-top: 0;
}

.beta-form h2 span {
  color: var(--orange);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 18px;
}

.beta-form label {
  font-size: 12px;
  font-weight: 800;
  display: block;
}

.beta-form input {
  width: 100%;
  height: 42px;
  border: 1px solid #cfd4d7;
  border-radius: 8px;
  margin-top: 5px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
}

.beta-form input:focus {
  outline: 2px solid var(--orange);
  border-color: transparent;
}

.check {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.check input {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.check a {
  color: var(--orange);
  text-decoration: underline;
}

.submit {
  width: 100%;
  margin: 20px 0 0;
}

.form-message {
  text-align: center;
  font-weight: 800;
  color: var(--green);
  margin-top: 10px;
}

/* Cookie Banner */
.cookie {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(1160px, 94%);
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  box-shadow: 0 12px 35px rgba(6, 40, 67, 0.22);
  font-size: 13px;
  animation: slideUpCookie 0.35s ease-out forwards;
}

@keyframes slideUpCookie {
  from { transform: translate(-50%, 40px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.cookie > div:first-child {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie a {
  text-decoration: underline;
  color: var(--orange);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.cookie button {
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.2;
}

.cookie-btn-customize {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
}

.cookie-btn-customize:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.cookie-btn-reject {
  border: 1px solid #475569;
  background: #ffffff;
  color: #0f172a;
}

.cookie-btn-reject:hover {
  background: #f1f5f9;
  border-color: #0f172a;
}

.cookie-btn-accept {
  border: 1px solid #67a93d;
  background: #67a93d;
  color: white;
}

.cookie-btn-accept:hover {
  background: #55912e;
  border-color: #55912e;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #014a68, #001b31);
  color: white;
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 65px;
  max-width: 980px;
  margin: 0 auto;
}

.footer-grid img {
  width: 180px;
  height: auto !important;
  object-fit: contain;
  filter: saturate(1.15);
  display: block;
  margin-bottom: 12px;
}

.footer-grid p {
  font-size: 13px;
  max-width: 220px;
  color: #cbd5e1;
  line-height: 1.5;
}

.footer-grid h3 {
  font-size: 15px;
  margin-top: 0;
  color: #f8fafc;
}

.footer-grid a {
  display: block;
  font-size: 13px;
  margin: 8px 0;
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-grid a:hover {
  color: var(--orange);
}

.social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.footer-grid .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  margin: 0;
  transition: all 0.22s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid .social a:hover {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 86, 36, 0.35);
}

.copyright {
  text-align: center;
  font-size: 12px;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
}

/* Interactive Components & Tags */
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.tag-badge {
  font-size: 10px;
  font-weight: 800;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.rgpd-notice {
  margin-top: 20px;
  border-top: 1px dashed #cbd5e1;
  padding-top: 12px;
  font-size: 11px;
}

.rgpd-notice summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  user-select: none;
}

.rgpd-notice summary:hover {
  color: var(--orange);
}

.rgpd-notice-content {
  background: #f8fafc;
  padding: 12px;
  border-radius: 8px;
  margin-top: 8px;
  border: 1px solid #e2e8f0;
  line-height: 1.5;
  color: #334155;
}

.rgpd-notice-content p {
  margin: 6px 0;
}

.rgpd-notice-content a {
  color: var(--orange);
  font-weight: 800;
  text-decoration: underline;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 40, 67, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: white;
  border-radius: 20px;
  width: min(650px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.94);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  border: 0;
  background: #f1f5f9;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: var(--navy);
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: var(--orange);
  color: white;
}

.modal-body {
  padding: 30px;
}

.modal-body h2 {
  margin-top: 0;
  font-size: 24px;
  color: var(--navy);
}

.media-embed-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.media-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video & Media Share Toolbar */
.media-share-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.media-share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.media-share-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.media-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.share-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Social Button Brands */
.share-btn-fb {
  background: #1877f2;
  color: #ffffff !important;
}
.share-btn-fb:hover {
  background: #0d65d9;
}

.share-btn-x {
  background: #0f1419;
  color: #ffffff !important;
}
.share-btn-x:hover {
  background: #000000;
}

.share-btn-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
}
.share-btn-insta:hover {
  filter: brightness(1.08);
}

.share-btn-tiktok {
  background: #000000;
  color: #ffffff !important;
  border-color: #333;
}
.share-btn-tiktok:hover {
  background: #161823;
}

.share-btn-mail {
  background: #ffffff;
  color: #334155 !important;
  border: 1px solid #cbd5e1;
}
.share-btn-mail:hover {
  background: #f1f5f9;
  color: #0f172a !important;
}

.share-btn-copy {
  background: #ea580c;
  color: #ffffff !important;
}
.share-btn-copy:hover {
  background: #c2410c;
}

.share-feedback-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-feedback-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-top: 12px;
  background: #f8fafc;
}

.cookie-option-info strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
}

.cookie-option-info p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
}

.cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--orange);
  cursor: pointer;
}

/* ==========================================================
   RESPONSIVE MEDIA QUERIES (Mobile, Tablet, Desktop)
   ========================================================== */

/* Tablet / Medium Screens (<= 1024px) */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }
  .hero-bg::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none !important;
    background-position: 0 0, center top;
  }
  .values {
    grid-template-columns: 1fr 1fr;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 30px auto 0;
  }
  .values:hover {
    transform: none;
    box-shadow: 0 15px 35px rgba(6, 40, 67, 0.16);
  }
  .values article {
    padding: 10px 14px;
  }
  .values article:nth-child(2) {
    border-right: 0;
  }
  .values article:nth-child(3) {
    border-top: 1px solid #ddd;
  }
  .values article:nth-child(4) {
    border-top: 1px solid #ddd;
    border-right: 0;
  }
  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }
}

/* Tablet Small / Large Phones (<= 850px) */
@media (max-width: 850px) {
  .hero-copy {
    width: 100%;
    max-width: 100%;
  }
  .hero-copy p {
    max-width: 50%;
  }
  .hero-copy br {
    display: none;
  }
  .main-nav, .join-btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 95px;
    left: 4%;
    right: 4%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
    padding: 20px;
    flex-direction: column;
    gap: 10px;
    z-index: 200;
  }
  .main-nav.open a {
    padding: 10px;
    border-bottom: 1px solid #f1f5f9;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .beta {
    grid-template-columns: 1fr;
  }
  .beta-visual {
    min-height: 260px;
  }
  .cookie {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie > div:first-child {
    flex-direction: column;
  }
  .cookie-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  .cookie-actions button {
    flex: 1;
    min-width: 120px;
  }
}

/* Mobile Screens (<= 600px) */
@media (max-width: 600px) {
  .brand img {
    width: 180px;
  }
  .nav-wrap {
    height: 85px;
  }
  .hero {
    padding-top: 95px;
    padding-bottom: 40px;
  }
  .hero-bg::before {
    background-position: 0 0, 70% top;
  }
  .hero-inner {
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(26px, 6vw, 34px);
    margin: 8px 0 14px;
    letter-spacing: -0.5px;
  }
  .hero p {
    font-size: clamp(12px, 3.2vw, 15px);
    line-height: 1.4;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
  }
  .hero-actions .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    text-align: center;
    justify-content: center;
  }
  .values {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .values article {
    border-right: 0 !important;
    border-bottom: 1px solid #ddd;
    padding: 12px 10px;
  }
  .values article:last-child {
    border-bottom: 0;
  }
  .cards-3 {
    grid-template-columns: 1fr;
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .beta-form {
    padding: 20px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .footer-grid img {
    margin: 0 auto 12px auto;
  }
  .footer-grid p {
    margin: 0 auto;
  }
  .footer-grid .social {
    justify-content: center;
  }
  .footer-grid > div:first-child {
    margin-bottom: 10px;
  }
  .modal-body {
    padding: 20px 16px;
  }
  .modal-close {
    top: 10px;
    right: 10px;
  }
}


