/*
Theme Name: 3A娛樂城
Description: Light casino-lobby theme for 3A娛樂城: cream body, gold accents, navy hero and footer.
Version: 1.0
Text Domain: threea
*/

:root {
	--bg: #faf8f5;
	--alt: #f3eee6;
	--card: #fff;
	--line: #ebe4d8;
	--ink: #1e232a;
	--text: #4b5563;
	--muted: #8a94a3;
	--gold: #b8873a;
	--gold-1: #d6ad62;
	--gold-2: #a2722a;
	--gold-soft: #f6ead3;
	--navy: #0f172a;
	--navy-2: #1b2740;
	--radius: 16px;
	--shadow: 0 1px 2px rgba(30, 35, 42, .04), 0 8px 24px rgba(30, 35, 42, .06);
	--font: 'Noto Sans TC', 'Microsoft JhengHei', 'PingFang TC', system-ui, sans-serif;
	--font-mark: 'Cinzel', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html.ta-locked { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.8 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--gold); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; font-weight: 700; }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.ta-narrow { max-width: 860px; }
.ta-center { text-align: center; margin: 36px 0 0; }
.ta-ico { width: 1.2em; height: 1.2em; flex: 0 0 auto; }

/* ---------- Buttons ---------- */
.ta-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 26px; border-radius: 999px; border: 1px solid transparent;
	font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.ta-btn:hover { transform: translateY(-1px); }
.ta-btn--gold { background: linear-gradient(180deg, var(--gold-1), var(--gold) 55%, var(--gold-2)); color: #fff; box-shadow: 0 6px 16px rgba(184, 135, 58, .35); }
.ta-btn--gold:hover { box-shadow: 0 8px 22px rgba(184, 135, 58, .5); }
.ta-btn--white { background: #fff; color: var(--ink); }
.ta-btn--navy { background: var(--navy); color: #fff; }
.ta-btn--line { background: transparent; color: var(--gold); border-color: var(--gold); }
.ta-btn--sm { padding: 7px 18px; font-size: 14px; }
.ta-btn--lg { padding: 14px 32px; font-size: 16px; }
.ta-btn--block { display: flex; width: 100%; }
.ta-link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.ta-link:hover { color: var(--gold); }

/* ---------- Logo ---------- */
.ta-logo { display: inline-flex; align-items: baseline; gap: 4px; text-decoration: none; }
.ta-logo__mark {
	font: 900 30px/1 var(--font-mark); letter-spacing: -1px;
	background: linear-gradient(180deg, #f3d48d, var(--gold) 55%, #7a5418); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .08));
}
.ta-logo__text { font: 900 19px/1 var(--font); color: var(--ink); letter-spacing: 1px; }
.ta-logo--light .ta-logo__text { color: #fff; }

/* ---------- Header ---------- */
.ta-header {
	position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px;
	height: 68px; padding: 0 clamp(16px, 3vw, 36px); background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.is-scrolled .ta-header { box-shadow: 0 6px 20px rgba(15, 23, 42, .07); }
.ta-nav { flex: 1; }
.ta-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(8px, 2.2vw, 30px); }
.ta-nav a { position: relative; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; white-space: nowrap; }
.ta-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.ta-nav a:hover, .ta-nav .is-current a { color: var(--gold); }
.ta-nav a:hover::after, .ta-nav .is-current a::after { transform: scaleX(1); }
.ta-header__btns { display: flex; align-items: center; gap: 16px; }
.ta-burger { display: none; background: none; border: 0; padding: 6px; color: var(--ink); cursor: pointer; font-size: 22px; }

/* drawer */
.ta-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(15, 23, 42, .6); }
.ta-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: var(--card); padding: 22px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; animation: ta-in-right .25s ease-out; }
.ta-drawer__close { align-self: flex-end; background: none; border: 0; font-size: 24px; color: var(--ink); cursor: pointer; padding: 4px; }
.ta-drawer nav ul { list-style: none; margin: 0; padding: 0; }
.ta-drawer nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.ta-drawer nav .is-current a { color: var(--gold); }
.ta-drawer__btns { display: grid; gap: 10px; margin-top: auto; }

/* ---------- Hero ---------- */
.ta-hero {
	position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
	min-height: clamp(520px, 72vh, 680px); padding: 90px 16px; overflow: hidden; color: #e5e7eb;
	background: linear-gradient(180deg, rgba(15, 23, 42, .72), rgba(15, 23, 42, .88)), var(--bg) center / cover no-repeat, var(--navy);
}
.ta-hero::before { /* gold light from the top */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(700px 360px at 50% -80px, rgba(214, 173, 98, .35), transparent 70%),
		radial-gradient(500px 300px at 85% 110%, rgba(214, 173, 98, .18), transparent 70%);
}
.ta-hero::after { /* big outlined 3A behind the text */
	content: "3A"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); pointer-events: none;
	font: 900 clamp(240px, 42vw, 560px)/1 var(--font-mark); color: transparent; -webkit-text-stroke: 2px rgba(214, 173, 98, .16);
}
.ta-hero__inner { position: relative; z-index: 1; max-width: 820px; animation: ta-up .7s ease-out both; }
.ta-kicker { display: inline-block; padding: 4px 14px; margin-bottom: 18px; border: 1px solid rgba(214, 173, 98, .55); border-radius: 999px; color: var(--gold-1); font-size: 13px; letter-spacing: 2px; }
.ta-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(34px, 6vw, 60px); font-weight: 900; letter-spacing: 1px; text-shadow: 0 4px 24px rgba(0, 0, 0, .4); }
.ta-hero h1 span { display: block; font-size: .5em; font-weight: 700; margin-top: 10px; background: linear-gradient(90deg, #f3d48d, var(--gold-1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ta-hero__lead { margin: 0 auto 30px; max-width: 680px; font-size: clamp(15px, 1.8vw, 17px); color: #d1d5db; }
.ta-hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.ta-hero__chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 34px 0 0; padding: 0; font-size: 13px; color: var(--gold-1); }
.ta-hero__chips li { display: inline-flex; align-items: center; gap: 6px; }

/* category strip */
.ta-strip { background: linear-gradient(90deg, #e9e2d6, #f3eee6, #e9e2d6); border-bottom: 1px solid var(--line); overflow: hidden; }
.ta-strip__track { display: flex; width: max-content; animation: ta-marquee 40s linear infinite; }
.ta-strip span { padding: 16px 30px; font-weight: 700; color: #7c6a4c; white-space: nowrap; letter-spacing: 1px; }
.ta-strip span::before { content: "◆"; margin-right: 30px; color: var(--gold-1); font-size: 10px; vertical-align: 2px; }

/* ---------- Sections ---------- */
.ta-section { padding: clamp(56px, 8vw, 88px) 0; }
.ta-section--alt { background: var(--alt); }
.ta-h2 { margin: 0 0 14px; text-align: center; font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; }
.ta-left { text-align: left; }
.ta-sub { max-width: 720px; margin: 0 auto 40px; text-align: center; color: var(--text); }
.ta-pill { display: inline-block; margin: 0 0 26px; padding: 6px 22px; border-radius: 999px; background: linear-gradient(180deg, var(--gold-1), var(--gold)); color: #fff; font-size: 16px; box-shadow: 0 4px 12px rgba(184, 135, 58, .3); position: relative; }
.ta-pill::after { content: ""; position: absolute; left: calc(100% + 14px); top: 50%; width: min(60vw, 900px); height: 1px; background: linear-gradient(90deg, var(--gold-1), transparent); }
#games, .ta-main--page .ta-section:last-child { overflow: hidden; }

/* game tiles */
.ta-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.ta-tile { position: relative; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.ta-tile__art { display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #fff, var(--alt)); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ta-tile__art img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s; }
.ta-tile:hover .ta-tile__art { transform: translateY(-4px); border-color: var(--gold-1); box-shadow: 0 14px 26px rgba(30, 35, 42, .12); }
.ta-tile:hover .ta-tile__art img { transform: scale(1.05); }
.ta-tile__name { display: block; text-align: center; font-size: 14px; font-weight: 700; }
.ta-badge { position: absolute; z-index: 1; top: 8px; left: 8px; padding: 1px 8px; border-radius: 999px; background: #e11d48; color: #fff; font-size: 11px; font-weight: 700; }
/* category-card fallback */
.ta-tiles--cats { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.ta-tile--cat .ta-tile__art {
	display: grid; place-items: center; color: var(--gold-1); font-size: 64px;
	background: radial-gradient(circle at 50% 35%, #2a3a5c, var(--navy) 70%);
	border-color: #2b3954;
}
.ta-tile--cat .ta-tile__art .ta-ico { stroke-width: 1.2; filter: drop-shadow(0 0 12px rgba(214, 173, 98, .45)); transition: transform .3s; }
.ta-tile--cat:hover .ta-ico { transform: scale(1.1) rotate(-4deg); }
.ta-tile__sub { font-size: 13px; color: var(--muted); text-align: center; margin-top: -4px; }

/* promos */
.ta-promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }
.ta-promo { display: grid; grid-template-columns: 44% 1fr; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.ta-promo:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30, 35, 42, .1); }
.ta-promo__img { background: var(--navy) center / cover; min-height: 190px; position: relative; }
.ta-promo__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15, 23, 42, .1), rgba(184, 135, 58, .25)); }
.ta-promo__body { padding: 22px 22px 20px; display: flex; flex-direction: column; align-items: flex-start; }
.ta-tag { padding: 1px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-2); font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.ta-promo h3 { margin: 10px 0 6px; font-size: 19px; }
.ta-promo p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; }
.ta-promo a { margin-top: auto; color: var(--gold); text-decoration: none; font-weight: 700; font-size: 14px; }

/* lobby */
.ta-lobby { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ta-lobby__card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 14px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ta-lobby__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-1); }
.ta-lobby__card b { margin-top: 10px; color: var(--ink); font-size: 17px; }
.ta-lobby__card small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.ta-orb {
	display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; color: #f3d48d; font-size: 36px;
	background: radial-gradient(circle at 35% 30%, #3a4a6e, var(--navy) 70%);
	box-shadow: inset 0 0 0 2px rgba(214, 173, 98, .5), 0 8px 18px rgba(15, 23, 42, .25);
}
.ta-orb .ta-ico { stroke-width: 1.4; }
.ta-orb--sm { width: 60px; height: 60px; font-size: 28px; }
.ta-orb--xs { width: 40px; height: 40px; font-size: 20px; }

/* four features */
.ta-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ta-feature { padding: 30px 22px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.ta-feature .ta-orb { margin: 0 auto 14px; }
.ta-feature h3 { margin: 0 0 8px; font-size: 17px; }
.ta-feature p { margin: 0; font-size: 14px; line-height: 1.7; }

/* mobile section */
.ta-mobile { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; max-width: 1000px; }
.ta-checks { list-style: none; padding: 0; margin: 18px 0 26px; }
.ta-checks li { display: flex; align-items: center; gap: 8px; margin: 6px 0; color: var(--ink); }
.ta-checks .ta-ico { color: var(--gold); }
.ta-mobile__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ta-phone {
	justify-self: center; width: 230px; padding: 18px 16px 14px; border-radius: 38px; background: var(--navy);
	box-shadow: 0 0 0 7px #273149, 0 30px 60px rgba(15, 23, 42, .35); display: grid; gap: 10px; animation: ta-float 5s ease-in-out infinite;
}
.ta-phone__top { display: flex; justify-content: space-between; align-items: center; }
.ta-phone__top .ta-logo__mark { font-size: 20px; }
.ta-phone__top i { width: 18px; height: 4px; border-radius: 2px; background: #475569; }
.ta-phone__bar { height: 9px; border-radius: 5px; background: #334155; }
.ta-phone__bar--short { width: 60%; }
.ta-phone__banner { display: grid; place-items: center; height: 74px; border-radius: 14px; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #fff; font-weight: 900; letter-spacing: 2px; }
.ta-phone__dots { display: flex; justify-content: space-between; }
.ta-phone__dots span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1e293b; color: var(--gold-1); font-size: 17px; }
.ta-phone__row { height: 40px; border-radius: 10px; background: #1e293b; }
.ta-phone__nav { display: flex; justify-content: space-around; align-items: center; padding-top: 4px; }
.ta-phone__nav i { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.ta-phone__nav b { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(214, 173, 98, .25); }

/* steps */
.ta-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1000px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.ta-steps li { position: relative; padding: 30px 22px 24px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.ta-steps li + li::before { content: ""; position: absolute; right: 100%; top: 58px; width: 26px; height: 2px; background: var(--gold-1); }
.ta-steps b { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); color: #fff; font-size: 22px; box-shadow: 0 0 0 6px var(--gold-soft); }
.ta-steps h3 { margin: 0 0 6px; font-size: 17px; }
.ta-steps p { margin: 0; font-size: 14px; line-height: 1.7; }

/* deposit / withdrawal */
.ta-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1040px; margin: 0 auto; }
.ta-flow__card { padding: 26px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ta-flow__card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; }
.ta-flow__card h3 .ta-ico { color: var(--gold); font-size: 24px; }
.ta-flow__card ol { margin: 0; padding-left: 1.3em; font-size: 15px; }
.ta-flow__card li { margin: 4px 0; }

/* FAQ */
.ta-faq { display: grid; gap: 14px; }
.ta-faq__item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.ta-faq__item summary { list-style: none; cursor: pointer; padding: 18px 48px 18px 22px; position: relative; color: var(--ink); font-weight: 700; }
.ta-faq__item summary::-webkit-details-marker { display: none; }
.ta-faq__item summary b { color: var(--gold); margin-right: 4px; }
.ta-faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 22px; font-weight: 400; transition: transform .2s; }
.ta-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ta-faq__a { padding: 0 22px 16px; font-size: 15px; }
.ta-faq__a p { margin: 0 0 8px; }

/* ---------- Article content ---------- */
.ta-article { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.ta-content > :first-child { margin-top: 0; }
.ta-content h2 { margin: 2em 0 .7em; padding-left: 14px; border-left: 4px solid var(--gold); font-size: clamp(21px, 2.6vw, 25px); color: var(--gold-2); }
.ta-content h3 { margin: 1.6em 0 .5em; font-size: 19px; }
.ta-content p { margin: 0 0 1.1em; }
.ta-content ul, .ta-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.ta-content li { margin: .3em 0; }
.ta-content strong { color: var(--ink); }
.ta-content a { color: var(--gold-2); text-underline-offset: 3px; }
.ta-content figure { margin: 1.4em 0; }
.ta-content img { border-radius: 12px; }
.ta-content .wp-block-table { overflow-x: auto; }
.ta-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ta-content th { background: var(--gold-soft); color: var(--gold-2); text-align: left; }
.ta-content th, .ta-content td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ta-content blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--gold-1); background: var(--bg); border-radius: 0 12px 12px 0; }

/* ---------- Inner pages ---------- */
.ta-main--page { padding-top: 26px; }
.ta-crumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.ta-crumbs a { color: var(--muted); text-decoration: none; }
.ta-crumbs a:hover { color: var(--gold); }
.ta-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.ta-layout__main { display: grid; gap: 24px; min-width: 0; }
.ta-layout__side { position: sticky; top: 88px; display: grid; gap: 20px; }
.ta-pagehero {
	position: relative; display: flex; align-items: flex-end; min-height: 340px; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); overflow: hidden; color: #e5e7eb;
	background: linear-gradient(180deg, rgba(15, 23, 42, .15) 0%, rgba(15, 23, 42, .9) 75%), var(--bg) center / cover no-repeat, var(--navy);
}
.ta-pagehero--art { background: radial-gradient(600px 300px at 85% 20%, rgba(214, 173, 98, .3), transparent 70%), linear-gradient(135deg, var(--navy-2), var(--navy)); }
.ta-pagehero__icon { position: absolute; right: -20px; top: -10px; font-size: 280px; color: rgba(214, 173, 98, .22); }
.ta-pagehero__icon .ta-ico { stroke-width: .8; }
.ta-pagehero__inner { position: relative; max-width: 640px; }
.ta-pagehero .ta-kicker { margin-bottom: 12px; }
.ta-pagehero h1 { margin: 0 0 10px; color: #fff; font-size: clamp(26px, 4vw, 38px); font-weight: 900; }
.ta-pagehero p { margin: 0 0 18px; color: #d1d5db; font-size: 15px; }
.ta-card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.ta-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 16px; }
.ta-card__title .ta-ico { color: var(--gold); }
.ta-toc ol { margin: 0; padding-left: 1.3em; font-size: 14px; line-height: 1.6; }
.ta-toc li { margin: 6px 0; }
.ta-toc a { color: var(--text); text-decoration: none; }
.ta-toc a:hover { color: var(--gold); }
.ta-sidecta { text-align: center; background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #cbd5e1; }
.ta-sidecta .ta-orb { margin: 0 auto 10px; }
.ta-sidecta h3 { margin: 0 0 6px; color: #fff; }
.ta-sidecta p { margin: 0 0 16px; font-size: 14px; line-height: 1.7; }
.ta-sidelist { display: grid; gap: 4px; }
.ta-sidelist a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.ta-sidelist a:hover { background: var(--bg); }
.ta-sidelist b { display: block; color: var(--ink); font-size: 15px; }
.ta-sidelist small { color: var(--muted); font-size: 12px; }

/* ---------- Footer ---------- */
.ta-footer { background: var(--navy); color: #94a3b8; padding: 64px 0 24px; font-size: 14px; }
.ta-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 28px; }
.ta-footer__about p { margin: 16px 0; line-height: 1.8; }
.ta-footer__col h3 { margin: 0 0 10px; color: #fff; font-size: 15px; }
.ta-footer__col p { margin: 0 0 8px; line-height: 1.7; }
.ta-footer__col a { color: var(--gold-1); text-decoration: none; font-size: 13px; }
.ta-footer__rg { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 18px 20px; border: 1px solid #1f2b44; border-radius: 14px; background: #131d33; }
.ta-footer__rg p { margin: 0; line-height: 1.8; }
.ta-age { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #ef4444; color: #fff; font-weight: 900; font-size: 14px; }
.ta-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #1f2b44; font-size: 13px; }
.ta-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ta-footer__bottom a { color: #94a3b8; text-decoration: none; }
.ta-footer__bottom a:hover { color: var(--gold-1); }

/* mobile tab bar + back to top */
.ta-tabbar { display: none; }
.ta-totop { position: fixed; right: 18px; bottom: 22px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: var(--gold-1); cursor: pointer; box-shadow: 0 6px 16px rgba(15, 23, 42, .3); }

/* ---------- Age gate ---------- */
.ta-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(15, 23, 42, .95); backdrop-filter: blur(6px); }
.ta-gate__box { width: min(460px, 100%); padding: 36px 28px 30px; border-radius: 22px; background: var(--card); text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: ta-up .4s ease-out both; }
.ta-gate__age { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; border: 3px solid #ef4444; color: #ef4444; font: 900 26px/1 var(--font); }
.ta-gate h2 { margin: 0 0 10px; font-size: 22px; }
.ta-gate p { margin: 0 0 22px; font-size: 14px; line-height: 1.8; }
.ta-gate__btns { display: grid; gap: 10px; }

/* ---------- Motion ---------- */
.ta-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease-out, transform .5s ease-out; }
.ta-reveal.is-in { opacity: 1; transform: none; }
@keyframes ta-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes ta-marquee { to { transform: translateX(-50%); } }
@keyframes ta-float { 50% { transform: translateY(-10px); } }
@keyframes ta-in-right { from { transform: translateX(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ta-lobby { grid-template-columns: repeat(3, 1fr); }
	.ta-footer__grid { grid-template-columns: repeat(3, 1fr); }
	.ta-footer__about { grid-column: 1 / -1; }
	.ta-layout { grid-template-columns: 1fr; }
	.ta-layout__side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 960px) {
	.ta-nav { display: none; }
	.ta-header { justify-content: space-between; }
	.ta-burger { display: block; }
	.ta-features { grid-template-columns: repeat(2, 1fr); }
	.ta-promos { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	body { padding-bottom: 64px; font-size: 15px; }
	.ta-header { height: 58px; }
	.ta-header__btns .ta-link { display: none; }
	.ta-logo__mark { font-size: 26px; }
	.ta-logo__text { font-size: 17px; }
	.ta-hero { min-height: 0; padding: 72px 16px 60px; }
	.ta-lobby { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.ta-lobby__card { padding: 22px 10px 18px; }
	.ta-features { grid-template-columns: 1fr; }
	.ta-promo { grid-template-columns: 1fr; }
	.ta-promo__img { min-height: 150px; }
	.ta-mobile { grid-template-columns: 1fr; gap: 40px; }
	.ta-steps, .ta-flow { grid-template-columns: 1fr; }
	.ta-steps li + li::before { display: none; }
	.ta-tiles { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.ta-tiles--cats { grid-template-columns: repeat(2, 1fr); }
	.ta-tile--cat .ta-tile__art { font-size: 48px; }
	.ta-footer__grid { grid-template-columns: 1fr 1fr; }
	.ta-pagehero { min-height: 260px; }
	.ta-pagehero__icon { font-size: 200px; }
	.ta-totop { bottom: 78px; right: 12px; }
	.ta-tabbar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; justify-content: space-around; align-items: flex-end;
		height: 62px; padding: 0 4px 6px; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(15, 23, 42, .06);
	}
	.ta-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; color: var(--text); text-decoration: none; font-size: 11px; }
	.ta-tabbar a .ta-ico { font-size: 22px; }
	.ta-tabbar__main span { display: grid; place-items: center; width: 50px; height: 50px; margin-top: -22px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); color: #fff; box-shadow: 0 6px 14px rgba(184, 135, 58, .45), 0 0 0 4px #fff; }
	.ta-tabbar__main { color: var(--gold) !important; font-weight: 700; }
}
@media (max-width: 420px) {
	.ta-tiles { grid-template-columns: repeat(2, 1fr); }
	.ta-header__btns .ta-btn { padding: 6px 14px; }
}
