/* ==========================================================================
   MOBILE-FIRST & MOBILE-ONLY LUXURY CASINO THEME
   Strictly locked to Mobile App Viewport (Max 480px) on All Screens (Mobile & Laptop)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Obsidian & Charcoal Luxury Palette */
    --bg-main: #070709;
    --bg-surface: #0e0e12;
    --bg-card: rgba(18, 18, 24, 0.85);
    --bg-card-hover: rgba(28, 28, 38, 0.95);
    --bg-elevated: #15151c;
    --bg-overlay: rgba(7, 7, 9, 0.94);

    /* Signature High-Contrast Hot Magenta / Crimson */
    --accent: #ff0055;             /* Electric Hot Magenta */
    --accent-hover: #ff2a6d;       /* Bright Neon Crimson */
    --accent-deep: #d81159;        /* Rich Editorial Magenta */
    --accent-glow: rgba(255, 0, 85, 0.45);
    --accent-glow-subtle: rgba(255, 0, 85, 0.15);

    /* Luxury Gold / Champagne Secondary Highlights */
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-glow: rgba(212, 175, 55, 0.35);

    /* Status Colors */
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.4);

    /* Lines & Refined Razor Borders */
    --line: rgba(255, 255, 255, 0.09);
    --line-subtle: rgba(255, 255, 255, 0.05);
    --line-strong: rgba(255, 255, 255, 0.18);
    --line-accent: rgba(255, 0, 85, 0.45);

    /* Typography */
    --text-main: #ffffff;
    --text-heading: #ffffff;
    --text-muted: #9ca3af;
    --text-subtle: #6b7280;

    /* Editorial Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-display: 'Cinzel', 'Playfair Display', serif;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Shadows & Elevation */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.85);
    --shadow-magenta: 0 8px 25px var(--accent-glow);

    /* Geometry & Mobile Standards */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 9999px;
    --mobile-width: 480px; /* Locked Mobile Frame Width */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Mobile Container Wrapper --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background-color: #030304;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: #030304;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    /* Ambient luxury backdrop for laptop/desktop viewport */
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(255, 0, 85, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(255, 0, 85, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

body.no-scroll {
    overflow: hidden;
}

/* Strictly Locked Mobile App Container (Active on Mobile, Tablet & Laptop) */
.main-container {
    width: 100%;
    max-width: var(--mobile-width);
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--bg-main);
    position: relative;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 0, 85, 0.12);
    overflow-x: hidden;
    padding-top: 96px; /* Height of the mobile header */
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: calc(100% - 28px);
    margin: 0 auto;
}

.section {
    padding: 44px 0;
    width: 100%;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #08080a;
}

::-webkit-scrollbar-thumb {
    background: #22222b;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Mobile Header (Always Mobile Layout on All Devices) --- */
.main-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--mobile-width);
    z-index: 9990;
    background: rgba(7, 7, 9, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    transition: var(--transition);
}

.header-top {
    border-bottom: 1px solid var(--line-subtle);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: calc(100% - 24px);
    margin: 0 auto;
    padding: 10px 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(255, 0, 85, 0.3));
}

/* Auth Buttons */
.header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-auth .btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition);
}

.header-auth .btn-login:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.header-auth .btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.header-auth .btn-register:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.6);
}

/* Desktop Nav Row is always hidden because we are strictly in mobile mode */
.desktop-nav {
    display: none !important;
}

/* Mobile Nav Strip (Always Active on All Devices) */
.mobile-nav-strip {
    display: block !important;
    background: rgba(14, 14, 18, 0.95);
    padding: 7px 14px;
    border-top: 1px solid var(--line-subtle);
}

.mobile-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.mobile-menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Dropdown Menu */
.nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    padding: 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: rgba(14, 14, 18, 0.98);
    backdrop-filter: blur(25px);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
}

.nav-list.active {
    display: block;
    animation: fadeInDown 0.25s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-list ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-list a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* --- Section Headers (Mobile Sizing) --- */
.section-header {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

.section-subtitle,
.section-prefix {
    font-family: var(--font-main);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-subtitle::before,
.section-subtitle::after,
.section-prefix::before,
.section-prefix::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 1px;
    background: var(--accent);
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.86rem;
    margin: 10px auto 0;
    line-height: 1.6;
}

/* Ad Banner Container */
.ad-banner-container,
.ad-container {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #0e0e12;
    box-shadow: var(--shadow-sm);
    width: calc(100% - 28px);
    margin: 1.2rem auto;
}

.ad-banner-container img,
.ad-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* --- Mobile Footer --- */
footer.glass-footer,
footer {
    margin-top: 50px;
    background: #050507;
    border-top: 1px solid var(--line);
    position: relative;
    padding-top: 45px;
}

footer.glass-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0.8;
}

.footer-top {
    margin-bottom: 35px;
}

.footer-top-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    height: 38px !important;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(255, 0, 85, 0.25));
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.65;
    max-width: 380px;
}

.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.footer-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e2e8f0;
}

.footer-badge-pill i {
    color: var(--accent);
}

.footer-nav-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.footer-nav h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}

.footer-nav h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 2px;
    background: var(--accent);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.84rem;
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 20px 0 25px;
    border-top: 1px solid var(--line);
}

.footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-subtle);
    font-size: 0.78rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.footer-links a:hover {
    color: var(--accent);
}

/* --- Signature Hot Magenta Bottom Bar (Mobile App Style) --- */
.bottom-signature-strip {
    background: #d81159;
    color: #ffffff;
    padding: 10px 14px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bottom-signature-strip span {
    opacity: 0.95;
}

.bottom-signature-strip .badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    font-size: 0.62rem;
    font-weight: 800;
}
