/* Cosmic Games Design - Portable CSS */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: 
        radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%),
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    color: white;
    position: relative;
    overflow-x: hidden;
}

/* Animated Starfield */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: starsShift 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes starsShift {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

/* Comet Animation */
.comet {
    position: fixed;
    top: 20%;
    right: -100px;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #fff, rgba(255,255,255,0));
    border-radius: 50%;
    box-shadow: 0 0 20px 2px #fff;
    animation: cometFly 15s linear infinite;
    z-index: -1;
}

.comet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff);
    transform: translateY(-50%);
}

@keyframes cometFly {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateX(-100vw) translateY(100vh) rotate(45deg);
        opacity: 0;
    }
}

/* Cosmic Title */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 2rem 0 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a8a8a8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: lowercase;
    text-align: center;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* Game Buttons - 5 per row */
.button-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 15px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Glass Morphism Buttons */
button {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 18px 12px;
    font-size: 1rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

button:hover::before {
    left: 100%;
}

button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Search and Sort Container */
.search-sort-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    max-width: 600px;
    width: 90vw;
}

/* Search Bar */
#searchInput {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 18px 28px;
    font-size: 1.1rem;
    border-radius: 16px;
    width: 100%;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
    margin: 0;
}

#searchInput::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

#searchInput:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Sort Bubble */
.sort-bubble {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.2rem;
    color: white;
}

.sort-bubble:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Sort Menu */
.sort-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
}

.sort-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sort-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    margin: 5px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.sort-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sort-option.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.checkmark {
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sort-option.active .checkmark {
    opacity: 1;
}

/* Game Counter */
.game-counter {
    text-align: center;
    margin: 10px 0 20px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Container Animation */
.container {
    animation: float 6s ease-in-out infinite;
    position: relative;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .button-row {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1000px;
    }
}

@media (max-width: 900px) {
    .button-row {
        grid-template-columns: repeat(3, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .button-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 500px;
    }
    
    button {
        padding: 16px 10px;
        font-size: 0.95rem;
        min-height: 70px;
    }
    
    .search-sort-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .sort-bubble {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    #searchInput {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .button-row {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    button {
        width: 100%;
        margin: 5px 0;
    }
    
    .search-sort-container {
        width: 95vw;
    }
    
    .sort-menu {
        right: -50px;
        min-width: 140px;
    }
}

/* Search and Sort Container */
.search-sort-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    max-width: 600px;
    width: 90vw;
    position: relative;
}

/* Sort Bubble */
.sort-bubble {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.2rem;
    color: white;
}

.sort-bubble:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Sort Menu */
.sort-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
}

.sort-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sort-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    margin: 5px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.sort-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sort-option.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.checkmark {
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sort-option.active .checkmark {
    opacity: 1;
}

/* Search Bar Adjustments */
#searchInput {
    margin: 0;
    flex: 1;
}

@media (max-width: 768px) {
    .search-sort-container {
        flex-direction: row;
    }
    
    .sort-bubble {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Sort Menu - FIX for overlapping */
.sort-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000; /* THIS IS THE KEY - makes it appear above buttons */
}

.sort-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Make sure the container has proper stacking context */
.search-sort-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    max-width: 600px;
    width: 90vw;
    position: relative;
    z-index: 100; /* Add this */
}

/* Welcome Window Styles */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: backdrop-filter 0.5s ease;
}

.welcome-window {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: welcomeFadeIn 0.8s ease-out;
}

@keyframes welcomeFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.welcome-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a8a8a8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: 2px;
}

.welcome-message {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.welcome-button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: block;
    margin: 0 auto;
}

.welcome-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.welcome-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.welcome-button:hover::before {
    left: 100%;
}

.blur-background {
    filter: blur(8px);
    transition: filter 0.5s ease;
}

/* Mobile-only fixes - PC users won't see these */
@media (max-width: 768px) {
    /* Fix white screen on mobile by removing backdrop-filter */
    button, #searchInput, .sort-bubble, .sort-menu, .welcome-window, .welcome-button {
        backdrop-filter: none !important;
    }
    
    /* Provide solid fallbacks for mobile */
    button {
        background: rgba(40, 40, 60, 0.8);
    }
    
    #searchInput {
        background: rgba(40, 40, 60, 0.8);
    }
    
    .sort-bubble {
        background: rgba(40, 40, 60, 0.8);
    }
    
    .sort-menu {
        background: rgba(40, 40, 60, 0.9);
    }
    
    .welcome-window {
        background: rgba(40, 40, 60, 0.9);
    }
    
    .welcome-button {
        background: rgba(60, 60, 80, 0.8);
    }
    
    /* Better touch targets for mobile */
    button {
        -webkit-tap-highlight-color: transparent;
        min-height: 70px;
    }
    
    .sort-bubble, .sort-option {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Reduce animations for better mobile performance */
    .comet {
        animation-duration: 25s;
    }
    
    body::before {
        animation-duration: 30s;
    }
}
p {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    margin: 2rem 0 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a8a8a8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: lowercase;
    text-align: center;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* Clock Styles */
.live-clock {
    text-align: center;
    margin: 10px 0 20px;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: inline-block;
    min-width: 250px;
    animation: float 6s ease-in-out infinite;
}

.live-clock .time {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #ffffff;
}

.live-clock .date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

/* Mobile responsive for clock */
@media (max-width: 768px) {
    .live-clock {
        font-size: 1.1rem;
        min-width: 200px;
        padding: 6px 15px;
    }
    
    .live-clock .date {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .live-clock {
        font-size: 1rem;
        min-width: 180px;
        padding: 5px 12px;
    }
}

/* Container Animation */
.container {
    animation: float 6s ease-in-out infinite;
    position: relative;
    text-align: center;
}

/* Daily Saying Styles */
.daily-saying {
    text-align: center;
    margin: 20px 0 15px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: float 6s ease-in-out infinite;
}

.daily-saying h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.daily-saying p {
    margin: 0;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Mobile responsive for saying */
@media (max-width: 768px) {
    .daily-saying {
        padding: 10px 20px;
        margin: 15px 0 10px;
        max-width: 90%;
    }
    
    .daily-saying h3 {
        font-size: 1rem;
    }
    
    .daily-saying p {
        font-size: 1.1rem;
    }
}

a {
    font-size: clamp(1rem, 1.5vw, 2rem);
    margin: 2rem 0 1rem;
    background: linear-gradient(135deg, #7500fc 0%, #5c14e2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: lowercase;
    text-align: center;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* Styles Dropdown */
.styles-dropdown-container {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
}

.styles-bubble {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.2rem;
    color: white;
    padding: 8px 15px;
    gap: 10px;
    min-width: 120px;
}

.styles-bubble:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.styles-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.styles-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.styles-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
}

.styles-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.styles-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.styles-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    margin: 5px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.styles-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.styles-option.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Mobile responsive for styles dropdown */
@media (max-width: 768px) {
    .styles-dropdown-container {
        top: 10px;
        right: 10px;
    }
    
    .styles-bubble {
        padding: 6px 12px;
        min-width: 110px;
        font-size: 1.1rem;
    }
    
    .styles-icon {
        font-size: 1.1rem;
    }
    
    .styles-label {
        font-size: 0.85rem;
    }
    
    .styles-menu {
        min-width: 160px;
        right: -10px;
    }
}

/* Simple Grey and Blue Theme */
body.simple-theme {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
    color: #333;
}

body.simple-theme::before {
    background-image: none;
}

body.simple-theme h1 {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: none;
}

body.simple-theme .live-clock {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    color: #333;
}

body.simple-theme .live-clock .time {
    color: #2c3e50;
}

body.simple-theme .live-clock .date {
    color: #7f8c8d;
}

body.simple-theme .daily-saying {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
}

body.simple-theme .daily-saying h3 {
    color: #2c3e50;
}

body.simple-theme .daily-saying p {
    color: #34495e;
}

body.simple-theme button {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body.simple-theme button:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

body.simple-theme #searchInput {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

body.simple-theme #searchInput::placeholder {
    color: #6c757d;
}

body.simple-theme .sort-bubble,
body.simple-theme .styles-bubble {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

body.simple-theme .sort-menu,
body.simple-theme .styles-menu {
    background: #ffffff;
    border: 1px solid #dee2e6;
    color: #495057;
}

body.simple-theme .sort-title,
body.simple-theme .styles-title {
    color: #2c3e50;
}

body.simple-theme .sort-option,
body.simple-theme .styles-option {
    color: #495057;
}

body.simple-theme .sort-option:hover,
body.simple-theme .styles-option:hover {
    background: #f8f9fa;
    color: #212529;
}

body.simple-theme .sort-option.active,
body.simple-theme .styles-option.active {
    background: #e9ecef;
    color: #212529;
}

body.simple-theme p,
body.simple-theme a {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: none;
}

body.simple-theme .comet {
    display: none;
}