/* Hide all scrollbars completely */
* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

*::-webkit-scrollbar-track {
    display: none !important;
}

*::-webkit-scrollbar-thumb {
    display: none !important;
}

/* Exception: Don't hide scrollbars for notice banners, chat messages, and signup page */
.notice-banner, .chat-notice-banner, .chat-messages, .signup-main {
    scrollbar-width: auto !important;
    -ms-overflow-style: auto !important;
}

.notice-banner::-webkit-scrollbar, .chat-notice-banner::-webkit-scrollbar, .chat-messages::-webkit-scrollbar, .signup-main::-webkit-scrollbar {
    display: auto !important;
}

/* CSS Variables for theming */
:root {
    --bg-color: #ffffff;
    --text-color: #333;
    --navbar-bg: #000000;
    --navbar-text: #ffffff;
    --card-bg: #ffffff;
    --card-border: #e0e0e0;
    --hero-bg: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --hero-text: #ffffff;
    --social-bg: rgba(255, 255, 255, 0.95);
    --social-text: #333;
    --shadow: rgba(0, 0, 0, 0.1);
    --about-bg: #ffffff;
    --about-text: #333;
    --shop-bg: #ffffff;
    --shop-text: #333;
    
    /* Navbar color variables */
    --navbar-bg: #000000;
    --navbar-color: #ffffff;
    --navbar-color-rgba: rgba(255, 255, 255, 0.1);
    --navbar-color-border: rgba(255, 255, 255, 0.3);
    --navbar-color-shadow: rgba(255, 255, 255, 0.2);
    --navbar-color-active-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    --navbar-color-active-border: rgba(255, 255, 255, 0.4);
    --navbar-color-active-shadow: rgba(255, 255, 255, 0.3);
    --brand-name-color: #ff0000;
    --glow-color: #4a90e2 !important;
    --glow-color-rgba: rgba(74, 144, 226, 0.1) !important;
    --glow-color-border: rgba(74, 144, 226, 0.3) !important;
    --glow-color-shadow: rgba(74, 144, 226, 0.2) !important;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --navbar-bg: #000000;
    --navbar-text: #ffffff;
    --card-bg: #2d2d2d;
    --card-border: #404040;
    --hero-bg: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
    --hero-text: #ffffff;
    --social-bg: rgba(45, 45, 45, 0.95);
    --social-text: #ffffff;
    --shadow: rgba(0, 0, 0, 0.3);
    --about-bg: #1a1a1a;
    --about-text: #ffffff;
    --shop-bg: #1a1a1a;
    --shop-text: #ffffff;
}

/* Navbar Color Variations */
[data-navbar-color="black"] {
    --navbar-bg: #000000;
    --navbar-color: #ffffff;
    --navbar-color-rgba: rgba(255, 255, 255, 0.1);
    --navbar-color-border: rgba(255, 255, 255, 0.3);
    --navbar-color-shadow: rgba(255, 255, 255, 0.2);
    --navbar-color-active-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    --navbar-color-active-border: rgba(255, 255, 255, 0.4);
    --navbar-color-active-shadow: rgba(255, 255, 255, 0.3);
    --brand-name-color: #ff0000;
}

[data-navbar-color="red"] {
    --navbar-bg: #dc3545;
    --navbar-color: #ffffff;
    --navbar-color-rgba: rgba(255, 255, 255, 0.1);
    --navbar-color-border: rgba(255, 255, 255, 0.3);
    --navbar-color-shadow: rgba(255, 255, 255, 0.2);
    --navbar-color-active-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    --navbar-color-active-border: rgba(255, 255, 255, 0.4);
    --navbar-color-active-shadow: rgba(255, 255, 255, 0.3);
    --brand-name-color: #000000;
}

[data-navbar-color="blue"] {
    --navbar-bg: #4a90e2;
    --navbar-color: #ffffff;
    --navbar-color-rgba: rgba(255, 255, 255, 0.1);
    --navbar-color-border: rgba(255, 255, 255, 0.3);
    --navbar-color-shadow: rgba(255, 255, 255, 0.2);
    --navbar-color-active-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    --navbar-color-active-border: rgba(255, 255, 255, 0.4);
    --navbar-color-active-shadow: rgba(255, 255, 255, 0.3);
    --brand-name-color: #ff0000;
}

[data-navbar-color="green"] {
    --navbar-bg: #27ae60;
    --navbar-color: #ffffff;
    --navbar-color-rgba: rgba(255, 255, 255, 0.1);
    --navbar-color-border: rgba(255, 255, 255, 0.3);
    --navbar-color-shadow: rgba(255, 255, 255, 0.2);
    --navbar-color-active-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    --navbar-color-active-border: rgba(255, 255, 255, 0.4);
    --navbar-color-active-shadow: rgba(255, 255, 255, 0.3);
    --brand-name-color: #ff0000;
}

[data-navbar-color="yellow"] {
    --navbar-bg: #f39c12;
    --navbar-color: #000000;
    --navbar-color-rgba: rgba(0, 0, 0, 0.1);
    --navbar-color-border: rgba(0, 0, 0, 0.3);
    --navbar-color-shadow: rgba(0, 0, 0, 0.2);
    --navbar-color-active-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    --navbar-color-active-border: rgba(0, 0, 0, 0.4);
    --navbar-color-active-shadow: rgba(0, 0, 0, 0.3);
    --brand-name-color: #ff0000;
}

/* Glow Color Variations */
[data-glow-color="red"] {
    --glow-color: #ff0000 !important;
    --glow-color-rgba: rgba(255, 0, 0, 0.1) !important;
    --glow-color-border: rgba(255, 0, 0, 0.3) !important;
    --glow-color-shadow: rgba(255, 0, 0, 0.2) !important;
    --glow-color-active-bg: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(255, 0, 0, 0.1) 100%) !important;
    --glow-color-active-border: rgba(255, 0, 0, 0.4) !important;
    --glow-color-active-shadow: rgba(255, 0, 0, 0.3) !important;
}

[data-glow-color="blue"] {
    --glow-color: #4a90e2 !important;
    --glow-color-rgba: rgba(74, 144, 226, 0.1) !important;
    --glow-color-border: rgba(74, 144, 226, 0.3) !important;
    --glow-color-shadow: rgba(74, 144, 226, 0.2) !important;
    --glow-color-active-bg: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(74, 144, 226, 0.1) 100%) !important;
    --glow-color-active-border: rgba(74, 144, 226, 0.4) !important;
    --glow-color-active-shadow: rgba(74, 144, 226, 0.3) !important;
}

[data-glow-color="green"] {
    --glow-color: #27ae60 !important;
    --glow-color-rgba: rgba(39, 174, 96, 0.1) !important;
    --glow-color-border: rgba(39, 174, 96, 0.3) !important;
    --glow-color-shadow: rgba(39, 174, 96, 0.2) !important;
    --glow-color-active-bg: linear-gradient(135deg, rgba(39, 174, 96, 0.2) 0%, rgba(39, 174, 96, 0.1) 100%) !important;
    --glow-color-active-border: rgba(39, 174, 96, 0.4) !important;
    --glow-color-active-shadow: rgba(39, 174, 96, 0.3) !important;
}

[data-glow-color="purple"] {
    --glow-color: #9b59b6 !important;
    --glow-color-rgba: rgba(155, 89, 182, 0.1) !important;
    --glow-color-border: rgba(155, 89, 182, 0.3) !important;
    --glow-color-shadow: rgba(155, 89, 182, 0.2) !important;
    --glow-color-active-bg: linear-gradient(135deg, rgba(155, 89, 182, 0.2) 0%, rgba(155, 89, 182, 0.1) 100%) !important;
    --glow-color-active-border: rgba(155, 89, 182, 0.4) !important;
    --glow-color-active-shadow: rgba(155, 89, 182, 0.3) !important;
}

[data-glow-color="orange"] {
    --glow-color: #e67e22 !important;
    --glow-color-rgba: rgba(230, 126, 34, 0.1) !important;
    --glow-color-border: rgba(230, 126, 34, 0.3) !important;
    --glow-color-shadow: rgba(230, 126, 34, 0.2) !important;
    --glow-color-active-bg: linear-gradient(135deg, rgba(230, 126, 34, 0.2) 0%, rgba(230, 126, 34, 0.1) 100%) !important;
    --glow-color-active-border: rgba(230, 126, 34, 0.4) !important;
    --glow-color-active-shadow: rgba(230, 126, 34, 0.3) !important;
}

[data-glow-color="pink"] {
    --glow-color: #6c757d !important;
    --glow-color-rgba: rgba(108, 117, 125, 0.1) !important;
    --glow-color-border: rgba(108, 117, 125, 0.3) !important;
    --glow-color-shadow: rgba(108, 117, 125, 0.2) !important;
    --glow-color-active-bg: linear-gradient(135deg, rgba(108, 117, 125, 0.2) 0%, rgba(108, 117, 125, 0.1) 100%) !important;
    --glow-color-active-border: rgba(108, 117, 125, 0.4) !important;
    --glow-color-active-shadow: rgba(108, 117, 125, 0.3) !important;
}

[data-glow-color="cyan"] {
    --glow-color: #00bcd4 !important;
    --glow-color-rgba: rgba(0, 188, 212, 0.1) !important;
    --glow-color-border: rgba(0, 188, 212, 0.3) !important;
    --glow-color-shadow: rgba(0, 188, 212, 0.2) !important;
    --glow-color-active-bg: linear-gradient(135deg, rgba(0, 188, 212, 0.2) 0%, rgba(0, 188, 212, 0.1) 100%) !important;
    --glow-color-active-border: rgba(0, 188, 212, 0.4) !important;
    --glow-color-active-shadow: rgba(0, 188, 212, 0.3) !important;
}

[data-glow-color="yellow"] {
    --glow-color: #f1c40f !important;
    --glow-color-rgba: rgba(241, 196, 15, 0.1) !important;
    --glow-color-border: rgba(241, 196, 15, 0.3) !important;
    --glow-color-shadow: rgba(241, 196, 15, 0.2) !important;
    --glow-color-active-bg: linear-gradient(135deg, rgba(241, 196, 15, 0.2) 0%, rgba(241, 196, 15, 0.1) 100%) !important;
    --glow-color-active-border: rgba(241, 196, 15, 0.4) !important;
    --glow-color-active-shadow: rgba(241, 196, 15, 0.3) !important;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: auto;
    overflow: auto;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    touch-action: pan-y; /* Prevent horizontal swiping */
    overscroll-behavior: auto; /* Allow normal scrolling */
    margin: 0;
    padding: 0;
    height: auto;
    overflow: auto;
    min-height: 100vh;
}

/* Add padding for pages with navbar and notice banner */
body:has(.navbar) {
    padding-top: 80px; /* Just navbar height */
}

/* Exception: Only chat pages need fixed height */
body:has(.chat-page-main) {
    height: 100vh;
    overflow: hidden;
}

/* Notice Banner - New Design */
.notice-banner {
    background: #ff0000;
    color: white;
    padding: 0.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 997;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Hide standalone notice banner when navbar is present */
body:has(.navbar) .notice-banner:not(.navbar .notice-banner) {
    display: none;
}

/* Hide notice banner by default if disabled in localStorage */
.notice-banner.hidden {
    display: none !important;
}

.notice-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.notice-icon {
    font-size: 1rem;
}

.notice-text {
    font-family: 'Poppins', Arial, sans-serif;
}

/* Notice banner link styles */
.notice-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.notice-text a:hover {
    color: #ffeb3b;
    text-decoration: none;
}

.notice-text a:visited {
    color: #e1f5fe;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Navbar styles - matching wireframe */
.navbar {
    background-color: var(--navbar-bg);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid #c0c0c0;
    /* Hardware acceleration for smooth performance - PREVENT MOVEMENT */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    transition: background-color 0.3s ease;
    /* Force stable positioning */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/* Make notice banner part of navbar */
.navbar .notice-banner {
    position: static;
    margin: 0;
    border-bottom: none;
    border-radius: 0;
    background: #ff0000;
    color: white;
    padding: 0.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-name {
    font-family: 'Brush Script MT', cursive;
    font-size: 1.8rem;
    color: var(--brand-name-color);
    font-weight: bold;
    line-height: 1;
    transition: color 0.3s ease;
}

.brand-version {
    font-size: 0.7rem;
    color: white;
    margin-top: 2px;
}

.version-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1;
    position: relative;
}

.version-link:hover {
    color: #4a90e2;
    text-decoration: underline;
}

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Search Bar Styles */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    min-width: 250px;
}

.search-container:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    flex: 1;
    min-width: 0;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.search-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
}

.search-results.show {
    display: block;
}

.search-result-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--card-border);
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: var(--text-color);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--navbar-color-rgba);
}

/* Enhanced search result styles */
.search-result-item.page-content {
    border-left: 3px solid #4a90e2;
}

.search-result-item.predefined {
    border-left: 3px solid #27ae60;
}

.search-result-item.other-page {
    border-left: 3px solid #ff9800;
}

.search-result-type {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    margin-top: 0.25rem;
}

.search-more-results {
    padding: 0.5rem 1rem;
    text-align: center;
    color: #666;
    font-style: italic;
    border-top: 1px solid var(--card-border);
    background-color: rgba(0, 0, 0, 0.05);
}

.search-loading {
    padding: 1rem;
    text-align: center;
    color: #4a90e2;
    font-style: italic;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Temporary message animations for live chat */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Hero video styles for external media support */
#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow);
    background-color: #000;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* Ensure external images and videos display properly */
.hero-image img,
.hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Social media embed styles */
.hero-image iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 25px var(--shadow);
}

/* Responsive social media embeds */
@media (max-width: 768px) {
    .hero-image iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-image iframe {
        height: 250px;
    }
}

.search-result-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.search-result-description {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.4;
}


.search-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Search Text Highlighting */
.search-highlight {
    background: linear-gradient(120deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
    animation: highlightPulse 0.5s ease-in-out;
}

@keyframes highlightPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(74, 144, 226, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
    }
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.theme-toggle img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.theme-toggle:hover img {
    transform: rotate(180deg);
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid transparent;
}

.nav-link:hover {
    color: white !important;
    background: var(--glow-color-rgba) !important;
    border-color: var(--glow-color-border) !important;
    box-shadow: 0 3px 10px var(--glow-color-shadow) !important;
}

/* Specific glow effects for each color */
[data-glow-color="red"] .nav-link:hover {
    background: rgba(255, 0, 0, 0.3) !important;
    border-color: rgba(255, 0, 0, 0.5) !important;
    box-shadow: 0 3px 15px rgba(255, 0, 0, 0.4) !important;
}

[data-glow-color="blue"] .nav-link:hover {
    background: rgba(74, 144, 226, 0.3) !important;
    border-color: rgba(74, 144, 226, 0.5) !important;
    box-shadow: 0 3px 15px rgba(74, 144, 226, 0.4) !important;
}

[data-glow-color="green"] .nav-link:hover {
    background: rgba(39, 174, 96, 0.3) !important;
    border-color: rgba(39, 174, 96, 0.5) !important;
    box-shadow: 0 3px 15px rgba(39, 174, 96, 0.4) !important;
}

[data-glow-color="purple"] .nav-link:hover {
    background: rgba(155, 89, 182, 0.3) !important;
    border-color: rgba(155, 89, 182, 0.5) !important;
    box-shadow: 0 3px 15px rgba(155, 89, 182, 0.4) !important;
}

[data-glow-color="orange"] .nav-link:hover {
    background: rgba(230, 126, 34, 0.3) !important;
    border-color: rgba(230, 126, 34, 0.5) !important;
    box-shadow: 0 3px 15px rgba(230, 126, 34, 0.4) !important;
}

[data-glow-color="pink"] .nav-link:hover {
    background: rgba(108, 117, 125, 0.3) !important;
    border-color: rgba(108, 117, 125, 0.5) !important;
    box-shadow: 0 3px 15px rgba(108, 117, 125, 0.4) !important;
}

[data-glow-color="cyan"] .nav-link:hover {
    background: rgba(0, 188, 212, 0.3) !important;
    border-color: rgba(0, 188, 212, 0.5) !important;
    box-shadow: 0 3px 15px rgba(0, 188, 212, 0.4) !important;
}

[data-glow-color="yellow"] .nav-link:hover {
    background: rgba(241, 196, 15, 0.3) !important;
    border-color: rgba(241, 196, 15, 0.5) !important;
    box-shadow: 0 3px 15px rgba(241, 196, 15, 0.4) !important;
}

.nav-link.active {
    color: white;
    background: var(--navbar-color-active-bg);
    border-color: var(--navbar-color-active-border);
    box-shadow: 0 3px 10px var(--navbar-color-active-shadow);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--navbar-color);
    border-radius: 2px;
}

/* Mobile hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    border-top: 2px solid #c0c0c0;
    flex-direction: column;
    padding: 1rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .nav-link {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 1.1rem;
    border-radius: 8px;
    margin: 0.25rem 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover {
    background: var(--glow-color-rgba) !important;
    border-color: var(--glow-color-border) !important;
    box-shadow: 0 3px 10px var(--glow-color-shadow) !important;
    color: white !important;
}

/* Specific mobile glow effects for each color */
[data-glow-color="red"] .mobile-menu .nav-link:hover {
    background: rgba(255, 0, 0, 0.3) !important;
    border-color: rgba(255, 0, 0, 0.5) !important;
    box-shadow: 0 3px 15px rgba(255, 0, 0, 0.4) !important;
}

[data-glow-color="blue"] .mobile-menu .nav-link:hover {
    background: rgba(74, 144, 226, 0.3) !important;
    border-color: rgba(74, 144, 226, 0.5) !important;
    box-shadow: 0 3px 15px rgba(74, 144, 226, 0.4) !important;
}

[data-glow-color="green"] .mobile-menu .nav-link:hover {
    background: rgba(39, 174, 96, 0.3) !important;
    border-color: rgba(39, 174, 96, 0.5) !important;
    box-shadow: 0 3px 15px rgba(39, 174, 96, 0.4) !important;
}

[data-glow-color="purple"] .mobile-menu .nav-link:hover {
    background: rgba(155, 89, 182, 0.3) !important;
    border-color: rgba(155, 89, 182, 0.5) !important;
    box-shadow: 0 3px 15px rgba(155, 89, 182, 0.4) !important;
}

[data-glow-color="orange"] .mobile-menu .nav-link:hover {
    background: rgba(230, 126, 34, 0.3) !important;
    border-color: rgba(230, 126, 34, 0.5) !important;
    box-shadow: 0 3px 15px rgba(230, 126, 34, 0.4) !important;
}

[data-glow-color="pink"] .mobile-menu .nav-link:hover {
    background: rgba(108, 117, 125, 0.3) !important;
    border-color: rgba(108, 117, 125, 0.5) !important;
    box-shadow: 0 3px 15px rgba(108, 117, 125, 0.4) !important;
}

[data-glow-color="cyan"] .mobile-menu .nav-link:hover {
    background: rgba(0, 188, 212, 0.3) !important;
    border-color: rgba(0, 188, 212, 0.5) !important;
    box-shadow: 0 3px 15px rgba(0, 188, 212, 0.4) !important;
}

[data-glow-color="yellow"] .mobile-menu .nav-link:hover {
    background: rgba(241, 196, 15, 0.3) !important;
    border-color: rgba(241, 196, 15, 0.5) !important;
    box-shadow: 0 3px 15px rgba(241, 196, 15, 0.4) !important;
}

.mobile-menu .nav-link.active {
    background: var(--navbar-color-active-bg);
    border-color: var(--navbar-color-active-border);
    color: white;
    box-shadow: 0 3px 10px var(--navbar-color-active-shadow);
    font-weight: 600;
}

.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #333;
    margin-top: 1rem;
}

.mobile-theme-toggle span {
    color: white;
    font-size: 1rem;
}


.mobile-menu .nav-link:last-child {
    border-bottom: none;
}

/* Main content */
.main-content {
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: visible;
    box-sizing: border-box;
}

/* NEW ANNOUNCEMENT DESIGN - EXACT MATCH TO IMAGE */
.hero-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    position: relative;
    background-color: #0a1326;
    border: 2px solid #ffffff;
    padding: 8px;
    overflow: visible;
    box-sizing: border-box;
}


/* Image container - landscape orientation */
.hero-image {
    width: 100%;
    height: 300px;
    background-color: #808080;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 8px;
    border: 2px solid #ffffff;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    background-color: #808080;
    border: 2px solid #000000;
}

/* Show Firebase image when it has a source */
.hero-image img[src]:not([src=""]) {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    background-color: #808080 !important;
    border: 2px solid #000000 !important;
}

/* Hide placeholder when Firebase loads an image */
.hero-image:has(img[src]:not([src=""])) .image-placeholder {
    display: none !important;
}

.image-placeholder {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
    text-align: center;
    height: 100%;
    width: 100%;
    background-color: #808080;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* White footer section inside the frame */
.hero-description {
    width: 100%;
    background-color: #ffffff;
    padding: 16px;
    position: relative;
    border: 2px solid #ffffff;
}

.announcement-from {
    background: #ffffff;
    color: #000000;
    padding: 0 0 8px 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Times New Roman', serif;
    line-height: 1.3;
    text-decoration: underline;
}

.announcement-text {
    background: #ffffff;
    color: #000000;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.4;
}

.announcement-link {
    color: #000000;
    text-decoration: underline;
    font-weight: 600;
    font-family: 'Times New Roman', serif;
}

/* Theme responsive styles */
[data-theme="light"] .hero-description,
[data-theme="light"] .announcement-from,
[data-theme="light"] .announcement-text {
    background-color: #1a1a1a;
    color: #ffffff;
}

[data-theme="dark"] .hero-description,
[data-theme="dark"] .announcement-from,
[data-theme="dark"] .announcement-text {
    background-color: #ffffff;
    color: #000000;
}

[data-theme="light"] .announcement-link {
    color: #ffffff;
}

[data-theme="dark"] .announcement-link {
    color: #000000;
}

/* Desktop specific styles */
@media (min-width: 768px) {
    .hero-section {
        max-width: 900px;
        margin: 3rem auto;
        overflow: visible;
        box-sizing: border-box;
        position: relative;
        z-index: 1;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .hero-description {
        padding: 20px;
    }
    
    .announcement-from {
        font-size: 1.1rem;
    }
    
    .announcement-text {
        font-size: 1.1rem;
    }
}

/* Profile Intro Section */
.profile-intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 8px 25px var(--shadow);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.profile-logo {
    margin-bottom: 1.5rem;
}

.profile-logo-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--card-border);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.profile-logo-img:hover {
    transform: scale(1.05);
    border-color: #4a90e2;
}

.profile-info {
    margin-bottom: 2rem;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    transition: color 0.3s ease;
}

.profile-subtitle {
    font-size: 1.2rem;
    color: #4a90e2;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease;
}

.intro-text {
    max-width: 600px;
    line-height: 1.7;
}

.greeting {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.greeting.animating {
    animation: fadeInOut 0.5s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-description {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.about-link-text {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    transition: color 0.3s ease;
}

.about-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.about-link:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

/* Social Media section - improved design */
.social-media {
    margin-top: 1.5rem;
    background: var(--social-bg);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Hide mobile social logos on desktop */
.mobile-social-logos {
    display: none;
}

.social-media h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--social-text);
    margin-bottom: 0.8rem;
    text-align: center;
    transition: color 0.3s ease;
}

.social-logos {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-logo-link:hover {
    transform: scale(1.15);
}

.social-logo-link img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background-color: #f8f9fa;
    object-fit: cover;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-logo-link:hover img {
    border-color: #4a90e2;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* About page styles */
.about-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-sections-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.about-text {
    text-align: left;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    white-space: pre-line;
    transition: color 0.3s ease;
}

/* Emergency Hamburg section */
.emergency-hamburg-section {
    max-width: 500px;
    margin: 0;
    text-align: left;
    flex: 1;
    min-width: 300px;
}

.emergency-hamburg-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: left;
    transition: color 0.3s ease;
}

.stats-box {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Emergency Hamburg section should match games design on desktop too */
.emergency-hamburg-section .stat-item {
    border-bottom: 1px solid #e0e0e0;
}

.emergency-hamburg-section .stat-item:last-child {
    border-bottom: none;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.stat-value {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    transition: color 0.3s ease;
}

/* Favourite Games section */
.favourite-games-section {
    max-width: 500px;
    margin: 0;
    text-align: left;
    flex: 1;
    min-width: 300px;
}

.favourite-games-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
    text-align: left;
}

.games-box {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.game-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.game-item:last-child {
    border-bottom: none;
}

.game-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* Update page styles */
.update-section {
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure proper scrolling and container visibility */
.main-content {
    min-height: 100vh;
    padding-bottom: 2rem;
}

.container {
    position: relative;
    z-index: 1;
}

/* Mobile navbar fix - SIMPLE AND CLEAN */
@media (max-width: 768px) {
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    /* Force navbar to stay fixed on mobile */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    html {
        -webkit-overflow-scrolling: touch;
    }
}

/* Liquid Glass Effect Styles - Desktop */
.liquid-glass-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/* Desktop Glass Background */
.liquid-glass-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.2) 100%);
    border-radius: 0;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    z-index: 1;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

/* Desktop Animated Background */
.liquid-glass-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, 
        transparent 0deg, 
        rgba(74, 144, 226, 0.15) 60deg,
        rgba(39, 174, 96, 0.15) 120deg,
        rgba(155, 89, 182, 0.15) 180deg,
        rgba(230, 126, 34, 0.15) 240deg,
        rgba(74, 144, 226, 0.15) 300deg,
        transparent 360deg);
    animation: liquidRotateDesktop 25s linear infinite;
    z-index: 0;
}

@keyframes liquidRotateDesktop {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes liquidRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Desktop Glass Profile Section */
.glass-profile-section {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.18) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    border-radius: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-profile-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.glass-profile-image {
    position: relative;
    z-index: 3;
}

.glass-profile-image .profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.glass-profile-image .profile-img:hover {
    transform: scale(1.05);
}

.glass-profile-info {
    flex: 1;
    position: relative;
    z-index: 3;
}

.glass-profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Desktop Version Badge */
.glass-version-badge {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.9) 0%, 
        rgba(39, 174, 96, 0.9) 50%, 
        rgba(155, 89, 182, 0.9) 100%);
    color: white;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    animation: pulseDesktop 3s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glass-version-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.6);
}

@keyframes pulseDesktop {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    }
    50% { 
        transform: scale(1.03);
        box-shadow: 0 12px 35px rgba(74, 144, 226, 0.6);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Desktop Glass Update Content */
.glass-update-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    border-radius: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-update-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.glass-update-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
}

.glass-update-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.glass-update-date {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 500;
}

.glass-update-description {
    padding: 2rem;
    position: relative;
    z-index: 3;
}

.glass-update-description p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.glass-update-description p:last-child {
    margin-bottom: 0;
}

/* Glass Loading Animation */
.glass-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.glass-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(74, 144, 226, 0.3);
    border-top: 3px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.glass-loading p {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
    margin: 0;
}

/* Mobile Responsive - Different Design & Colors */
@media (max-width: 768px) {
    /* Mobile Container */
    .liquid-glass-container {
        padding: 1rem;
        max-width: 95%;
    }
    
    /* Mobile Glass Background - Different Colors */
    .liquid-glass-container::before {
        background: linear-gradient(135deg, 
            rgba(255, 107, 107, 0.25) 0%, 
            rgba(255, 159, 64, 0.18) 50%, 
            rgba(255, 107, 107, 0.25) 100%);
        border-radius: 0;
        border: 3px solid rgba(255, 107, 107, 0.4);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 
            0 15px 35px rgba(255, 107, 107, 0.25),
            inset 0 1px 0 rgba(255, 107, 107, 0.6),
            inset 0 -1px 0 rgba(255, 107, 107, 0.2);
    }
    
    /* Mobile Animated Background - Different Colors */
    .liquid-glass-container::after {
        background: conic-gradient(from 0deg, 
            transparent 0deg, 
            rgba(255, 107, 107, 0.2) 60deg,
            rgba(255, 159, 64, 0.2) 120deg,
            rgba(255, 193, 7, 0.2) 180deg,
            rgba(255, 107, 107, 0.2) 240deg,
            rgba(255, 159, 64, 0.2) 300deg,
            transparent 360deg);
        animation: liquidRotateMobile 20s linear infinite;
    }
    
    @keyframes liquidRotateMobile {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* Mobile Profile Section */
    .glass-profile-section {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
        margin-bottom: 2rem;
        background: linear-gradient(135deg, 
            rgba(255, 107, 107, 0.2) 0%, 
            rgba(255, 159, 64, 0.15) 100%);
        border-radius: 0;
        border: 2px solid rgba(255, 107, 107, 0.3);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 
            0 15px 30px rgba(255, 107, 107, 0.25),
            inset 0 1px 0 rgba(255, 107, 107, 0.5),
            inset 0 -1px 0 rgba(255, 107, 107, 0.1);
    }
    
    .glass-profile-name {
        font-size: 2.2rem;
        color: #ff6b6b;
        text-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    }
    
    /* Mobile Version Badge - Different Colors */
    .glass-version-badge {
        padding: 0.6rem 1.2rem;
        background: linear-gradient(135deg, 
            rgba(255, 107, 107, 0.9) 0%, 
            rgba(255, 159, 64, 0.9) 50%, 
            rgba(255, 193, 7, 0.9) 100%);
        border-radius: 25px;
        font-size: 0.9rem;
        border: 2px solid rgba(255, 107, 107, 0.4);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
        animation: pulseMobile 2.5s ease-in-out infinite;
    }
    
    @keyframes pulseMobile {
        0%, 100% { 
            transform: scale(1);
            box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
        }
        50% { 
            transform: scale(1.02);
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
        }
    }
    
    /* Mobile Update Content */
    .glass-update-content {
        background: linear-gradient(135deg, 
            rgba(255, 107, 107, 0.18) 0%, 
            rgba(255, 159, 64, 0.12) 100%);
        border-radius: 0;
        border: 2px solid rgba(255, 107, 107, 0.3);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 
            0 15px 35px rgba(255, 107, 107, 0.25),
            inset 0 1px 0 rgba(255, 107, 107, 0.4),
            inset 0 -1px 0 rgba(255, 107, 107, 0.1);
    }
    
    .glass-update-header {
        padding: 1.5rem;
        background: linear-gradient(135deg, 
            rgba(255, 107, 107, 0.15) 0%, 
            rgba(255, 159, 64, 0.1) 100%);
        border-bottom: 2px solid rgba(255, 107, 107, 0.2);
    }
    
    .glass-update-title {
        font-size: 1.6rem;
        color: #ff6b6b;
        text-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    }
    
    .glass-update-date {
        color: #ff9f40;
        font-weight: 600;
    }
    
    .glass-update-description {
        padding: 1.5rem;
    }
    
    .glass-update-description p {
        font-size: 1rem;
        color: var(--text-color);
        line-height: 1.7;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    /* Mobile Loading Spinner */
    .glass-loading-spinner {
        border: 3px solid rgba(255, 107, 107, 0.3);
        border-top: 3px solid #ff6b6b;
    }
    
    .glass-loading p {
        color: #ff6b6b;
        font-weight: 600;
    }
}

/* Dark theme adjustments for glass effect */
[data-theme="dark"] .liquid-glass-container::before {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 50%, 
        rgba(255, 255, 255, 0.08) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .glass-profile-section {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .glass-update-content {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.06) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .glass-update-header {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* Dark theme mobile adjustments */
[data-theme="dark"] .liquid-glass-container::before {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.15) 0%, 
        rgba(255, 159, 64, 0.1) 50%, 
        rgba(255, 107, 107, 0.15) 100%);
    border: 2px solid rgba(255, 107, 107, 0.2);
}

[data-theme="dark"] .glass-profile-section {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.12) 0%, 
        rgba(255, 159, 64, 0.08) 100%);
    border: 2px solid rgba(255, 107, 107, 0.2);
}

[data-theme="dark"] .glass-update-content {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.1) 0%, 
        rgba(255, 159, 64, 0.06) 100%);
    border: 2px solid rgba(255, 107, 107, 0.2);
}

/* Dark theme floating chat button */
[data-theme="dark"] .floating-chat-btn {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .floating-chat-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    border: 2px solid var(--card-border);
    border-radius: 12px;
    background: var(--card-bg);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.profile-image {
    flex-shrink: 0;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--card-border);
    transition: border-color 0.3s ease;
}

.profile-info {
    /* Removed flex: 1 since we're now stacking vertically */
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    transition: color 0.3s ease;
}

.update-content {
    padding: 2rem;
    border: 2px solid var(--card-border);
    border-radius: 12px;
    background: var(--card-bg);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.update-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.update-description {
    color: var(--text-color);
    line-height: 1.8;
    transition: color 0.3s ease;
}

.update-description p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    position: relative;
    padding-left: 0.5rem;
}

.update-description p:before {
    content: "•";
    color: #4a90e2;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* Settings page styles */
.settings-section {
    margin-top: 2rem;
}

.settings-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.settings-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

.settings-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.setting-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.setting-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.setting-header p {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.setting-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #4a90e2;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.setting-status {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

/* Theme Selector */
.theme-selector {
    padding: 0.5rem 1rem;
    border: 2px solid var(--card-border);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.theme-selector:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Reset Button */
.reset-button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Settings Info */
.settings-info {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.settings-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.settings-info p {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Shop page styles */
.shop-section {
    margin-top: 2rem;
}

.shop-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.shop-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    min-height: 200px;
    transition: opacity 0.3s ease;
}

.products-grid.loading {
    opacity: 0.5;
}

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--card-border);
    width: 100%;
    max-width: 100%;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #f8f9fa;
    display: block;
    border: none;
    outline: none;
    padding: 20px;
}

.product-info {
    padding: 1.5rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-description {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    flex-shrink: 0;
}

.price-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
    min-width: 80px;
    justify-content: center;
}

.robux-icon {
    width: 16px;
    height: 16px;
    background-image: url('Robuxlogo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    position: relative;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
}

.robux-container {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.robux-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.robux-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.buy-button {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    -webkit-text-stroke: none;
    text-shadow: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy-button:hover {
    background-color: #219a52;
}

/* Purchase Confirmation Modal */
.purchase-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 15% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
}

.modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
}

.modal-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.modal-btn-cancel {
    background-color: #6c757d;
    color: white;
}

.modal-btn-cancel:hover {
    background-color: #5a6268;
}

.modal-btn-confirm {
    background-color: #dc3545;
    color: white;
}

.modal-btn-confirm:hover {
    background-color: #c82333;
}

/* Responsive design */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Mobile navbar positioning fixed above */
    
    /* Fix mobile menu positioning */
    .mobile-menu {
        top: 100%;
        position: absolute;
        width: 100%;
        max-height: calc(100vh - 80px);
    }
    
    .mobile-social-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin: 1rem 0;
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-social-link {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.5rem;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        transition: background-color 0.2s ease;
    }
    
    .mobile-social-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-social-icon {
        width: 20px;
        height: 20px;
        object-fit: contain;
        border: 0.5px solid white;
        border-radius: 4px;
        padding: 2px;
        background-color: white;
    }
    
    .nav-controls {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        justify-content: flex-end;
    }
    
    .search-container {
        min-width: 120px;
        max-width: 160px;
        padding: 0.3rem 0.6rem;
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.4);
        border-radius: 25px;
        order: 1;
    }
    
    .search-input {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 0.2rem 0.4rem;
        color: white;
        width: 100%;
    }
    
    .search-input::placeholder {
        color: rgba(255, 255, 255, 0.9);
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .search-btn {
        padding: 0.2rem;
    }
    
    .search-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .search-results {
        position: fixed;
        top: 70px;
        left: 10px;
        right: 10px;
        max-height: 75vh;
        background: var(--card-bg);
        border: 3px solid var(--card-border);
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        z-index: 1001;
        overflow-y: auto;
        font-size: 0.95rem;
        backdrop-filter: blur(10px);
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .search-result-item {
        padding: 1.2rem;
        border-bottom: 2px solid var(--card-border);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .search-result-item:last-child {
        border-bottom: none;
    }
    
    .search-result-item:hover {
        background: linear-gradient(135deg, var(--navbar-color-rgba), rgba(74, 144, 226, 0.1));
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .search-result-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 0.6rem;
        color: var(--text-color);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .search-result-description {
        font-size: 0.9rem;
        line-height: 1.5;
        color: var(--text-color);
        opacity: 0.95;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    .theme-toggle {
        display: none;
    }
    
    .mobile-theme-toggle .theme-toggle {
        display: flex;
    }
}

/* Rating & Comments System Styles */
.rating-comments-section {
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.rating-comments-section h2 {
    color: #ff6b35;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.stars {
    display: flex;
    gap: 0.8rem;
    font-size: 3.5rem;
    cursor: pointer;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.star {
    color: var(--text-color);
    opacity: 0.4;
    transition: all 0.3s ease;
    user-select: none;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.star:hover {
    color: #ffd700;
    opacity: 1;
    transform: scale(1.3) rotate(10deg);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    filter: brightness(1.2);
}

.star.active {
    color: #ffd700;
    opacity: 1;
    transform: scale(1.2);
    text-shadow: 0 0 20px rgba(255, 215, 0, 1);
    filter: brightness(1.3);
}

.star.user-rated {
    color: #ffd700 !important;
    opacity: 1 !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.rating-info {
    text-align: center;
}

.average-rating {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rating-message {
    color: #ff6b35;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Q&A Section Styles */
.qa-section {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.qa-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.qa-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qa-item {
    margin-bottom: 0;
}

.question {
    color: #FFD700;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.answer {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

/* Comments Section Styles */
.comments-section {
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.comments-header {
    margin-bottom: 1.5rem;
}

.comments-container {
    margin-top: 1.5rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.comments-container::-webkit-scrollbar {
    width: 6px;
}

.comments-container::-webkit-scrollbar-track {
    background: var(--bg-color);
    border-radius: 3px;
}

.comments-container::-webkit-scrollbar-thumb {
    background: #780000;
    border-radius: 3px;
}

.comments-container::-webkit-scrollbar-thumb:hover {
    background: #5a0000;
}

.comment-item {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.comment-time {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.8rem;
    margin-left: auto;
}

.comment-text {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.see-more-btn {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    margin: 1rem auto 0;
    display: block;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.see-more-btn:hover {
    background: var(--border-color);
}

.comments-section h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.comment-form {
    background: transparent;
    border-radius: 16px;
    padding: 0;
    margin: 2rem 0;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
}

.comment-form:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.comment-input-container {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    background: transparent;
    border-radius: 12px;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
}

.comment-input-container:focus-within {
    border-color: #780000;
    box-shadow: 0 0 0 3px rgba(120, 0, 0, 0.1);
}

#comment-input {
    flex: 1;
    min-height: 60px;
    max-height: 120px;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.9rem;
    resize: none;
    box-sizing: border-box;
    outline: none;
    line-height: 1.4;
}

#comment-input::placeholder {
    color: var(--text-color);
    opacity: 0.6;
}

.send-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border: 2px solid #6c757d;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 80px;
    height: 60px;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.send-btn:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    border-color: #495057;
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);
}

.send-btn:active {
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.send-icon {
    width: 20px;
    height: 20px;
    color: white;
    stroke: currentColor;
}

.send-text {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.comment-counter {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    font-weight: bold;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comment-author {
    font-weight: bold;
    color: #780000;
    font-size: 1rem;
}

.comment-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-style: italic;
}

.comment-text {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.error-message {
    background: #ff4444;
    color: white;
    padding: 0.8rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
    font-weight: bold;
}

.success-message {
    background: #44ff44;
    color: white;
    padding: 0.8rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
    font-weight: bold;
}

/* XP Update Date Styling */
.xp-update-date {
    text-align: right;
    margin-top: 0.5rem;
    padding-right: 1rem;
}

.update-date-text {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #28a745;
    font-weight: 500;
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .rating-comments-section {
        /* Mobile-specific design - completely different from desktop */
        margin: 1rem;
        padding: 1rem;
        background: var(--card-bg);
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 2px solid var(--border-color);
        width: calc(100% - 2rem);
        max-width: none;
        position: relative;
    }
    
    
    .comment-avatar {
        width: 36px;
        height: 36px;
    }
    
    .comment-item {
        padding: 0.8rem;
    }
    
    .qa-section {
        margin-top: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .qa-title {
        font-size: 2rem;
        text-align: left;
    }
    
    .qa-content {
        gap: 1.5rem;
    }
    
    .question {
        font-size: 1.1rem;
    }
    
    .answer {
        font-size: 0.9rem;
    }
    
    
    .stars {
        font-size: 2rem;
    }
    
    .rating-comments-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    /* Mobile-specific rating container */
    .rating-container {
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Mobile-specific comment form */
    .comment-form {
        margin: 1rem 0;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    /* Mobile-specific comments container */
    .comments-container {
        margin-top: 1rem;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    #comment-input {
        min-height: 80px;
        padding: 0.8rem;
    }
    
    .comment-item {
        padding: 0.8rem;
    }
    
    .notice-content {
        padding: 0 1rem;
        font-size: 0.8rem;
    }
    
    .notice-text {
        font-size: 0.8rem;
    }
    
    .hero-section {
        margin-bottom: 1.5rem;
        max-width: 100%;
        padding: 6px;
    }
    
    .hero-image {
        height: 250px;
        margin-bottom: 6px;
    }
    
    .hero-description {
        padding: 12px;
    }
    
    .announcement-from {
        font-size: 0.9rem;
    }
    
    .announcement-text {
        font-size: 0.9rem;
    }
    
    .image-placeholder {
        font-size: 1.5rem;
    }
    
    
    .social-media {
        display: none;
    }
    
    .social-media h3 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .social-logos {
        gap: 0.8rem;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .update-content {
        padding: 1.5rem;
    }
    
    .update-title {
        font-size: 1.5rem;
    }
    
    .update-description p {
        font-size: 1rem;
    }
    
    .profile-intro-section {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .profile-logo-img {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-subtitle {
        font-size: 1.1rem;
    }
    
    .greeting {
        font-size: 1.2rem;
    }
    
    .intro-description {
        font-size: 1rem;
    }
    
    .social-logos {
        margin-left: 0;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .product-image {
        height: 250px;
        object-fit: contain;
        padding: 20px;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
    
    .product-actions {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .robux-container {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .robux-logo {
        width: 18px;
        height: 18px;
    }
    
    .buy-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .price-button {
        align-self: center;
    }
    
    .about-content h1 {
        font-size: 2rem;
    }
    
    .about-sections-container {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .emergency-hamburg-section,
    .favourite-games-section {
        flex: 1;
        min-width: 280px;
    }
    
    .emergency-hamburg-section h2 {
        font-size: 1.5rem;
    }
    
    .stats-box {
        padding: 0.8rem;
    }
    
    .stat-item {
        padding: 0.5rem 0;
        border-bottom: 1px solid #e0e0e0;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .stat-value {
        font-size: 0.8rem;
    }
    
    /* Emergency Hamburg section should match games design - override stats design */
    .emergency-hamburg-section .stats-box {
        padding: 0.8rem !important;
    }
    
    .emergency-hamburg-section .stat-item {
        padding: 0.5rem 0 !important;
        border-bottom: 1px solid #ccc !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.75rem !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
    
    .emergency-hamburg-section .stat-item:last-child {
        border-bottom: none !important;
    }
    
    /* Make sure the border is visible - use darker color */
    .emergency-hamburg-section .stat-item:not(:last-child) {
        border-bottom: 1px solid #ccc !important;
    }
    
    .favourite-games-section h2 {
        font-size: 1.5rem;
    }
    
    .games-box {
        padding: 0.8rem;
    }
    
    .game-item {
        padding: 0.5rem 0;
    }
    
    .game-name {
        font-size: 0.9rem;
    }
    
    .shop-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .search-container {
        min-width: 100px;
        max-width: 140px;
        padding: 0.25rem 0.5rem;
    }
    
    .search-input {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 0.15rem 0.3rem;
    }
    
    .search-input::placeholder {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .rating-comments-section {
        /* Extra small mobile design - even more compact */
        margin: 0.5rem;
        padding: 0.8rem;
        background: var(--card-bg);
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--border-color);
        width: calc(100% - 1rem);
        max-width: none;
    }
    
    /* Extra small mobile rating container */
    .rating-container {
        margin-bottom: 1rem;
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    /* Extra small mobile comment form */
    .comment-form {
        margin: 0.8rem 0;
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Extra small mobile comments container */
    .comments-container {
        margin-top: 0.8rem;
        padding: 0.4rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .search-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .search-results {
        top: 65px;
        left: 5px;
        right: 5px;
        max-height: 75vh;
        font-size: 0.9rem;
        border-radius: 15px;
    }
    
    .search-result-item {
        padding: 1rem;
    }
    
    .search-result-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .search-result-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    
    
    
    .qa-section {
        margin-top: 1.5rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .qa-title {
        font-size: 1.8rem;
        text-align: left;
    }
    
    .qa-content {
        gap: 1rem;
    }
    
    .question {
        font-size: 1rem;
    }
    
    .answer {
        font-size: 0.8rem;
    }
    
    
    .comment-avatar {
        width: 32px;
        height: 32px;
    }
    
    .comment-item {
        padding: 0.6rem;
    }
    
    .comment-header {
        gap: 0.5rem;
    }
    
    
    .about-content h1 {
        font-size: 1.8rem;
    }
    
    .about-sections-container {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .emergency-hamburg-section,
    .favourite-games-section {
        flex: 1;
        min-width: 250px;
    }
    
    .emergency-hamburg-section h2,
    .favourite-games-section h2 {
        font-size: 1.3rem;
    }
    
    .stats-box,
    .games-box {
        padding: 0.6rem;
    }
    
    .stat-item {
        padding: 0.2rem 0;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-value {
        font-size: 0.75rem;
    }
    
    .game-item {
        padding: 0.4rem 0;
    }
    
    .game-name {
        font-size: 0.85rem;
    }
    
    .shop-section h1 {
        font-size: 1.8rem;
    }
    
    .settings-section h1 {
        font-size: 2rem;
    }
    
    .settings-container {
        gap: 1rem;
    }
    
    .setting-card {
        padding: 1rem;
    }
    
    .setting-header h3 {
        font-size: 1.1rem;
    }
    
    .setting-control {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .theme-selector {
        width: 100%;
        min-width: auto;
    }
    
    .mobile-menu .nav-link {
        padding: 0.8rem 1rem;
        font-size: 1rem;
        margin: 0.2rem 0;
    }
}

/* Mobile Responsive for Roblox Profile - Remove containers */
@media (max-width: 768px) {
    .roblox-profile-section {
        padding: 0;
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .profile-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        max-width: 100%;
        margin: 0;
        gap: 0 !important;
    }
    
    .avatar-section {
        width: 100%;
        order: 1;
    }
    
    .avatar-container {
        width: 100% !important;
        padding: 0.8rem !important;
        min-height: auto;
        border-radius: 8px !important;
        margin: 0 0 1rem 0 !important;
        border: 2px solid var(--card-border) !important;
        background: var(--card-bg) !important;
        box-shadow: none !important;
    }
    
    .avatar-image {
        width: 80px;
        height: 80px;
        border-radius: 4px;
    }
    
    .profile-info-section {
        width: 100%;
        margin: 0;
        gap: 0;
        order: 2;
    }
    
    .profile-header {
        text-align: left;
        margin-bottom: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .profile-title {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .profile-subtitle {
        font-size: 0.9rem;
        opacity: 0.7;
    }
    
    .profile-card {
        width: 100% !important;
        margin: 0 0 1rem 0 !important;
        padding: 0.8rem !important;
        border-radius: 8px !important;
        border: 2px solid var(--card-border) !important;
        background: var(--card-bg) !important;
        box-shadow: none !important;
    }
    
    .stats-card {
        width: 100% !important;
        margin: 0 0 1rem 0 !important;
        padding: 0.8rem !important;
        border-radius: 8px !important;
        border: 2px solid var(--card-border) !important;
        background: var(--card-bg) !important;
        box-shadow: none !important;
    }
    
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        text-align: left;
        font-weight: 500;
    }
    
    .stats-grid {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1 !important;
        padding: 0.75rem !important;
        border: 1px solid var(--card-border) !important;
        border-radius: 6px !important;
        background: var(--card-bg) !important;
        text-align: left;
        margin: 0 !important;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        box-shadow: none !important;
    }
    
    .stat-icon {
        width: 20px;
        height: 20px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .stat-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .stat-content {
        display: flex;
        flex-direction: column;
        text-align: left;
        gap: 0.25rem;
        flex: 1;
    }
    
    .stat-label {
        display: block;
        font-size: 0.8rem;
        margin: 0;
        font-weight: 500;
        opacity: 0.8;
    }
    
    .stat-value {
        display: block;
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    .update-info {
        width: 100% !important;
        margin: 0 !important;
        padding: 0.8rem !important;
        border-radius: 8px !important;
        border: 2px solid var(--card-border) !important;
        background: var(--card-bg) !important;
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
        box-shadow: none !important;
    }
    
    .refresh-button {
        padding: 0.6rem 1rem;
        border-radius: 4px;
        font-size: 0.8rem;
        align-self: flex-start;
    }
    
    .info-grid {
        gap: 0.75rem;
    }
    
    .info-item {
        gap: 0.15rem;
    }
    
    .info-label {
        font-size: 0.8rem;
    }
    
    .info-value {
        font-size: 0.9rem;
    }
    
    /* Mobile touch targets optimization */
    .refresh-button {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    .debug-toggle-btn,
    .debug-toggle {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    /* Better mobile spacing */
    .roblox-profile-section {
        padding-bottom: 2rem;
    }
    
    .profile-container {
        padding-bottom: 1rem;
    }
}

/* Chat Page Styles */
.chat-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.chat-page-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    text-align: center;
    flex: 1;
}

.chat-page-actions {
    display: flex;
    gap: 0.5rem;
}

.chat-page-main {
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Live Chat Styles */
.live-chat-section {
    max-width: 100%;
    margin: 0;
    background: var(--bg-color);
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.back-btn, .edit-btn, .info-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.back-btn:hover, .edit-btn:hover, .info-btn:hover {
    background: var(--card-border);
}

.chat-messages {
    flex: 1;
    padding: 1rem 1rem 160px 1rem; /* Add more bottom padding for fixed input and notice banner */
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 400px;
    max-height: calc(100vh - 200px);
    touch-action: pan-y; /* Prevent horizontal swiping */
    overscroll-behavior: contain; /* Prevent scroll chaining */
    background: var(--bg-color);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    position: relative; /* Allow tooltips to appear above */
}

.message {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    max-width: 80%;
}

.message.own-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.message-bubble {
    padding: 0.75rem 1rem;
    border-radius: 18px;
    max-width: 100%;
    word-wrap: break-word;
    position: relative;
}

.message.own-message .message-bubble {
    background: #007bff;
    color: white;
    border-bottom-right-radius: 4px;
}

.message:not(.own-message) .message-bubble {
    background: #f1f3f4;
    color: #333;
    border-bottom-left-radius: 4px;
}

[data-theme="dark"] .message:not(.own-message) .message-bubble {
    background: #3a3a3a;
    color: #fff;
}

.message-username {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.verify-badge {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    vertical-align: middle;
}

.owner-badge {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    vertical-align: middle;
    cursor: help;
    transition: transform 0.2s ease;
    touch-action: manipulation;
}

.owner-badge:hover {
    transform: scale(1.1);
}

/* Mobile-specific styles for owner badge */
@media (max-width: 768px) {
    .owner-badge {
        cursor: pointer;
        padding: 2px;
        border-radius: 2px;
    }
    
    .owner-badge:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.1);
    }
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.message-text {
    font-size: 1rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.message-input-container {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 40px; /* Position above the notice banner */
    left: 0;
    right: 0;
    padding: 1rem;
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    z-index: 1000;
}

.message-input {
    flex: 1;
    padding: 0.75rem 1rem; /* Reduced padding since buttons are now in flexbox */
    border: 1px solid #780000;
    border-radius: 20px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    margin-right: 0.5rem;
}

.message-input:focus {
    border-color: #780000;
}

.image-btn, .video-btn, .scroll-to-bottom-btn {
    background: none !important;
    border: none !important;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    box-shadow: none !important;
    border-radius: 8px !important;
    margin-right: 0.5rem;
}

.image-btn:hover, .video-btn:hover, .scroll-to-bottom-btn:hover {
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.1) !important;
    box-shadow: none !important;
}

.scroll-to-bottom-btn {
    color: #ff6b6b !important;
}

.scroll-to-bottom-btn:hover {
    color: #ff5252 !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

.send-btn {
    background: none !important;
    border: none !important;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    box-shadow: none !important;
    border-radius: 8px !important;
}

.send-btn:hover {
    color: var(--text-color);
    background: none !important;
    box-shadow: none !important;
}

.send-btn svg {
    width: 20px;
    height: 20px;
    filter: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    drop-shadow: none !important;
    -webkit-filter: none !important;
    -webkit-text-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -ms-filter: none !important;
    filter: drop-shadow(none) !important;
    filter: blur(0) !important;
    filter: brightness(1) !important;
    filter: contrast(1) !important;
    filter: saturate(1) !important;
    filter: hue-rotate(0deg) !important;
    filter: invert(0) !important;
    filter: opacity(1) !important;
    filter: sepia(0) !important;
    filter: grayscale(0) !important;
}

.send-btn svg path {
    filter: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    drop-shadow: none !important;
    -webkit-filter: none !important;
    -webkit-text-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -ms-filter: none !important;
    filter: drop-shadow(none) !important;
    filter: blur(0) !important;
    filter: brightness(1) !important;
    filter: contrast(1) !important;
    filter: saturate(1) !important;
    filter: hue-rotate(0deg) !important;
    filter: invert(0) !important;
    filter: opacity(1) !important;
    filter: sepia(0) !important;
    filter: grayscale(0) !important;
}

.chat-notice-banner {
    background: #ff0000;
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    width: 100%;
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

/* Code Redemption Styles */
.code-redemption-section {
    margin-bottom: 1.5rem;
}

.code-title {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.code-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.code-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--card-border);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.code-input:focus {
    outline: none;
    border-color: var(--glow-color);
}

.redeem-btn {
    padding: 0.75rem 1.5rem;
    background: var(--glow-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.redeem-btn:hover {
    background: var(--glow-color-border);
}

.admin-notice {
    margin-bottom: 1rem;
}

.admin-warning {
    color: #e74c3c;
    font-size: 0.9rem;
    font-weight: 500;
}

.verification-status {
    margin-top: 1rem;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 8px;
    color: white;
    font-weight: 500;
}

.verify-icon {
    width: 20px;
    height: 20px;
}

/* Sign Up Styles */
.signup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px; /* Fixed height for desktop */
}

.signup-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    text-align: center;
    flex: 1;
}

.signup-header-actions {
    display: flex;
    gap: 0.5rem;
}

.signup-main {
    padding: 6rem 1rem 2rem 1rem; /* Top padding for fixed header */
    max-width: 500px;
    margin: 0 auto;
}

.signup-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-avatar-section {
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: background-color 0.3s ease;
}

.avatar-initials {
    font-size: 2rem;
    font-weight: 600;
    color: white;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

.name-inputs-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.input-label {
    font-weight: 500;
    color: var(--text-color);
    min-width: 100px;
}

.name-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.name-input:focus {
    border-color: var(--glow-color);
}

.color-selection-section {
    text-align: center;
}

.color-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.color-option {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.color-option:hover {
    transform: scale(1.05);
}

.color-option.selected {
    border-color: var(--text-color);
    transform: scale(1.1);
}

.error-message {
    background: #dc3545;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    margin: 1rem 0;
}

.save-profile-btn {
    background: var(--glow-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.save-profile-btn:hover {
    background: var(--glow-color-border);
}

/* Comment Send Button - Gray Styling */
.comment-send-btn {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-send-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.comment-send-icon {
    width: 16px;
    height: 16px;
}

.send-text {
    font-size: 0.9rem;
}

/* Floating Chat Button - Glass Morphism */
.floating-chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-chat-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.15) 100%);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.floating-chat-btn svg {
    width: 24px;
    height: 24px;
    color: var(--text-color);
    stroke: var(--text-color);
    fill: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Mobile Responsive for Chat Pages - SIMPLE WORKING DESIGN */
@media (max-width: 768px) {
    /* Mobile Floating Chat Button - Glass Effect */
    .floating-chat-btn {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.25) 0%, 
            rgba(255, 255, 255, 0.15) 100%);
        border: 2px solid rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 
            0 6px 25px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .floating-chat-btn:hover {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.3) 0%, 
            rgba(255, 255, 255, 0.2) 100%);
        border: 2px solid rgba(255, 255, 255, 0.5);
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.6),
            inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    }
    
    .floating-chat-btn svg {
        width: 22px;
        height: 22px;
    }
    
    /* Mobile Chat Header - Simple and Working */
    .chat-page-header {
        padding: 0.75rem;
        background: var(--navbar-bg);
        border-bottom: 1px solid var(--card-border);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .chat-page-title {
        font-size: 1rem;
    }
    
    /* Mobile Chat Section - Simple Layout */
    .live-chat-section {
        padding-top: 60px;
        min-height: 100vh;
        background: var(--bg-color);
    }
    
    /* Mobile Chat Messages - Simple and Working */
    .chat-messages {
        padding: 1rem 0.5rem 120px 0.5rem;
        overflow-y: auto;
        background: var(--bg-color);
        min-height: calc(100vh - 200px);
    }
    
    /* Mobile Messages - Simple Styling */
    .message {
        max-width: 90%;
        margin-bottom: 0.5rem;
    }
    
    .message-bubble {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .message-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    /* Mobile Input Container - Fixed at Bottom */
    .message-input-container {
        position: fixed;
        bottom: 40px;
        left: 0;
        right: 0;
        padding: 0.75rem;
        background: var(--card-bg);
        border-top: 1px solid var(--card-border);
        z-index: 1000;
    }
    
    .message-input {
        font-size: 16px;
        padding: 0.5rem 0.75rem;
        margin-right: 0.4rem;
    }
    
    .image-btn, .video-btn, .scroll-to-bottom-btn {
        width: 36px;
        height: 36px;
        padding: 0.4rem;
        margin-right: 0.4rem;
    }
    
    .send-btn {
        width: 36px;
        height: 36px;
        padding: 0.4rem;
    }
    
    /* Mobile Notice Banner - Fixed at Bottom */
    .chat-notice-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        font-size: 0.8rem;
        padding: 0.4rem;
    }
    
    /* Mobile Theme Toggle - Hide desktop theme toggle, show mobile menu toggle */
    .nav-controls .theme-toggle {
        display: none !important;
    }
    
    .nav-controls .theme-toggle img {
        display: none !important;
    }
    
    /* Mobile menu theme toggle should always be visible */
    .mobile-theme-toggle .theme-toggle {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-theme-toggle .theme-toggle img {
        display: block !important;
        width: 24px !important;
        height: 24px !important;
        filter: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    /* Force mobile toggle icon to always be visible on dark navbar */
    .mobile-theme-toggle .theme-toggle img {
        content: url('White Toggle icon.png') !important;
    }
    
    /* When light theme is active, keep white icon for dark navbar contrast */
    [data-theme="light"] .mobile-theme-toggle .theme-toggle img {
        content: url('White Toggle icon.png') !important;
    }
    
    /* When dark theme is active, use white icon for contrast */
    [data-theme="dark"] .mobile-theme-toggle .theme-toggle img {
        content: url('White Toggle icon.png') !important;
    }
    
    /* Special case: Yellow navbar needs dark icon for contrast */
    [data-navbar-color="yellow"] .mobile-theme-toggle .theme-toggle img {
        content: url('Dark Toggle icon.png') !important;
    }
    
    [data-navbar-color="yellow"][data-theme="light"] .mobile-theme-toggle .theme-toggle img {
        content: url('Dark Toggle icon.png') !important;
    }
    
    [data-navbar-color="yellow"][data-theme="dark"] .mobile-theme-toggle .theme-toggle img {
        content: url('Dark Toggle icon.png') !important;
    }
    
    /* Live Chat and Signup pages - Keep theme toggle visible in header */
    .chat-page-header .theme-toggle,
    .signup-header .theme-toggle {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .chat-page-header .theme-toggle img,
    .signup-header .theme-toggle img {
        display: block !important;
        width: 24px !important;
        height: 24px !important;
        filter: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Hover effects for better visibility */
    .chat-page-header .theme-toggle:hover,
    .signup-header .theme-toggle:hover {
        background-color: rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
        transform: scale(1.05) !important;
    }
    
    /* Mobile Chat Page Main - Simple */
    .chat-page-main {
        height: 100vh;
        background: var(--bg-color);
        overflow: hidden;
    }
    
    /* Mobile Signup Page - SIMPLE WORKING DESIGN */
    .signup-main {
        padding: 1rem;
        background: var(--bg-color);
        min-height: 100vh;
        overflow-y: auto;
        padding-bottom: 2rem;
        padding-top: 6rem; /* Top padding to account for fixed header (60px + 1rem) */
    }
    
    .signup-container {
        gap: 1.5rem;
        padding: 0;
        background: transparent;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }
    
    /* Mobile Profile Avatar */
    .profile-avatar {
        width: 120px;
        height: 120px;
        margin: 0 auto 1.5rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .avatar-initials {
        font-size: 2rem;
        font-weight: bold;
    }
    
    .profile-name {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 1.5rem;
        font-weight: 600;
    }
    
    .profile-avatar-section {
        margin-bottom: 2rem;
        padding: 2rem 1rem;
        text-align: center;
        background: var(--card-bg);
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* Mobile Input Groups */
    .input-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .input-label {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .name-input {
        width: 100%;
        padding: 0.75rem;
        font-size: 16px;
    }
    
    /* Mobile Color Grid */
    .color-grid {
        grid-template-columns: repeat(6, 1fr);
        max-width: 300px;
        margin: 1rem auto;
    }
    
    .color-option {
        width: 40px;
        height: 40px;
    }
    
    /* Mobile Code Redemption */
    .code-redemption-section {
        margin: 1rem 0;
        padding: 1rem;
        background: var(--card-bg);
        border-radius: 10px;
        border: 1px solid var(--card-border);
    }
    
    .code-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .code-input {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .redeem-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .admin-notice {
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }
    
    /* Mobile Save Button */
    .save-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        margin-top: 1rem;
        width: 100%;
    }
    
    /* Mobile Signup Header */
    .signup-header {
        padding: 1rem;
        background: var(--navbar-bg);
        border-bottom: 1px solid var(--card-border);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: 60px; /* Fixed height to ensure consistent spacing */
    }
    
    .signup-title {
        font-size: 1.1rem;
    }
    
    /* Mobile Theme Toggle - Hide desktop theme toggle, show mobile menu toggle (Signup Page) */
    .nav-controls .theme-toggle {
        display: none !important;
    }
    
    .nav-controls .theme-toggle img {
        display: none !important;
    }
    
    /* Mobile menu theme toggle should always be visible */
    .mobile-theme-toggle .theme-toggle {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-theme-toggle .theme-toggle img {
        display: block !important;
        width: 24px !important;
        height: 24px !important;
        filter: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    /* Signup page - Keep theme toggle visible in header */
    .signup-header .theme-toggle {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .signup-header .theme-toggle img {
        display: block !important;
        width: 24px !important;
        height: 24px !important;
        filter: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Hover effects for signup page theme toggle */
    .signup-header .theme-toggle:hover {
        background-color: rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
        transform: scale(1.05) !important;
    }
}

/* Desktop Responsive */
@media (min-width: 769px) {
    .live-chat-section {
        max-width: 100%;
        margin: 0;
        border: none;
        border-radius: 0;
        overflow: visible;
    }
    
    .chat-messages {
        min-height: 500px;
        max-height: 600px;
    }
    
    .signup-main {
        padding: 6rem 2rem 2rem 2rem; /* Top padding to account for fixed header */
    }
    
    .signup-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Desktop Profile Avatar Section */
    .profile-avatar-section {
        margin-bottom: 2rem;
        padding: 2rem;
        text-align: center;
        background: var(--card-bg);
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border: 1px solid var(--card-border);
    }
    
    .profile-avatar {
        width: 120px;
        height: 120px;
        margin: 0 auto 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .avatar-initials {
        font-size: 2.5rem;
        font-weight: bold;
    }
    
    .profile-name {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
        font-weight: 600;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .roblox-profile-section {
        margin-top: 0.5rem;
    }
    
    .profile-header {
        padding: 0 0.75rem;
    }
    
    .profile-title {
        font-size: 1.3rem;
    }
    
    .profile-subtitle {
        font-size: 0.8rem;
    }
    
    .avatar-container {
        padding: 0.75rem;
    }
    
    .avatar-image {
        width: 60px;
        height: 60px;
    }
    
    .profile-card,
    .stats-card {
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .stats-grid {
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .update-info {
        padding: 0.75rem;
    }
    
    .refresh-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* Current Game Styles */
.current-game-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.coming-soon-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    text-align: center;
    justify-content: center;
}

.coming-soon-icon {
    font-size: 3rem;
    opacity: 0.7;
}

.coming-soon-text h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.coming-soon-text p {
    color: var(--text-color-secondary);
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
}

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

.game-activity-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.game-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.game-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.game-players {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.game-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.game-status.currently-playing {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.game-status.recently-played {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.3);
}

.game-status.no-activity {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.game-status.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.refresh-game-btn {
    background: var(--glow-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.refresh-game-btn:hover {
    background: var(--glow-color-border);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.refresh-game-btn:active {
    transform: translateY(0);
}

.refresh-game-btn svg {
    transition: transform 0.3s ease;
}

.refresh-game-btn:hover svg {
    transform: rotate(180deg);
}

.current-game-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.game-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-loading {
    color: var(--text-color);
    font-size: 0.8rem;
    text-align: center;
}

.game-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.game-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.game-players {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
}

.game-status {
    font-size: 0.8rem;
    color: var(--glow-color);
    font-weight: 500;
}

/* Mobile responsive for current game */
@media (max-width: 768px) {
    .current-game-info {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .game-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .game-activity-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .game-info {
        align-items: center;
    }
    
    .game-name {
        font-size: 1rem;
    }
    
    .game-players {
        font-size: 0.85rem;
    }
}

/* Roblox Profile Page Styles - Original Desktop Design */
.roblox-profile-section {
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.profile-subtitle {
    font-size: 1.2rem;
    color: #4a90e2;
    font-weight: 500;
    transition: color 0.3s ease;
}

.profile-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.avatar-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.avatar-container {
    position: relative;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px var(--shadow);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.avatar-link:hover {
    transform: scale(1.05);
}

.avatar-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--card-border);
    transition: border-color 0.3s ease, transform 0.3s ease;
    display: none;
}

.avatar-link:hover .avatar-image {
    border-color: #4a90e2;
}

.avatar-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--card-border);
    border-top: 4px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-card,
.stats-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
    transition: color 0.3s ease;
}

.info-value {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    background: none;
    border-radius: 0;
    border: none;
    transition: none;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item:hover {
    background: none;
    border-color: none;
    transform: none;
}

.stat-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
    color: var(--text-color);
}

.stat-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.stat-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0;
}

.stat-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 1;
    transition: color 0.3s ease;
}

.stat-value {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.update-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    box-shadow: 0 3px 10px var(--shadow);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.update-info p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
    transition: color 0.3s ease;
}

.refresh-button {
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--card-border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.refresh-button:hover {
    background: var(--card-bg);
    border-color: var(--card-border);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.refresh-button:active {
    transform: translateY(0);
}

.refresh-button svg {
    width: 16px;
    height: 16px;
}

/* Debug Panel Styles */
.debug-panel {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 3px 10px var(--shadow);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.debug-panel h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.debug-panel p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.debug-toggle-container {
    text-align: center;
    margin-top: 1rem;
}

.debug-toggle-btn,
.debug-toggle {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.debug-toggle-btn:hover,
.debug-toggle:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Status Info Styles */
.status-info {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 3px 10px var(--shadow);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.status-info h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.status-info p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}



