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

:root {
	/* Casino Color Palette */
	/* deprecated brand colors removed to reduce palette size */
	--attention: #22d3ee; /* เธเธธเธ”เธชเธเนเธ/เธญเธดเธเน€เธ—เธญเธฃเนเนเธญเธเธ—เธตเธ */
	--accent-strong: #0ea5e9;
	--highlight: #f59e0b;
	--warning: #ff5900;

	/* Dark Theme */
	--bg-primary: #0a0a0a; /* เน€เธเธดเนเธกเธชเธณเธซเธฃเธฑเธ login page */
	--bg-dark: #0a0a0a;
	--bg-secondary: #1a1a1a;
	--bg-card: #262626;
	--bg-glass: rgba(255, 255, 255, 0.06);
	--bg-lighter: #2a2a2a;
	--surface-1: #111318;
	--surface-2: #151a22;
	--color-border: rgb(0 229 255 / 45%);
  --color-light: #fbfbfb;
  --color-gray: #c1c1c1;
  --color-dark: #ffffff;
  --color-primary: #22d3ee;

	/* Text Colors */
	--text-primary: #ffffff;
	--text-secondary: rgba(255, 255, 255, 0.8);
	--text-muted: rgba(255, 255, 255, 0.6);
  --text-accent: #22d3ee;
  --text-accent-hover: #0ea5e9;
	--text-on-light: #0b0f14;
	--text-link-color: #89dde8;
	--text-warning: #ff5900;

	/* Sizing */
	--header-height: 65px;
	--footer-height: 80px;
	/* Gradients */
	--gradient-primary: linear-gradient(
		135deg,
		var(--attention),
		var(--accent-strong)
	);
	--gradient-gold: linear-gradient(
		135deg,
		var(--attention),
		var(--accent-strong)
	);
	--gradient-hero: linear-gradient(135deg, #0a0a0a, #1a1a1a, #0a363b);
	--gradient-card: linear-gradient(145deg, #262626, #1a1a1a);

	/* Semantic */
	--success: #22c55e;
	--warning: #f59e0b;
	--danger: #ef4444;

	/* Focus ring */
	--focus-ring: rgba(34, 211, 238, 0.55);

	/* Radii & Shadows */
	--radius-md: 12px;
	--radius-lg: 16px;
	--shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.25);

	/* Typography scale */
	--fs-h1: clamp(28px, 5vw, 48px);
	--fs-h2: clamp(22px, 3.5vw, 32px);
	--fs-h3: clamp(18px, 2.8vw, 24px);
	--fs-body: 16px;
	--lh-body: 1.65;
}

html {
	scroll-behavior: smooth;
	background-color: var(--bg-dark);
}

body {
	font-family: "Anuphan", sans-serif;
	line-height: var(--lh-body);
	color: var(--text-primary);
	background: var(--gradient-hero);
	overflow-x: hidden;
	min-height: 100vh;
}

h1 {
	font-size: var(--fs-h1);
	line-height: 1.2;
	color: var(--text-accent);
}
h2 {
	font-size: var(--fs-h2);
	line-height: 1.3;
}
h3 {
	font-size: var(--fs-h3);
	line-height: 1.35;
}
p,
li {
	font-size: var(--fs-body);
}

/* Link Styles */
a {
	color: var(--text-link-color);
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--accent-strong);
	text-decoration: underline;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ========================================
   Bootstrap Replacement Classes for member/register
======================================== */

/* Spacing utilities */
.mt-2 {
	margin-top: 0.5rem !important;
}
.mt-3 {
	margin-top: 1rem !important;
}
.mt-4 {
	margin-top: 1.5rem !important;
}
.mb-0 {
	margin-bottom: 0 !important;
}
.mb-2 {
	margin-bottom: 0.5rem !important;
}
.mb-3 {
	margin-bottom: 1rem !important;
}
.mr-1 {
	margin-right: 0.25rem !important;
}

.mr-2 {
	margin-right: 0.5rem !important;
}
.ml-2 {
	margin-left: 0.5rem !important;
}
.ml-3 {
	margin-left: 1rem !important;
}
.pb-0 {
	padding-bottom: 0 !important;
}

.l-15px {
	left: 15px;
}

/* Text utilities */
.text-warning {
	color: #ff5900 !important;
}
.text-white {
	color: #fff !important;
}

.text-gray {
	color: var(--color-gray);
}

.text-left {
	text-align: left !important;
}

.text-accent {
	color: var(--text-accent);
}

.text-small {
	font-size: 14px;
}

.text-large {
	font-size: larger;
}

.text-secondary {
	color: var(--text-secondary);
}

/* Button utilities */

.btn-secondary {
	background: var(--bg-glass);
	color: var(--text-primary);
	border: 1px solid var(--color-border);
}

.btn-secondary:hover {
	background: var(--bg-lighter);
}

.btn-dark {
	background: var(--bg-dark);
	color: var(--text-primary);
	border: 1px solid var(--color-border);
}

.btn-dark:hover {
	background: var(--bg-lighter);
	
}

.btn-white {
	background: #fff;
	color: #000;
	border: 1px solid #ddd;
}

.btn-white:hover {
	background: #f8f9fa;
	
}

.btn-cancel {
	background: var(--color-light);
	color: var(--text-on-light);
	border: 1px solid #8c5454 !important;
	max-width: fit-content !important;
  &:hover {
    background: var(--color-light);
	color: var(--text-warning);
  }
}

/* Header Styles */
.header {
	position: sticky;
	top: 0;
	width: 100%;
	background: rgba(10, 10, 10, 0.95);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--color-border);
	box-shadow: 0 4px 20px rgb(0 218 255 / 8%);
	z-index: 1100;
	transition: all 0.3s ease;
}

.header.scrolled {
	background: rgba(10, 10, 10, 0.98);
	border-bottom-color: rgba(251, 191, 36, 0.6);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	height: var(--header-height);
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--text-primary);
}

@keyframes logoGlow {
	0% {
		text-shadow: 0 0 20px rgba(251, 191, 36, 0.8);
	}
	100% {
		text-shadow: 0 0 30px rgba(251, 191, 36, 1),
			0 0 40px rgba(251, 191, 36, 0.5);
	}
}

.logo-icon {
	font-size: 2rem;
	color: var(--text-secondary);
}

.nav {
	display: flex;
	gap: 2rem;
}

.nav-link {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease, text-shadow 0.2s ease;
	position: relative;
}

.nav-link:hover,
.nav-link:focus-visible {
	color: var(--attention);
	text-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}

/* Generic focus ring */
.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--focus-ring);
	border-radius: var(--radius-md);
}

.nav-link::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--attention), #0ea5e9);
	transition: width 0.3s ease;
}

.nav-link:hover::after {
	width: 100%;
}

.header-buttons {
	display: flex;
	gap: 1rem;
	align-items: end;
}

/* ========================================
   Links & Buttons
======================================== */
/* Note: .checkbox-label styles are inherited from style.css */

.btn {
	padding: 0.7rem 1.5rem;
	border: none;
	border-radius: 50px;
	font-family: "Anuphan", sans-serif;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 45px;
	min-height: 40px;
	max-width: 200px;
	min-width: 140px;
	font-size: 0.8em;
	&:hover {
		text-decoration: none;
		transform: translateY(-2px);
	  }
}

.btn-primary {
	background: linear-gradient(135deg, var(--attention), #0ea5e9);
	color: var(--text-on-light);
	font-weight: 700;
    width:	 100%;
	position: relative;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
	&:hover {
		color: var(--text-primary);
		box-shadow: 0 6px 18px rgb(14 165 233 / 90%);
	  }
}

.btn-normal {
	background: var(--color-light);
	color: var(--text-on-light);
}

.btn-glass {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-primary);
	border: 1px solid rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(10px);
}

.btn-lq-glass {
  /* Liquid Glass Button - Light */
  background: radial-gradient(55% 552% at 13% 15%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  background-blend-mode: overlay;
  box-shadow: inset 15px 30px 5px -35px rgba(255, 255, 255, 0.5), inset 15px 19px 10px -20px var(--color-gray), inset -20px -15px 10px -19.8773px var(--color-gray), inset 0px 0px 0px 0.5px var(--color-gray), inset 0px 0px 200px rgba(0, 230, 255, 0.05);
  backdrop-filter: blur(5px);
  color: var(--color-light);
  border-radius: 50px;
  &:hover {
    color: var(--attention);
    box-shadow: inset 15px 30px 5px -35px rgba(255, 255, 255, 0.5), inset 15px 19px 10px -20px var(--color-primary), inset -20px -15px 10px -19.8773px var(--color-primary), inset 0px 0px 0px 1px var(--color-primary), inset 0px 0px 200px rgba(0, 230, 255, 0.05);
    /* #22d3ee */
  }
}

.btn-lq-glass-accent {
  background: radial-gradient(55% 552% at 13% 15%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  background-blend-mode: overlay;
  box-shadow: inset 15px 30px 5px -35px rgba(255, 255, 255, 0.5), inset 15px 19px 10px -20px var(--color-primary), inset -20px -15px 10px -19.8773px var(--color-primary), inset 0px 0px 0px 0.5px var(--color-primary), inset 0px 0px 200px rgba(0, 230, 255, 0.05);
  backdrop-filter: blur(5px);
  color: var(--color-light);
  border-radius: 50px;
  &:hover {
    color: var(--attention);
    box-shadow: inset 15px 30px 5px -35px rgba(255, 255, 255, 0.5), inset 15px 19px 10px -20px var(--color-primary), inset -20px -15px 10px -19.8773px var(--color-primary), inset 0px 0px 0px 1px var(--color-primary), inset 0px 0px 200px rgba(0, 230, 255, 0.05);
    /* #22d3ee */
  }
}

.btn-glass:hover {
	background: rgba(255, 255, 255, 0.2);
	
}

.btn-accent {
	background: var(--gradient-primary);
	color: var(--text-on-light);
	font-weight: 700;
}

.btn-play {
	background: var(--gradient-primary);
	color: var(--text-on-light);
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
}


.login-link {
	text-align: center;
	margin-bottom: 15px;
}

.login-link p {
	color: var(--text-secondary);
	font-size: 14px;
}

.login-btn-link {
	color: var(--attention);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.login-btn-link:hover {
	color: var(--accent-strong);
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: #ffffff;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0;
	margin: 0 -10px 0 0;
}
.terms-link {
	color: var(--attention);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.terms-link:hover {
	color: var(--accent-strong);
}

/* Mobile Menu */
.mobile-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: var(--bg-secondary);
	border-bottom: 1px solid var(--color-border);
	border-top: 1px solid rgba(255, 215, 0, 0.2);
	transform: translateY(-100%);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 950;
}

.mobile-menu.active {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.mobile-nav {
	padding: 1rem;
}

.mobile-nav-link {
	display: block;
	color: var(--text-primary);
	text-decoration: none;
	padding: 0.5rem 1rem;
	font-weight: 500;
	transition: all 0.3s ease;
}

.mobile-nav-link:hover {
	color: var(--attention);
	padding-left: 10px;
}

.mobile-auth {
	margin-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0rem;
	align-items: center;
}

.mobile-auth .btn {
	width: 100%;
	max-width: 280px;
}

.mobile-menu-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 949;
}

.mobile-menu-backdrop.active {
	opacity: 1;
	visibility: visible;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gradient-hero);
	overflow: hidden;
}

@keyframes pulseGlow {
	0% {
		opacity: 0.3;
	}
	100% {
		opacity: 0.7;
	}
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("/public/lovable-uploads/24f64d2c-8783-444f-b72f-e26c8ea29140.png")
		center/cover;
	opacity: 0.3;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(15, 15, 35, 0.8),
		rgba(26, 26, 58, 0.6)
	);
}

.hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	max-width: 800px;
	padding: 2rem;
}

.hero-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(34, 211, 238, 0.35);
	border-radius: 50px;
	padding: 0.5rem 1.5rem;
	margin-bottom: 2rem;
	backdrop-filter: blur(10px);
}

.hero-subtitle {
	color: #ffd700;
	font-weight: 500;
}

.hero-title {
	font-size: var(--fs-h1);
	font-weight: 800;
	margin-bottom: 1.5rem;
	line-height: 1.2;
	text-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
}

.title-modern {
	display: block;
	color: #ffffff;
}

.title-gaming {
	display: block;
	background: var(--gradient-gold);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 18px rgba(251, 191, 36, 0.35);
}

.title-experience {
	display: block;
	background: var(--gradient-primary);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: var(--fs-h2);
	text-shadow: 0 0 18px rgba(220, 38, 38, 0.35);
}

.hero-description {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
}

.hero-buttons {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	flex-wrap: wrap;
}

.hero-decoration,
.hero-decoration-2 {
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
	animation: float 6s ease-in-out infinite;
}

.hero-decoration {
	top: 20%;
	right: 10%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent);
}

.hero-decoration-2 {
	bottom: 20%;
	left: 10%;
	width: 250px;
	height: 250px;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent);
	animation-delay: -3s;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-20px) rotate(180deg);
	}
}

/* Game Categories */
.game-categories {
	padding: 4rem 0;
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}

.category-card {
	position: relative;
	height: 150px;
	border-radius: 15px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s ease;
	background: var(--gradient-card);
	border: 1px solid var(--color-border);
	backdrop-filter: blur(10px);
}

.category-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.category-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.category-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 1rem;
}

.category-content h3 {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: #ffffff;
}

.category-icon {
	font-size: 2rem;
	color: var(--attention);
}

/* Game Grid Section */
.game-grid-section {
	padding: 4rem 0;
	background: linear-gradient(135deg, rgb(23 23 23 / 90%), rgb(23 23 23 / 70%));
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.section-title i {
	color: #ff6b6b;
	font-size: 1.5rem;
}

.section-title h2 {
	font-size: 2rem;
	font-weight: 700;
	color: #ffffff;
}

.filter-buttons {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.filter-btn {
	padding: 0.5rem 1rem;
	background: var(--bg-glass);
	border: 1px solid var(--color-border);
	border-radius: 25px;
	color: var(--text-primary);
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: "Anuphan", sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
	background: none;
	color: var(--attention);
	border-color: var(--attention);
}

.promo-banner {
	background: linear-gradient(135deg, var(--surface-1), var(--surface-2));
	border-radius: 15px;
	padding: 2rem;
	margin-bottom: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #1a1a3a;
	flex-wrap: wrap;
	gap: 1rem;
}

.promo-content h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.promo-amount {
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 1rem;
	color: var(--attention);
}

.promo-icon {
	font-size: 3rem;
	color: rgba(26, 26, 58, 0.3);
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}

.game-card {
	background: var(--bg-glass);
	border: 1px solid var(--color-border);
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.game-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28), 0 0 20px rgba(34, 211, 238, 0.12);
	border-color: var(--color-border);
}

.game-image {
	position: relative;
	height: 200px;
	background: linear-gradient(135deg, var(--surface-1), var(--surface-2));
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.game-play-icon {
	font-size: 3rem;
	color: rgba(255, 255, 255, 0.3);
}

.game-badges {
	position: absolute;
	top: 10px;
	left: 10px;
}

.badge {
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.badge.hot {
	background: linear-gradient(135deg, #ef4444, #f97316);
	color: #ffffff;
}

.badge.new {
	background: linear-gradient(135deg, var(--attention), #0ea5e9);
	color: var(--text-on-light);
}

.game-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
	opacity: 1;
}

.game-info {
	padding: 1rem;
}

.game-info h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.3rem;
	color: #ffffff;
}

.game-info p {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
}

/* SEO Content Section */
.seo-content {
	padding: 4rem 0;
	background: rgba(15, 15, 35, 0.8);
}

.content-section {
	margin-bottom: 4rem;
}

.content-section h2 {
	font-size: 2.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 1rem;
	color: var(--text-primary);
}

.content-section > p {
	text-align: center;
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 3rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.features-grid,
.game-types-grid,
.promotions-grid,
.steps-grid,
.faq-grid {
	display: grid;
	gap: 2rem;
	margin-top: 2rem;
}

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

.game-types-grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.steps-grid {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.faq-grid {
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.feature-card,
.game-type-card,
.promotion-card,
.step-card,
.faq-card {
	background: var(--bg-glass);
	border: 1px solid var(--color-border);
	border-radius: 15px;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

/* ========================================
   Form Input Components
======================================== */
/* Note: .form-group styles are inherited from style.css */

.input-group {
	position: relative;
	display: flex;
	align-items: center;
  }
  
  .input-group i {
	position: absolute;
	left: 15px;
	color: var(--text-accent);
	z-index: 2;
  }
  
  .input-group input {
	width: 100%;
	padding: 12px 15px 12px 45px;
	border: 1px solid var(--color-border);
	border-radius: 50px;
	font-size: 0.8em;
	transition: all .3s ease;
	background: var(--bg-glass);
	color: var(--text-primary);
	backdrop-filter: blur(10px);
	font-family: 'Anuphan', sans-serif;
  }
  
  .input-group input::placeholder {
	color: var(--text-muted);
  }
  
  .input-group input:focus {
	outline: none;
	border-color: var(--attention);
	background: var(--bg-glass);
  }
  
  .password-toggle {
	position: absolute;
	right: 15px;
	background: none;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	padding: 5px;
	z-index: 2;
	transition: color .3s ease;
  }
  
  .password-toggle:hover {
	color: var(--attention);
  }
  
  /* ========================================
	 Form Button Group
  ======================================== */
  .form-btn-group {
	display: flex;
	gap: 15px;
	justify-content: center;
	margin-top: calc(var(--footer-height) * -1);
	padding-block: 20px;
	max-width: 500px;
    margin-inline: auto;
  }

/* ========================================
   Semantic Form Structure
======================================== */
fieldset {
	border: none;
	padding: 20px 0;
	margin: 0 0 20px 0;
	position: relative;
  }
  
  fieldset legend {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 15px;
	padding:10px;
	/* padding-top: 1.2em; */
	position: relative;
  }
  
  
  
  /* Mobile - stick buttons to bottom */
  @media (max-width: 767px) {
	.form-btn-group {
	  position: -webkit-sticky;
	  position: sticky;
	  justify-content: space-evenly;
	  bottom: 0;
	  left: 0;
	  right: 0;
	  padding: 10px 20px;
	  z-index: 10;
	  backdrop-filter: blur(5px);
	}
  }
/* Register page styles (merged from assets/register.css) */
.form-card {
	text-align: center;
}
.form-group {
	margin-bottom: 10px;
}
.form-group label {
	display: block;
	margin-bottom: 6px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
	font-size: smaller;
}
.form-error-text {
	color: var(--text-warning);
	font-size: 0.8em;
	margin-left: 1em;
}

/* เนเธชเธ”เธเนเธญเธเธญเธเน€เธเธเธฒเธฐเน€เธกเธทเนเธญเธกเธตเธเนเธญเธเธงเธฒเธก */
.form-error-text:not(:empty)::before {
	content: "\f06a";  /* Font Awesome exclamation-circle */
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-right: 0.5em;
	color: var(--text-warning);
}

/* .input-group styles moved to register.css */
.password-toggle {
	position: absolute;
	right: 15px;
	background: none;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	padding: 5px;
	z-index: 2;
	transition: color 0.3s ease;
}
.password-toggle:hover {
	color: var(--attention);
}
.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.4;
}
.checkbox-label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--attention);
	margin-top: 2px;
}
.terms-link {
	color: var(--attention);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}
.terms-link:hover {
	color: var(--accent-strong);
}

.login-link {
	text-align: center;
	margin-bottom: 15px;
}
.login-link p {
	color: var(--text-secondary);
	font-size: 14px;
}
.login-btn-link {
	color: var(--attention);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}
.login-btn-link:hover {
	color: var(--accent-strong);
}
.security-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px;
	background: var(--bg-glass);
	border-radius: 50px;
	border: 1px solid var(--color-border);
	backdrop-filter: blur(10px);
}
.security-notice i {
	color: var(--attention);
	font-size: 16px;
}
.security-notice p {
	margin: 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.8);
}



.feature-card:hover,
.game-type-card:hover,
.promotion-card:hover,
.step-card:hover,
.faq-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
	border-color: rgba(255, 215, 0, 0.3);
}

.feature-card i {
	font-size: 3rem;
	color: #ffd700;
	margin-bottom: 1rem;
}

.feature-card h3,
.game-type-card h3,
.promotion-card h3,
.step-card h3,
.faq-card h3 {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #ffffff;
}

.feature-card p,
.game-type-card p,
.promotion-card p,
.step-card p,
.faq-card p {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
}

.game-type-card ul,
.promotion-card ul {
	margin-top: 1rem;
	text-align: left;
	color: rgba(255, 255, 255, 0.7);
	list-style: none;
}

.game-type-card li,
.promotion-card li {
	margin-bottom: 0.5rem;
}

.promotion-card i {
	font-size: 2.5rem;
	color: #ffd700;
	margin-bottom: 1rem;
}

.promotion-amount {
	font-size: 3rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--attention), #0ea5e9);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 1rem;
}

.step-number {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #f0ff00, #e97c0e);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	color: #1a1a3a;
	margin: 0 auto 1rem;
}

/* Testimonials Section */
.testimonials {
	padding: 4rem 0;
	background: linear-gradient(135deg, rgb(23 23 23 / 80%), rgb(4 4 4 / 60%));
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.testimonial-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	padding: 2rem;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
	border-color: rgba(255, 215, 0, 0.3);
}

.testimonial-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.quote-icon {
	font-size: 3rem;
	color: #ffd700;
	line-height: 1;
}

.stars {
	color: #ffd700;
	font-size: 1.2rem;
}

.testimonial-card p {
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	margin-bottom: 1.5rem;
	font-style: italic;
}

.testimonial-footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1rem;
}

.user-info h4 {
	color: #ffffff;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.user-info span {
	color: #ffd700;
	font-size: 0.9rem;
}

.win-amount span {
	color: var(--attention);
	font-weight: 600;
	font-size: 0.9rem;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
}

.stat-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.stat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-number {
	font-size: 2.5rem;
	font-weight: 800;
	background: linear-gradient(135deg, #f0ff00, #e97c0e);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 0.5rem;
}

.stat-label {
	color: rgba(255, 255, 255, 0.8);
	font-weight: 500;
}

/* Footer */
.footer {
	background: rgba(15, 15, 35, 0.95);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 3rem 0 1rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-brand {
	max-width: 400px;
}

.footer-brand .logo {
	margin-bottom: 1rem;
	font-size: 1.8rem;
}

.footer-brand p {
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
}

.footer-section h3 {
	color: #ffffff;
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.footer-section ul {
	list-style: none;
}

.footer-section li {
	margin-bottom: 0.5rem;
}

.footer-section a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section a:hover {
	color: #ffd700;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
	.categories-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}

	.hero-title {
		font-size: 3rem;
	}
}

@media (max-width: 768px) {
	.desktop-nav,
	.desktop-only {
		display: none;
	}

	.menu-toggle {
		display: block;
	}

	.hero-title {
		font-size: 2rem;
	}

	.title-experience {
		font-size: 1.6rem;
	}

	.hero-description {
		font-size: 1rem;
		margin-bottom: 1.5rem;
	}

	.hero-content {
		padding: 1.5rem;
	}

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

	.btn {
		width: 100%;
		max-width: 300px;
		margin: 0.5rem 0;
	}

	.header-buttons {
		flex-direction: column;
		width: 100%;
		align-items: end;
	}

	.header-buttons .btn {
		width: 100%;
		max-width: 280px;
	}

	.section-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.filter-buttons {
		width: 100%;
		justify-content: flex-start;
	}

	.promo-banner {
		flex-direction: column;
		text-align: center;
	}

	.categories-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	}

	.games-grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}

	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.faq-grid {
		grid-template-columns: 1fr;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* iPad styles */
@media (min-width: 769px) and (max-width: 1024px) {
	.hero-buttons {
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
	}

	.header-buttons {
		flex-direction: row;
		gap: 1rem;
	}

	.mobile-auth {
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
	}

	.mobile-auth .btn {
		width: auto;
		min-width: 140px;
		max-width: none;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	.hero-title {
		font-size: 1.5rem;
	}

	.title-experience {
		font-size: 1.3rem;
	}

	.hero-description {
		font-size: 0.9rem;
		margin-bottom: 1.2rem;
	}

	.hero-content {
		padding: 1rem;
	}

	.categories-grid {
		grid-template-columns: 1fr;
	}

	.games-grid {
		grid-template-columns: 1fr;
		gap: 0.8rem;
	}

	.content-section {
		padding: 1.5rem 0;
	}

	.stats-grid {
		grid-template-columns: 1fr;
		gap: 0.8rem;
	}

	.game-card {
		margin-bottom: 1rem;
	}
}

/* Animations */
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.content-section {
	animation: slideInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
	text-align: center;
}

.mb-1 {
	margin-bottom: 0.5rem;
}
.mb-2 {
	margin-bottom: 1rem;
}
.mb-3 {
	margin-bottom: 1.5rem;
}
.mb-4 {
	margin-bottom: 2rem;
}

.mt-1 {
	margin-top: 0.5rem;
}
.mt-2 {
	margin-top: 1rem;
}
.mt-3 {
	margin-top: 1.5rem;
}
.mt-4 {
	margin-top: 2rem;
}

/* LINE Contact Button */
.line-contact-button {
	position: fixed;
	bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
	right: max(24px, calc(env(safe-area-inset-right) + 16px));
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #00b900, #00c73c);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 1000;
	box-shadow: 0 4px 20px rgba(0, 185, 0, 0.3);
	transition: all 0.3s ease;
}

.line-contact-button:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 25px rgba(0, 185, 0, 0.4);
}

.line-contact-button i {
	font-size: 28px;
	color: white;
}

/* LINE Modal */
.line-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 10000;
	align-items: center;
	justify-content: center;
}

.line-modal.active {
	display: flex;
}

.line-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
}

.line-modal-content {
	position: relative;
	background: linear-gradient(135deg, var(--surface-1), var(--surface-2));
	border: 1px solid rgba(34, 211, 238, 0.25);
	border-radius: 15px;
	padding: 1.25rem 1rem;
	max-width: 360px;
	width: calc(100% - 32px);
	backdrop-filter: blur(20px);
	animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.line-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.line-modal-header h3 {
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
}

.line-modal-close {
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.75);
	font-size: 1.2rem;
	cursor: pointer;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	transition: background 0.2s ease, color 0.2s ease;
}

.line-modal-close:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}

.line-modal-body {
	text-align: center;
	display: grid;
	gap: 0rem;
}

.qr-code-container {
	background: white;
	padding: 1rem;
	border-radius: 10px;
	margin-bottom: 0.2rem;
	display: inline-flex;
	margin-inline: auto;
	align-items: center;
	justify-content: center;
}

.qr-code {
	width: 168px;
	height: 168px;
	display: block;
}

.line-id-section {
	margin-bottom: 0.5rem;
}

.line-id-label {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.line-id-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.1);
	padding: 0.75rem 1rem;
	border-radius: 25px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.line-id {
	font-family: "Courier New", monospace;
	font-size: 1.1rem;
	font-weight: 600;
	color: #ffffff;
}

.copy-btn {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	padding: 0.25rem;
	transition: color 0.3s ease;
}

.copy-btn:hover {
	color: #ffd700;
}

.instructions {
	margin-bottom: 0.5rem;
}

.instructions p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
}

.action-buttons {
	display: flex;
	margin-bottom: 0.5rem;
	gap: 0.5rem;
}

.btn-line {
	flex: 1;
	background: linear-gradient(135deg, #00b900, #00c73c);
	color: white;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 600;
}

.btn-line:hover {
	background: linear-gradient(135deg, #00a000, #00b532);
	color: white;
}

.btn-outline {
	flex: 1;
	background: transparent;
	color: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.close-modal {
	cursor: pointer;
}

.contact-info {
	background: rgba(255, 255, 255, 0.05);
	padding: 1rem;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.status-dot {
	width: 8px;
	height: 8px;
	background: #00b900;
	border-radius: 50%;
	border-radius: 50%;
}

.status-indicator span {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.85rem;
}

@media (max-width: 480px) {
	.line-contact-button {
		width: 56px;
		height: 56px;
		bottom: 20px;
		right: 20px;
	}

	.line-contact-button i {
		font-size: 24px;
	}

	.line-modal-content {
		padding: 1rem 0.75rem;
		margin: 0.75rem;
		max-width: 340px;
	}

	.qr-code {
		width: 148px;
		height: 148px;
	}

	.action-buttons {
		flex-direction: column;
	}
}