/* Australian Lotto - Unique Australian Theme Styles */

/* Color Palette - Australian Nature */
:root {
	--ochre: #cc7722;
	--eucalyptus: #2d5b3d;
	--sky-blue: #4a90b8;
	--sand: #f5e6d3;
	--sunset: #e67e22;
	--bush-green: #1a4d2e;
	--gold: #f9c74f;
	--earth: #8b4513;
	--white: #ffffff;
	--black: #1a1a1a;
}

/* Reset and Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	background-color: var(--sand);
	color: var(--black);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Container */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
header {
	position: fixed;
	top: 0;
	width: 100%;
	background: var(--bush-green);
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
}

.logo h1 {
	color: var(--gold);
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 700;
}

/* Burger Menu */
.burger {
	display: block;
	width: 30px;
	height: 24px;
	cursor: pointer;
	position: relative;
	z-index: 1001;
}

.burger span {
	display: block;
	width: 100%;
	height: 3px;
	background: var(--gold);
	margin-bottom: 6px;
	transition: all 0.3s ease;
	border-radius: 2px;
}

.burger.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
	opacity: 0;
}

.burger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(8px, -7px);
}

/* Desktop Menu */
.desktop-menu {
	display: none;
	list-style: none;
	gap: 30px;
}

.desktop-menu a {
	color: var(--gold);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
	font-size: 1rem;
}

.desktop-menu a:hover {
	color: var(--white);
}

/* Mobile Menu */
.mobile-menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: 70%;
	max-width: 300px;
	height: 100vh;
	background: var(--eucalyptus);
	transition: right 0.3s ease;
	z-index: 999;
	padding-top: 80px;
}

.mobile-menu.active {
	right: 0;
}

.mobile-menu ul {
	list-style: none;
	padding: 0 30px;
}

.mobile-menu li {
	margin-bottom: 25px;
}

.mobile-menu a {
	color: var(--white);
	text-decoration: none;
	font-size: 1.1rem;
	font-weight: 500;
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: color 0.3s;
}

.mobile-menu a:hover {
	color: var(--gold);
}

/* Main Content */
main {
	margin-top: 70px;
}

/* Hero Section */
.hero {
	background: linear-gradient(135deg, var(--ochre) 0%, var(--sunset) 100%);
	padding: clamp(60px, 10vw, 120px) 0;
	position: relative;
	overflow: hidden;
}

.hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	color: var(--white);
}

.hero h2 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	margin-bottom: 20px;
	font-weight: 700;
}

.hero p {
	font-size: clamp(1.1rem, 3vw, 1.5rem);
	margin-bottom: 30px;
}

.hero-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Aboriginal Pattern Background */
.hero-pattern {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0.1;
	background-image:
		radial-gradient(circle at 20% 50%, var(--white) 2px, transparent 2px),
		radial-gradient(circle at 80% 50%, var(--white) 2px, transparent 2px),
		radial-gradient(circle at 50% 20%, var(--white) 2px, transparent 2px),
		radial-gradient(circle at 50% 80%, var(--white) 2px, transparent 2px);
	background-size: 100px 100px;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 15px 40px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	text-align: center;
	min-width: 150px;
}

.btn-primary {
	background: var(--gold);
	color: var(--bush-green);
}

.btn-primary:hover {
	background: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
	background: transparent;
	color: var(--white);
	border: 2px solid var(--white);
}

.btn-secondary:hover {
	background: var(--white);
	color: var(--ochre);
}

/* Sections */
section {
	padding: clamp(40px, 8vw, 80px) 0;
}

section h2 {
	text-align: center;
	font-size: clamp(2rem, 4vw, 2.5rem);
	color: var(--bush-green);
	margin-bottom: clamp(30px, 5vw, 50px);
}

/* Draws Section */
.draws {
	background: var(--white);
}

.draws-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.draw-card {
	background: linear-gradient(
		135deg,
		var(--sky-blue) 0%,
		var(--eucalyptus) 100%
	);
	padding: 30px;
	border-radius: 20px;
	text-align: center;
	color: var(--white);
	transition: transform 0.3s ease;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.draw-card:hover {
	transform: translateY(-5px);
}

.draw-card h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
}

.jackpot {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--gold);
	margin: 20px 0;
}

.draw-time {
	font-size: 1rem;
	opacity: 0.9;
	margin-bottom: 15px;
}

/* Leaderboard */
.leaderboard {
	background: var(--sand);
}

.leader-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}

.leader-card {
	background: var(--white);
	padding: 30px;
	border-radius: 20px;
	text-align: center;
	min-width: 200px;
	flex: 0 1 250px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	border: 3px solid transparent;
	transition: all 0.3s ease;
}

.leader-card:hover {
	border-color: var(--gold);
	transform: translateY(-5px);
}

.rank {
	font-size: 2.5rem;
	margin-bottom: 10px;
}

.leader-card h4 {
	color: var(--bush-green);
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.winnings {
	font-size: 2rem;
	font-weight: 700;
	color: var(--ochre);
	margin-bottom: 5px;
}

.location {
	color: var(--eucalyptus);
	font-size: 0.9rem;
}

/* Reviews */
.reviews {
	background: var(--white);
}

.reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.review-card {
	background: var(--sand);
	padding: 30px;
	border-radius: 20px;
	border-left: 5px solid var(--ochre);
}

.stars {
	font-size: 1.5rem;
	margin-bottom: 15px;
}

.review-card p {
	font-style: italic;
	color: var(--black);
	margin-bottom: 15px;
	line-height: 1.8;
}

.review-card cite {
	color: var(--eucalyptus);
	font-weight: 600;
}

/* FAQ Accordion */
.faq {
	background: var(--sand);
}

.accordion-item {
	background: var(--white);
	margin-bottom: 15px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
	width: 100%;
	padding: 20px 30px;
	background: none;
	border: none;
	text-align: left;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--bush-green);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background 0.3s;
}

.accordion-header:hover {
	background: var(--sand);
}

.accordion-icon {
	font-size: 1.5rem;
	transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
	transform: rotate(45deg);
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 30px;
}

.accordion-content.active {
	max-height: 200px;
	padding: 16px 30px 20px;
}

.accordion-content p {
	color: var(--black);
	line-height: 1.8;
}

/* Disclaimer */
.disclaimer {
	background: var(--eucalyptus);
	color: var(--white);
	text-align: center;
}

.age-warning {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-bottom: 20px;
}

.age-icon {
	width: 50px;
	height: 50px;
}

.disclaimer h3 {
	font-size: 1.8rem;
	color: var(--gold);
}

.disclaimer p {
	max-width: 800px;
	margin: 0 auto 15px;
	line-height: 1.8;
}

.support-number {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--gold);
	margin: 20px 0;
}

/* Footer */
footer {
	background: var(--bush-green);
	color: var(--white);
	padding: 40px 0 20px;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	margin-bottom: 30px;
}

.footer-nav a {
	color: var(--gold);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
}

.footer-nav a:hover {
	color: var(--white);
}

.footer-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
	align-items: center;
	margin-bottom: 30px;
}

.footer-logos img {
	height: 50px;
	width: auto;
	transition: filter 0.3s;
}

.footer-logos a:hover img {
	filter: brightness(1) invert(0);
}

.footer-age {
	height: 40px;
}

.copyright {
	text-align: center;
	color: var(--gold);
	font-size: 0.9rem;
}

/* Popups */
.popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 2000;
}

.popup.active {
	display: flex;
}

.popup-content {
	background: var(--white);
	padding: 40px;
	border-radius: 20px;
	max-width: 500px;
	width: 90%;
	text-align: center;
}

.popup-content h2 {
	color: var(--bush-green);
	margin-bottom: 20px;
}

.popup-content p {
	color: var(--black);
	margin-bottom: 30px;
	line-height: 1.6;
}

.popup-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.popup-buttons button,
.popup-content button {
	padding: 12px 30px;
	border: none;
	border-radius: 25px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.popup-buttons button:first-child,
.popup-content button {
	background: var(--ochre);
	color: var(--white);
}

.popup-buttons button:first-child:hover,
.popup-content button:hover {
	background: var(--sunset);
}

.popup-buttons button:last-child {
	background: var(--eucalyptus);
	color: var(--white);
}

.popup-buttons button:last-child:hover {
	background: var(--bush-green);
}

/* Cookie Consent */
.cookie-consent {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: var(--bush-green);
	color: var(--white);
	padding: 20px;
	border-radius: 15px;
	max-width: 350px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	display: none;
	z-index: 1500;
}

.cookie-consent.active {
	display: block;
}

.cookie-consent p {
	margin-bottom: 15px;
	font-size: 0.9rem;
}

.cookie-consent div {
	display: flex;
	gap: 15px;
	align-items: center;
}

.cookie-consent button {
	padding: 8px 20px;
	border: none;
	border-radius: 20px;
	background: var(--gold);
	color: var(--bush-green);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.cookie-consent button:hover {
	background: var(--white);
}

.cookie-consent a {
	color: var(--gold);
	text-decoration: none;
	font-size: 0.9rem;
}

/* Responsive Design */
@media (min-width: 925px) {
	.burger {
		display: none;
	}

	.desktop-menu {
		display: flex;
	}

	.hero-buttons {
		justify-content: center;
	}

	.draws-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.hero {
		padding: 60px 0;
	}

	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}

	.btn {
		width: 100%;
		max-width: 250px;
	}

	.footer-logos img {
		height: 40px;
	}

	.cookie-consent {
		right: 10px;
		left: 10px;
		max-width: none;
	}
}

/* 18+ Icon SVG Creation */
.age-icon,
.footer-age {
	display: inline-block;
	background: var(--gold);
	color: var(--bush-green);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	font-weight: bold;
	font-size: 20px;
}

@media (max-width: 925px) {
	.burger {
		display: none;
	}
	.desktop-menu {
		display: flex;
		gap: 30px;
		list-style: none;
	}
	.desktop-menu a {
		color: #f9c74f;
		text-decoration: none;
		font-weight: 500;
	}
}
