/* ==========================================================================
   Online Casino Australia — Style (Mobile-first)
   ========================================================================== */
:root {
	--navy: #5D4E37;
	--navy-light: #7A6B54;
	--coral: #FF6B6B;
	--coral-hover: #E55A5A;
	--teal: #00B4D8;
	--teal-light: #E0F7FA;
	--green: #10b981;
	--gold: #f59e0b;
	--gray-50: #EADBC8;
	--gray-100: #E5D4C0;
	--gray-200: #D4C4B0;
	--gray-300: #B8A892;
	--gray-400: #8B7355;
	--gray-500: #6B5B4F;
	--gray-600: #5D4E42;
	--gray-700: #4A3F35;
	--gray-800: #3D342B;
	--gray-900: #2C2419;
	--white: #ffffff;
	--bg-main: #EADBC8;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 1px 3px rgba(93, 78, 55, 0.12), 0 1px 2px rgba(93, 78, 55, 0.08);
	--shadow-md: 0 4px 12px rgba(93, 78, 55, 0.12), 0 2px 4px rgba(93, 78, 55, 0.06);
	--shadow-lg: 0 10px 25px rgba(93, 78, 55, 0.15), 0 4px 10px rgba(93, 78, 55, 0.08);
	--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(--bg-main);
}

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;
}

.logo-link {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--white);
	font-size: 1rem;
	font-weight: 700;
}

.logo-link:hover {
	color: var(--white);
}

.logo-link .logo-icon {
	width: 32px;
	height: 32px;
	background: var(--coral);
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 700;
}

.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;
	fill: var(--white);
	stroke: var(--white);
}

.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: 28px 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: #F5EDE0;
}

.section-header {
	margin-bottom: 20px;
}

.section-header p {
	color: var(--gray-500);
	font-size: 0.9375rem;
}

/* ===== CASINO LIST ===== */
.casino-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.casino-card {
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius);
	padding: 16px;
	transition: box-shadow var(--transition), border-color var(--transition);
}

.casino-card:hover {
	box-shadow: var(--shadow-md);
	border-color: var(--gray-300);
}

.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 — mobile-first layout */
.casino-card-top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.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;
	width: 56px;
	height: 56px;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--white);
}
.casino-logo.casino-logo--brand {
	box-sizing: border-box;
	width: 120px;
	height: 64px;
	padding: 8px 10px;
	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;
}
@media (min-width: 1024px) {
	.casino-logo.casino-logo--brand {
		width: 144px;
		height: 80px;
		padding: 10px 12px;
	}
}

.casino-info {
	min-width: 0;
}

.casino-name {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 1px;
}

.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;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.casino-rating .score {
	font-size: 1rem;
	font-weight: 700;
	color: var(--gray-900);
}

.casino-rating .stars {
	display: flex;
	gap: 1px;
}

.casino-rating .stars svg {
	width: 13px;
	height: 13px;
	color: var(--gold);
}

.casino-rating .label {
	font-size: 0.6875rem;
	color: var(--gray-400);
}

/* Advantages */
.casino-advantages {
	margin-bottom: 14px;
}

.casino-advantages li {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 0.8125rem;
	color: var(--gray-600);
	padding: 2px 0;
}

.casino-advantages li svg {
	width: 15px;
	height: 15px;
	color: var(--green);
	flex-shrink: 0;
}

/* CTA */
.casino-cta {}

.btn-visit {
	display: block;
	width: 100%;
	padding: 12px 16px;
	background: var(--coral);
	color: var(--white);
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
	text-align: center;
}

.btn-visit:hover {
	background: var(--coral-hover);
	color: var(--white);
	transform: translateY(-1px);
}

/* ===== 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 (compact, no scroll) ===== */
.table-fit {
	margin: 20px 0;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.table-fit table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.75rem;
}

.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: 8px 6px;
	text-align: center;
}

.table-fit thead th:first-child {
	text-align: left;
	padding-left: 10px;
}

.table-fit tbody td {
	padding: 8px 6px;
	border-bottom: 1px solid var(--gray-100);
	text-align: center;
	vertical-align: middle;
	color: var(--gray-700);
	word-break: break-word;
}

.table-fit tbody td:first-child {
	text-align: left;
	font-weight: 600;
	color: var(--gray-900);
	padding-left: 10px;
}

.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;
	justify-content: space-between;
	padding: 4px 0;
	font-size: 0.8125rem;
}

.table-card-item .card-row .card-label {
	color: var(--gray-400);
	font-weight: 500;
}

.table-card-item .card-row .card-value {
	color: var(--gray-700);
	font-weight: 600;
	text-align: right;
}

/* ===== 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;
}

/* ===== 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 {
		font-size: 1.125rem;
	}

	.logo-link .logo-icon {
		width: 36px;
		height: 36px;
	}

	.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 {
		gap: 14px;
	}

	/* Casino cards become horizontal */
	.casino-card {
		display: flex;
		align-items: center;
		gap: 20px;
		padding: 20px;
	}

	.casino-card-top {
		display: contents;
	}

	.casino-info {
		flex: 1;
		min-width: 0;
	}

	.casino-rating-row {
		display: contents;
	}

	.casino-rating {
		flex-shrink: 0;
		text-align: center;
		width: 60px;
	}

	.casino-advantages {
		flex-shrink: 0;
		width: 220px;
		margin-bottom: 0;
	}

	.casino-cta {
		flex-shrink: 0;
		width: 130px;
	}

	.btn-visit {
		padding: 10px 16px;
		font-size: 0.875rem;
	}

	.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;
	}
}

@media (min-width: 1024px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.625rem;
	}

	.hero {
		padding: 48px 0 40px;
	}

	.hero .subtitle {
		max-width: 720px;
		font-size: 1.0625rem;
	}

	.section {
		padding: 48px 0;
	}

	.casino-logo {
		width: 72px;
		height: 72px;
		font-size: 1.375rem;
	}

	.casino-name {
		font-size: 1.0625rem;
	}

	.casino-advantages {
		width: 240px;
	}

	.casino-cta {
		width: 140px;
	}
}