/* Reset and Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	background: linear-gradient(to right, #f9f9f9, #e8f0ff);
	color: #333;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	/* add padding top to offset fixed header height */
	padding-top: 100px; /* adjust if header height changes */
}

main > section {
padding-top: 80px; /* space so content starts below fixed header */
scroll-margin-top: 80px; /* helps if you use anchor jump */
}


a {
	text-decoration: none;
	color: #1e88e5;
}

a:hover {
	text-decoration: underline;
}

/* Containers */
.container {
	width: 98%;
	max-width: 1200px;
	margin: auto;
	padding: 2rem 0;
}

/*================= HEADER & NAV BASE =================*/
/*================= HEADER & NAV BASE =================*/
.site-header {
    background: #2c3e50;
    padding: 0.75rem 1rem;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #f1c40f;
    text-shadow: 0 0 4px #f1c40f;
}

/* Hamburger button */
.hamburger {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    display: none;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    color: #f1c40f;
    transform: rotate(90deg);
}

/* Nav menu */
.main-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.main-nav a {
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-nav a i {
    color: #f1c40f;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a:hover i {
    color: #fff;
    text-shadow: 0 0 6px #f1c40f, 0 0 12px #f1c40f;
    transform: scale(1.1);
}
/*================= RESPONSIVE / MOBILE =================*/
@media (max-width: 768px) {
    body {
        padding-top: 60px; /* offset fixed header */
    }

    .hamburger {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: #2c3e50;
        transition: max-height 0.4s ease, padding 0.4s ease;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        z-index: 999;
        padding: 0;
    }

    .main-nav.open {
        max-height: 500px; /* enough to show all links */
        padding: 1rem 0;
    }

    .main-nav ul {
        display: flex;            /* ensure flex is active */
        flex-direction: column;
        align-items: flex-start;  /* left-align list items */
        gap: 0.8rem;              /* optional: reduce spacing if desired */
        margin: 0;
        padding: 0 1rem;          /* optional: small left/right padding */
    }

    .main-nav a {
        font-size: 1.1rem;
        padding: 0.6rem 1.5rem;
        width: 100%;              /* full width for easier tap on mobile */
        display: flex;            /* ensure icon + text align nicely */
        align-items: center;
    }

    .main-nav a i {
        font-size: 1.3rem;
        margin-right: 0.6rem;
    }
}



/* Smooth icon glow animation */
@keyframes iconGlow {
    0%,100% { text-shadow: 0 0 4px #f1c40f; }
    50% { text-shadow: 0 0 10px #f1c40f; }
}

.main-nav a i {
    animation: iconGlow 3s ease-in-out infinite;
}


/*================= NAV ADJUST FOR MEDIUM SCREENS 1200px-769px =================*/
@media (max-width: 1200px) and (min-width: 769px) {
    .site-header .container {
        gap: 0.5rem; /* smaller gap between logo and nav */
    }

    .main-nav ul {
        gap: 0.6rem; /* much smaller gap between nav items */
    }

    .main-nav a {
        font-size: 1rem; /* slightly smaller text */
        padding: 0.25rem 0.5rem; /* tighter padding */
    }

    .main-nav a i {
        font-size: 1.05rem; /* slightly smaller icons */
        margin-right: 0.3rem; /* reduce icon spacing */
    }
}



/* TOAST-POPUP MESSAGE */
#toast-container {
	position: fixed;
	top: 1rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.toast {
	padding: 1rem 1.2rem;
	background-color: #323232;
	color: white;
	border-radius: 5px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
	opacity: 0;
	transform: translateY(-20px);
	animation: fadeInUp 0.3s forwards, fadeOut 0.5s 3s forwards;
	font-size: 0.95rem;
	min-width: 240px;
	max-width: 90vw;
	text-align: center;
}

.toast.info {
	background-color: #2196f3; /* blue for info/processing */
}

.toast.warning {
	background-color: #ff9800;
}

.toast.success {
	background-color: #4caf50;
}

.toast.error {
	background-color: #f44336;
}


@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeOut {
	to {
		opacity: 0;
		transform: translateY(-20px);
	}
}




/*==========================================*/
/*================= HOME SECTION CONTAINER =================*/




/* Hero Section */
.hero-section {
	text-align: center;
	padding: 1rem 0.5rem;

	/*background: url('/static/images/fruits-bg.jpg') center/cover no-repeat;*/
	color: #fff;
	background-blend-mode: overlay;
	background-color: rgba(44, 62, 80, 0.7);
	border-radius: 16px;
}

.hero-section h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.hero-section p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.btn-primary {
	background-color: #523302;
	padding: 0.75rem 2rem;
	border: none;
	border-radius: 30px;
	font-size: 1rem;
	color: white;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.btn-primary:hover {
	background-color: #d35400;
}

.hero-section .tax-warning {
    color: orange;
    font-weight: bold;
}



/*================= MEDIA QUERY: ≤768px =================*/
@media (max-width: 768px) {
    /* HERO SECTION */
    .hero-section {
        padding: 1rem 1rem;
        border-radius: 12px;
		margin-top: 5px !important;
		padding-top: 5px !important;
    }

    .hero-section h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 90%;
    }

    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 25px;
    }

}



.countdown-timer {
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

.countdown-timer .warning {
    color: red;
}


.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 2.5rem; /* space for the eye icon */
    box-sizing: border-box;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 0.5rem;
    cursor: pointer;
    color: #2ec4b6; /* green accent */
    font-size: 1.1rem;
    user-select: none;
    transition: color 0.2s;
}

.password-wrapper .toggle-password:hover {
    color: #1fa89a; /* darker green on hover */
}



/* === ABOUT SECTION STYLES === */
.about-section {
    padding: 50px 20px;
    background-color: #fff9f5;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2em;
    color: #d94d00;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1.1em;
    color: #555;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
}

.about-text {
    flex: 1 1 55%;
    font-size: 1em;
    color: #333;
    line-height: 1.6;
}

.about-text h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #d94d00;
    font-size: 1.2em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
}

.about-text ul {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.about-text ul li {
    margin-bottom: 6px;
}

.about-image {
    flex: 1 1 40%;
    text-align: center;
    margin-top: 10px;
}

.about-image img {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.grid-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 8px;
}

/* Placeholder grid area (empty since Jinja loops removed) */
.grid-demo, .circular-arena {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px; /* reserve space visually */
    margin: 20px 0;
    background: #f3f3f3;
    border-radius: 8px;
    border: 1px dashed #ccc;
    color: #999;
    font-style: italic;
}

/* Circular Football Arena */
.football-arena-preview {
    margin-top: 20px;
    text-align: center;
    position: relative;
    width: 14rem;
    height: 14rem;
    margin-left: auto;
    margin-right: auto;
}

/* Game Feature List */
.game-features {
    margin-top: 30px;
}

.about-features {
    list-style: disc inside;
    padding-left: 0;
}

.about-features li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 15px;
    }

    .about-text, .about-image {
        flex-basis: 100%;
    }

    .section-title {
        font-size: 1.5em;
    }

    .section-subtitle {
        font-size: 0.9em;
    }

    .about-image img {
        max-width: 200px;
    }

    .grid-demo, .circular-arena {
        min-height: 100px;
    }
}




/* Info Sections */
.info-section {
	margin-top: 3rem;
	background-color: #fff;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.info-section h3 {
	font-size: 1.8rem;
	color: #2c3e50;
	margin-bottom: 1rem;
}

.info-section p, .info-section ul {
	font-size: 1.1rem;
	color: #555;
}

.info-section ul {
	list-style-type: square;
	padding-left: 1.5rem;
}





/* =========================
   Footer
========================= */
.site-footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
    font-family: 'Arial', sans-serif;
}

.site-footer h3,
.site-footer h4 {
    color: #f1c40f;
    margin-bottom: 0.75rem;
}

.site-footer p {
    margin: 0.25rem 0 1rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0e0e0;
}

.site-footer a {
    color: #00ffeaa0; /* bright aqua for links */
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.site-footer a:hover {
    color: #57fff7;
    text-decoration: none;
}

/* =========================
   Contact Section
========================= */
.info-section {
    padding: 2rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-card {
    background-color: #34495e;
    padding: 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.social-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-icons a {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f1c40f;
    color: #2c3e50;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #57fff7;
    color: #2c3e50;
    transform: scale(1.1);
}

/* =========================
   Footer Bottom - Centered, Reduced Gap
========================= */
.footer-bottom {
    border-top: 1px solid #465a6f;
    margin-top: 1.5rem;      /* slightly less than before */
    padding-top: 1rem;       /* slightly smaller padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;             /* reduced gap between elements */
    font-size: 0.85rem;
    color: #ccc;
}

.footer-bottom .footer-left,
.footer-bottom .footer-center,
.footer-bottom .footer-right,
.footer-links {
    flex: unset;
    width: 100%;
    margin: 0;               /* remove extra margins */
}

.footer-bottom .footer-center {
    font-size: 0.9rem;
    margin: 0.25rem 0;       /* smaller vertical margin */
}

.footer-links {
    margin-top: 0.25rem;     /* smaller spacing above links */
}

.footer-links a {
    margin: 0 0.4rem;        /* tighter spacing between links */
}

/* =========================
   Category Emoji Tooltip
========================= */
.category-emoji {
    cursor: default;
}

/* =========================
   Responsive
========================= */
@media (min-width: 768px) {
    .footer-bottom .footer-left,
    .footer-bottom .footer-center,
    .footer-bottom .footer-right {
        flex: 1 1 auto;
    }

    .footer-bottom {
        text-align: left;
    }

    .footer-links {
        text-align: right;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }
}








/* Terms & Policy List */
#policies ul {
	list-style: none;
	padding-left: 1rem;
}

#policies ul li {
	margin-bottom: 0.5rem;
	position: relative;
	padding-left: 1.5rem;
}

#policies ul li::before {
	content: "✔";
	position: absolute;
	left: 0;
	color: green;
}

/* Form Button */
.form-section button {
	background-color: #27ae60;
	border: none;
	padding: 0.75rem;
	font-size: 1rem;
	color: #fff;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.form-section button:hover {
	background-color: #1e8449;
}

/* Media Queries */
@media (max-width: 768px) {
	.form-section form {
		width: 100%;
	}
}





/* ================= WIN JACKPOT / HIGHLIGHTED INFO SECTION ================= */
/* ================= WIN JACKPOT / HIGHLIGHTED INFO SECTION ================= */
#win-jackpot {
    padding: 40px 20px;
    background-color: #fff7f0;
    border-top: 4px solid #d94d00;
    border-radius: 16px;
    margin: 40px auto;
    max-width: 1200px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    color: #222;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Button */
#win-jackpot .btn-primary {
    display: inline-block;
    margin: 0 auto 30px;
    padding: 12px 28px;
    font-size: 1.2rem;
    font-weight: bold;
    background-color: #d94d00;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.1s ease;
}

#win-jackpot .btn-primary:hover {
    background-color: #ff6600;
    transform: translateY(-2px);
}

/* Jackpot Banner */
.jackpot-banner {
    background: linear-gradient(90deg, #ffd700 0%, #ff9f00 100%);
    color: #222;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px 10px;
    border-radius: 12px;
    margin-bottom: 25px;
}

/* Intro */
#win-jackpot .intro {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

/* Responsive Table Wrapper */
#win-jackpot .table-wrapper {
    width: 100%;
    overflow-x: auto; /* allow horizontal scroll */
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
    margin-bottom: 30px;
}

/* Jackpot Table */
.jackpot-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.jackpot-table th,
.jackpot-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
}

/* Table header */
.jackpot-table th {
    background-color: #f5f5f5;
    font-weight: 700;
    color: #222;
}

/* Fruit vs Football distinction */
.jackpot-table tbody.fruit-jackpots tr {
    background-color: #f9f3e3;
    color: #222;
}

.jackpot-table tbody.football-jackpots tr {
    background-color: #eaf7ff;
    color: #222;
}

/* Optional captions for groups */
.jackpot-table tbody.fruit-jackpots::before {
    content: "🍉 Fruit Jackpots";
    display: table-caption;
    caption-side: top;
    font-weight: bold;
    font-size: 1.1rem;
    color: #d94d00;
    margin-bottom: 8px;
}

.jackpot-table tbody.football-jackpots::before {
    content: "⚽ Football Jackpots";
    display: table-caption;
    caption-side: top;
    font-weight: bold;
    font-size: 1.1rem;
    color: #0077b6;
    margin-bottom: 8px;
}

/* Play Info */
#win-jackpot .play-info {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

#win-jackpot .highlight {
    color: #d94d00;
    font-weight: bold;
}

/* Disclaimer */
#win-jackpot .disclaimer {
    font-size: 0.85rem;
    color: #555;
    margin-top: 15px;
}

/* ================== RESPONSIVE ================== */
/* ================== RESPONSIVE WIN JACKPOT ================== */
@media (max-width: 768px) {
    #win-jackpot {
        padding: 15px 10px; /* reduced padding */
        margin: 20px auto;  /* smaller top/bottom margin */
        border-radius: 12px; /* slightly smaller radius */
        box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    }

    /* Button */
    #win-jackpot .btn-primary {
        font-size: 0.95rem;
        padding: 8px 18px;
        margin-bottom: 20px;
    }

    /* Jackpot Banner */
    .jackpot-banner {
        font-size: 1rem;
        padding: 8px 6px;
        margin-bottom: 15px;
    }

    /* Intro text */
    #win-jackpot .intro {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    /* Table wrapper */
    #win-jackpot .table-wrapper {
        margin-bottom: 20px;
    }

    /* Table cells */
    .jackpot-table th,
    .jackpot-table td {
        padding: 6px 8px;
        font-size: 0.8rem;
    }

    /* Table captions */
    .jackpot-table tbody.fruit-jackpots::before,
    .jackpot-table tbody.football-jackpots::before {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }

    /* Play info */
    #win-jackpot .play-info {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    /* Highlighted text */
    #win-jackpot .highlight {
        font-weight: 600;
    }

    /* Disclaimer */
    #win-jackpot .disclaimer {
        font-size: 0.75rem;
        margin-top: 10px;
    }
}







#faq {
	background: linear-gradient(to right, #232526, #414345);
	padding: 40px;
	border-radius: 16px;
	color: white;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
	margin-top: 40px;
}

#faq h3 {
	font-size: 1.8rem;
	margin-bottom: 25px;
	text-align: center;
	color: #ffd700;
}

.faq-item {
	margin-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding-bottom: 10px;
}

.faq-question {
	width: 100%;
	text-align: left;
	background: #2d2f36;
	color: #fff;
	padding: 14px 20px;
	font-size: 1.1rem;
	font-weight: bold;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.3s ease;
	box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

.faq-question:hover {
	background: #3f4250;
}

.faq-answer {
	display: none;
	padding: 12px 20px;
	margin-top: 8px;
	margin-left: 40px;
	font-size: 1rem;
	color: #e0e0e0;
	line-height: 1.5;
	background: rgba(255, 255, 255, 0.219);
	border-radius: 8px;
	animation: fadeIn 0.4s ease-in-out forwards;
}

.faq-item.active .faq-answer {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
#faq {
	padding: 10px 5px;
	margin-top: 20px;
	border-radius: 12px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
	font-size: 0.85rem;
}

#faq h3 {
	font-size: 1.2rem;
	margin-bottom: 12px;
}

.faq-item {
	margin-bottom: 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-question {
	padding: 8px 12px;
	font-size: 0.9rem;
	border-radius: 6px;
	box-shadow: 0 0 4px rgba(255, 255, 255, 0.08);
}

.faq-question:hover {
	background: #4a4c56;
}

.faq-answer {
	padding: 8px 12px;
	margin-top: 6px;
	margin-left: 20px;
	font-size: 0.85rem;
	line-height: 1.4;
	border-radius: 6px;
}
}




/* =======================================
MODAL SYSTEM (Signup & Login Popups)
========================================== */
.modal {
	display: none;  /* ✅ Keep hidden by default */
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(3px);
	justify-content: center;
	align-items: center;
	animation: fadeIn 0.4s ease-in-out;
}


.modal-content {
	background: linear-gradient(to bottom right, #ffffff, #f9f9f9);
	padding: 1rem;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
	max-width: 380px;
	width: 95%;
	position: relative;
	animation: slideDown 0.35s ease-out;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.modal h3 {
	margin-top: 0;
	margin-bottom: 1.5rem;
	font-size: 1.8rem;
	color: #333;
	text-align: center;
}

.modal .close {
	position: absolute;
	top: 12px;
	right: 16px;
	font-size: 1.5rem;
	font-weight: bold;
	color: #777;
	cursor: pointer;
	transition: color 0.3s ease;
}

.modal .close:hover {
	color: #d32f2f;
}

/* Animations */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideDown {
	from { transform: translateY(-40px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

/* =======================================
FORMS INSIDE MODALS
========================================== */
.modal form {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.modal label {
	font-size: 0.95rem;
	font-weight: 600;
	color: #444;
}

.modal input[type="text"],
.modal input[type="tel"],
.modal input[type="email"],
.modal input[type="password"] {
	padding: 0.75rem 1rem;
	font-size: 1rem;
	border-radius: 8px;
	border: 1px solid #ccc;
	transition: border-color 0.3s ease, box-shadow 0.2s ease;
	width: 100%;
}

.modal input:focus {
	border-color: #1976d2;
	box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
	outline: none;
}

.modal .checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: #333;
}

.modal .checkbox a {
	color: #1976d2;
	text-decoration: none;
}

.modal .checkbox a:hover {
	text-decoration: underline;
}

/* Submit Button */
.modal .btn-primary {
	background-color: #1976d2;
	color: white;
	border: none;
	padding: 0.9rem;
	border-radius: 8px;
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.modal .btn-primary:hover {
	background-color: #1565c0;
}

.modal .forgot-password {
	text-align: right;
	margin-top: -0.8rem;
	font-size: 0.85rem;
}

.modal .forgot-password a {
	color: #1976d2;
	text-decoration: none;
}

.modal .forgot-password a:hover {
	text-decoration: underline;
}


/* Forgot Password Modal */
#forgot-password-modal .modal-content {
	max-width: 460px;
}

#forgot-password-modal input {
	font-size: 1rem;
}

#forgot-password-modal button {
	margin-top: 1rem;
}


@media (max-width: 768px) {
.modal-content {
	padding: 0.5rem 0.75rem;
	max-width: 320px;
	border-radius: 12px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.modal h3 {
	font-size: 1.3rem;
	margin-bottom: 1rem;
}

.modal .close {
	top: 8px;
	right: 12px;
	font-size: 1.2rem;
}

.modal form {
	gap: 0.35rem;
}

.modal label {
	font-size: 0.85rem;
}

.modal input[type="text"],
.modal input[type="tel"],
.modal input[type="email"],
.modal input[type="password"] {
	padding: 0.5rem 0.75rem;
	font-size: 0.85rem;
	border-radius: 6px;
}

.modal .checkbox {
	font-size: 0.75rem;
	gap: 0.35rem;
}

.modal .btn-primary {
	padding: 0.6rem;
	font-size: 0.9rem;
	border-radius: 6px;
}

.modal .forgot-password {
	margin-top: -0.5rem;
	font-size: 0.85rem;
}

#forgot-password-modal .modal-content {
	max-width: 360px;
}

#forgot-password-modal input {
	font-size: 0.85rem;
}

#forgot-password-modal button {
	margin-top: 0.7rem;
	padding: 0.6rem;
	font-size: 0.9rem;
}
}



/* =========================== HOW IT WORKS SECTION =========================== */
/* =========================== HOW IT WORKS SECTION =========================== */
#how-it-works {
    padding: 60px 20px;
    background-color: #1a1f2e;
    color: #d0d0d0;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
    max-width: 1200px;
    margin: 80px auto;
    font-family: 'Inter', sans-serif;
}

/* Section Header */
#how-it-works h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ffd166;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Primary Button */
#how-it-works .btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ffd166, #ef476f);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    margin-bottom: 50px;
}

#how-it-works .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #ef476f, #ffd166);
}

/* -------------------- VIDEO STEPS -------------------- */
.video-steps,
.written-steps,
.fruit-table,
.football-table {
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 50px;
    background: rgba(255,255,255,0.02);
}

.video-steps legend,
.written-steps legend,
.fruit-table legend,
.football-table legend {
    font-weight: 700;
    color: #ffd166;
    font-size: 1.2rem;
    padding: 0 10px;
}

/* Video Steps */
.how-videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.video-step {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 15px;
    width: 360px;
    position: relative;
    transition: transform 0.3s ease;

    /* Center contents vertically and horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-step h4 {
    margin-bottom: 12px;
    color: #ffd166;
    text-align: center;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 ratio */
    background: #111827;
    border-radius: 12px;
    overflow: hidden;

    /* Center iframe if needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Spinner */
.video-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: #ffd166;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* -------------------- Written Steps ---------------------- */
.how-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.how-step {
    padding: 25px 0;
    border-radius: 12px;
    margin-bottom: 30px;
}

.how-step img {
    width: 100%;
    height: auto;
    max-width: 700px;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.how-step h4 {
    font-size: 1.6rem;
    color: #ffdd57;
    margin-bottom: 12px;
    text-align: center;
}

.how-step p {
    font-size: 1.1rem;
    color: #ece7e7;
    line-height: 1.7;
    text-align: center;
}

#how-it-works fieldset p {
    color: #d6d5d5;
}

.jackpot-hours {
    color: #00ffcc;
    font-weight: bold;
}

/* -------------------- Tables ---------------------- */
.fruit-multiplier-table,
.football-multiplier-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    margin-top: 10px;
    table-layout: auto;
}

.fruit-multiplier-table th,
.fruit-multiplier-table td,
.football-multiplier-table th,
.football-multiplier-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid #2e3a50;
    color: #d0d0d0;
    word-wrap: break-word;
}

.fruit-multiplier-table thead,
.football-multiplier-table thead {
    background-color: #2c3a50;
    color: #ffd700;
}

.fruit-multiplier-table tr:nth-child(even),
.football-multiplier-table tr:nth-child(even) {
    background-color: #262f44;
}

.jackpot-row {
    font-weight: bold;
    color: #ff8c00;
    background-color: #331a3a;
}

.jackpot-row td {
    color: #ffb84d;
}

/* -------------------- Footer ---------------------- */
.how-footer {
    margin-top: 35px;
    font-size: 1rem;
    text-align: center;
    color: #b0b0b0;
}

.how-footer a {
    color: #00d9ff;
    text-decoration: underline;
}

/* -------------------- TABLE STYLING -------------------- */
.fruit-multiplier-table,
.football-multiplier-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95rem;
}

.fruit-multiplier-table th,
.fruit-multiplier-table td,
.football-multiplier-table th,
.football-multiplier-table td {
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.fruit-multiplier-table th,
.football-multiplier-table th {
    background: rgba(255,255,255,0.05);
    color: #ffd166;
}

.jackpot-row {
    background: rgba(239, 71, 111, 0.1);
    font-weight: 600;
    color: #ef476f;
}

/* Zebra striping for clarity */
.fruit-multiplier-table tbody tr:nth-child(even),
.football-multiplier-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

/* Footer Link */
#how-it-works .how-footer {
    margin-top: 40px;
    font-size: 0.95rem;
    color: #9aa6b2;
}

#how-it-works .how-footer a {
    color: #ffd166;
    text-decoration: underline;
}

#how-it-works .how-footer a:hover {
    color: #ef476f;
}


/* ===================== HOW IT WORKS MEDIA QUERY ===================== */
@media (max-width: 768px) {

    /* Main container adjustments */
    #spa-view.container {
        padding-left: 5px !important;
        padding-right: 5px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    /* Section adjustments */
    #how-it-works {
        padding: 0 !important; /* small horizontal padding */
        margin: 60px 5px;  /* very small left/right spacing */
        width: 98%;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.4);
        font-size: 0.95rem;
        text-align: center;
    }

    #how-it-works h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    /* Primary Button */
    #how-it-works .btn-primary {
        padding: 10px 18px;
        font-size: 1rem;
        display: block;
        width: 95%;   /* almost full width */
        max-width: 300px;
        margin: 0 auto 30px auto;
    }

    /* Video Steps */
    .how-videos {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .video-step {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        padding: 10px 5px; /* reduce padding */
    }

    .video-step h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .video-wrapper {
        width: 100%;
        padding-bottom: 56.25%; /* maintain 16:9 */
        height: auto;
    }

    .video-wrapper iframe {
        width: 100%;
        height: 100%;
    }

    /* Written Steps */
    .how-grid {
        gap: 20px;
    }

    .how-step img {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .how-step h4 {
        font-size: 1.3rem;
    }

    .how-step p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Tables */
    .fruit-multiplier-table,
    .football-multiplier-table {
        font-size: 0.8rem;
    }

    .fruit-multiplier-table th,
    .fruit-multiplier-table td,
    .football-multiplier-table th,
    .football-multiplier-table td {
        padding: 6px 4px;
    }

    /* Footer */
    #how-it-works .how-footer {
        font-size: 0.85rem;
        text-align: center;
    }
}




/* Company Info */
#company {
	padding: 60px 8px;
	border-radius: 6px;
	margin-top: 10px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

#company h3,
#company h4 {
	font-size: 1rem;
	margin-bottom: 4px;
}

#company p,
#company li {
	font-size: 0.7rem;
	line-height: 1.3;
}

#company ul {
	padding-left: 12px;
	margin-bottom: 8px;
}

#company ul li {
	margin-bottom: 4px;
}

.company-subsection {
	margin-top: 8px;
	border-left-width: 2px;
	padding-left: 8px;
}

#company a {
	font-size: 0.7rem;
}



/*Review*/
/* =========================
Reviews Section
========================= */
#reviews {
	padding: 2rem;
	padding-top: 0 !important;
	border-radius: 12px;
	max-width: 1000px;
	margin: 0 auto;
}

#reviews h2 {
	font-size: 1.8rem;
	margin-bottom: 0.5rem;
	text-align: center;
	color: #333;
}

/* Reviews Container */
.reviews-container {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

/* Review Card */
.review {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* Avatar */
.review .avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #eee;
}

/* Review Content */
.review strong {
	font-size: 1rem;
	color: #222;
}

.review small {
	color: #888;
	margin-left: 0.5rem;
	font-size: 0.85rem;
}

.review-stars {
	color: #ffc107;
	margin: 0.3rem 0;
}

.review p {
	margin: 0.3rem 0 0;
	color: #555;
	line-height: 1.4;
}

/* Overall Rating */
.overall-rating {
	text-align: center;
	font-size: 1.1rem;
	margin-bottom: 1rem;
	color: #444;
}

.overall-rating .stars {
	color: #ffc107;
	font-size: 1.3rem;
	vertical-align: middle;
	margin-left: 0.3rem;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1rem;
}

.pagination button {
	background: #f8f8f8;
	border: 1px solid #ddd;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	cursor: pointer;
	font-size: 0.9rem;
	transition: background 0.2s ease, color 0.2s ease;
}

.pagination button:hover:not(:disabled) {
	background: #333;
	color: #fff;
}

.pagination button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}



@media (max-width: 768px) {
#reviews {
	padding: 8px 10px;
	padding-top: 100px !important;
	border-radius: 6px;
	max-width: 100%;
	margin: 0 5px;
}

#reviews h2 {
	font-size: 1.1rem;
	margin-bottom: 0.25rem;
	color: #333;
}

.reviews-container {
	gap: 0.5rem;
}

.review {
	gap: 0.5rem;
	padding: 0.5rem;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.review:hover {
	transform: none;
	box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.review .avatar {
	width: 32px;
	height: 32px;
	border-width: 1.5px;
}

.review strong {
	font-size: 0.75rem;
}

.review small {
	font-size: 0.6rem;
	margin-left: 0.3rem;
}

.review-stars {
	margin: 0.1rem 0;
	font-size: 0.8rem;
}

.review p {
	font-size: 0.7rem;
	line-height: 1.3;
	margin-top: 0.2rem;
}

.overall-rating {
	font-size: 0.85rem;
	margin-bottom: 0.5rem;
}

.overall-rating .stars {
	font-size: 1rem;
	margin-left: 0.2rem;
}

.pagination {
	gap: 0.25rem;
	margin-top: 0.5rem;
}

.pagination button {
	padding: 0.25rem 0.5rem;
	font-size: 0.65rem;
	border-radius: 4px;
}
}


@media (max-width: 768px) {
/* ... other styles from before ... */

.overall-rating .stars {
	font-size: 0.75rem;  /* smaller than before */
	margin-left: 0.2rem;
	vertical-align: middle;
}
}


