:root {
  --color-primary: #fb1b02;
  --color-secondary: #ff8000;
  --color-background: #fff7f1;
  --color-text: #1d0f0a;
}

:root {
  --fire-1: #fb1b02;
  --fire-2: #ff8000;
  --fire: linear-gradient(100deg, var(--fire-1), var(--fire-2));
  --cream: #fff7f1;
  --paper: #ffffff;
  --sand: #fbeee4;
  --ink: #1d0f0a;
  --ink-2: #4f3830;
  --muted: #8b7168;
  --line: #f0ddd1;
  --char: #160b08;
  --char-2: #231310;
  --gold: #c98a00;
  --gold-soft: #fff1c9;
  --vip: #7c3aed;
  --ice: #0284c7;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-lg: 26px;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(60, 20, 8, 0.06), 0 10px 30px -12px rgba(120, 40, 10, 0.25);
  --shadow-lift: 0 2px 4px rgba(60, 20, 8, 0.08), 0 22px 44px -16px rgba(190, 50, 10, 0.45);
  --wrap: 1240px;
  --head-h: 72px;
}
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { height: auto; }
h1, h2 { margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--fire-2); outline-offset: 2px; border-radius: 6px; }
.ifx-wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

/* ---------- header */
.ifx-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 247, 241, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow 0.2s; }
.ifx-head.is-scrolled { box-shadow: 0 8px 24px -16px rgba(80, 20, 5, 0.45); }
.ifx-head__bar { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.ifx-logo { flex: none; display: block; }
.ifx-logo img { width: 176px; }
.ifx-menu { display: flex; gap: 4px; margin-right: auto; }
.ifx-menu a { padding: 8px 14px; border-radius: 999px; font-weight: 650; font-size: 15px; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.ifx-menu a:hover { background: var(--sand); color: var(--ink); }
.ifx-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ifx-icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); transition: border-color 0.2s; }
.ifx-icon-btn:hover { border-color: var(--fire-2); }
.ifx-icon-btn svg, .ifx-tabbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ifx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 15px; white-space: nowrap; color: #fff; background: var(--fire); box-shadow: 0 10px 24px -12px var(--fire-1); transition: transform 0.15s, box-shadow 0.2s, filter 0.2s; }
.ifx-btn:hover { transform: translateY(-1px); filter: saturate(1.15); box-shadow: 0 16px 30px -12px var(--fire-1); }
.ifx-btn--line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.ifx-btn--line:hover { background: var(--ink); color: #fff; box-shadow: none; }
.ifx-btn--light { background: #fff; color: var(--ink); box-shadow: none; }
.ifx-btn--big { height: 56px; padding: 0 32px; font-size: 16px; }
.ifx-cats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.ifx-cats__row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 9px 0; }
.ifx-cats__row::-webkit-scrollbar { display: none; }
.ifx-cats__row a { flex: none; padding: 7px 14px; border-radius: 10px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.ifx-cats__row a:hover { background: var(--cream); color: var(--fire-1); }
.ifx-cats__row a.is-on { background: var(--ink); color: #fff; }
.ifx-tabbar { display: none; }

/* ---------- main */
.site-main { display: grid; gap: 64px; padding: 28px 0 72px; }

/* hero carousel */
.ifx-hero { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--char); color: #fff; min-height: 470px; isolation: isolate; }
.ifx-hero__slides { position: relative; height: 100%; min-height: inherit; }
.ifx-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 24px; padding: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 96px; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.ifx-slide.is-on { opacity: 1; visibility: visible; }
.ifx-slide--a { background: radial-gradient(700px 420px at 85% 50%, rgba(255, 128, 0, 0.55), transparent 65%), radial-gradient(500px 360px at 0 100%, rgba(251, 27, 2, 0.45), transparent 70%), var(--char); }
.ifx-slide--b { background: radial-gradient(640px 420px at 80% 30%, rgba(251, 27, 2, 0.55), transparent 65%), linear-gradient(120deg, #1f0b06, #3a1206); }
.ifx-slide--c { background: radial-gradient(640px 420px at 90% 70%, rgba(255, 170, 40, 0.5), transparent 60%), linear-gradient(120deg, #170806, #2b0d07); }
.ifx-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #ffb066; }
.ifx-slide__title { margin: 14px 0 14px; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.01em; }
.ifx-slide__title em { font-style: italic; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
.ifx-slide__text { font-size: clamp(1rem, 1.5vw, 1.18rem); color: #f3d9cc; max-width: 36ch; }
.ifx-slide__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ifx-slide__art { justify-self: center; width: min(100%, 340px); aspect-ratio: 1; position: relative; }
.ifx-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 176, 102, 0.35); }
.ifx-ring:nth-child(2) { inset: 12%; border-color: rgba(255, 128, 0, 0.5); }
.ifx-ring:nth-child(3) { inset: 26%; background: var(--fire); border: 0; box-shadow: 0 0 80px 10px rgba(251, 27, 2, 0.55); }
.ifx-slide__art img { position: absolute; inset: 30%; width: 40%; height: 40%; }
.ifx-hero__ui { position: absolute; z-index: 2; left: clamp(28px, 5vw, 64px); bottom: 24px; display: flex; align-items: center; gap: 12px; }
.ifx-dots { display: flex; gap: 8px; }
.ifx-dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.35); transition: width 0.3s, background 0.3s; }
.ifx-dots button.is-on { width: 30px; background: #fff; }
.ifx-hero__arrow { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.ifx-hero__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* section heads */
.ifx-sec { display: grid; gap: 18px; min-width: 0; }
.ifx-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ifx-sec__title { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.1; }
.ifx-sec__sub { margin-top: 4px; color: var(--muted); font-size: 15px; }
.ifx-sec__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.ifx-more { font-weight: 750; font-size: 14px; color: var(--fire-1); margin-right: 6px; white-space: nowrap; }
.ifx-more:hover { text-decoration: underline; }
.ifx-arrow { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); transition: border-color 0.2s, opacity 0.2s; }
.ifx-arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ifx-arrow:hover:not(:disabled) { border-color: var(--fire-2); }
.ifx-arrow:disabled { opacity: 0.35; cursor: default; }

/* modes */
.ifx-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ifx-mode { position: relative; display: grid; gap: 8px; padding: 28px 30px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.ifx-mode__num { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--fire-2); }
.ifx-mode__title { font-weight: 850; font-size: 22px; }
.ifx-mode p { color: var(--ink-2); }
.ifx-mode__tag { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--sand); color: var(--fire-1); }
.ifx-mode--dark { background: var(--char); color: #fff; }
.ifx-mode--dark p { color: #f0d4c6; }
.ifx-mode--dark .ifx-mode__tag { background: rgba(255, 255, 255, 0.1); color: #ffb066; }

/* category tiles */
.ifx-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.ifx-tile { display: grid; justify-items: center; gap: 8px; padding: 18px 8px 16px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); text-align: center; transition: transform 0.18s, box-shadow 0.2s; }
.ifx-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.ifx-tile__ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--fire); color: #fff; }
.ifx-tile__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ifx-tile strong { font-size: 14px; font-weight: 800; line-height: 1.2; }
.ifx-tile small { font-size: 12px; color: var(--muted); }

/* rails */
.ifx-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 15.5vw, 200px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 18px; margin: -6px -4px 0; overscroll-behavior-x: contain; }
.ifx-track::-webkit-scrollbar { display: none; }
.ifx-track--wide { grid-auto-columns: clamp(250px, 26vw, 330px); }
.ifx-track--small { grid-auto-columns: clamp(120px, 12vw, 150px); }
.ifx-track--top { grid-auto-columns: clamp(210px, 21vw, 270px); }
.ifx-card { scroll-snap-align: start; min-width: 0; }
.ifx-card[hidden] { display: none; }
.ifx-card__link { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--sand); aspect-ratio: 1; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.25s; }
.ifx-track--wide .ifx-card__link { aspect-ratio: 8 / 5; }
.ifx-card__link img { width: 100%; height: 100%; object-fit: cover; }
.ifx-card__link:hover, .ifx-card__link:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ifx-card__play { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); padding: 9px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 850; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5); }
.ifx-card__link:hover .ifx-card__play, .ifx-card__link:focus-visible .ifx-card__play { opacity: 1; transform: translate(-50%, 0); }
.ifx-card__name { margin-top: 10px; font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ifx-card__meta { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ifx-card__pot { font-size: 12.5px; font-weight: 800; color: var(--gold); }
/* top 10: big numbers behind the covers */
.ifx-top { display: grid; grid-template-columns: 0.55fr 1fr; align-items: end; }
.ifx-top__n { font-family: var(--serif); font-weight: 700; font-size: clamp(90px, 9vw, 130px); line-height: 0.78; letter-spacing: -0.06em; color: var(--cream); -webkit-text-stroke: 2px var(--fire-1); text-align: right; margin-right: -14px; margin-bottom: 52px; position: relative; z-index: 0; user-select: none; }
.ifx-top .ifx-card__link { z-index: 1; }
.ifx-top__body { min-width: 0; }

/* spotlight */
.ifx-spot { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.ifx-spot__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.ifx-spot__body { display: grid; align-content: center; gap: 14px; padding: clamp(24px, 4vw, 52px); }
.ifx-spot__title { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; }
.ifx-spot__body p { color: var(--ink-2); max-width: 46ch; }
.ifx-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.ifx-facts span { padding: 6px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); }

/* jackpot band */
.ifx-band { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: radial-gradient(600px 300px at 100% 0, rgba(255, 204, 77, 0.35), transparent 70%), linear-gradient(135deg, #2a1a02, #4a2c00); color: #fff; }
.ifx-band .ifx-sec__title { color: #ffe39a; }
.ifx-band .ifx-sec__sub { color: #f1d9a5; }
.ifx-band .ifx-card__name { color: #fff; }
.ifx-band .ifx-card__pot { color: #ffd257; }
.ifx-band .ifx-more { color: #ffd257; }
.ifx-band .ifx-arrow { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 210, 87, 0.35); color: #fff; }

/* floors */
.ifx-floors { display: grid; gap: 12px; }
.ifx-floor { --c: var(--gold); display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 28px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); border-left: 6px solid var(--c); }
.ifx-floor__lvl { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ifx-floor__name { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 24px; color: var(--c); }
.ifx-floor p { color: var(--ink-2); }
.ifx-floor .ifx-more { color: var(--c); }
.ifx-floor--vip { --c: var(--vip); }
.ifx-floor--cellar { --c: var(--ice); }

/* cellar: calm */
.ifx-cellar { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: #eef6fa; border: 1px solid #d3e6ef; color: #17313d; }
.ifx-cellar__title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #0b5c80; }
.ifx-cellar p { margin-top: 12px; color: #35525f; }
.ifx-cellar__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; margin: 0; }
.ifx-cellar__list li { padding: 16px 18px; border-radius: var(--r-sm); background: #fff; border: 1px solid #d3e6ef; font-size: 15px; color: #35525f; }
.ifx-cellar__list strong { display: block; color: #0b3d55; margin-bottom: 2px; }
.ifx-age { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid currentColor; font-weight: 900; font-size: 13px; flex: none; }
.ifx-cellar__note { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: #0b5c80; }

/* about */
.ifx-about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; padding-top: 12px; border-top: 1px solid var(--line); }
.ifx-about h1 { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; }
.ifx-about__lead { margin-top: 14px; font-size: 18px; font-weight: 650; color: var(--fire-1); }
.ifx-about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.ifx-about h2 { font-size: 17px; font-weight: 850; margin-bottom: 6px; }
.ifx-about p { color: var(--ink-2); }
/* detailed casino text (CAINF2) */
.ifx-seo { display: grid; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.ifx-seo > * { max-width: 920px; }
.ifx-seo__intro { display: grid; gap: 12px; }
.ifx-seo h1 { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.ifx-seo__lead { font-size: 18px; font-weight: 700; color: var(--fire-1); }
.ifx-seo h2 { margin-top: 30px; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.15; }
.ifx-seo h3 { margin: 10px 0 0; font-size: 17px; font-weight: 850; }
.ifx-seo p, .ifx-seo li { color: var(--ink-2); }
.ifx-seo strong { color: var(--ink); }
.ifx-small { font-size: 13px; color: var(--muted) !important; }
.ifx-keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 8px 0 0; max-width: none !important; }
.ifx-keyfacts div { padding: 16px 18px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.ifx-keyfacts dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ifx-keyfacts dd { margin: 4px 0 0; font-weight: 800; font-size: 15px; color: var(--ink); }
.ifx-tablebox { overflow-x: auto; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.ifx-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.ifx-table th, .ifx-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.ifx-table thead th { background: var(--char); color: #ffcf9e; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; border: 0; }
.ifx-table tbody th { color: var(--ink); font-weight: 800; white-space: nowrap; }
.ifx-table code { padding: 3px 8px; border-radius: 6px; background: var(--sand); color: var(--fire-1); font-weight: 800; font-size: 13px; }
.ifx-table__sum th, .ifx-table__sum td { color: var(--fire-1) !important; font-weight: 900; border-bottom: 0; }
.ifx-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: none !important; }
.ifx-steps li { counter-increment: s; position: relative; padding: 46px 16px 16px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); font-size: 14.5px; }
.ifx-steps li::before { content: counter(s); position: absolute; left: 16px; top: 12px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--fire); color: #fff; font-weight: 900; font-size: 13px; }
.ifx-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ifx-ticks li { position: relative; padding-left: 28px; }
.ifx-ticks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 7px; border-left: 2.5px solid var(--fire-1); border-bottom: 2.5px solid var(--fire-1); transform: rotate(-45deg); }
.ifx-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: none !important; }
.ifx-cards3 div { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); border-top: 3px solid var(--fire-2); }
.ifx-cards3 span { font-size: 14.5px; color: var(--ink-2); }
.ifx-faq { display: grid; gap: 10px; }
.ifx-faq .faq-item { padding: 16px 20px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.ifx-faq .faq-question { margin: 0 0 6px; font-size: 16px; }

/* search overlay */
.ifx-search { position: fixed; inset: 0; z-index: 80; display: grid; align-items: start; justify-items: center; padding: 10vh 16px 16px; background: rgba(22, 11, 8, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ifx-search[hidden] { display: none; }
.ifx-search__box { width: min(100%, 760px); max-height: 80vh; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); overflow: hidden; }
.ifx-search__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ifx-search__bar svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; }
.ifx-search__bar input { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: none; font: inherit; font-size: 18px; color: var(--ink); }
.ifx-search__close { font-size: 13px; font-weight: 800; color: var(--muted); padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); }
.ifx-search__res { overflow-y: auto; padding: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; align-content: start; }
.ifx-search__res .ifx-card__link { aspect-ratio: 1; }
.ifx-search__hint { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }

/* ---------- footer */
.ifx-foot { background: var(--char); color: #d9bfb3; padding: 56px 0 34px; font-size: 14px; }
.ifx-foot__brand { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(3.4rem, 12vw, 9rem); line-height: 0.9; letter-spacing: -0.03em; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 34px; }
.ifx-foot__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ifx-foot__cols img { width: 170px; margin-bottom: 12px; }
.ifx-foot__head { margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.ifx-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ifx-foot a:hover { color: #fff; }
.ifx-foot__legal { display: flex; align-items: center; gap: 16px; padding-top: 24px; color: #b9998c; }
.ifx-foot__legal .ifx-age { color: var(--fire-2); }
.ifx-foot__legal strong { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ifx-slide { transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- responsive */
@media (max-width: 1100px) {
  .ifx-menu { display: none; }
  .ifx-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ifx-slide { grid-template-columns: minmax(0, 1fr); align-content: center; }
  .ifx-slide__art { display: none; }
  .ifx-hero { min-height: 420px; }
  .ifx-modes, .ifx-spot, .ifx-cellar, .ifx-about, .ifx-about__cols { grid-template-columns: minmax(0, 1fr); }
  .ifx-keyfacts, .ifx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ifx-cards3 { grid-template-columns: minmax(0, 1fr); }
  .ifx-floor { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ifx-foot__cols { grid-template-columns: 1fr 1fr; }
  .ifx-cellar__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { padding-bottom: 70px; }
  .ifx-head__bar { height: 62px; gap: 12px; }
  .ifx-logo img { width: 140px; }
  .ifx-actions .ifx-icon-btn, .ifx-actions .ifx-btn--line { display: none; }
  .ifx-actions .ifx-btn { height: 40px; padding: 0 18px; font-size: 14px; }
  .site-main { gap: 46px; padding-top: 18px; }
  .ifx-hero { border-radius: 20px; min-height: 460px; }
  .ifx-slide { padding: 28px 22px 84px; }
  .ifx-hero__ui { left: 22px; }
  .ifx-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .ifx-tile { padding: 12px 4px; border-radius: 14px; }
  .ifx-tile__ico { width: 40px; height: 40px; border-radius: 12px; }
  .ifx-tile small { display: none; }
  .ifx-tile strong { font-size: 12px; }
  .ifx-sec__sub, .ifx-more { display: none; }
  .ifx-track { grid-auto-columns: 40vw; gap: 12px; }
  .ifx-track--wide { grid-auto-columns: 72vw; }
  .ifx-track--small { grid-auto-columns: 30vw; }
  .ifx-track--top { grid-auto-columns: 58vw; }
  .ifx-mode { padding: 22px; }
  .ifx-foot__cols { grid-template-columns: minmax(0, 1fr); }
  .ifx-tabbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .ifx-tabbar a, .ifx-tabbar button { display: grid; justify-items: center; gap: 2px; padding: 4px 0; font-size: 11px; font-weight: 700; color: var(--ink-2); }
  .ifx-tabbar .is-join { color: var(--fire-1); }
}
