/* GoatMouth Custom Styles */

/* ========================================
   DESIGN TOKENS
   ======================================== */

:root {
    /* Z-Index Scale - Strict hierarchy */
    --z-toast: 10000;
    --z-modal: 9999;
    --z-mobile-sidebar: 2000;
    --z-mobile-overlay: 1999;
    --z-dropdown: 1000;
    --z-header-logo: 1000;
    --z-header-menu: 900;
    --z-mobile-header: 100;
    --z-mobile-category-nav: 90;
    --z-banner: 10;
    --z-content: 1;

    /* Spacing Scale */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */

    /* Layout Dimensions */
    --header-height: 108px;
    --header-clearance: 140px;
    --mobile-header-height: 56px;
    --mobile-clearance: 16px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Main content padding (clears header) */
.main-content-padding {
    padding-top: var(--header-clearance);
}

@media (max-width: 768px) {
    .main-content-padding {
        padding-top: var(--mobile-clearance) !important;
    }
}

/* Logo styling - remove black background */
.logo-no-bg {
    mix-blend-mode: lighten;
    filter: brightness(1.2);
    transition: transform 0.2s ease;
}

.logo-no-bg:hover {
    transform: scale(1.05);
}

/* Navigation links */
.nav-link {
    position: relative;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #9ca3af;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
    background-color: rgba(2, 122, 64, 0.1);
}

.nav-link-active {
    color: #027A40;
    background-color: rgba(2, 122, 64, 0.15);
}

.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, #631BDD, transparent);
    border-radius: 2px;
}

/* Category Navigation - Responsive */
.category-link {
    white-space: nowrap;
    /* Fluid font size: 0.875rem (14px) on mobile to 1rem (16px) on desktop */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 600;
    color: #9ca3af;
    /* Responsive padding */
    padding: clamp(0.375rem, 1vw, 0.5rem) clamp(0.25rem, 0.5vw, 0.5rem);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-link:hover {
    color: #027A40;
    border-bottom-color: #027A40;
}

.category-active {
    color: #027A40;
    border-bottom-color: #027A40;
    font-weight: 600;
}

/* Category link icons - also responsive */
.category-link svg {
    width: clamp(0.875rem, 1.2vw, 1rem);
    height: clamp(0.875rem, 1.2vw, 1rem);
    flex-shrink: 0;
}

/* Category separator pipes - responsive */
.category-link + span {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    flex-shrink: 0;
}

/* Smooth transitions */
* {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

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

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover effect for market cards */
.bg-gray-750 {
    background-color: #2d3748;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Toast slide-in animation */
@keyframes slide-in {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slide-in 0.3s ease-out;
    transition: all 0.3s ease-out;
}

/* Modal backdrop */
.modal-backdrop {
    backdrop-filter: blur(4px);
}

/* Price chart styles */
.price-bar {
    transition: width 0.3s ease;
}

/* Button hover effects */
button {
    transition: all 0.2s ease;
}

button:active {
    transform: scale(0.98);
}

/* Form inputs */
input {
    outline: none;
}

input:focus {
    ring: 2px;
    ring-color: #027A40;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Auth Modal Tabs */
.auth-tab {
    color: #9ca3af;
    background-color: transparent;
    border: none;
    box-sizing: border-box;
}

.auth-tab:hover {
    color: #ffffff;
    background-color: rgba(2, 122, 64, 0.1);
}

.auth-tab.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(2, 122, 64, 0.2) 0%, rgba(0, 168, 120, 0.2) 100%);
    box-shadow: 0 2px 8px rgba(2, 122, 64, 0.2);
}

/* Auth Form */
.auth-form {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.auth-form input,
.auth-form button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Auth tabs container */
.auth-tabs {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Category badges and similar small badges */
span.text-xs,
span.rounded-md,
span.rounded-full,
span.rounded {
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure inline-block spans don't overflow */
span.inline-block {
    max-width: 100%;
    box-sizing: border-box;
}

/* Font-semibold spans (category badges) */
span.font-semibold {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.badge-success {
    background-color: #10b981;
    color: white;
}

.badge-danger {
    background-color: #ef4444;
    color: white;
}

.badge-warning {
    background-color: #027A40;
    color: white;
}

.badge-info {
    background-color: #631BDD;
    color: white;
}

/* ============================================ */
/* LOADING SPINNER - Themed for GoatMouth */
/* ============================================ */

/* Spinner Container */
.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Main Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(242, 195, 0, 0.1);
    border-top: 4px solid #F2C300;
    border-right: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Small Spinner */
.spinner-sm {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(242, 195, 0, 0.1);
    border-top: 3px solid #F2C300;
    border-right: 3px solid #ffd700;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Large Spinner */
.spinner-lg {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(242, 195, 0, 0.1);
    border-top: 5px solid #F2C300;
    border-right: 5px solid #ffd700;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Spinner with Glow Effect */
.spinner-glow {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(242, 195, 0, 0.1);
    border-top: 4px solid #F2C300;
    border-right: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 0.8s linear infinite, glow 1.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(242, 195, 0, 0.4);
}

/* Spinner Text */
.spinner-text {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(242, 195, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

/* Full Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
}

/* Inline Loader */
.inline-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* ============================================ */
/* SKELETON LOADING SYSTEM - Global */
/* ============================================ */

/* Base skeleton pulse animation */
@keyframes skeleton-pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
    }
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Base skeleton element */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(31, 41, 55, 0.9) 0%,
        rgba(55, 65, 81, 0.9) 50%,
        rgba(31, 41, 55, 0.9) 100%
    );
    background-size: 1000px 100%;
    animation: skeleton-shimmer 2s infinite linear;
    border-radius: 0.375rem;
}

.skeleton-pulse {
    background: rgba(31, 41, 55, 0.9);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: 0.375rem;
}

/* Skeleton text lines */
.skeleton-text {
    height: 0.875rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
}

.skeleton-text-lg {
    height: 1.25rem;
    margin-bottom: 0.75rem;
    border-radius: 0.25rem;
}

.skeleton-text-sm {
    height: 0.75rem;
    margin-bottom: 0.375rem;
    border-radius: 0.25rem;
}

/* Skeleton heading */
.skeleton-heading {
    height: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    width: 60%;
}

/* Skeleton avatar/circle */
.skeleton-avatar {
    border-radius: 50%;
}

.skeleton-avatar-sm {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

.skeleton-avatar-md {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

.skeleton-avatar-lg {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

/* Skeleton card (for market cards) */
.skeleton-card {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(55, 65, 81, 0.5);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

/* Skeleton market card layout */
.skeleton-market-card {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(55, 65, 81, 0.5);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    min-height: 220px;
}

/* Skeleton chart */
.skeleton-chart {
    height: 300px;
    border-radius: 0.75rem;
    background: linear-gradient(
        90deg,
        rgba(31, 41, 55, 0.9) 0%,
        rgba(55, 65, 81, 0.9) 50%,
        rgba(31, 41, 55, 0.9) 100%
    );
    background-size: 1000px 100%;
    animation: skeleton-shimmer 2s infinite linear;
}

/* Skeleton button */
.skeleton-button {
    height: 2.5rem;
    width: 100%;
    border-radius: 0.5rem;
}

.skeleton-button-sm {
    height: 2rem;
    width: 100%;
    border-radius: 0.375rem;
}

/* Skeleton table row */
.skeleton-table-row {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
}

/* Skeleton badge */
.skeleton-badge {
    height: 1.5rem;
    width: 4rem;
    border-radius: 9999px;
}

/* Skeleton grid container */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

/* Skeleton list */
.skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Skeleton inline (for balance, small loaders) */
.skeleton-inline {
    display: inline-block;
    vertical-align: middle;
    width: 4rem;
    height: 1rem;
    border-radius: 0.25rem;
}

.skeleton-inline-sm {
    width: 3rem;
    height: 0.75rem;
}

.skeleton-inline-lg {
    width: 6rem;
    height: 1.25rem;
}

/* Skeleton box (generic) */
.skeleton-box {
    border-radius: 0.5rem;
}

.skeleton-box-sm {
    height: 4rem;
    border-radius: 0.5rem;
}

.skeleton-box-md {
    height: 8rem;
    border-radius: 0.5rem;
}

.skeleton-box-lg {
    height: 12rem;
    border-radius: 0.5rem;
}

/* Skeleton comment/activity item */
.skeleton-comment {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(31, 41, 55, 0.3);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Skeleton profile section */
.skeleton-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 0.75rem;
}

/* Skeleton stats grid */
.skeleton-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.skeleton-stat-card {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(55, 65, 81, 0.5);
    border-radius: 0.5rem;
    padding: 1rem;
    min-height: 80px;
}

/* Skeleton banner */
.skeleton-banner {
    height: 200px;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

/* Skeleton container (wrapper) */
.skeleton-container {
    width: 100%;
    padding: 1rem;
}

/* ============================================ */
/* COMPREHENSIVE MOBILE OPTIMIZATIONS */
/* ============================================ */

@media (max-width: 768px) {
    /* CRITICAL: Prevent horizontal overflow on ALL pages */
    html {
        overflow-x: hidden;
        max-width: 100vw;
    }

    body {
        overflow-x: hidden;
        max-width: 100vw;
        box-sizing: border-box;
    }

    * {
        box-sizing: border-box;
    }

    /* Ensure all containers stay within viewport */
    .container,
    main,
    section,
    article,
    div {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Typography - Mobile */
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 1.25rem !important;
        line-height: 1.4 !important;
    }

    p {
        font-size: 0.9375rem !important;
        line-height: 1.6 !important;
    }

    /* How It Works Page */
    .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .feature-card {
        padding: 1.5rem !important;
    }

    .feature-card img {
        width: 48px !important;
        height: 48px !important;
    }

    /* Privacy & Terms Pages */
    .prose {
        font-size: 0.9375rem !important;
    }

    .prose h2 {
        font-size: 1.5rem !important;
        margin-top: 2rem !important;
        margin-bottom: 1rem !important;
    }

    .prose h3 {
        font-size: 1.25rem !important;
        margin-top: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .prose ul, .prose ol {
        padding-left: 1.5rem !important;
    }

    /* Contact Page */
    .contact-form {
        padding: 1.5rem !important;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px !important;
        padding: 0.75rem !important;
    }

    .contact-form button {
        width: 100%;
        min-height: 44px;
    }

    /* Hero Sections */
    .hero {
        padding: 2rem 1rem !important;
        min-height: auto !important;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero p {
        font-size: 1rem !important;
    }

    /* Cards & Containers */
    .card {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .card-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Buttons */
    button, .btn {
        min-height: 44px;
        font-size: 0.9375rem !important;
        padding: 0.75rem 1.25rem !important;
    }

    /* Links - Touch Targets */
    a {
        min-height: 32px;
        display: inline-flex;
        align-items: center;
    }

    /* Images - Responsive */
    img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Videos - Responsive */
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }

    /* Pre-formatted text and code blocks */
    pre,
    code {
        max-width: 100%;
        overflow-x: auto;
        word-wrap: break-word;
    }

    /* Modals - Mobile */
    .modal {
        padding: 1rem !important;
    }

    .modal-content {
        width: 95% !important;
        max-width: 95% !important;
        margin: 0.5rem !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
    }

    /* Forms - Mobile */
    input, textarea, select {
        font-size: 16px !important;
        padding: 0.75rem !important;
        border-radius: 0.5rem !important;
    }

    label {
        font-size: 0.875rem !important;
        margin-bottom: 0.5rem !important;
    }

    /* Tables - Mobile Scroll */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    table th, table td {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.875rem !important;
    }

    /* Navigation - Static Pages */
    nav {
        flex-direction: column !important;
    }

    nav a {
        padding: 0.75rem !important;
        width: 100%;
        text-align: center;
    }

    /* Spacing - Mobile */
    .section {
        padding: 2rem 1rem !important;
    }

    .py-8 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .py-12 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Grid - Mobile */
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    /* Flex - Mobile Stack */
    .flex-row-mobile-col {
        flex-direction: column !important;
    }

    /* Hide on Mobile */
    .hide-mobile {
        display: none !important;
    }

    /* Show only on Mobile */
    .show-mobile {
        display: block !important;
    }

    /* Voting Page - Mobile */
    .proposal-card {
        padding: 1rem !important;
    }

    .vote-progress-bar {
        height: 8px !important;
    }

    .vote-stats {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    /* Auth Modal - Mobile */
    .auth-modal {
        width: calc(100vw - 2rem) !important;
        max-width: calc(100vw - 2rem) !important;
        margin: 1rem !important;
        padding: 1.5rem !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .auth-tabs {
        gap: 0.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .auth-tab {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
        box-sizing: border-box !important;
    }

    /* Auth Form - Mobile */
    .auth-form {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .auth-form input,
    .auth-form button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Auth modal container (Tailwind classes override) */
    .bg-gray-800.rounded-2xl {
        width: calc(100vw - 2rem) !important;
        max-width: calc(100vw - 2rem) !important;
        padding: 1.5rem !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Auth modal overlay */
    .fixed.inset-0.bg-black {
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    /* Loading spinner in buttons */
    .spinner-glow.inline-block {
        flex-shrink: 0 !important;
        max-width: 20px !important;
    }

    /* Ensure all w-full elements respect viewport */
    .w-full {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Ensure all flex containers don't overflow */
    .flex,
    .inline-flex {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Form elements - prevent overflow */
    input[type="email"],
    input[type="password"],
    input[type="text"],
    textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons - prevent overflow */
    button[type="submit"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    /* Password toggle button */
    .toggle-password {
        flex-shrink: 0 !important;
        position: absolute !important;
    }

    /* Relative containers for inputs with icons */
    .relative {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Error messages */
    #auth-error {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
    }

    /* Category badges - prevent overflow */
    .text-xs.px-2,
    .text-xs.rounded-md,
    .text-xs.rounded-full,
    .text-xs.rounded {
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        display: inline-block !important;
    }

    /* All spans with padding classes */
    span.px-2,
    span.py-0\.5 {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Badges - Mobile */
    .badge {
        font-size: 0.625rem !important;
        padding: 0.25rem 0.5rem !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    /* Alerts - Mobile */
    .alert {
        padding: 0.75rem !important;
        font-size: 0.875rem !important;
    }

    /* Progress Bars */
    .progress-bar {
        height: 6px !important;
    }

    /* Social Links - Mobile */
    .social-links {
        gap: 0.75rem !important;
    }

    .social-links a {
        padding: 0.5rem !important;
    }

    /* Logo - Mobile */
    .logo {
        max-width: 120px !important;
    }

    /* Prevent Horizontal Scroll */
    body {
        overflow-x: hidden;
    }

    /* Smooth Scroll */
    html {
        scroll-behavior: smooth;
    }

    /* Touch Feedback */
    button:active,
    .btn:active,
    a:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* Landscape Mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        min-height: 60vh !important;
        padding: 1.5rem 1rem !important;
    }

    .hero h1 {
        font-size: 1.75rem !important;
    }

    .modal-content {
        max-height: 85vh !important;
    }
}

/* Small Phones */
@media (max-width: 375px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.35rem !important;
    }

    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* ===================================
   RESPONSIVE ENHANCEMENTS
   ==================================== */

/* Prevent horizontal overflow on all screen sizes */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Responsive images - prevent overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive videos and iframes */
video, iframe {
    max-width: 100%;
    height: auto;
}

/* Tablet adjustments (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 768px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Desktop adjustments (1024px+) */
@media (min-width: 1024px) {
    .container {
        max-width: 1280px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Large desktop (1536px+) */
@media (min-width: 1536px) {
    .container {
        max-width: 1600px;
    }
}

/* ===================================
   CONTENT LAYOUT
   ==================================== */

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(12px, 2vw, 24px);
}

.main-column {
    min-width: 0;
    /* Ensure markets align with banner */
    padding: 0;
}

.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
}

/* Page-specific spacing (desktop only) */
@media (min-width: 769px) {
    /* All pages - identical positioning */
    body[data-page="markets"] .banner-placeholder,
    body[data-page="activity"] .banner-placeholder,
    body[data-page="leaderboard"] .banner-placeholder,
    body[data-page="voting"] .banner-placeholder,
    body[data-page="portfolio"] .banner-placeholder {
        margin-top: 0 !important;
    }

    body[data-page="markets"] .sidebar-column,
    body[data-page="activity"] .sidebar-column,
    body[data-page="leaderboard"] .sidebar-column,
    body[data-page="voting"] .sidebar-column,
    body[data-page="portfolio"] .sidebar-column {
        margin-top: 0 !important;
    }
}

/* ===================================
   GET DAILY UPDATES BOX
   ==================================== */

.updates-box {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border: 1px solid rgba(2, 122, 64, 0.2);
    border-radius: 28px;
    padding: 32px 28px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.updates-box:hover {
    border-color: rgba(2, 122, 64, 0.4);
    box-shadow: 0 6px 20px rgba(2, 122, 64, 0.15);
}

.updates-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.updates-header i {
    font-size: 28px;
    color: #027A40;
    background: rgba(2, 122, 64, 0.1);
    padding: 14px;
    border-radius: 12px;
}

.updates-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.updates-description {
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.updates-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.updates-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(55, 65, 81, 0.5);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.updates-input:focus {
    background: rgba(17, 24, 39, 1);
    border-color: #027A40;
    box-shadow: 0 0 0 3px rgba(2, 122, 64, 0.15), 0 2px 8px rgba(2, 122, 64, 0.2);
}

.updates-input::placeholder {
    color: #6b7280;
}

.updates-button {
    width: 100%;
    padding: 20px 28px;
    background: linear-gradient(135deg, #027A40 0%, #03924d 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(2, 122, 64, 0.3);
}

.updates-button:hover {
    background: linear-gradient(135deg, #03924d 0%, #04a357 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 122, 64, 0.4);
}

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

.updates-button i {
    font-size: 20px;
}

/* ===================================
   LIVE FEED BOX
   ==================================== */

.live-feed-box {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border: 1px solid rgba(2, 122, 64, 0.2);
    border-radius: 28px;
    padding: 28px;
    min-height: 500px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.live-feed-box:hover {
    border-color: rgba(2, 122, 64, 0.4);
    box-shadow: 0 6px 20px rgba(2, 122, 64, 0.15);
}

.live-feed-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(2, 122, 64, 0.2);
}

.live-feed-header i {
    font-size: 28px;
    color: #027A40;
    background: rgba(2, 122, 64, 0.1);
    padding: 14px;
    border-radius: 12px;
}

.live-feed-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.live-feed-content {
    min-height: 400px;
}

.live-feed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.live-feed-placeholder p {
    color: #D4D4D4;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.feed-subtext {
    color: #6b7280;
    font-size: 14px;
}

/* Twitter Feed Styles */
.twitter-feed-widget {
    width: 100%;
}

.twitter-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.twitter-feed-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.twitter-feed-content::-webkit-scrollbar {
    width: 6px;
}

.twitter-feed-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.twitter-feed-content::-webkit-scrollbar-thumb {
    background: rgba(2, 122, 64, 0.5);
    border-radius: 3px;
}

.twitter-feed-content::-webkit-scrollbar-thumb:hover {
    background: rgba(2, 122, 64, 0.7);
}

.twitter-feed-tweet {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.twitter-feed-tweet:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(2, 122, 64, 0.3);
}

.tweet-text {
    color: #D4D4D4;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.tweet-text a {
    color: #1DA1F2;
    text-decoration: none;
}

.tweet-text a:hover {
    text-decoration: underline;
}

.tweet-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.75rem;
}

.twitter-feed-footer {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Admin Panel Button */
.admin-panel-btn {
    background: linear-gradient(135deg, #631BDD 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    text-decoration: none;
}

.admin-panel-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 27, 221, 0.3);
}

.admin-panel-btn .fa-user-shield {
    color: #fff;
}

/* Floating Updates Button */
.floating-updates-btn {
    position: fixed;
    bottom: 80px;
    right: 24px;
    background: #027A40;
    border: 2px solid rgba(2, 122, 64, 0.3);
    border-radius: 50px;
    padding: 16px 28px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(2, 122, 64, 0.4), 0 0 0 4px rgba(2, 122, 64, 0.1);
    transition: all 0.3s ease;
    z-index: var(--z-dropdown);
}

.floating-updates-btn:hover {
    background: #03924d;
    border-color: #027A40;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(2, 122, 64, 0.5), 0 0 0 4px rgba(2, 122, 64, 0.15);
}

.floating-updates-btn i {
    font-size: 18px;
}

/* Updates Modal Overlay */
.updates-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: var(--z-modal);
}

.updates-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Updates Bottom Sheet Modal */
.updates-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-radius: 24px 24px 0 0;
    max-height: 85vh;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-modal);
    overflow: hidden;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

.updates-modal.active {
    transform: translateY(0);
}

.updates-modal-header {
    position: relative;
    padding: 16px 20px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(2, 122, 64, 0.2);
}

.updates-modal-drag-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.updates-modal-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(239, 68, 68, 0.15);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.updates-modal-close:hover {
    background: rgba(239, 68, 68, 0.25);
}

.updates-modal-close i {
    color: #ef4444;
    font-size: 16px;
}

.updates-modal-content {
    padding: 28px 24px 32px;
    overflow-y: auto;
    max-height: calc(85vh - 60px);
    display: flex;
    flex-direction: column;
}

.updates-modal-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.updates-modal-title i {
    font-size: 28px;
    color: #027A40;
    background: rgba(2, 122, 64, 0.15);
    padding: 12px;
    border-radius: 10px;
}

.updates-modal-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.updates-modal-description {
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Chart Styling */
.updates-chart {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(2, 122, 64, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
    overflow: hidden;
}

.updates-chart::-webkit-scrollbar {
    display: none;
}

.updates-chart {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.chart-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.chart-period {
    font-size: 13px;
    color: #9ca3af;
    background: rgba(2, 122, 64, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
}

.chart-visual {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chart-visual::-webkit-scrollbar {
    display: none;
}

.chart-visual {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Modal Form */
.updates-modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.updates-modal-input {
    width: 100%;
    padding: 18px 20px;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(55, 65, 81, 0.5);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.updates-modal-input:focus {
    background: rgba(17, 24, 39, 1);
    border-color: #027A40;
    box-shadow: 0 0 0 3px rgba(2, 122, 64, 0.15), 0 2px 8px rgba(2, 122, 64, 0.2);
}

.updates-modal-input::placeholder {
    color: #6b7280;
}

.updates-modal-button {
    width: 100%;
    padding: 18px 24px;
    background: #027A40;
    border: 2px solid rgba(2, 122, 64, 0.5);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(2, 122, 64, 0.3);
    letter-spacing: 0.3px;
}

.updates-modal-button:hover {
    background: #03924d;
    border-color: #027A40;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 122, 64, 0.4);
}

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

.updates-modal-button i {
    font-size: 16px;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        padding: 0 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .sidebar-column {
        position: static;
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    /* Fix mobile bottom nav overlap and remove top padding */
    main {
        padding-top: 0 !important;
        padding-bottom: 100px !important;
    }
}

/* Mobile Updates Modal Improvements */
@media (max-width: 768px) {
    /* Hide close button on mobile */
    .updates-modal-close {
        display: none;
    }

    .updates-modal-content {
        padding: 20px 16px 24px;
        max-height: none;
        overflow-y: visible;
    }

    .updates-modal-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 14px;
    }

    .updates-modal-title i {
        font-size: 24px;
        padding: 10px;
    }

    .updates-modal-title h2 {
        font-size: 18px;
        line-height: 1.3;
    }

    .updates-modal-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .updates-chart {
        padding: 14px;
        margin-bottom: 20px;
    }

    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }

    .chart-title {
        font-size: 14px;
    }

    .chart-period {
        font-size: 11px;
        padding: 3px 10px;
    }

    .chart-visual {
        min-height: 160px;
    }

    .updates-modal-input {
        padding: 14px 16px;
        font-size: 15px;
    }

    .updates-modal-button {
        padding: 14px 20px;
        font-size: 15px;
    }

    /* Hide updates and live feed boxes on mobile */
    .updates-box,
    .live-feed-box {
        display: none !important;
    }

    /* Mobile Live Feed in Sidebar */
    .mobile-live-feed {
        margin-top: 16px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-live-feed-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
        color: #027A40;
        font-size: 15px;
    }

    .mobile-live-feed-header i {
        font-size: 18px;
    }

    .mobile-live-feed-content {
        padding: 12px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        border: 1px dashed rgba(255, 255, 255, 0.1);
    }

    .mobile-live-feed-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 12px;
    }

    .mobile-live-feed-placeholder i {
        font-size: 28px;
        color: #1DA1F2;
        margin-bottom: 10px;
    }

    .mobile-live-feed-placeholder p {
        color: #d1d5db;
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 4px;
    }

    .mobile-live-feed-placeholder span {
        color: #9ca3af;
        font-size: 11px;
        line-height: 1.4;
    }
}

@media (max-width: 640px) {
    .sidebar-column {
        grid-template-columns: 1fr;
    }

    .floating-updates-btn {
        display: flex;
        bottom: 70px;
        right: 16px;
        padding: 12px 20px;
        font-size: 13px;
        border-width: 2px;
    }

    .floating-updates-btn i {
        font-size: 16px;
    }

    /* Hide close button on mobile */
    .updates-modal-close {
        display: none;
    }

    .updates-modal {
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
    }

    .updates-modal-content {
        padding: 20px 16px 24px;
        max-height: none;
        overflow-y: visible;
    }

    .updates-modal-title {
        gap: 12px;
        margin-bottom: 16px;
    }

    .updates-modal-title i {
        font-size: 24px;
        padding: 10px;
    }

    .updates-modal-title h2 {
        font-size: 18px;
    }

    .updates-modal-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .updates-chart {
        padding: 16px;
        margin-bottom: 24px;
    }

    .chart-title {
        font-size: 14px;
    }

    .chart-period {
        font-size: 12px;
        padding: 3px 10px;
    }

    .updates-modal-input {
        padding: 16px 18px;
        font-size: 15px;
    }

    .updates-modal-button {
        padding: 16px 20px;
        font-size: 15px;
        border-radius: 8px;
    }

    .updates-modal-button i {
        font-size: 15px;
    }
}

/* ===================================
   BANNER PLACEHOLDER
   ==================================== */

.banner-placeholder {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    margin-top: 20px;
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 20px 0px;
    min-height: 120px;
    max-height: 140px;
    overflow: hidden;
    position: relative;
    z-index: var(--z-banner);
    box-sizing: border-box;
}

.banner-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 30;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    opacity: 0.8;
}

.banner-close-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.banner-close-btn i {
    font-size: 14px;
}

/* Generic hidden utility */
.hidden {
    display: none !important;
}

/* Force hidden - cannot be overridden */
.force-hidden {
    display: none !important;
    visibility: hidden !important;
}

/* Banner hidden state */
.banner-placeholder.hidden {
    display: none;
    margin-bottom: 0;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
}

/* Reopen Banner Button */
.banner-reopen-container {
    margin-bottom: 16px;
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
    transition: all 0.3s ease;
}

.banner-reopen-container.hidden {
    display: none;
}

.banner-reopen-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(2, 122, 64, 0.15);
    border: 1.5px solid rgba(2, 122, 64, 0.3);
    border-radius: 8px;
    color: #027A40;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.9;
    font-size: 14px;
    font-weight: 500;
}

.banner-reopen-btn:hover {
    background: rgba(2, 122, 64, 0.25);
    border-color: #027A40;
    color: #00CB97;
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(2, 122, 64, 0.2);
}

.banner-reopen-btn i {
    font-size: 16px;
}

.reopen-text {
    display: inline;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .banner-reopen-btn {
        width: 32px;
        height: 32px;
        padding: 0;
        gap: 0;
    }

    .banner-reopen-btn i {
        font-size: 14px;
    }

    .reopen-text {
        display: none;
    }
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    overflow: hidden;
    min-height: 80px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.banner-carousel,
.banner-slides {
    width: 100%;
    display: block;
}

.banner-text-panel {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 100%);
    border-radius: 12px;
    padding: 12px 16px;
    backdrop-filter: blur(6px);
}

.banner-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.banner-skeleton {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    padding: 6px 4px;
}

.banner-skeleton-media {
    width: 180px;
    height: 96px;
    border-radius: 12px;
    flex-shrink: 0;
}

.banner-skeleton-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.banner-skeleton-line {
    height: 14px;
    border-radius: 8px;
}

.banner-skeleton-line.title {
    width: 70%;
}

.banner-skeleton-line.subtitle {
    width: 55%;
}

.banner-skeleton-line.meta {
    width: 40%;
}

.spinner-ring {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(2, 122, 64, 0.2);
    border-top-color: #027A40;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.banner-icon {
    font-size: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 40px;
    max-height: 40px;
}

.banner-text {
    color: #D4D4D4;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.banner-image {
    width: auto;
    height: auto;
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 10px;
    margin: 0 auto 24px;
    display: block;
}

.banner-placeholder img {
    width: auto;
    height: auto;
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .banner-image {
        max-height: 80px;
        margin: 0 auto 16px;
    }

    .banner-placeholder img {
        max-height: 70px;
        object-fit: contain;
        margin: 0 auto;
    }

    .banner-placeholder {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 8px 0 !important;
        margin-bottom: 12px;
        margin-top: 0 !important;
        min-height: 80px;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

@media (max-width: 768px) {
    .banner-skeleton {
        gap: 12px;
        padding: 4px 2px;
    }

    .banner-skeleton-media {
        width: 120px;
        height: 68px;
        border-radius: 10px;
    }

    .banner-skeleton-line {
        height: 12px;
    }
}
}

/* Remove gap between nav and first content - MOBILE ONLY */
@media (max-width: 768px) {
    #category-nav {
        margin-top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    #app {
        margin-top: 0 !important;
        padding-top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .banner-content {
        gap: 12px;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .banner-spinner {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    #banner-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .main-column {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    .banner-icon {
        font-size: 20px;
    }

    .banner-text {
        font-size: 12px;
        line-height: 1.4;
    }

    .banner-icon {
        font-size: 24px;
    }

    /* Mobile banner close button positioning */
    .banner-close-btn {
        top: 6px;
        right: 6px;
        width: 26px;
        height: 26px;
        background: rgba(0, 0, 0, 0.3);
        border: none;
        color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(4px);
        display: flex !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
        opacity: 0.8;
    }

    .banner-close-btn i {
        font-size: 12px;
    }

    .banner-close-btn:hover,
    .banner-close-btn:active {
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        transform: scale(1.05);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        opacity: 1;
    }
}

/* ===================================
   HEADER AND NAVIGATION STYLES
   ==================================== */

/* Logo Header */
.logo-header {
    height: 60px;
    background: #111827;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: var(--z-header-logo);
    overflow: visible;
    box-sizing: border-box;
}

.logo-header * {
    box-sizing: border-box;
}

.logo-header > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 1;
    min-width: 0;
    transform-origin: left center;
}

.logo-container:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(242, 195, 0, 0.4));
}

.logo-container .main-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #F2C300;
    line-height: 1;
    transition: all 0.3s ease;
}

.logo-text .goat {
    color: #F2C300;
}

.logo-text .mouth {
    color: #F2C300;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    flex-shrink: 0;
    overflow: visible;
    box-sizing: border-box;
    position: relative;
    z-index: var(--z-dropdown);
}

/* Prevent flash of auth elements before JS loads */
.user-info > *:not(.auth-loading) {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.user-info.auth-ready > *:not(.auth-loading) {
    opacity: 1;
}

/* Auth Loading Spinner */
.auth-loading {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    opacity: 1 !important;
}

.auth-loading[style*="display: none"] {
    display: none !important;
}

.auth-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(2, 122, 64, 0.2);
    border-top-color: #027A40;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

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

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

.auth-buttons:not([style*="display: none"]) {
    display: flex;
}

.auth-btn {
    padding: 6px 20px;
    height: 32px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.login-btn {
    background: transparent;
    color: #027A40;
    border: 1px solid rgba(2, 122, 64, 0.5);
}

/* Notifications */
.notifications-container {
    position: relative;
    padding-right: 8px;
    z-index: var(--z-dropdown);
    display: none;
}

.notifications-container:not([style*="display: none"]) {
    display: block;
}

.notification-bell-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #9ca3af;
}

.notification-bell-btn:hover {
    background: rgba(45, 122, 74, 0.15);
    color: #2d7a4a;
}

.notification-bell-btn.has-unread {
    color: #2d7a4a;
    animation: bell-ring 2s ease-in-out infinite;
}

@keyframes bell-ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: white;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1a1a;
}

.notifications-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: -8px;
    width: 420px;
    max-height: 600px;
    background: #1f2937;
    border: 2px solid #374151;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-dropdown);
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.notifications-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #374151;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 12px 12px 0 0;
}

.notifications-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.mark-all-read-btn {
    font-size: 13px;
    font-weight: 500;
    color: #00CB97;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.mark-all-read-btn:hover {
    background: rgba(0, 203, 151, 0.1);
}

.notifications-list {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

.notifications-list::-webkit-scrollbar {
    width: 6px;
}

.notifications-list::-webkit-scrollbar-track {
    background: #1f2937;
}

.notifications-list::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

.notifications-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    color: #6b7280;
}

.notifications-empty svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.notifications-empty p {
    font-size: 14px;
    margin: 0;
}

.notification-item {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #374151;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
}

.notification-item:hover {
    background: #374151;
}

.notification-item.unread {
    background: rgba(0, 203, 151, 0.05);
}

.notification-item.unread:hover {
    background: rgba(0, 203, 151, 0.1);
}

.notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.notification-icon.info {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.notification-icon.success {
    background: rgba(0, 203, 151, 0.2);
    color: #00CB97;
}

.notification-icon.warning {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

.notification-icon.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-unread-dot {
    width: 9px;
    height: 9px;
    background: #00CB97;
    border-radius: 50%;
    flex-shrink: 0;
}

.notification-message {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 8px;
    line-height: 1.5;
}

.notification-time {
    font-size: 12px;
    color: #6b7280;
}

.notification-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.notification-action-btn {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.notification-action-btn.primary {
    background: #00CB97;
    color: white;
}

.notification-action-btn.primary:hover {
    background: #00e5af;
}

.notification-action-btn.secondary {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #374151;
}

.notification-action-btn.secondary:hover {
    background: #374151;
    color: white;
}

.notifications-footer {
    padding: 12px 16px;
    border-top: 1px solid #374151;
    text-align: center;
    background: #1f2937;
    border-radius: 0 0 12px 12px;
}

.notifications-footer a {
    font-size: 13px;
    font-weight: 500;
    color: #00CB97;
    text-decoration: none;
    transition: all 0.2s;
}

.notifications-footer a:hover {
    color: #00e5af;
}

/* Profile Dropdown */
/* Balance Counter */
.balance-counter {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 4px 8px;
    margin-right: 6px;
    min-width: 70px;
}

.balance-counter:not([style*="display: none"]) {
    display: flex;
}

.balance-label {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-amount {
    font-size: 14px;
    font-weight: 700;
    color: #2d7a4a;
    line-height: 1.2;
    letter-spacing: 0.3px;
    position: relative;
    min-height: 17px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Balance spinner */
.balance-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    animation: spin 1s linear infinite;
}

.balance-spinner.hidden {
    display: none;
}

.spinner-icon {
    width: 100%;
    height: 100%;
    color: #2d7a4a;
}

.spinner-circle {
    stroke-dasharray: 50;
    stroke-dashoffset: 0;
    transform-origin: center;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Deposit Button */
.deposit-btn {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    margin-right: 6px;
    background: #1a4d2e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    border: 1px solid rgba(45, 122, 74, 0.6);
    cursor: pointer;
    text-transform: uppercase;
}

.deposit-btn:not([style*="display: none"]) {
    display: flex;
}

.deposit-btn:hover {
    background: #27653f;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 77, 46, 0.5);
    border-color: #2d7a4a;
}

/* Header separator */
.header-separator {
    width: 1px;
    height: 32px;
    background: rgba(55, 65, 81, 0.5);
    margin: 0 12px;
}

.user-profile-dropdown {
    position: relative;
    padding-right: 16px;
    z-index: var(--z-dropdown);
    display: none;
}

.user-profile-dropdown:not([style*="display: none"]) {
    display: block;
}

.profile-avatar-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(0, 203, 151, 0.3);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    overflow: visible;
}

.profile-avatar-btn:hover {
    border-color: #00CB97;
    background: rgba(0, 203, 151, 0.05);
}

.avatar-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.online-indicator {
    position: absolute;
    bottom: 0px;
    right: 0px;
    left: auto;
    width: 10px;
    height: 10px;
    background: #00CB97;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    z-index: var(--z-content);
}

.dropdown-chevron {
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.2s;
    margin: 0;
    pointer-events: none;
}

.profile-avatar-btn:hover .dropdown-chevron {
    color: #00CB97;
}

.profile-avatar-btn.active .dropdown-chevron {
    transform: translateY(-50%) rotate(180deg);
    color: #00CB97;
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: -16px;
    width: 280px;
    background: #1f2937;
    border: 2px solid #374151;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: var(--z-dropdown);
    overflow: visible;
}

.profile-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.dropdown-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(0, 203, 151, 0.3);
    object-fit: cover;
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.dropdown-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-role {
    font-size: 12px;
    font-weight: 500;
    color: #00CB97;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-divider {
    height: 1px;
    background: #374151;
    margin: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #374151;
    color: white;
}

.dropdown-item i {
    width: 20px;
    font-size: 18px;
    color: #9ca3af;
}

.dropdown-item:hover i {
    color: #00CB97;
}

.dropdown-item span {
    font-size: 15px;
    font-weight: 500;
}

.dropdown-item-danger {
    color: #ef4444;
}

.dropdown-item-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dropdown-item-danger i {
    color: #ef4444;
}

.dropdown-item-danger:hover i {
    color: #ef4444;
}

.login-btn:hover {
    background: rgba(2, 122, 64, 0.1);
    border-color: #027A40;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(2, 122, 64, 0.2);
}

.signup-btn {
    background: #027A40;
    color: #ffffff;
    border: 1px solid #027A40;
}

.signup-btn:hover {
    background: #03924d;
    border-color: #03924d;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(2, 122, 64, 0.3);
}

.user-badge {
    background: #1f2937;
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-badge {
    background: #027A40;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn {
    background: transparent;
    color: #D4D4D4;
    border: 1px solid #374151;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn:hover {
    background: #1f2937;
    border-color: #027A40;
}

.btn.secondary {
    background: #1f2937;
}

.btn.secondary:hover {
    background: #374151;
}

/* Hamburger Menu */
.hamburger {
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.hamburger:hover {
    background: #1f2937;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #027A40;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #111827;
    z-index: var(--z-mobile-sidebar);
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.mobile-sidebar::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.mobile-sidebar.active {
    left: 0 !important;
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 3px solid #027A40;
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
    box-shadow: 0 2px 8px rgba(2, 122, 64, 0.2);
}

.mobile-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #027A40;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.mobile-sidebar-header h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #027A40;
    border-radius: 2px;
}

.close-sidebar {
    background: rgba(2, 122, 64, 0.1);
    border: 1px solid rgba(2, 122, 64, 0.3);
    color: #027A40;
    font-size: 22px;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 6px;
    width: 36px;
    height: 36px;
}

.close-sidebar:hover {
    color: #fff;
    background: #027A40;
    border-color: #027A40;
    transform: scale(1.05);
}

.mobile-sidebar-content {
    padding: 12px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.mobile-sidebar-content::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.sidebar-category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: #1f2937;
    border-radius: 8px;
    color: #D4D4D4;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 4px solid transparent;
    border: 1px solid transparent;
}

.sidebar-category-link:hover {
    background: #374151;
    border-left: 4px solid #027A40;
    border-color: rgba(2, 122, 64, 0.3);
    color: #fff;
    transform: translateX(4px);
}

.sidebar-category-link.active {
    background: rgba(2, 122, 64, 0.2);
    border-left: 4px solid #027A40;
    border-color: rgba(2, 122, 64, 0.4);
    color: #027A40;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(2, 122, 64, 0.2);
}

.sidebar-category-link i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: #027A40;
    transition: all 0.2s;
}

.sidebar-category-link:hover i {
    color: #03924d;
    transform: scale(1.1);
}

.sidebar-category-link.active i {
    color: #027A40;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: var(--z-mobile-overlay);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Menu bar - Unified navigation */
.menubar {
    background: #111827;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #1f2937;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(8px, 2vw, 20px);
    padding: 0 clamp(8px, 2vw, 20px);
    height: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: var(--z-header-menu);
    overflow: visible;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 8px);
    flex-shrink: 1;
    white-space: nowrap;
    min-width: 0;
}

.category-section {
    display: flex;
    align-items: center;
    gap: clamp(3px, 0.8vw, 6px);
    flex-shrink: 1;
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
}

.category-divider {
    color: #374151;
    font-size: clamp(18px, 2vw, 24px);
    margin: 0 clamp(6px, 1vw, 12px);
    flex-shrink: 0;
}

.nav-btn {
    background: transparent;
    color: #D4D4D4;
    border: none;
    padding: clamp(6px, 1.2vh, 10px) clamp(10px, 1.5vw, 20px);
    border-radius: 6px;
    cursor: pointer;
    font-size: clamp(11px, 1.3vw, 14px);
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 0.8vw, 8px);
    flex-shrink: 1;
    min-width: 0;
}

.nav-btn i {
    font-size: clamp(12px, 1.3vw, 15px);
    flex-shrink: 0;
}

.nav-btn:hover {
    background: #1f2937;
    color: #fff;
}

.nav-btn.active {
    background: transparent;
    color: #027A40;
    box-shadow: none;
}

/* Category chips in nav bar */
.category-chip {
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, 0.8vw, 8px);
    padding: clamp(6px, 1.2vh, 10px) clamp(10px, 1.5vw, 20px);
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #9ca3af;
    text-decoration: none;
    font-size: clamp(11px, 1.3vw, 14px);
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.category-chip i {
    font-size: clamp(12px, 1.3vw, 15px);
    flex-shrink: 0;
}

.category-chip:hover {
    background: #1f2937;
    color: #fff;
}

.category-chip.active {
    background: rgba(2, 122, 64, 0.15);
    color: #027A40;
}

/* Search Bar in Header */
.header-search-container {
    position: relative;
    margin-left: 20px;
    width: 100%;
    max-width: 500px;
    flex-shrink: 1;
    min-width: 150px;
    box-sizing: border-box;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #027A40;
    font-size: 14px;
    pointer-events: none;
    z-index: var(--z-content);
    transition: all 0.3s ease;
}

.search-input {
    width: 100%;
    height: 38px;
    padding: 0 14px 0 40px;
    background: #1f2937;
    border: 2px solid #374151;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    outline: none;
}

.search-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.search-input:hover {
    border-color: #4b5563;
    background: #252f3f;
}

.search-input:focus {
    border-color: #027A40;
    background: #1f2937;
    box-shadow: 0 0 0 3px rgba(2, 122, 64, 0.1);
}

.search-input:focus ~ .search-icon {
    color: #027A40;
    transform: translateY(-50%) scale(1.1);
}

/* Hide categories on mobile */
.desktop-only {
    display: flex;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Add top padding to body to prevent content from being hidden by fixed navigation */
    body {
        padding-top: 56px !important;
    }

    .logo-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 0 8px !important;
        height: 56px !important;
        z-index: var(--z-mobile-header);
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .logo-header > div:first-child {
        display: flex;
        align-items: center;
        gap: 4px;
        justify-content: flex-start;
        flex-shrink: 0;
        max-width: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .user-info {
        display: flex !important;
        align-items: center;
        gap: 6px;
        justify-content: flex-end;
        margin-left: auto !important;
        flex-shrink: 0;
        padding-right: 4px;
        max-width: 50% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .user-info .user-badge {
        display: none !important;
    }

    .user-info .btn {
        /* Let JavaScript control display, only style visible buttons */
        padding: 0 !important;
        min-width: 36px;
        min-height: 36px;
        width: 36px;
        height: 36px;
        font-size: 16px;
        flex-shrink: 0;
    }

    /* Only apply flex layout to buttons that are visible */
    .user-info .btn:not([style*="display: none"]) {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .user-info .btn .btn-text {
        display: none !important;
    }

    .header-search-container {
        display: none !important;
    }

    /* Only style auth-buttons when visible */
    .auth-buttons:not([style*="display: none"]) {
        gap: 6px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        margin-left: auto;
        padding-right: 0px;
        max-width: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .auth-btn {
        padding: 7px 12px;
        height: 34px;
        font-size: 11px;
        min-width: 60px;
        white-space: nowrap;
        border-radius: 5px;
        font-weight: 600;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.2px;
    }

    .login-btn {
        padding: 7px 10px;
        border-width: 1.5px;
        min-width: 55px;
    }

    .signup-btn {
        padding: 7px 14px;
        min-width: 65px;
    }

    .user-info .btn i {
        margin: 0 !important;
        font-size: 18px;
    }

    /* Hide logout text on mobile */
    .logout-text {
        display: none !important;
    }

    /* Auth loading spinner - mobile */
    .auth-loading {
        padding: 0 4px !important;
        max-width: 40px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }

    .auth-spinner {
        width: 18px !important;
        height: 18px !important;
        border-width: 2px !important;
        flex-shrink: 0 !important;
    }

    .logo-container {
        gap: 3px;
        margin-bottom: 0 !important;
        flex-shrink: 0;
        max-width: none !important;
    }

    .logo-container:hover {
        transform: scale(1.03);
    }

    .logo-container .main-logo {
        height: 32px;
        width: auto;
        flex-shrink: 0;
    }

    .logo-text {
        font-size: 18px !important;
        letter-spacing: -0.8px !important;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .hamburger {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .menubar {
        position: sticky;
        top: 56px;
        left: 0;
        right: 0;
        height: auto !important;
        z-index: var(--z-mobile-category-nav);
        border-bottom: 2px solid #1f2937;
        padding: 10px 8px;
        justify-content: center !important;
        gap: 0 !important;
    }

    .nav-section {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
        width: 100%;
    }

    .nav-btn {
        font-size: 14px !important;
        padding: 14px 12px !important;
        height: auto !important;
        min-height: 48px !important;
        white-space: nowrap;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px !important;
        background: #1f2937 !important;
        transform: none !important;
    }

    .nav-btn i {
        font-size: 15px !important;
    }

    .nav-btn:hover {
        background: #1f2937 !important;
        color: #fff !important;
    }

    .nav-btn.active {
        background: transparent !important;
        color: #027A40;
        box-shadow: none !important;
        border: 2px solid #027A40 !important;
    }

    /* Adjust main content padding for fixed menubar */
    main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 20px !important;
        letter-spacing: -0.7px !important;
    }
}

/* ===================================
   TOAST NOTIFICATION SYSTEM
   ==================================== */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(400px);
    opacity: 0;
}

.toast-enter {
    transform: translateX(400px);
    opacity: 0;
}

.toast-show {
    transform: translateX(0);
    opacity: 1;
}

.toast-exit {
    transform: translateX(400px);
    opacity: 0;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #ffffff;
}

.toast-close {
    background: none;
    border: none;
    color: currentColor;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Toast Types */
.toast-success {
    background: linear-gradient(135deg, rgba(2, 122, 64, 0.95) 0%, rgba(2, 122, 64, 0.95) 100%);
    border-color: #027A40;
    color: #ffffff;
}

.toast-error {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95) 0%, rgba(239, 68, 68, 0.95) 100%);
    border-color: #ef4444;
    color: #ffffff;
}

.toast-warning {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.95) 0%, rgba(251, 191, 36, 0.95) 100%);
    border-color: #fbbf24;
    color: #111827;
}

.toast-warning .toast-message {
    color: #111827;
}

.toast-info {
    background: linear-gradient(135deg, rgba(99, 27, 221, 0.95) 0%, rgba(124, 58, 237, 0.95) 100%);
    border-color: #7c3aed;
    color: #ffffff;
}

/* Toast Modal (Confirm/Prompt) */
.toast-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.toast-modal {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 2px solid rgba(2, 122, 64, 0.3);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 480px;
    width: 100%;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
    opacity: 0;
}

.toast-modal.toast-show {
    transform: scale(1);
    opacity: 1;
}

.toast-modal.toast-exit {
    transform: scale(0.9);
    opacity: 0;
}

.toast-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.toast-modal-icon {
    width: 32px;
    height: 32px;
    color: #027A40;
}

.toast-modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.toast-modal-message {
    font-size: 15px;
    line-height: 1.6;
    color: #d1d5db;
    margin-bottom: 20px;
}

.toast-modal-input {
    width: 100%;
    padding: 12px 16px;
    background: #374151;
    border: 2px solid #4b5563;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 20px;
    transition: all 0.2s;
}

.toast-modal-input:focus {
    outline: none;
    border-color: #027A40;
    box-shadow: 0 0 0 3px rgba(2, 122, 64, 0.1);
}

.toast-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.toast-modal-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.toast-modal-btn-cancel {
    background: #374151;
    color: #d1d5db;
}

.toast-modal-btn-cancel:hover {
    background: #4b5563;
    color: #ffffff;
}

.toast-modal-btn-confirm {
    background: linear-gradient(135deg, #027A40 0%, #027A40 100%);
    color: #ffffff;
}

.toast-modal-btn-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 122, 64, 0.3);
}

/* Earn section */
.earn-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 12px 0 32px;
}

.earn-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
    background: linear-gradient(135deg, rgba(0, 203, 151, 0.08) 0%, rgba(99, 27, 221, 0.06) 100%);
    border: 1px solid rgba(55, 65, 81, 0.6);
    border-radius: 16px;
    padding: 24px;
}

.earn-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.earn-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #00CB97;
}

.earn-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}

.earn-description {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.6;
}

.earn-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.earn-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #00CB97 0%, #027A40 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.earn-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 203, 151, 0.25);
}

.earn-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    color: #F2C300;
    font-weight: 600;
    background: rgba(242, 195, 0, 0.12);
    border: 1px solid rgba(242, 195, 0, 0.3);
}

.earn-hero-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(55, 65, 81, 0.6);
    background: rgba(17, 24, 39, 0.9);
}

.earn-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.earn-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    font-weight: 700;
}

.earn-stat-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.earn-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.earn-feature {
    border-radius: 14px;
    border: 1px solid rgba(55, 65, 81, 0.6);
    background: rgba(31, 41, 55, 0.7);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.earn-feature:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 203, 151, 0.4);
}

.earn-feature-icon {
    font-size: 1.4rem;
    color: #00CB97;
}

.earn-feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.earn-feature-desc {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .earn-hero {
        grid-template-columns: 1fr;
    }

    .earn-features {
        grid-template-columns: 1fr;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .toast-container {
        top: auto;
        bottom: 80px;
        right: 16px;
        left: 16px;
    }

    .toast {
        min-width: unset;
        width: 100%;
        transform: translateY(200px);
    }

    .toast-enter {
        transform: translateY(200px);
    }

    .toast-show {
        transform: translateY(0);
    }

    .toast-exit {
        transform: translateY(200px);
    }

    .toast-modal {
        margin: 16px;
    }

    .toast-modal-actions {
        flex-direction: column-reverse;
    }

    .toast-modal-btn {
        width: 100%;
    }
}

/* Voting - Compact Cards & Mobile Horizontal Scroll */
.proposals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.proposal-card-compact {
    transform: scale(0.9);
    transform-origin: center;
}

@media (max-width: 768px) {
    .proposals-grid {
        display: flex;
        overflow-x: auto;
        gap: 0.75rem;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .proposals-grid::-webkit-scrollbar {
        height: 6px;
    }

    .proposals-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 3px;
    }

    .proposals-grid::-webkit-scrollbar-thumb {
        background: rgba(2, 122, 64, 0.3);
        border-radius: 3px;
    }

    .proposals-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(2, 122, 64, 0.5);
    }

    .proposal-card-compact {
        min-width: 85vw;
        max-width: 85vw;
        flex-shrink: 0;
        scroll-snap-align: center;
        transform: scale(0.95);
    }
}

/* Voting Stats - Smaller & 2x2 Grid on Mobile */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stats-grid .stat-card {
    transform: scale(0.85);
    transform-origin: center;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .stats-grid .stat-card {
        transform: scale(0.9);
        min-width: auto;
    }

    .stat-icon {
        font-size: 1.5rem !important;
    }

    .stat-value {
        font-size: 1.25rem !important;
    }

    .stat-label {
        font-size: 0.7rem !important;
    }
}

/* ====================================
   BETTING INTERFACE - Market Page
   ==================================== */

/* Bet Tabs */
.bet-tab {
    flex: 1;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.9375rem;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bet-tab:hover {
    color: #fff;
}

/* YES tab - Green */
.bet-tab[data-outcome="yes"].active {
    color: #00CB97;
    border-bottom-color: #00CB97;
    background: rgba(0, 203, 151, 0.1);
}

.bet-tab[data-outcome="yes"]:hover {
    color: #00CB97;
    background: rgba(0, 203, 151, 0.05);
}

/* NO tab - Red */
.bet-tab[data-outcome="no"].active {
    color: #ef4444;
    border-bottom-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.bet-tab[data-outcome="no"]:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

/* Quick Bet Buttons */
.quick-bet-btn {
    transition: all 0.2s ease;
}

.quick-bet-btn:hover {
    transform: translateY(-1px);
}

/* Dynamic colors based on outcome */
.outcome-yes .quick-bet-btn:hover {
    border-color: #00CB97 !important;
    background: rgba(0, 203, 151, 0.1);
}

.outcome-no .quick-bet-btn:hover {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1);
}

/* Bet Summary */
.bet-summary-yes {
    background: rgba(0, 203, 151, 0.1) !important;
    border: 1px solid rgba(0, 203, 151, 0.3) !important;
}

.bet-summary-no {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.bet-summary-yes .border-green-700 {
    border-color: rgba(0, 203, 151, 0.3) !important;
}

.bet-summary-no .border-green-700 {
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.bet-summary-yes #summary-profit {
    color: #00CB97 !important;
}

.bet-summary-no #summary-profit {
    color: #ef4444 !important;
}

/* Place Bet Button */
.place-bet-yes {
    background: #00CB97 !important;
}

.place-bet-yes:hover:not(:disabled) {
    background: #00b386 !important;
}

.place-bet-no {
    background: #ef4444 !important;
}

.place-bet-no:hover:not(:disabled) {
    background: #dc2626 !important;
}
