/* =============================================
   GLOBAL STYLES
   ============================================= */

/* Prevent horizontal scrollbar */
* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

strong, b {
    font-weight: 900;
}

/* CSS Variables */
:root {
    --bg-dark: #000b1f;
    --header-top-bg: #03153A;
    --header-nav-bg: #0e244f;
    --btn-bg: #132549;
    --btn-hover: #1c3361;
    --btn-login-bg: #1e3458;
    --btn-login-hover: #2a4571;
    --text-white: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-blue: #bfdbfe;
    --hover-blue: #3b82f6;

    /* Footer Colors */
    --footer-navy: #001529;
    --footer-panel: #062447;
    --newsletter-bg: #0f2b3e;
    --brand-green: #58D73F;
}

/* =============================================
   HEADER STYLES
   ============================================= */

/* Footer Utilities */
.bg-footer-navy {
    background-color: var(--footer-navy);
}

.bg-footer-panel {
    background-color: var(--footer-panel);
}

.bg-newsletter-bg {
    background-color: var(--newsletter-bg);
}

.bg-brand-green {
    background-color: var(--brand-green);
}

.text-brand-green {
    color: var(--brand-green);
}

.hover\:text-brand-green:hover {
    color: var(--brand-green);
}

.hover\:bg-brand-green:hover {
    background-color: var(--brand-green);
}

/* Top Bar */
.top-bar {
    height: 70px;
    background-color: var(--header-top-bg);
    border-bottom: 1px solid var(--border-color);
    z-index: 1001;
    position: relative;
}

.header-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    z-index: 30;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    color: white;
}

.actions-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    z-index: 10;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn-header {
    background-color: var(--btn-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: inherit;
}

.btn-header:hover {
    background-color: var(--btn-hover);
}

.btn-icon {
    width: 40px;
    height: 40px;
}

.btn-lang {
    height: 40px;
    padding: 0 12px;
    font-weight: 700;
    font-size: 14px;
    gap: 8px;
}

.btn-login {
    height: 40px;
    padding: 0 24px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.025em;
    background-color: var(--btn-login-bg);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
    background-color: var(--btn-login-hover);
}

/* =============================================
   NAVIGATION BAR
   ============================================= */

.nav-bar {
    height: 52px;
    background-color: var(--header-nav-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
}

.nav-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-menu {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
}

.nav-item-wrapper {
    position: static;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-white);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.01em;
    padding: 0 20px;
    height: 100%;
    transition: background-color 0.2s ease;
}

.nav-item-wrapper:hover .nav-link {
    background-color: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
}

/* =============================================
   MEGA MENU DROPDOWN
   ============================================= */

.mega-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: white;
    color: black;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 100;
}

.nav-item-wrapper:hover .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-content {
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 80px;
}

.mega-column {
    min-width: 250px;
}

.mega-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 0;
    transition: color 0.2s;
}

.mega-link:hover {
    color: #0f172a;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
}

/* =============================================
   COMPONENTS
   ============================================= */

.badge-menu {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
    color: white;
}

.flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flag-part {
    width: 33.33%;
    height: 100%;
}

.green {
    background-color: #009246;
}

.white {
    background-color: #ffffff;
}

.red {
    background-color: #ce2b37;
}

/* =============================================
   SEARCH BAR
   ============================================= */

.search-container {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 52px;
    display: flex;
    align-items: center;
    z-index: 20;
    width: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-container.active {
    width: calc(100% - 3rem);
    /* Full width minus margins */
    max-width: 500px;
    right: 1.5rem;
    /* Ensure it stays anchored right or consider centering */
}


.search-container form {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.search-input {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 0 12px;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    box-shadow: none;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.search-close {
    color: white;
    margin-left: 12px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.search-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile override if needed to ensure it doesn't overlap logo poorly or looks weird */
@media (max-width: 640px) {
    .search-container.active {
        width: 100%;
        left: 0;
        right: 0;
        top: 0;
        height: 70px;
        background-color: var(--header-top-bg);
        z-index: 2000;
        padding: 0 16px;
        border-radius: 0;
        transform: none;
        /* Reset the translateY(-50%) from base styles */
    }

    .search-container form {
        height: 60%;
        width: 100%;
        margin-left: 10px;
        /* Increased left margin */
    }
}

/* =============================================
   DESKTOP OVERRIDES (1024px+)
   ============================================= */

@media (min-width: 1024px) {

    /* FORCE HIDE hamburger on desktop */
    .lg\:hidden {
        display: none !important;
    }

    /* Wider search on desktop */
    .search-container.active {
        max-width: 500px;
    }
}

/* =============================================
   SHOW PAGE STYLES
   ============================================= */

h2 {
    font-family: inherit;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.gradient-text {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

/* =============================================
   MOBILE VISIBILITY HELPERS (Migrated)
   ============================================= */
@media (min-width: 1024px) {
    .mobile-hamburger {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Responsive Grid */
.custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .custom-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

/* =============================================
   TYPOGRAPHY (TinyMCE Content)
   ============================================= */

.prose h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 0.75rem;
    padding-top: 0.5rem;
    letter-spacing: -0.025em;
}

/* Ensure bookmaker review content starts at the same height as casino content */
[class$="-review-content"] {
    padding-top: 0 !important;
}
[class$="-review-content"] > :first-child {
    margin-top: 0 !important;
}



@media (min-width: 768px) {
    .prose h2 {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

.prose h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.prose p {
    margin-bottom: 0.75rem;
    line-height: 1.75;
    color: #475569;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #475569;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose strong, .prose b {
    font-weight: 900;
    color: #0f172a;
}

.prose a {
    color: #4f46e5;
    text-decoration: underline;
}

.prose blockquote {
    border-left: 4px solid #e2e8f0;
    padding-left: 1rem;
    font-style: italic;
    color: #64748b;
    margin-bottom: 1.25rem;
}

/* =============================================
   EXTRA SHOW PAGE STYLES (Migrated)
   ============================================= */

.premium-grid {
    background-image: radial-gradient(rgba(71, 85, 105, 0.1) 1px, transparent 1px);
    background-size: 32px 32px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Subtle floating animation */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: floating 3s ease-in-out infinite;
}

/* Glass effect - Variation */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.circle-progress {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s ease;
}

[x-cloak] {
    display: none !important;
}

.section-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

/* =============================================
   DARK MODE OVERRIDES
   ============================================= */

/* Base Dark Theme (High Contrast) */
html.dark body {
    background-color: #0a0a0c !important;
    /* Dark Grey */
    color: #e2e8f0;
}

html.dark .bg-white {
    background-color: #121212 !important;
    /* Dark Gray */
    border-color: #444444 !important;
}

html.dark .bg-slate-50,
html.dark .bg-slate-100,
html.dark .bg-gray-50,
html.dark .bg-gray-100 {
    background-color: #0a0a0a !important;
    /* Black/Darker Gray */
    border-color: #444444 !important;
}

/* Components */
html.dark .section-card.bg-white {
    background-color: #1a1a1a !important;
    border-color: #555555 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

html.dark .glass-panel {
    background: rgba(20, 20, 20, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Typography Overrides for Visibility */
html.dark .text-slate-900,
html.dark .text-slate-800,
html.dark .text-gray-900,
html.dark .text-gray-800,
html.dark .text-black {
    color: #ffffff !important;
    /* Pure White for headings */
}

html.dark .text-slate-600,
html.dark .text-slate-500,
html.dark .text-gray-600,
html.dark .text-gray-500 {
    color: #a3a3a3 !important;
    /* Light Gray for secondary */
}

/* Specific Cards & Gradients */
html.dark .bg-indigo-50,
html.dark .bg-slate-50,
html.dark .bg-emerald-50,
html.dark .bg-rose-50,
html.dark .bg-indigo-50\/50,
html.dark span.bg-slate-50,
html.dark span.bg-indigo-50,
html.dark span.bg-emerald-50 {
    background-color: #313132cc !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgb(224, 225, 226) !important;
}

html.dark .hover\:bg-indigo-50:hover {
    background-color: #3f3f40 !important;
    /* Slightly lighter for hover */
}

html.dark .text-indigo-600,
html.dark .text-emerald-700,
html.dark .text-slate-600,
html.dark .text-slate-700,
html.dark .text-slate-800,
html.dark .text-slate-900,
html.dark .text-gray-600,
html.dark .text-gray-700,
html.dark .text-gray-800,
html.dark .text-gray-900 {
    color: rgb(224, 225, 226) !important;
}

html.dark .text-slate-400,
html.dark .text-gray-400,
html.dark .text-slate-500,
html.dark .text-gray-500 {
    color: #94a3b8 !important;
}

html.dark .text-amber-700 {
    color: #fbbf24 !important; /* Lighter amber for dark mode */
}

/* Remove Neon Effects (Shadows) */
html.dark .shadow-xl,
html.dark .shadow-2xl,
html.dark .shadow-lg,
html.dark .section-card,
html.dark .section-card:hover {
    box-shadow: none !important;
}

html.dark .bg-white,
html.dark .section-card {
    background-color: #121212 !important;
    border-color: #222 !important;
    box-shadow: none !important;
}

html.dark .bg-slate-50,
html.dark .bg-gray-50,
html.dark .bg-blue-50,
html.dark .bg-green-50,
html.dark .bg-indigo-50 {
    background-color: #0f1117 !important;
}

/* Specific Light Gradients Overrides */
html.dark .from-\[\#f8fbff\],
html.dark .from-blue-100,
html.dark .from-indigo-100,
html.dark .from-green-100 {
    --tw-gradient-from: #1a1c23 !important;
    --tw-gradient-to: rgb(26 28 35 / 0) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
    border-color: #222 !important;
}

html.dark .to-\[\#f0fdf4\],
html.dark .to-blue-50,
html.dark .to-indigo-50,
html.dark .to-green-50 {
    --tw-gradient-to: #12141a !important;
}

/* sections-clip-bg refinement */
html.dark .sections-clip-bg {
    background: linear-gradient(90deg, #0a0a0c 0%, #111111 100%) !important;
}

/* Stats grid optimization */
html.dark .grid.grid-cols-1.sm\:grid-cols-3 > div {
    background-color: #12141c !important;
    border-color: #1e293b !important;
}

html.dark .grid.grid-cols-1.sm\:grid-cols-3 > div:hover {
    background-color: #1a1c26 !important;
    border-color: #334155 !important;
}

/* Pro & Cons Text */
html.dark #procons li span {
    color: rgb(224, 225, 226) !important;
}

/* Header & Nav */
html.dark .top-bar,
html.dark .nav-bar {
    background-color: #050505 !important;
    border-bottom-color: #1e293b !important;
}

html.dark .mega-menu-dropdown {
    background-color: #121212 !important;
    border: 1px solid #222 !important;
    color: white !important;
}

/* Tabs (Schede) in Casino Show */
html.dark .backdrop-blur-xl.bg-white\/80 {
    background-color: rgba(18, 18, 18, 0.9) !important;
    border-color: #222 !important;
}

html.dark a.text-indigo-600 {
    color: #818cf8 !important; /* Lighter indigo for dark mode */
}

html.dark a.text-indigo-600 span.bg-indigo-600 {
    background-color: #818cf8 !important;
}

/* Footer Dark Mode */
html.dark .bg-footer-navy {
    background-color: #030712 !important; /* Extremely dark navy */
}

html.dark .bg-footer-panel {
    background-color: #0c111d !important;
}

html.dark .footer-section h4 {
    color: #ffffff !important;
}

html.dark .footer-section a {
    color: #94a3b8 !important;
}

html.dark .footer-section a:hover {
    color: #60a5fa !important;
}

/* Newsletter Section */
html.dark .newsletter-section {
    background-color: #0c111d !important;
    border-top-color: #1e293b !important;
}

html.dark .newsletter-section h2 {
    color: #ffffff !important;
}

html.dark .newsletter-section p {
    color: #94a3b8 !important;
}

html.dark .newsletter-section form {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Filter Refinements */
html.dark .filter-group select {
    background-color: #1a1a1a !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

html.dark .filter-group select:hover {
    border-color: #475569 !important;
}

html.dark .filter-group button.bg-slate-100 {
    background-color: #1e293b !important;
    color: #94a3b8 !important;
}

html.dark .filter-group button.bg-slate-100:hover {
    background-color: #334155 !important;
    color: #f1f5f9 !important;
}

html.dark button[active-filter-toggle] {
    background-color: #121212 !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

/* Borders */
html.dark .border-slate-100,
html.dark .border-gray-100,
html.dark .border-slate-200 {
    border-color: #1e293b !important;
}

html.dark .mega-title {
    color: white;
}

html.dark .mega-link {
    color: #d4d4d4;
}

html.dark .mega-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Search Input */
html.dark .search-container form {
    background: rgba(255, 255, 255, 0.05);
    /* Slight white tint */
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark .search-input {
    color: white;
}

html.dark .search-input::placeholder {
    color: #a3a3a3;
}

/* Borders */
html.dark .border-slate-50,
html.dark .border-slate-100,
html.dark .border-slate-200 {
    border-color: #2d2d2d !important;
}

/* TinyMCE Content */
html.dark .prose strong,
html.dark .prose h2 {
    color: #fff;
}

html.dark .prose h3 {
    color: white;
}

html.dark .prose p,
html.dark .prose ul,
html.dark .prose ol {
    color: #d4d4d4;
}

html.dark .prose blockquote {
    color: #a3a3a3;
    border-left-color: #404040;
}

@import url('https://fonts.googleapis.com/css2?family=Anton:ital@1&family=Roboto:wght@300;400;500;700;900&display=swap');

/* Home Page Custom Styles */
.font-hero {
    font-family: 'Anton', sans-serif;
    font-style: italic;
    text-transform: uppercase;
}

.hero-bg {
    background: linear-gradient(90deg, rgba(88, 28, 28, 1) 0%, rgba(35, 35, 98, 1) 50%, rgba(0, 81, 146, 1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../img/cubes.webp");
    opacity: 0.15;
    pointer-events: none;
}

/* =============================================
   SEARCH FILTER STYLES (Custom for /search page)
   ============================================= */

/* Form Elements */
input[type="radio"] {
    accent-color: #4f46e5;
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Focus states */
select:focus,
input[type="radio"]:focus {
    outline: 2px solid #a5b4fc;
    outline-offset: 2px;
}

@media (max-width: 1024px) {

    /* Mobile Modal Transitions handled by AlpineJS classes, but basic layout here */
    [x-cloak] {
        display: none !important;
    }
}

/* Dark Mode Support for Filters */
html.dark input[type="radio"] {
    background-color: #333;
    border-color: #555;
}

html.dark select {
    background-color: #333;
    border-color: #555;
    color: #eee;
}

html.dark select option {
    background-color: #1a1a1a;
}


.rank-badge {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    z-index: 30;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

.casino-container {
    width: 100%;
    max-width: 1152px;
}

/* =============================================
   QUIZ RESULT PAGE STYLES (User Request)
   ============================================= */

.text-gradient {
    background: linear-gradient(90deg, #f97316 0%, #ec4899 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
}

.swash-line {
    position: absolute;
    bottom: -8px;
    left: 5%;
    width: 90%;
    height: 14px;
    z-index: -1;
    filter: drop-shadow(0px 2px 2px rgba(249, 115, 22, 0.2));
}

.card-container {
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.06);
    border-radius: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 60px 140px -30px rgba(0, 0, 0, 0.1);
}

.bg-peach {
    background-color: #fff8f2;
}

.bg-ice {
    background-color: #f0f7ff;
}

.roi-badge {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border-radius: 20px;
}

/* Themes */
.btn-gradient-orange {
    background: linear-gradient(90deg, #ff9b64 0%, #ff7c28 100%);
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.3);
}

.btn-gradient-blue {
    background: linear-gradient(90deg, #3b82f6 0%, #1e40af 100%);
    box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.3);
}

.theme-orange .brand-icon {
    background-color: #f97316;
}

.theme-blue .brand-icon {
    background-color: #1e40af;
}

.theme-blue .text-orange-400 {
    color: #3b82f6;
}

.theme-blue .border-orange-50\/50 {
    border-color: #dbeafe;
}

.btn-action {
    transition: transform 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}

.btn-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.trust-score-circle {
    transform: rotate(-90deg);
}

.watermark {
    font-size: 180px;
    font-weight: 900;
    letter-spacing: -8px;
    line-height: 1;
    user-select: none;
}

.theme-orange .watermark {
    color: #f1e4d8;
}

.theme-blue .watermark {
    color: #e0e9f5;
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.metric-card {
    background: rgba(248, 250, 252, 0.6);
    border: 1px solid rgba(241, 245, 249, 1);
    border-radius: 16px;
    padding: 12px 24px;
}


/* =============================================
   QUIZ RESULT PAGE OVERRIDES
   ============================================= */

/* Page Background Override */
.quiz-result-page .min-h-screen.bg-gray-100 {
    background-color: #fcfcfc !important;
}

.dark .quiz-result-page .min-h-screen.bg-gray-100 {
    background-color: #050505 !important;
}

.dark .bg-peach,
.dark .bg-ice {
    background-color: #0f172a !important;
    border-color: #1e293b !important;
}

.dark .metric-card {
    background: rgba(30, 41, 59, 0.4) !important;
    border-color: rgba(51, 65, 85, 0.5) !important;
}

/* Ensure Font consistency */
.quiz-result-page {
    font-family: 'Inter', sans-serif;
}

/* =============================================
   MODAL ADS STYLES
   ============================================= */
.modal-ad-container {
    width: 100%;
    max-width: 550px;
    background-color: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 101;
    font-family: 'Roboto', sans-serif;
}

html.dark .modal-ad-container {
    background-color: #121212 !important;
    border: 1px solid #222 !important;
}

html.dark .ad-content-white {
    background-color: #121212 !important;
}

html.dark .ad-offer-text {
    color: #f8fafc !important;
}

html.dark .ad-btn-secondary {
    background-color: #1a1a1a !important;
    color: #cbd5e1 !important;
    border-color: #333 !important;
}

.ad-header-red {
    background-color: #c62828;
    height: 220px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.ad-gifts-image {
    width: 170px;
    position: absolute;
    top: -43px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.ad-limited-time-badge {
    position: absolute;
    bottom: 50px;
    left: 25px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: left;
}

.ad-stopwatch-icon {
    width: 40px;
    height: 40px;
    fill: white;
}

.ad-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #c62828;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.ad-flag-badge {
    position: absolute;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 5;
    border: 2px solid #f0f0f0;
}

.ad-maple-leaf {
    width: 35px;
    height: 35px;
    fill: #c62828;
}

.ad-content-white {
    padding: 40px 25px 30px 25px;
    text-align: center;
}

.ad-exclusive-text {
    color: #4caf50;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ad-offer-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    text-align: left;
}

.ad-casino-logo {
    width: 70px;
    height: 70px;
    background-color: #3a1c25;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    border: 2px solid #5a2c35;
}

.ad-casino-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-offer-text {
    color: #222;
    font-weight: 900;
    font-size: 28px;
    line-height: 1.3;
    text-transform: uppercase;
}

.ad-btn-primary {
    display: block;
    width: 100%;
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 15px 10px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.2s;
    margin-bottom: 10px;
    text-align: center;
}

.ad-btn-primary:hover {
    background-color: #1b5e20;
    color: white;
}

.ad-btn-subtext {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.9;
}

.ad-btn-secondary {
    display: block;
    width: 100%;
    background-color: #f1f1f1;
    color: #555;
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.ad-btn-secondary:hover {
    background-color: #e0e0e0;
}

@media (max-width: 400px) {
    .ad-offer-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .ad-offer-text {
        font-size: 22px;
    }

    .ad-header-red {
        height: 200px;
    }

    .ad-gifts-image {
        width: 220px;
    }
}
/* ============================================= LANDING PAGE ============================================= */

:root {
    --gold: #FFD700;
    --gold-glow: rgba(255, 215, 0, 0.4);
    --dark-bg: #0b0e14;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --premium-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --bg-gradient: radial-gradient(circle at top, #1a202c 0%, #0b0e14 100%);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.lp-body {
    background: var(--bg-gradient);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    from { transform: translateY(100vh) rotate(0deg); }
    to { transform: translateY(-100px) rotate(360deg); }
}

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-lp {
    text-align: center;
    padding: 4rem 0;
    animation: fadeInUp 1s ease-out;
}

.badge-lp {
    background: var(--gold);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--gold-glow);
}

.description-card-lp {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    max-width: 100%;
    margin: 0 auto 1rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden; /* Important for shimmer */
    animation: fadeInUp 1s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Moving Border Effect */
.description-card-lp::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px; /* Border thickness */
    border-radius: 24px;
    background: linear-gradient(
        var(--angle, 135deg), 
        transparent 20%, 
        var(--gold) 50%, 
        transparent 80%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate-border 4s linear infinite;
}

/* Shimmer Reflection Effect */
.description-card-lp::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    transform: skewX(-25deg);
    animation: shimmer 6s infinite;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotate-border {
    to { --angle: 360deg; }
}

@keyframes shimmer {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.lp-description {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    text-transform: none;
    background: linear-gradient(to bottom, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    letter-spacing: -0.01em;
}

.lp-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.casino-grid-lp {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 1rem 0 2rem;
}

.casino-card-lp {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.casino-card-lp:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 20px rgba(255, 215, 0, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.casino-card-lp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
}

.casino-card-lp:hover::before {
    left: 100%;
}

.card-header-lp {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.rank-lp {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 1.2rem;
    font-weight: 900;
    color: #000;
    background: var(--gold);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2;
}

.casino-logo-lp {
    width: 100%;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
    margin-bottom: 1rem;
}

.card-bonus {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--gold);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.bonus-label-lp {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

.carousel-controls-lp {
    display: none;
}

.bonus-amount-lp {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    font-weight: 900;
    color: #fff;
    margin: 0.2rem 0;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(255,255,255,0.1);
}

.bonus-desc-lp {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features-lp {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-item-lp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    color: #e2e8f0;
}

.feature-item-lp i {
    color: var(--gold);
    font-size: 0.8rem;
}

.cta-button-lp {
    background: var(--premium-gradient);
    color: #000;
    text-decoration: none;
    padding: 1.2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    margin-top: auto;
    border: none;
    cursor: pointer;
}

.cta-button-lp:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.5);
    filter: brightness(1.1);
}

.cta-button-lp i {
    transition: transform 0.3s ease;
}

.cta-button-lp:hover i {
    transform: translateX(5px);
}

.terms-link-lp {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-decoration: none;
}

/* Responsive carousel for mobile */
@media (max-width: 768px) {
    .casino-grid-lp-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .casino-grid-lp {
        display: flex;
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 1rem 0 3rem;
        gap: 1.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .casino-card-lp {
        width: 100%;
        max-width: 100%;
        flex-shrink: 0;
        scroll-snap-align: center;
        margin: 0; /* Let the gap handle spacing */
    }

    .hero-lp {
        padding: 1rem 0;
    }

    .lp-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .lp-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .lp-container {
        padding: 0.5rem 1rem;
    }

    .carousel-controls-lp {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        margin-top: 0.5rem;
        padding-bottom: 1.5rem;
    }

    .carousel-dots-lp {
        display: flex;
        gap: 0.8rem;
        align-items: center;
    }

    .dot-lp {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }

    .dot-lp.active {
        background: var(--gold);
        transform: scale(1.3);
        box-shadow: 0 0 10px var(--gold-glow);
    }

    .carousel-btn-lp {
        background: rgba(255, 215, 0, 0.1);
        border: 1px solid var(--gold);
        color: var(--gold);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        font-size: 1.2rem;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }

    .carousel-btn-lp:hover {
        background: var(--gold);
        color: #000;
        transform: scale(1.1);
    }
}

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

.lp-warning-box {
    background: rgba(255, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.warning-icon {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.warning-text {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.6;
}

.warning-text strong {
    color: #ff4444;
    font-weight: 900;
}

@media (max-width: 768px) {
    .lp-warning-box {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 1rem;
    }
}

/* ============================================= PREMIUM CARD ============================================= */
.casino-card-lp.is-premium {
    border: 2px solid var(--gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.premium-badge-lp {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gold);
    color: #000;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--gold-glow);
    z-index: 3;
}

.casino-card-lp.is-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent
    );
    transform: skewX(-25deg);
    animation: shimmer 4s infinite;
}
