/* Premium Liquid Glass & Interactive Social Casino Design Theme */
:root {
    --primary-color: #FF4B91;       /* Glossy Candy Pink */
    --secondary-color: #7C3AED;     /* Elegant Orchid Purple */
    --accent-color: #FFCD38;        /* Glowing Honey Yellow */
    --success-color: #00F5D4;       /* Neon Mint Sparkle */
    --dark-neutral: #1E0F37;        /* Ultra Deep Velvet Violet */
    --light-neutral: #FFF4F7;       /* Soft Liquid Lavender Cream */
    --white: #FFFFFF;
    
    /* Liquid Glass styling system */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: 1px solid rgba(255, 255, 255, 0.65);
    --glass-shadow: 0 12px 40px 0 rgba(124, 58, 237, 0.12);
    --glass-glow: 0 0 25px rgba(255, 75, 145, 0.25);
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    --header-height-desktop: 64px;
    --header-height-mobile: 54px;
}

/* Base Reset & Centering Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
}

body {
    background: radial-gradient(circle at 50% 0%, #FFEBF0 0%, #F5ECFF 60%, #EBE0FF 100%);
    background-attachment: fixed;
    color: var(--dark-neutral);
    overflow-x: hidden;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Ensure centering across all content layout grids */
.content-container, .hero-content, .stats-container, .footer-container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light-neutral);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

/* Typography Scales with Centering options */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-neutral);
    text-align: center;
    font-weight: 700;
}

h1 {
    font-size: 3.2rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(30, 15, 55, 0.08);
}

h2 {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

p {
    font-size: 1.15rem;
    color: #433360;
    text-align: center;
    max-width: 800px;
    margin-bottom: 1.5rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top Disclaimer System */
.top-disclaimer-bar {
    width: 100%;
    background: rgba(30, 15, 55, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    text-align: center;
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 75, 145, 0.4);
    letter-spacing: 0.5px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.disclaimer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Premium Slim Glassmorphism Header */
.main-header {
    width: 94%;
    max-width: 1200px;
    height: var(--header-height-desktop);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    margin-top: 10px;
    position: sticky;
    top: 10px;
    z-index: 999;
    box-shadow: 0 6px 24px 0 rgba(31, 38, 135, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-container {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-emoji {
    font-size: 1.8rem;
    filter: drop-shadow(0 3px 6px rgba(255, 75, 145, 0.3));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

/* Centered Desktop Nav Menu */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.45);
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-neutral);
    padding: 6px 14px;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(255, 75, 145, 0.2);
}

/* Outstanding Candy 3D Call to Action Styling for all main buttons */
.cta-header-btn, .cta-mobile-btn, .btn-primary {
    background: linear-gradient(135deg, #FF4B91 0%, #7C3AED 50%, #00F5D4 100%);
    background-size: 200% auto;
    color: var(--white) !important;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 75, 145, 0.4), 
                0 0 0 3px rgba(255, 255, 255, 0.2),
                inset 0 -4px 0px rgba(0, 0, 0, 0.2),
                inset 0 4px 0px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: buttonGlowPulse 3s infinite alternate;
}

.cta-header-btn {
    padding: 8px 22px;
    font-size: 0.95rem;
}

.cta-header-btn:hover, .cta-mobile-btn:hover, .btn-primary:hover {
    transform: scale(1.06) translateY(-3px);
    background-position: right center;
    box-shadow: 0 10px 25px rgba(255, 75, 145, 0.6), 
                0 0 0 4px rgba(255, 255, 255, 0.4),
                inset 0 -2px 0px rgba(0, 0, 0, 0.2),
                inset 0 4px 0px rgba(255, 255, 255, 0.4);
}

.cta-header-btn:active, .cta-mobile-btn:active, .btn-primary:active {
    transform: scale(0.98) translateY(1px);
    box-shadow: 0 4px 10px rgba(255, 75, 145, 0.3), 
                inset 0 -1px 0px rgba(0, 0, 0, 0.2),
                inset 0 2px 0px rgba(255, 255, 255, 0.2);
}

@keyframes buttonGlowPulse {
    0% { box-shadow: 0 6px 20px rgba(255, 75, 145, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 6px 30px rgba(0, 245, 214, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.2); }
    100% { box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.2); }
}

/* App Viewport Centering */
.app-viewport {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-view {
    display: none;
    width: 100%;
}

.page-view.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: smoothFade 0.4s ease-out;
}

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

/* Liquid Glass Cards */
.cartoon-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.05), inset 0 0 0 1px rgba(255,255,255,0.4);
    padding: 36px;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cartoon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(124, 58, 237, 0.1);
    background: rgba(255, 255, 255, 0.7);
}

/* Hero Section with Beautiful Floating Background Elements */
.hero-section {
    position: relative;
    width: 100%;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.hero-bg-floating {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.float-item {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: floatAnimation 8s infinite ease-in-out;
}

.float-item.p1 { top: 15%; left: 10%; animation-delay: 0s; }
.float-item.p2 { top: 20%; right: 12%; animation-delay: 1.5s; }
.float-item.p3 { bottom: 25%; left: 15%; animation-delay: 3s; }
.float-item.p4 { bottom: 15%; right: 10%; animation-delay: 4.5s; }
.float-item.p5 { top: 50%; left: 45%; animation-delay: 6s; }

@keyframes floatAnimation {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.hero-content {
    z-index: 2;
    text-align: center;
    width: 100%;
}

.badge-social-casino {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    box-shadow: var(--glass-glow);
}

.highlight {
    color: var(--primary-color);
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.35rem;
    color: #4A3A69;
    max-width: 750px;
    margin-bottom: 24px;
}

/* Compliance Hero Panel Card (Perfectly Centered & Frosted) */
.compliance-hero-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 75, 145, 0.25);
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    max-width: 850px;
    margin: 10px auto 30px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
}

.comp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.comp-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.comp-item p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--dark-neutral);
    margin: 0;
}

/* Interactive Big Game Showcase Layout */
.interactive-game-showcase {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto 40px auto;
}

/* Big Console & Game Wrapper styling */
.game-console-border {
    background: rgba(30, 15, 55, 0.9);
    border-radius: 24px;
    padding: 12px;
    border: 2px solid rgba(255, 75, 145, 0.3);
    box-shadow: 0 25px 60px rgba(30, 15, 55, 0.5), 0 0 30px rgba(255, 75, 145, 0.2);
    width: 100%;
}

.console-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #140827;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.console-light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.console-light.red { background: #FF4B91; box-shadow: 0 0 8px #FF4B91; }
.console-light.yellow { background: #FFCD38; box-shadow: 0 0 8px #FFCD38; }
.console-light.green { background: #00F5D4; box-shadow: 0 0 8px #00F5D4; }

.console-title-screen {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--success-color);
    margin-left: auto;
    letter-spacing: 1px;
    background: transparent;
    padding: 0;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 widescreen aspect ratio */
    height: 0;
    overflow: hidden;
    background: #0D051C;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.console-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #140827;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-console-refresh {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-console-refresh:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Distinctive Separation Callout Style */
.clear-distinction-wrapper {
    margin: 40px auto;
}

.glass-distinction-card {
    background: rgba(124, 58, 237, 0.08);
    backdrop-filter: blur(10px);
    border: 2px dashed var(--secondary-color);
    border-radius: 24px;
    padding: 24px 32px;
    text-align: center;
    max-width: 900px;
}

.glass-distinction-card h4 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.glass-distinction-card p {
    font-size: 1.05rem;
    color: var(--dark-neutral);
    margin: 0;
    line-height: 1.6;
}

/* Action Buttons Grid */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-secondary {
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    color: var(--dark-neutral);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
}

/* Rooms Grid & Cards styling */
.grid-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 20px;
}

.room-card {
    text-align: center;
}

.room-img {
    height: 160px;
    width: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.3);
    overflow: hidden;
}

.room-thumbnail-img {
    width: auto;
    height: 80%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.room-card:hover .room-thumbnail-img {
    transform: scale(1.15) rotate(5deg);
}

.emoji-large {
    font-size: 4rem;
}

.btn-card {
    background: linear-gradient(135deg, var(--accent-color), #FFA000);
    color: var(--dark-neutral);
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 205, 56, 0.3);
    transition: all 0.25s ease;
}

.btn-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 205, 56, 0.55);
}

/* Stats Banner Section */
.stats-banner {
    width: 100%;
    background: rgba(30, 15, 55, 0.95);
    padding: 50px 24px;
    margin: 60px 0;
}

.stats-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-box {
    text-align: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--success-color);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 245, 212, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Benefits Grid Container */
.grid-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    width: 100%;
}

.benefit-box {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(31, 38, 135, 0.03);
}

.benefit-icon {
    font-size: 3.2rem;
    margin-bottom: 12px;
}

/* Interactive Cookie Consent Banner - FIXED & PRECISE VISIBILITY */
.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    opacity: 0;
    pointer-events: none;
    width: calc(100% - 48px);
    max-width: 680px;
    z-index: 999999;
    background: rgba(30, 15, 55, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 2px solid var(--primary-color);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 75, 145, 0.3);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.cookie-consent-banner.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.cookie-monster-icon {
    font-size: 3rem;
}

.cookie-text {
    flex-grow: 1;
}

.cookie-text h5 {
    font-size: 1.35rem;
    text-align: left;
    margin-bottom: 6px;
    color: var(--accent-color);
}

.cookie-text p {
    font-size: 0.95rem;
    text-align: left;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 75, 145, 0.25);
}

.cookie-btn.accept:hover {
    transform: scale(1.05);
}

.cookie-btn.reject {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

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

/* Beautiful Floating Responsive Footer */
.main-footer {
    width: 100%;
    background: #0D051C;
    color: var(--white);
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col h4 {
    color: var(--accent-color);
    font-size: 1.35rem;
    margin-bottom: 20px;
    text-align: left;
}

.footer-pitch {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    margin-bottom: 16px;
}

.legal-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
}

.footer-links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-grid a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

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

.finland-address-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px;
    width: 100%;
}

.finland-address-card h5 {
    color: var(--success-color);
    text-align: left;
    margin-bottom: 8px;
}

.finland-address-card address {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
}

.copyright-bar {
    background: rgba(0, 0, 0, 0.3);
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.copyright-container p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Hamburger & Mobile Overlays */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark-neutral);
    border-radius: 2px;
}

/* Mobile Menu Overlay Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(30, 15, 55, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.close-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.close-menu:hover {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.mobile-menu-links a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.2s ease;
}

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

/* Interactive Gamification Candy Wheel Component */
.interactive-gamification-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 235, 240, 0.9));
    border: 3px solid var(--primary-color);
    box-shadow: 0 15px 45px rgba(255, 75, 145, 0.2);
    position: relative;
    overflow: hidden;
}

.gamification-badge {
    background: var(--primary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.wheel-system-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-arrow {
    position: absolute;
    top: -15px;
    font-size: 2rem;
    color: var(--primary-color);
    z-index: 10;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.sugar-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 10px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    transition: transform 5s cubic-bezier(0.15, 0.85, 0.35, 1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15), inset 0 0 20px rgba(0,0,0,0.15);
}

.wheel-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    overflow: hidden;
}

.wheel-segment span {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: block;
    width: 100px;
    text-align: center;
    transform: rotate(45deg);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Color coordinates for wheel slices */
.wheel-segment:nth-child(1) { transform: rotate(0deg) skewY(30deg); background: #FF4B91; }
.wheel-segment:nth-child(2) { transform: rotate(60deg) skewY(30deg); background: #7C3AED; }
.wheel-segment:nth-child(3) { transform: rotate(120deg) skewY(30deg); background: #FFCD38; }
.wheel-segment:nth-child(4) { transform: rotate(180deg) skewY(30deg); background: #00F5D4; }
.wheel-segment:nth-child(5) { transform: rotate(240deg) skewY(30deg); background: #FF76A6; }
.wheel-segment:nth-child(6) { transform: rotate(300deg) skewY(30deg); background: #9F67FF; }

/* Readjust segment text position due to skewing */
.wheel-segment span {
    transform: rotate(45deg) translate(-20px, 10px);
}

.wheel-spin-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 5px solid var(--accent-color);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark-neutral);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2), inset 0 0 10px rgba(0,0,0,0.05);
    z-index: 5;
    transition: transform 0.2s ease;
}

.wheel-spin-btn:hover {
    transform: scale(1.08);
}

.wheel-result-msg {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: 10px;
    text-align: center;
    background: rgba(255,255,255,0.8);
    padding: 8px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* Ticker and Scoreboard Enhancements */
.interactive-jackpot-banner {
    width: 100%;
    background: linear-gradient(135deg, #140827, #230b42);
    border: 3px solid var(--accent-color);
    box-shadow: 0 15px 45px rgba(255, 205, 56, 0.25);
    border-radius: 30px;
    padding: 24px;
    margin: 40px auto;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.jackpot-glow-layer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 205, 56, 0.15) 0%, transparent 60%);
    animation: jackpotPulse 4s infinite alternate;
}

@keyframes jackpotPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.9; }
}

.jackpot-inner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
    flex-wrap: wrap;
    gap: 20px;
}

.jackpot-icon {
    font-size: 2.8rem;
}

.jackpot-labels {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.jackpot-title {
    font-family: var(--font-heading);
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.jackpot-ticker-num {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 205, 56, 0.6);
}

.jackpot-badge-neon {
    background: var(--success-color);
    color: var(--dark-neutral);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 4px;
    box-shadow: 0 0 15px var(--success-color);
    letter-spacing: 0.5px;
}

/* Leaderboard custom stylings */
.leaderboard-container-card {
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(124, 58, 237, 0.15);
}

.leaderboard-badge {
    background: var(--secondary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.leaderboard-table-wrapper {
    width: 100%;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 0.8fr 1.5fr 1.5fr 1fr;
    background: var(--white);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 16px;
    padding: 14px 20px;
    align-items: center;
    transition: transform 0.25s ease;
}

.leaderboard-row:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.05);
}

.leaderboard-row.leader-1 {
    background: linear-gradient(90deg, #FFF9E6 0%, var(--white) 100%);
    border-color: var(--accent-color);
}
.leaderboard-row.leader-2 {
    background: linear-gradient(90deg, #F9F2FF 0%, var(--white) 100%);
    border-color: var(--primary-color);
}
.leaderboard-row.leader-3 {
    background: linear-gradient(90deg, #EDFFFC 0%, var(--white) 100%);
    border-color: var(--success-color);
}

.leader-rank {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-neutral);
}

.leader-username {
    font-weight: 700;
    color: var(--dark-neutral);
    font-size: 1.05rem;
}

.leader-room-tag {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    width: fit-content;
}

.leader-room-tag.strawberry { background: #FFEBF0; color: #FF4B91; }
.leader-room-tag.lollipop { background: #F5ECFF; color: #7C3AED; }
.leader-room-tag.donut { background: #EDFFFC; color: #00C2A8; }
.leader-room-tag.choco { background: #FFF4E5; color: #D97706; }
.leader-room-tag.general { background: #F3F4F6; color: #4B5563; }

.leader-score {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    text-align: right;
}

/* Blog Styling Upgrades */
.blog-card {
    text-align: left;
    align-items: flex-start;
}

.blog-card-img {
    width: 100%;
    height: 180px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.blog-meta {
    font-size: 0.85rem;
    color: rgba(30,15,55,0.6);
    margin-bottom: 10px;
    font-weight: 700;
}

.btn-read-more {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.2s ease;
}

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

/* Improved Back Button and Spacing for Blog Post Detail View */
#view-blog-post {
    padding-top: 40px;
    padding-bottom: 80px;
}

#view-blog-post .content-container {
    align-items: flex-start; /* Align content to the left to enhance article readability */
}

.btn-back-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--secondary-color);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    margin-bottom: 36px;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.08), 
                inset 0 -3px 0px rgba(0, 0, 0, 0.05),
                inset 0 3px 0px rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-back-blog:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    transform: translateX(-5px) translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.22), 
                inset 0 -2px 0px rgba(0, 0, 0, 0.1);
}

.btn-back-blog:active {
    transform: translateX(-2px) translateY(1px) scale(0.98);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.1);
}

/* Polished Single Blog Article Container Spacing */
.single-blog-article {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.05);
    padding: 48px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 40px;
}

.single-blog-article h1 {
    font-size: 2.8rem;
    text-align: left;
    line-height: 1.25;
    margin-bottom: 18px;
    color: var(--dark-neutral);
}

.article-meta {
    font-size: 1rem;
    color: rgba(30, 15, 55, 0.6);
    margin-bottom: 36px;
    border-bottom: 2px solid rgba(124, 58, 237, 0.1);
    padding-bottom: 20px;
    font-weight: 600;
}

.article-body p {
    text-align: left;
    max-width: 100%;
    margin-bottom: 24px;
    font-size: 1.15rem;
    line-height: 1.85;
    color: #433360;
}

.article-body h3 {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 18px;
    color: var(--secondary-color);
}

/* Tablet Layout configuration */
@media (max-width: 1023px) {
    .desktop-nav {
        display: none;
    }
    .hamburger-menu {
        display: flex;
    }
    .header-container {
        padding: 0 16px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-col.brand-col {
        grid-column: span 2;
    }
}

/* Mobile responsive fixes */
@media (max-width: 767px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .main-header {
        width: calc(100% - 24px);
        height: var(--header-height-mobile);
        top: 8px;
        margin-top: 8px;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-col.brand-col {
        grid-column: span 1;
    }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
    .cookie-btn {
        flex-grow: 1;
        text-align: center;
    }
    .leaderboard-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .leader-score {
        text-align: left;
    }
    #view-blog-post {
        padding-top: 20px;
        padding-bottom: 40px;
    }
    .btn-back-blog {
        margin-bottom: 24px;
        width: 100%;
        justify-content: center;
    }
    .single-blog-article {
        padding: 24px;
        border-radius: 24px;
    }
    .single-blog-article h1 {
        font-size: 2rem;
    }
}