/* Casino Intense FR — brand.css | TYPO-07 SPACE-04 CONT-09 BP-05 GEO-08 MOTION-01 */
:root {
	--brand-color: #e06702;
	--highlight: #dbc215;
	--accent-pressed: #b7a410;
	--bg: #101214;
	--bg-elevated: #1a1d21;
	--color-bg-card-x: #181b1e;
	--gradient-from: #f3df81;
	--gradient-mid: #eccf41;
	--text-color: #ffffff;
	--muted: #bebcbc;
	--border-color: rgba(255,255,255,0.10);
	--banner-bg: #dc2626;

	--font-title: "Lato", "Trebuchet MS", sans-serif;
	--font-sans: "Exo", "Segoe UI", system-ui, sans-serif;
	--weight-regular: 400;
	--font-medium: 600;
	--font-bold: 700;
	--fw-black-x: 900;

	--size-sm: 0.875rem;
	--fs-base-x: 1rem;
	--type-h5: 1.2rem;
	--text-h4: 1.45rem;
	--size-h3: 1.85rem;
	--type-h2: 2.4rem;
	--text-h1: 3.4rem;

	--gap-2xs: 4px;
	--gap-xs: 8px;
	--spacing-sm: 12px;
	--gap-md: 20px;
	--gap-lg: 28px;
	--spacing-xl: 44px;
	--gap-2xl: 64px;
	--gap-3xl: 88px;

	--content-width: 1300px;
	--text-width: 720px;
	--pad-desktop: 24px;

	--rounded-xs: 3px;
	--round-sm: 6px;
	--radius: 10px;
	--rounded-lg: 16px;

	--transition-fast: 160ms;
	--transition-base: 240ms;
	--timing: cubic-bezier(0.22, 0.61, 0.36, 1);

	--header-height-desktop-x: 140px;
	--header-h-mobile: 68px;
	--depth-md: 0 10px 30px rgba(0,0,0,0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text-color);
	font-family: var(--font-sans);
	font-size: var(--fs-base-x);
	line-height: 1.65;
	padding-top: var(--header-height-desktop-x);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 var(--gap-md); font-weight: var(--fw-black-x); }
p { margin: 0 0 var(--gap-md); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--highlight); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0 0 var(--gap-md); padding-left: 1.3em; }
li { margin-bottom: var(--gap-2xs); }
strong { font-weight: var(--font-bold); color: var(--text-color); }

.skip-link { position: absolute; left: 16px; top: 12px; background: var(--highlight); color: #101214; padding: 10px 16px; border-radius: var(--round-sm); z-index: 300; font-weight: var(--font-bold); }
.skip-link:not(:focus) { top: -200px !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--highlight); color: #101214;
	font-family: var(--font-title); font-weight: var(--font-bold);
	padding: 14px 30px; border-radius: var(--rounded-xs); border: 0; cursor: pointer;
	text-decoration: none; letter-spacing: 0.02em; transition: background var(--transition-fast) var(--timing);
}
.btn:hover { background: var(--accent-pressed); color: #101214; text-decoration: none; }

/* ---------- section frame width (single canon) ---------- */
.s44-inner, .y41-inner, .k67-inner, .d08-inner, .b93-inner, .g28-inner,
.c92-inner, .b61-inner, .z34-inner, .g03-inner, .e21-inner, .i13-inner, .a94-inner {
	max-width: calc(var(--content-width) + 2 * var(--pad-desktop));
	margin-inline: auto;
	padding-inline: var(--pad-desktop);
}
.page-main { display: block; }
section { padding-block: var(--gap-2xl); }
.s44, .y41, .k67, .d08, .b93, .g28, .c92, .b61, .z34, .g03, .e21, .i13 { display: block; }
.k67--media { padding-block: 0 var(--gap-2xl); }

/* ---------- header (HEAD-03) ---------- */
.n46 { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--border-color); }
.n46-topbar { background: var(--brand-color); }
.n46-topbar-inner { max-width: calc(var(--content-width) + 2 * var(--pad-desktop)); margin-inline: auto; padding: 0 var(--pad-desktop); height: 36px; display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
.n46-info { background: var(--brand-color); color: #101214; font-size: var(--size-sm); font-weight: var(--font-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n46-auth-btn { white-space: nowrap; flex-shrink: 0; }
.n46-auth-btn--register-x { background: var(--bg); color: var(--highlight); font-weight: var(--font-bold); padding: 5px 16px; border-radius: var(--rounded-xs); font-size: var(--size-sm); }
.n46-auth-btn--register-x:hover { background: #000000; color: var(--highlight); text-decoration: none; }
.n46-main { background: var(--bg); }
.n46-main-row { max-width: 1440px; margin-inline: auto; padding-inline: var(--gap-md); height: 104px; display: flex; align-items: center; gap: var(--gap-lg); }
.n46-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.n46-logo, .n46-logo-img { flex-shrink: 0; }
.n46-logo-img { height: 90px; width: auto; min-width: 90px; }
.n46-nav { margin-left: auto; }
.n46-nav-list { display: flex; flex-wrap: nowrap; gap: var(--spacing-sm); list-style: none; margin: 0; padding: 0; align-items: center; }
.n46-nav-item { position: relative; }
.n46-link { font-family: var(--font-sans); font-weight: var(--font-medium); font-size: var(--size-sm); color: var(--muted); padding: 8px 6px; text-decoration: none; display: inline-flex; align-items: center; }
.n46-link:hover, .n46-link[aria-current="page"] { color: var(--text-color); text-decoration: none; }
.n46-nav-item--more { position: relative; }
.n46-more-toggle { display: inline-flex; align-items: center; gap: var(--gap-2xs); background: transparent; border: 0; cursor: pointer; font: inherit; }
.n46-more-chevron { transition: transform var(--transition-fast) var(--timing); }
.n46-more-toggle[aria-expanded="true"] .n46-more-chevron { transform: rotate(180deg); }
.n46-more-menu { position: absolute; top: 100%; right: 0; margin: 0; padding: var(--gap-xs) 0; list-style: none; background: var(--bg-elevated); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: var(--depth-md); min-width: 210px; z-index: 110; }
.n46-more-menu[hidden] { display: none; }
.n46-more-link { display: block; padding: var(--gap-xs) var(--gap-md); color: var(--text-color); text-decoration: none; white-space: nowrap; font-size: var(--size-sm); }
.n46-more-link:hover, .n46-more-link:focus { background: rgba(255,255,255,0.06); color: var(--highlight); text-decoration: none; }
.n46-toggle { display: none; margin-left: auto; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border-color); border-radius: var(--round-sm); cursor: pointer; }
.n46-toggle-bar { display: block; width: 22px; height: 2px; background: var(--text-color); }
.n46-drawer { display: none; }
.n46-drawer-list { list-style: none; margin: 0; padding: var(--gap-md); display: flex; flex-direction: column; gap: 2px; }
.n46-drawer-item { border-bottom: 1px solid var(--border-color); }
.n46-drawer-link { display: block; padding: 14px 4px; font-size: var(--fs-base-x); }

/* ---------- hero (HERO-05 bordered plate) ---------- */
.s44 { background: var(--bg); }
.s44-frame { border: 4px solid var(--text-color); padding: var(--gap-2xl); position: relative; box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px var(--text-color); }
.s44-content { max-width: 860px; }
.s44-eyebrow { font-size: var(--size-sm); font-style: italic; letter-spacing: 0.18em; text-transform: uppercase; color: var(--highlight); margin-bottom: var(--gap-md); }
.s44-title { font-size: var(--text-h1); margin-bottom: var(--gap-md); }
.s44-divider { border: 0; height: 1px; width: 80px; background: var(--highlight); margin: var(--gap-md) 0; }
.s44-subtitle { font-size: var(--type-h5); color: var(--muted); max-width: 640px; margin-bottom: var(--spacing-xl); }
.s44-cta { font-size: var(--type-h5); padding: 16px 40px; }

/* ---------- page header (PHEAD-05) ---------- */
.y41 { padding-block: var(--gap-2xl) var(--spacing-xl); border-bottom: 1px solid var(--border-color); }
.y41-eyebrow { font-size: var(--size-sm); letter-spacing: 0.16em; text-transform: uppercase; color: var(--highlight); margin-bottom: var(--spacing-sm); }
.y41-title { font-size: var(--text-h1); }
.y41-lead { font-size: var(--type-h5); color: var(--muted); max-width: 780px; }

/* ---------- prose ---------- */
.k67-doc { max-width: var(--text-width); }
.k67-section { margin-bottom: var(--spacing-xl); }
.k67-heading { font-size: var(--type-h2); margin-bottom: var(--gap-md); }
.k67-copy h3 { font-size: var(--text-h4); margin: var(--gap-lg) 0 var(--spacing-sm); }
.k67-copy p { color: var(--muted); }
.k67-copy li { color: var(--muted); }
.k67-figrow { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-md); }
.k67-figure { margin: 0; }
.k67-figure-img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border-color); }

/* ---------- items grid (GRID-01) ---------- */
.d08-title { font-size: var(--type-h2); margin-bottom: var(--gap-lg); }
.d08-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); }
.d08-card { background: var(--color-bg-card-x); border: 1px solid var(--border-color); border-radius: var(--radius); padding: var(--gap-lg); }
.d08-card-title { font-size: var(--text-h4); margin-bottom: var(--spacing-sm); }
.d08-card-text { color: var(--muted); margin: 0; }

/* ---------- reviews (REV-04) ---------- */
.b93-title { font-size: var(--type-h2); margin-bottom: var(--gap-lg); }
.b93-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-md); }
.b93-card { background: var(--color-bg-card-x); border: 1px solid var(--border-color); border-radius: var(--radius); padding: var(--gap-lg); }
.b93-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--spacing-sm); gap: var(--spacing-sm); }
.b93-card-author { font-family: var(--font-title); font-weight: var(--font-bold); color: var(--text-color); }
.b93-stars { color: var(--highlight); letter-spacing: 0.05em; }
.b93-card-text { color: var(--muted); margin: 0; }

/* ---------- faq (FAQ-04) ---------- */
.g28-title { font-size: var(--type-h2); margin-bottom: var(--gap-lg); }
.g28-list { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.g28-item { background: var(--color-bg-card-x); border: 1px solid var(--border-color); border-radius: var(--radius); padding: var(--gap-md) var(--gap-lg); }
.g28-question { font-family: var(--font-title); font-weight: var(--font-bold); font-size: var(--type-h5); cursor: pointer; list-style: none; color: var(--text-color); position: relative; padding-right: 28px; }
.g28-question::-webkit-details-marker { display: none; }
.g28-question::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.4em; color: var(--highlight); }
.g28-item[open] .g28-question::after { content: "–"; }
.g28-answer { padding-top: var(--spacing-sm); }
.g28-answer p { color: var(--muted); margin: 0; }

/* ---------- cta block (CTA-02) ---------- */
.c92 { background: var(--bg-elevated); }
.c92-inner { text-align: center; }
.c92-title { font-size: var(--type-h2); margin-bottom: var(--spacing-sm); }
.c92-text { color: var(--muted); max-width: 620px; margin: 0 auto var(--gap-lg); }
.c92-btn { font-size: var(--type-h5); }

/* ---------- table (TABLE-07) ---------- */
.b61-scroll { overflow-x: auto; }
.b61-table { width: 100%; border-collapse: collapse; }
.b61-table th, .b61-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-color); }
.b61-table th { font-family: var(--font-title); background: var(--bg-elevated); color: var(--text-color); }
.b61-table td { color: var(--muted); }

/* ---------- legal (LEGAL-03) ---------- */
.z34-doc { max-width: var(--text-width); }
.z34-intro { font-size: var(--type-h5); color: var(--muted); margin-bottom: var(--spacing-xl); }
.z34-block { margin-bottom: var(--spacing-xl); }
.z34-heading { font-size: var(--size-h3); margin-bottom: var(--gap-md); }
.z34-block p { color: var(--muted); }
.z34-contacts { color: var(--muted); }
.z34-disclaimer { font-size: var(--size-sm); color: var(--muted); border-top: 1px solid var(--border-color); padding-top: var(--gap-md); }

/* ---------- author card (AUTH-08) ---------- */
.e21-card { display: flex; gap: var(--spacing-xl); align-items: flex-start; background: var(--color-bg-card-x); border: 1px solid var(--border-color); border-radius: var(--rounded-lg); padding: var(--gap-2xl); }
.e21-avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--highlight); }
.e21-body { max-width: var(--text-width); }
.e21-name { font-size: var(--text-h1); margin-bottom: var(--gap-2xs); }
.e21-role { color: var(--highlight); font-weight: var(--font-medium); margin-bottom: var(--gap-md); }
.e21-bio { color: var(--muted); margin-bottom: var(--gap-lg); }
.e21-exp-title { font-size: var(--text-h4); margin-bottom: var(--spacing-sm); }
.e21-exp { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--gap-xs); }
.e21-exp-item { background: var(--bg-elevated); border: 1px solid var(--border-color); border-radius: var(--round-sm); padding: 6px 14px; color: var(--muted); font-size: var(--size-sm); margin: 0; }

/* ---------- byline (BYLINE-06) ---------- */
.page-byline-wrap { padding-block: var(--gap-2xl); }
.page-byline-wrap { max-width: calc(var(--content-width) + 2 * var(--pad-desktop)); margin-inline: auto; padding-inline: var(--pad-desktop); }
.e66 { display: flex; gap: var(--gap-lg); align-items: flex-start; background: var(--color-bg-card-x); border: 1px solid var(--border-color); border-left: 4px solid var(--highlight); border-radius: var(--radius); padding: var(--gap-lg); }
.e66-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.e66-body { max-width: var(--text-width); }
.e66-kicker { font-size: var(--size-sm); text-transform: uppercase; letter-spacing: 0.14em; color: var(--highlight); margin: 0 0 2px; }
.e66-name { font-family: var(--font-title); font-weight: var(--font-bold); font-size: var(--type-h5); margin: 0; }
.e66-link { color: var(--text-color); }
.e66-link:hover { color: var(--highlight); }
.e66-role { color: var(--muted); font-size: var(--size-sm); margin: 0 0 var(--gap-xs); }
.e66-bio { color: var(--muted); margin: 0 0 var(--gap-xs); }
.e66-expertise { color: var(--muted); font-size: var(--size-sm); margin: 0; }

/* ---------- contact form (FORM-05) ---------- */
.g03-form, .g03-intro, .g03-success { max-width: var(--text-width); }
.g03-form { display: block; }
.g03-submit { margin-top: var(--spacing-sm); }
.g03-intro { color: var(--muted); margin-bottom: var(--gap-lg); }
.g03-field { margin-bottom: var(--gap-md); }
.g03-label { display: block; margin-bottom: var(--gap-2xs); font-weight: var(--font-medium); }
.g03-input { width: 100%; padding: 12px 14px; background: var(--bg-elevated); border: 1px solid var(--border-color); border-radius: var(--round-sm); color: var(--text-color); font-family: inherit; font-size: var(--fs-base-x); }
.g03-input:focus { outline: 2px solid var(--highlight); border-color: var(--highlight); }
.g03-textarea { resize: vertical; }
.g03-success { margin-top: var(--gap-md); padding: var(--gap-md); background: var(--color-bg-card-x); border: 1px solid var(--highlight); border-radius: var(--round-sm); color: var(--text-color); }

/* ---------- error (ERR-03) ---------- */
.i13-inner { text-align: center; padding-block: var(--gap-3xl); }
.i13-code { font-family: var(--font-title); font-size: 6rem; font-weight: var(--fw-black-x); color: var(--highlight); margin: 0; line-height: 1; }
.i13-title { font-size: var(--type-h2); margin: var(--gap-md) 0; }
.i13-text { color: var(--muted); max-width: 560px; margin: 0 auto var(--gap-lg); }
.i13-btn { margin-top: var(--spacing-sm); }

/* ---------- footer (FOOT-08 masthead) ---------- */
.a94 { background: var(--bg); padding-block: var(--gap-2xl); border-top: 1px solid var(--border-color); }
.a94-masthead { border-top: 4px solid var(--text-color); border-bottom: 4px solid var(--text-color); padding: var(--gap-lg) 0; display: flex; align-items: center; justify-content: space-between; gap: var(--gap-lg); flex-wrap: wrap; margin-bottom: var(--spacing-xl); }
.a94-logo { display: inline-flex; }
.a94-logo-img { height: 72px; width: auto; }
.a94-issue { font-family: var(--font-title); font-size: var(--size-sm); letter-spacing: 0.06em; color: var(--muted); margin: 0; }
.a94-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-xl); }
.a94-col { display: block; }
.a94-col-title { font-family: var(--font-title); font-size: var(--type-h5); margin-bottom: var(--gap-md); color: var(--text-color); }
.a94-col-list { list-style: none; margin: 0; padding: 0; }
.a94-col-list li { margin-bottom: var(--gap-xs); }
.a94-col-list a { color: var(--muted); }
.a94-col-list a:hover { color: var(--highlight); }
.a94-about, .a94-age { color: var(--muted); font-size: var(--size-sm); }
.a94-about a { color: var(--highlight); }
.a94-bottom { margin-top: var(--spacing-xl); padding-top: var(--gap-md); border-top: 1px solid var(--border-color); text-align: center; }
.a94-copy { color: var(--muted); font-size: var(--size-sm); }

/* ---------- cookie banner (COOK-02) ---------- */
.m58 { position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 200; max-width: 720px; width: calc(100% - 40px); background: var(--bg-elevated); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: var(--depth-md); }
.m58[hidden] { display: none; }
.m58-inner { display: flex; align-items: center; gap: var(--gap-md); padding: var(--gap-md) var(--gap-lg); }
.m58-message { color: var(--muted); font-size: var(--size-sm); margin: 0; }
.m58-actions { display: flex; gap: var(--gap-xs); flex-shrink: 0; }
.m58-button { padding: 10px 18px; border-radius: var(--rounded-xs); border: 1px solid var(--border-color); cursor: pointer; font-family: var(--font-title); font-weight: var(--font-bold); font-size: var(--size-sm); }
.m58-button--accept-x { background: var(--highlight); color: #101214; border-color: var(--highlight); }
.m58-button--accept-x:hover { background: var(--accent-pressed); color: #101214; }
.m58-button--decline-x { background: transparent; color: var(--text-color); }
.m58-button--decline-x:hover { background: rgba(255,255,255,0.06); color: var(--text-color); }

/* ================= responsive ================= */
@media (max-width: 1024px) {
	:root { --text-h1: 2.7rem; --type-h2: 2rem; }
	.d08-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.n46-nav { display: none; }
	.n46-toggle { display: flex; }
	.n46-main-row { height: var(--header-h-mobile); }
	.n46-logo-img { height: 60px; min-width: 60px; }
	body { padding-top: var(--header-h-mobile); }
	.n46-topbar { display: none; }
	.n46-drawer { display: block; position: fixed; top: var(--header-h-mobile); right: 0; width: min(320px, 82vw); height: calc(100vh - var(--header-h-mobile)); background: var(--bg-elevated); border-left: 1px solid var(--border-color); transform: translateX(100%); visibility: hidden; transition: transform var(--transition-base) var(--timing); overflow-y: auto; z-index: 105; }
	.n46-drawer.is-open { transform: translateX(0); visibility: visible; }
}
@media (max-width: 720px) {
	:root { --text-h1: 2.2rem; --type-h2: 1.7rem; }
	.s44-frame { padding: var(--gap-lg); }
	.d08-list, .b93-list, .k67-figrow, .a94-grid { grid-template-columns: 1fr; }
	.e21-card { flex-direction: column; align-items: center; text-align: center; padding: var(--gap-lg); }
	.e21-exp { justify-content: center; }
	.e66 { flex-direction: column; }
	.m58, .m58-inner { padding: 12px 14px !important; gap: 8px !important; font-size: 13px !important; line-height: 1.35 !important; }
	.m58-inner { flex-direction: column; align-items: stretch; }
	.m58-button { padding: 8px 14px !important; font-size: 12px !important; min-height: 36px !important; }
}
