:root {
  --ink: #F8FAFC;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --panel: rgba(15, 23, 42, 0.7);
  --soft: #020617;
  --accent: #F97316;
  --accent-dark: #EA580C;
  --accent-glow: rgba(249, 115, 22, 0.3);
  --green: #10B981;
  --navy: #0F172A;
  --steel: #1E293B;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --glass: rgba(15, 23, 42, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--soft);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(249, 115, 22, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.05), transparent 25%),
    linear-gradient(to bottom, #020617, #0F172A);
  background-attachment: fixed;
  line-height: 1.6;
}

a {
  color: inherit;
  transition: all 0.3s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.header-inner {
  max-width: 1400px;
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 4px 20px var(--accent-glow);
  font-size: 22px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav a:hover {
  color: #fff;
}

.nav a:hover::after {
  width: 100%;
}

.language-select {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,0.05);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.language-select:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

.language-select option {
  background: var(--navy);
  color: #fff;
}

.hero {
  position: relative;
  padding-top: 60px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: var(--accent);
  filter: blur(200px);
  opacity: 0.15;
  z-index: -1;
  border-radius: 50%;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 450px;
  padding: 60px 24px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  color: #FDBA74;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.1) inset;
}

h1, h2 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1 {
  max-width: 960px;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  background: linear-gradient(180deg, #FFFFFF 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  color: #fff;
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: #CBD5E1;
  font-size: 22px;
  line-height: 1.6;
}

.trust-strip {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.trust-strip span {
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.05);
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.trust-strip span:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.trust-strip span::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
}

.toolbar {
  margin-top: -56px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.toolbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  gap: 20px;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255,255,255,0.1);
  backdrop-filter: blur(24px);
}

.search-label {
  display: none;
}

.search-input {
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font: inherit;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  font-size: 16px;
  transition: all 0.3s ease;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-input:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-button {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-button:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.filter-button.active {
  color: #fff;
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 8px 20px var(--accent-glow);
  transform: translateY(-2px);
}

.offers-section,
.update-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.section-copy {
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.status {
  color: #fff;
  margin-bottom: 32px;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.status:empty {
  display: none;
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.offer-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 240px;
  min-height: 180px;
  background: rgba(15, 23, 42, 0.6);
  color: #F8FAFC;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(16px);
}

.offer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.offer-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(30, 41, 59, 0.8);
}

.offer-top {
  min-height: 100%;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-right: 1px solid var(--glass-border);
}

.logo-box {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #ffffff;
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 900;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  padding: 8px;
  transition: transform 0.3s ease;
}

.offer-card:hover .logo-box {
  transform: scale(1.05);
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.offer-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: #fff;
}

.category {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  color: #FDBA74;
  background: rgba(249, 115, 22, 0.15);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.market-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.offer-body {
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.9fr);
  column-gap: 32px;
  align-content: center;
}

.discount {
  grid-column: 1;
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #FCD34D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 4px 15px rgba(252, 211, 77, 0.2);
}

.badge-row {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.badge {
  padding: 4px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.subtitle {
  grid-column: 1;
  margin: 0 0 16px;
  color: #CBD5E1;
  font-size: 14px;
  font-weight: 500;
}

.benefits {
  grid-column: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.benefits li {
  display: flex;
  gap: 12px;
  color: #E2E8F0;
  font-size: 13px;
  align-items: flex-start;
}

.benefits li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  font-size: 12px;
  background: rgba(16, 185, 129, 0.15);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.meta {
  grid-column: 2;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  color: #94A3B8;
  font-size: 13px;
  align-content: start;
}

.meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta strong {
  color: #F8FAFC;
  font-weight: 700;
  font-size: 14px;
}

.destination {
  grid-column: 2;
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  color: #CBD5E1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.verify-note {
  grid-column: 2;
  margin-top: 12px;
  color: #FCD34D;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verify-note::before {
  content: "!";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #FCD34D;
  color: #000;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  font-weight: 900;
}

.offer-actions {
  padding: 24px 20px;
  display: grid;
  align-content: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-left: 1px solid var(--glass-border);
}

.code-box {
  padding: 12px;
  border: 2px dashed rgba(249, 115, 22, 0.5);
  border-radius: 10px;
  color: #fff;
  background: rgba(249, 115, 22, 0.05);
  font-weight: 900;
  font-size: 18px;
  text-align: center;
  overflow-wrap: anywhere;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.offer-card:hover .code-box {
  border-color: var(--accent);
  background: rgba(249, 115, 22, 0.15);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.copy-button,
.visit-button {
  min-height: 44px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.copy-button {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}

.copy-button:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.visit-button {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  box-shadow: 0 8px 20px var(--accent-glow);
}

.visit-button:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(249, 115, 22, 0.4);
}

.visit-button::after {
  content: "→";
  font-size: 20px;
  transition: transform 0.3s ease;
}

.visit-button:hover::after {
  transform: translateX(6px);
}

.criteria-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}

.criteria-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 40px;
  padding: 48px;
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.criteria-inner p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.warning-panel {
  padding: 32px;
  border-radius: 20px;
  background: rgba(249, 115, 22, 0.05);
  border: 1px solid rgba(249, 115, 22, 0.2);
  position: relative;
  overflow: hidden;
}

.warning-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.warning-panel h3 {
  margin: 0 0 16px;
  font-size: 22px;
  color: #FDBA74;
  display: flex;
  align-items: center;
  gap: 12px;
}

.warning-panel h3::before {
  content: "⚠️";
  font-size: 24px;
}

.warning-panel p {
  margin: 0;
  color: #CBD5E1;
}

code {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  color: #FDBA74;
  font-family: monospace;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: min(400px, calc(100vw - 48px));
  padding: 20px 24px;
  border-radius: 16px;
  color: #fff;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
  font-weight: 600;
  font-size: 15px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 15px;
}

.footer-inner p {
  margin: 0;
  max-width: 600px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-inner a {
  color: #CBD5E1;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-inner a:hover {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 32px;
  z-index: 90;
  width: calc(100% - 48px);
  max-width: 860px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  backdrop-filter: blur(24px);
}

.cookie-banner h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #fff;
}

.cookie-banner p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.cookie-banner a {
  color: var(--accent);
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-actions button {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-actions .secondary-button {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.cookie-actions .secondary-button:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.cookie-actions #cookieAccept {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.cookie-actions #cookieAccept:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.offer-card {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.offer-card:nth-child(1) { animation-delay: 0.1s; }
.offer-card:nth-child(2) { animation-delay: 0.2s; }
.offer-card:nth-child(3) { animation-delay: 0.3s; }
.offer-card:nth-child(4) { animation-delay: 0.4s; }
.offer-card:nth-child(5) { animation-delay: 0.5s; }

@media (max-width: 1200px) {
  .offer-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  
  .offer-actions {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--glass-border);
    grid-template-columns: 1fr auto minmax(200px, 1fr);
    align-items: center;
    padding: 20px 24px;
  }
  
  .offer-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .meta, .destination, .verify-note {
    grid-column: 1;
  }
  
  .meta {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 16px 20px;
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-inner {
    padding-top: 60px;
  }
  
  h1 { font-size: clamp(32px, 8vw, 48px); }
  
  .toolbar-inner {
    grid-template-columns: 1fr;
  }
  
  .offer-card {
    grid-template-columns: 1fr;
  }
  
  .offer-top {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    flex-direction: row;
    justify-content: flex-start;
    padding: 20px;
    text-align: left;
  }
  
  .logo-box {
    width: 64px;
    height: 64px;
  }
  
  .offer-name, .market-label {
    text-align: left;
  }
  
  .offer-actions {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .meta {
    grid-template-columns: 1fr 1fr;
  }
  
  .criteria-inner {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-inner nav {
    justify-content: center;
  }
  
  .cookie-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cookie-actions {
    justify-content: center;
  }
}
