/* ==========================================================================
   Online Casino Australia — Style (Mobile-first)
   ========================================================================== */
:root {
	--navy: #2D2D2D;
	--navy-light: #3D3D3D;
	--coral: #FF8C00;
	--coral-hover: #E67E00;
	--teal: #22C55E;
	--teal-light: #DCFCE7;
	--green: #22C55E;
	--green-dark: #16A34A;
	--gold: #FFD700;
	--yellow: #FEF9C3;
	--yellow-border: #EAB308;
	--gray-50: #F9FAFB;
	--gray-100: #F3F4F6;
	--gray-200: #E5E7EB;
	--gray-300: #D1D5DB;
	--gray-400: #9CA3AF;
	--gray-500: #6B7280;
	--gray-600: #4B5563;
	--gray-700: #374151;
	--gray-800: #1F2937;
	--gray-900: #111827;
	--white: #ffffff;
	--bg-main: #FFFFFF;
	--block-bg: #F9FAFB;
	--accent: #FF8C00;
	--secondary: #22C55E;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
	--shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.10), 0 4px 10px rgba(0, 0, 0, 0.05);
	--transition: 0.25s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--gray-700);
	background: var(--white);
}

a {
	color: var(--teal);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--coral);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul,
ol {
	list-style: none;
}

h1,
h2,
h3,
h4 {
	color: var(--gray-900);
	line-height: 1.3;
}

h1 {
	font-size: 1.375rem;
	font-weight: 700;
}

h2 {
	font-size: 1.375rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

h3 {
	font-size: 1.125rem;
	font-weight: 600;
}

p {
	margin-bottom: 1rem;
}

p:last-child {
	margin-bottom: 0;
}

/* Layout */
.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 16px;
}

/* ===== HEADER ===== */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--navy);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 56px;
	gap: 12px;
	min-width: 0;
}

.logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	flex-shrink: 0;
	max-width: min(72vw, 320px);
	color: var(--white);
	line-height: 0;
}

.logo-link:hover {
	color: var(--white);
}

.logo-img {
	display: block;
	width: auto;
	height: 52px;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}

nav {
	flex-shrink: 0;
}

.nav-list {
	display: none;
}

.nav-list a {
	color: var(--gray-300);
	font-size: 0.875rem;
	font-weight: 500;
	transition: color var(--transition);
}

.nav-list a:hover {
	color: var(--white);
}

.menu-toggle {
	display: block;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--white);
}

.menu-toggle svg {
	width: 24px;
	height: 24px;
}

.nav-list.open {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 56px;
	left: 0;
	right: 0;
	background: var(--navy);
	padding: 12px 16px;
	gap: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	z-index: 99;
}

/* ===== HERO ===== */
.hero {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	color: var(--white);
	padding: 40px 0 24px;
}

.hero h1 {
	color: var(--white);
	margin-bottom: 12px;
}

.hero .subtitle {
	font-size: 0.9375rem;
	color: var(--gray-300);
	line-height: 1.65;
	margin-bottom: 20px;
}

.author-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.author-info .avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.author-info .name {
	font-weight: 600;
	font-size: 0.875rem;
}

.author-info .date {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 0.75rem;
	color: var(--gray-400);
}

.author-info .date svg {
	width: 13px;
	height: 13px;
}

/* ===== SECTION COMMON ===== */
.section {
	padding: 32px 0;
}

.section-alt {
	background: #F9FAFB;
}

.section-header {
	margin-bottom: 20px;
}

.section-header p {
	color: var(--gray-500);
	font-size: 0.9375rem;
}

/* ===== TABLE OF CONTENTS ===== */
.toc-section {
	padding: 20px 0 0;
}

.toc-block {
	max-width: 420px;
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.toc-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 12px 16px;
	background: var(--white);
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--gray-900);
	text-align: left;
	transition: background var(--transition);
}

.toc-toggle:hover {
	background: var(--gray-50);
}

.toc-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: var(--coral);
	color: var(--white);
	border-radius: 6px;
	font-size: 0.875rem;
	line-height: 1;
	flex-shrink: 0;
}

.toc-toggle-label {
	flex: 1;
	min-width: 0;
}

.toc-toggle-chevron {
	width: 16px;
	height: 16px;
	color: var(--gray-500);
	transition: transform var(--transition);
	flex-shrink: 0;
}

.toc-block.open .toc-toggle-chevron {
	transform: rotate(180deg);
}

.toc-content {
	border-top: 1px solid var(--gray-200);
	padding: 10px 16px 14px;
	background: var(--gray-50);
}

.toc-content[hidden] {
	display: none;
}

.toc-list {
	list-style: none;
	counter-reset: toc-counter;
	padding: 0;
	margin: 0;
}

.toc-list li {
	counter-increment: toc-counter;
	padding: 4px 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

.toc-list li a {
	display: flex;
	gap: 8px;
	color: var(--gray-700);
	text-decoration: none;
	transition: color var(--transition);
}

.toc-list li a::before {
	content: counter(toc-counter) ".";
	color: var(--coral);
	font-weight: 600;
	flex-shrink: 0;
	min-width: 18px;
}

.toc-list li a:hover {
	color: var(--coral);
}

/* ===== CASINO LIST ===== */
.casino-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.casino-sidebar,
.casino-section-wrapper,
.casino-main {
	display: contents;
}

.casino-card {
	background: var(--white);
	border: 2px solid var(--gray-200);
	border-radius: var(--radius);
	padding: 24px;
	transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
	display: flex;
	flex-direction: column;
	position: relative;
}

.casino-card:hover {
	box-shadow: var(--shadow-lg);
	border-color: var(--green);
	transform: translateY(-4px);
}

.casino-card.featured {
	border-color: var(--yellow-border);
	border-width: 2px;
}

.casino-card.featured::before {
	content: "";
	display: none;
}

/* Rank badge */
.casino-rank-badge {
	position: absolute;
	top: -12px;
	left: 20px;
	background: var(--coral);
	color: var(--white);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.casino-rank-badge::before {
	content: "🏆";
	font-size: 0.7rem;
}

.casino-card.featured {
	border-color: var(--coral);
	border-width: 2px;
	position: relative;
}

.casino-card.featured::before {
	content: "Editor's Pick";
	position: absolute;
	top: -10px;
	left: 16px;
	background: var(--coral);
	color: var(--white);
	font-size: 0.625rem;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Casino card — grid layout */
.casino-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	padding-top: 8px;
}

.casino-card-left {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.casino-rank {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--gray-400);
	flex-shrink: 0;
}

.casino-card:nth-child(1) .casino-rank {
	color: var(--gold);
}

.casino-card:nth-child(2) .casino-rank {
	color: var(--gray-400);
}

.casino-card:nth-child(3) .casino-rank {
	color: #cd7f32;
}

.casino-logo {
	flex-shrink: 0;
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--white);
	text-transform: uppercase;
}
.casino-logo.casino-logo--brand {
	box-sizing: border-box;
	width: 144px;
	height: 80px;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	background: linear-gradient(135deg, #0f172a, #1e293b);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.casino-logo.casino-logo--brand img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.casino-info {
	min-width: 0;
}

.casino-name {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 4px;
	margin-top: 8px;
}

.casino-badge {
	display: inline-block;
	font-size: 0.625rem;
	font-weight: 600;
	padding: 1px 6px;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-left: 4px;
	vertical-align: middle;
}

.badge-new {
	background: #dcfce7;
	color: #166534;
}

.badge-hot {
	background: #fee2e2;
	color: #991b1b;
}

.badge-top {
	background: #dbeafe;
	color: #1e40af;
}

.casino-bonus {
	font-size: 0.8125rem;
	color: var(--gray-500);
}

.casino-bonus strong {
	color: var(--gray-800);
	font-weight: 600;
}

/* Rating row */
.casino-rating-row {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.casino-rating .score {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--gray-700);
}

.casino-rating .stars {
	display: flex;
	gap: 2px;
}

.casino-rating .stars svg {
	width: 14px;
	height: 14px;
	color: var(--gold);
}

.casino-rating .label {
	font-size: 0.6875rem;
	color: var(--gray-400);
}

/* Advantages */
.casino-advantages {
	margin-bottom: 16px;
	flex-grow: 1;
}

.casino-advantages li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--gray-600);
	padding: 4px 0;
}

.casino-advantages li svg {
	width: 16px;
	height: 16px;
	color: var(--green);
	flex-shrink: 0;
}

/* Bonus highlight box */
.casino-bonus-box {
	background: var(--yellow);
	border: 2px solid var(--yellow-border);
	border-radius: var(--radius-sm);
	padding: 16px;
	text-align: center;
	margin-bottom: 16px;
}

.casino-bonus-box .bonus-amount {
	font-size: 2rem;
	font-weight: 800;
	color: var(--green);
	line-height: 1.2;
}

.casino-bonus-box .bonus-desc {
	font-size: 0.8125rem;
	color: var(--gray-600);
	margin-top: 4px;
}

.casino-bonus-box .bonus-highlight {
	font-size: 0.8125rem;
	color: var(--coral);
	font-weight: 600;
	margin-top: 4px;
}

/* CTA */
.casino-cta {
	display: flex;
	gap: 10px;
}

.btn-visit {
	flex: 1;
	padding: 14px 20px;
	background: var(--green);
	color: var(--white);
	font-size: 0.9375rem;
	font-weight: 700;
	border-radius: 50px;
	border: none;
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
	text-align: center;
}

.btn-visit:hover {
	background: var(--green-dark);
	color: var(--white);
	transform: translateY(-2px);
}

.btn-review {
	flex: 1;
	padding: 14px 20px;
	background: var(--white);
	color: var(--gray-700);
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: 50px;
	border: 2px solid var(--gray-300);
	cursor: pointer;
	transition: border-color var(--transition), background var(--transition);
	text-align: center;
}

.btn-review:hover {
	border-color: var(--gray-400);
	background: var(--gray-50);
	color: var(--gray-700);
}

/* ===== SIDEBAR ===== */
.casino-sidebar {
	width: 320px;
	flex-shrink: 0;
}

.sidebar-card {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	border-radius: var(--radius);
	padding: 24px;
	color: var(--white);
	position: sticky;
	top: 80px;
}

.sidebar-card .sidebar-badge {
	background: var(--coral);
	color: var(--white);
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 20px;
	text-transform: uppercase;
	display: inline-block;
	margin-bottom: 12px;
}

.sidebar-card .sidebar-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--white);
}

.sidebar-card .sidebar-bonus {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--green);
	line-height: 1.1;
	margin-bottom: 4px;
}

.sidebar-card .sidebar-bonus-sub {
	font-size: 1rem;
	color: var(--coral);
	font-weight: 600;
	margin-bottom: 16px;
}

.sidebar-card .sidebar-features {
	margin-bottom: 20px;
}

.sidebar-card .sidebar-features li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.8);
	padding: 6px 0;
}

.sidebar-card .sidebar-features li svg {
	width: 16px;
	height: 16px;
	color: var(--green);
}

.sidebar-card .btn-sidebar {
	display: block;
	width: 100%;
	padding: 14px 20px;
	background: var(--green);
	color: var(--white);
	font-size: 1rem;
	font-weight: 700;
	border-radius: 50px;
	text-align: center;
	transition: background var(--transition), transform var(--transition);
}

.sidebar-card .btn-sidebar:hover {
	background: var(--green-dark);
	color: var(--white);
	transform: translateY(-2px);
}

/* ===== TEXT CONTENT ===== */
.text-content {}

.text-content h2 {
	margin-top: 32px;
}

.text-content h2:first-child {
	margin-top: 0;
}

.text-content h3 {
	margin: 24px 0 10px;
}

.text-content p {
	color: var(--gray-600);
	line-height: 1.7;
	font-size: 0.9375rem;
}

.text-content ul,
.text-content ol {
	margin: 0 0 1rem;
	padding-left: 0;
}

.text-content ul li,
.text-content ol li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 6px;
	font-size: 0.9375rem;
	color: var(--gray-600);
	line-height: 1.6;
}

.text-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--coral);
}

.text-content ol {
	counter-reset: ol-counter;
}

.text-content ol li {
	counter-increment: ol-counter;
}

.text-content ol li::before {
	content: counter(ol-counter) ".";
	position: absolute;
	left: 0;
	font-weight: 600;
	color: var(--coral);
}

/* ===== TABLES ===== */
.table-fit {
	margin: 20px 0;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-sm);
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	background: var(--white);
}

.table-fit table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 0.8125rem;
	table-layout: auto;
}

.table-fit thead th {
	background: var(--navy);
	color: var(--white);
	font-weight: 600;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	padding: 10px 10px;
	text-align: left;
	vertical-align: top;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
	hyphens: auto;
}

.table-fit tbody td {
	padding: 10px 10px;
	border-bottom: 1px solid var(--gray-100);
	text-align: left;
	vertical-align: top;
	color: var(--gray-700);
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
	hyphens: auto;
}

.table-fit tbody td:first-child {
	font-weight: 600;
	color: var(--gray-900);
}

.table-fit tbody tr:last-child td {
	border-bottom: none;
}

.table-fit tbody tr:nth-child(even) {
	background: var(--gray-50);
}

.cell-yes {
	color: var(--green);
	font-weight: 600;
}

.cell-no {
	color: #ef4444;
	font-weight: 600;
}

/* Card-style table */
.table-cards {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 20px 0;
}

.table-card-item {
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-sm);
	padding: 14px;
	background: var(--white);
}

.table-card-item .card-header {
	font-weight: 700;
	font-size: 0.875rem;
	color: var(--gray-900);
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--gray-100);
}

.table-card-item .card-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	font-size: 0.8125rem;
	flex-wrap: nowrap;
}

.table-card-item .card-row .card-label {
	color: var(--gray-400);
	font-weight: 500;
	flex: 1 1 45%;
	min-width: 0;
	word-break: normal;
	overflow-wrap: break-word;
}

.table-card-item .card-row .card-value {
	color: var(--gray-700);
	font-weight: 600;
	text-align: right;
	flex: 1 1 55%;
	min-width: 0;
	word-break: normal;
	overflow-wrap: break-word;
}

/* ===== FAQ ===== */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.faq-item {
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: border-color var(--transition);
}

.faq-item.open {
	border-color: var(--gray-300);
}

h3.faq-label {
	margin: 0;
	font-size: 0.875rem;
}

.faq-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	cursor: pointer;
	background: var(--white);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--gray-800);
	transition: background var(--transition);
	gap: 10px;
}

.faq-label:hover {
	background: var(--gray-50);
}

.faq-label svg {
	width: 18px;
	height: 18px;
	color: var(--gray-400);
	flex-shrink: 0;
	transition: transform var(--transition);
}

.faq-item.open .faq-label svg {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.faq-answer-inner {
	padding: 0 16px 14px;
	font-size: 0.8125rem;
	color: var(--gray-600);
	line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
	background: var(--navy);
	color: var(--gray-400);
	padding: 32px 0 20px;
}

.footer-top {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 20px;
}

.footer-brand .name {
	font-size: 1rem;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 6px;
}

.footer-brand p {
	font-size: 0.8125rem;
	line-height: 1.6;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links a {
	color: var(--gray-400);
	font-size: 0.8125rem;
}

.footer-links a:hover {
	color: var(--white);
}

.footer-bottom {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 0.75rem;
	text-align: center;
}

.footer-bottom .badge-18 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.footer-bottom .badge-18 svg {
	width: 28px;
	height: 28px;
	color: var(--gray-400);
}

.footer-bottom .badge-18 span {
	font-size: 0.6875rem;
}

/* ===== SCROLL-TO-TOP ===== */
.scroll-top {
	position: fixed;
	bottom: 20px;
	right: 16px;
	width: 40px;
	height: 40px;
	background: var(--navy);
	color: var(--white);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--transition), visibility var(--transition), background var(--transition);
	box-shadow: var(--shadow-md);
	z-index: 50;
}

.scroll-top.visible {
	opacity: 1;
	visibility: visible;
}

.scroll-top:hover {
	background: var(--coral);
}

.scroll-top svg {
	width: 18px;
	height: 18px;
}

/* ===== TABLET / DESKTOP ===== */
@media (min-width: 768px) {
	.container {
		padding: 0 20px;
	}

	h1 {
		font-size: 1.75rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	.header .container {
		height: 64px;
	}

	.logo-link {
		max-width: 360px;
	}

	.logo-img {
		height: 64px;
	}

	.hero {
		padding: 40px 0 36px;
	}

	.hero .subtitle {
		font-size: 1rem;
		max-width: 640px;
	}

	.section {
		padding: 40px 0;
	}

	.nav-list {
		display: flex;
		gap: 24px;
	}

	.nav-list.open {
		position: static;
		box-shadow: none;
		padding: 0;
		flex-direction: row;
	}

	.menu-toggle {
		display: none;
	}

	.casino-list {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.faq-list {
		max-width: 800px;
	}

	.faq-label {
		padding: 16px 20px;
		font-size: 0.9375rem;
	}

	.faq-answer-inner {
		padding: 0 20px 16px;
		font-size: 0.875rem;
	}

	.text-content {
		max-width: 800px;
	}

	.text-content p {
		font-size: 1rem;
	}

	.table-fit table {
		font-size: 0.875rem;
	}

	.table-fit thead th {
		font-size: 0.75rem;
		padding: 10px 12px;
	}

	.table-fit tbody td {
		padding: 10px 12px;
	}

	.table-fit tbody td:first-child {
		padding-left: 14px;
	}

	.table-fit thead th:first-child {
		padding-left: 14px;
	}

	.footer-top {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		gap: 40px;
	}

	.footer-brand p {
		max-width: 400px;
	}

	.footer-links {
		flex-direction: row;
		gap: 24px;
	}

	.footer-bottom {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

/* Horizontal casino cards — from tablet landscape / desktop */
@media (min-width: 900px) {
	.casino-list {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.casino-card {
		display: grid;
		grid-template-columns: 44px minmax(260px, 1.3fr) minmax(160px, 1.1fr) minmax(180px, 1.4fr) minmax(150px, 170px);
		grid-template-areas: "rank brand bonus adv cta";
		align-items: center;
		gap: 18px;
		padding: 18px 22px;
	}

	.casino-rank-badge {
		grid-area: rank;
		position: static;
		justify-self: center;
		align-self: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border-radius: 50%;
		background: var(--gray-100);
		color: var(--gray-800);
		font-size: 0.8125rem;
		font-weight: 700;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.casino-rank-badge::before {
		content: none;
	}

	.casino-card.featured .casino-rank-badge {
		background: var(--coral);
		color: var(--white);
	}

	.casino-card.featured::before {
		display: none;
	}

	.casino-card-top {
		grid-area: brand;
		display: grid;
		grid-template-columns: 160px minmax(0, 1fr);
		grid-template-rows: auto auto;
		grid-template-areas:
			"logo name"
			"logo rating";
		column-gap: 14px;
		row-gap: 4px;
		align-items: center;
		text-align: left;
		padding-top: 0;
		margin-bottom: 0;
	}

	.casino-card-left {
		display: contents;
	}

	.casino-logo {
		grid-area: logo;
		width: 56px;
		height: 56px;
		padding: 0;
		border-radius: 12px;
		font-size: 0.6875rem;
		align-self: center;
	}
	.casino-logo.casino-logo--brand {
		width: 160px;
		height: 88px;
		padding: 10px 14px;
	}

	.casino-name {
		grid-area: name;
		margin: 0;
		font-size: 0.9375rem;
		align-self: end;
	}

	.casino-rating-row {
		grid-area: rating;
		flex-direction: row;
		align-items: center;
		align-self: start;
		gap: 8px;
	}

	.casino-rating {
		flex-direction: row;
		align-items: center;
		gap: 6px;
	}

	.casino-rating .stars svg {
		width: 12px;
		height: 12px;
	}

	.casino-rating .score {
		font-size: 0.8125rem;
	}

	.casino-bonus-box {
		grid-area: bonus;
		margin-bottom: 0;
		padding: 10px 12px;
		text-align: left;
		background: transparent;
		border: none;
		border-left: 3px solid var(--yellow-border);
		border-radius: 0;
	}

	.casino-bonus-box .bonus-amount {
		font-size: 1rem;
		font-weight: 700;
		color: var(--gray-900);
	}

	.casino-bonus-box .bonus-desc {
		font-size: 0.8125rem;
		color: var(--gray-600);
	}

	.casino-bonus-box .bonus-highlight {
		font-size: 0.75rem;
	}

	.casino-advantages {
		grid-area: adv;
		margin-bottom: 0;
	}

	.casino-advantages li {
		font-size: 0.8125rem;
		padding: 2px 0;
	}

	.casino-cta {
		grid-area: cta;
		flex-direction: column;
		gap: 8px;
		width: 100%;
	}

	.btn-visit {
		padding: 10px 12px;
		font-size: 0.875rem;
	}

	.btn-review {
		padding: 8px 12px;
		font-size: 0.8125rem;
	}
}

@media (min-width: 1024px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.625rem;
	}

	.logo-link {
		max-width: 420px;
	}

	.logo-img {
		height: 76px;
	}

	.hero {
		padding: 48px 0 40px;
	}

	.hero .subtitle {
		max-width: 720px;
		font-size: 1.0625rem;
	}

	.section {
		padding: 48px 0;
	}

	.casino-card {
		grid-template-columns: 56px minmax(290px, 1.3fr) minmax(180px, 1.1fr) minmax(200px, 1.4fr) minmax(160px, 180px);
		gap: 22px;
		padding: 20px 24px;
	}

	.casino-name {
		font-size: 1rem;
	}
}

@media (max-width: 420px) {
	.logo-link {
		max-width: calc(100vw - 88px);
	}

	.logo-img {
		height: 44px;
	}

	.table-fit table {
		min-width: 560px;
	}
}