/* Bold Modern Reset and Base Styles */
.patreon-suggestions-layout * {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #e2e8f0;
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.patreon-suggestions-layout {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 40px auto 0 auto;
    align-items: flex-start;
    justify-content: center;
    padding: 0 24px;
}
.patreon-suggestion-form-card {
    background: linear-gradient(145deg, #1e1e3f 0%, #2a2a4a 100%);
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    padding: 36px;
    min-width: 360px;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.patreon-suggestion-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    border-radius: 24px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.patreon-suggestion-form-card:hover {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2);
}
.patreon-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    text-align: center;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
    position: relative;
}

.patreon-form-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}
#patreon-suggestion-form label {
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #a0a9c0;
    font-weight: 700;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

#patreon-suggestion-form label::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.4);
}
#patreon-suggestion-form input[type="text"],
#patreon-suggestion-form input[type="number"],
#patreon-suggestion-form select,
#patreon-suggestion-form textarea {
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: 16px;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%);
    color: #e2e8f0;
    outline: none;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

#patreon-suggestion-form input[type="text"]::placeholder,
#patreon-suggestion-form input[type="number"]::placeholder,
#patreon-suggestion-form textarea::placeholder {
    color: #6b7280;
    opacity: 0.8;
}
#patreon-suggestion-form input[type="text"]:focus,
#patreon-suggestion-form input[type="number"]:focus,
#patreon-suggestion-form select:focus,
#patreon-suggestion-form textarea:focus {
    border: 2px solid transparent;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%) padding-box,
                linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1) border-box;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 107, 107, 0.3),
        0 0 40px rgba(78, 205, 196, 0.2);
    transform: translateY(-2px);
}
#patreon-suggestion-form textarea {
    min-height: 120px;
    max-height: 240px;
    resize: vertical;
    line-height: 1.6;
}
.patreon-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    gap: 20px;
}
.patreon-remaining {
    color: #a0a9c0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.patreon-submit-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #2c3e50 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 12px 24px rgba(102, 126, 234, 0.3),
        0 6px 12px rgba(0, 0, 0, 0.2);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.patreon-submit-btn::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.5s;
}

.patreon-submit-btn:hover::before {
    left: 100%;
}
.patreon-submit-btn:hover {
    box-shadow: 
        0 16px 32px rgba(102, 126, 234, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 50%, #1a202c 100%);
}
#patreon-suggestion-message {
    margin-top: 40px !important;
    font-weight: 700;
    color: #4ecdc4;
    display: block;
    padding: 16px 20px;
    background: linear-gradient(145deg, #1a3a3a 0%, #0f2a2a 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 16px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(78, 205, 196, 0.2);
}

#patreon-suggestion-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    border-radius: 16px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.patreon-suggestions-main {
    flex: 1 1 0;
    min-width: 400px;
    max-width: 900px;
    width: 100%;
}
/* Bold Announcement Banner */
.patreon-announcement-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #2c3e50 100%);
    color: #ffffff;
    padding: 20px 24px;
    border-radius: 20px;
    margin: 0 0 32px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 
        0 12px 24px rgba(102, 126, 234, 0.3),
        0 6px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Genre Restriction Banner */
.patreon-genre-restriction-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #c44569 100%);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 16px;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 
        0 8px 16px rgba(255, 107, 107, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* Restriction Validation Error */
.patreon-restriction-error {
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 50%, #ff2f2f 100%);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    margin: 8px 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 
        0 6px 12px rgba(255, 71, 87, 0.3),
        0 3px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    animation: patreon-restriction-error-slide 0.3s ease-out;
}

.patreon-restriction-error::before {
    content: "⚠️";
    font-size: 16px;
    flex-shrink: 0;
}

@keyframes patreon-restriction-error-slide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.patreon-genre-restriction-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24, #c44569);
    border-radius: 16px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.patreon-genre-restriction-icon {
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.patreon-genre-restriction-text {
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.4),
        -1px -1px 0 rgba(0, 0, 0, 0.4),
        1px -1px 0 rgba(0, 0, 0, 0.4),
        -1px 1px 0 rgba(0, 0, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.patreon-announcement-banner::before {
    content: "";
    position: absolute;
    left: -120px;
    top: 0;
    height: 100%;
    width: 120px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    animation: patreon-announce-shine 4.2s ease-in-out infinite;
}

.patreon-announcement-icon {
    color: #ffffff;
    font-size: 24px;
    flex-shrink: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}
.patreon-announcement-text {
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.4),
        -1px -1px 0 rgba(0, 0, 0, 0.4),
        1px -1px 0 rgba(0, 0, 0, 0.4),
        -1px 1px 0 rgba(0, 0, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}
/* Bold Search and Filter Section */
.patreon-search-filter {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    margin-top: 0;
    flex-wrap: nowrap;
    background: linear-gradient(145deg, #1e1e3f 0%, #2a2a4a 100%);
    padding: 20px 24px;
    border-radius: 20px;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

/* Removed gradient border pseudo-element */
.patreon-search-box {
    position: relative;
    flex: 0 0 30%;
    min-width: 180px;
    max-width: 220px;
}
#patreon-search-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%);
    color: #e2e8f0;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

#patreon-search-input::placeholder {
    color: #6b7280;
    opacity: 0.8;
}

#patreon-search-input:focus {
    border: 2px solid transparent;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%) padding-box,
                linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1) border-box;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 107, 107, 0.3),
        0 0 40px rgba(78, 205, 196, 0.2);
    transform: translateY(-2px);
}
.patreon-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #4ecdc4;
    font-size: 1.1rem;
    pointer-events: none;
    text-shadow: 0 0 8px rgba(78, 205, 196, 0.5);
}
#patreon-type-filter {
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%);
    color: #e2e8f0;
    font-size: 16px;
    min-width: 160px;
    max-width: 200px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

#patreon-type-filter:focus {
    border: 2px solid transparent;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%) padding-box,
                linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1) border-box;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}
#patreon-sort {
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%);
    color: #e2e8f0;
    font-size: 16px;
    min-width: 140px;
    max-width: 180px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

#patreon-sort:focus {
    border: 2px solid transparent;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%) padding-box,
                linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1) border-box;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}
#patreon-category-filter {
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%);
    color: #e2e8f0;
    font-size: 16px;
    min-width: 140px;
    max-width: 180px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

#patreon-category-filter:focus {
    border: 2px solid transparent;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%) padding-box,
                linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1) border-box;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}

#patreon-genre-filter {
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%);
    color: #e2e8f0;
    font-size: 16px;
    min-width: 140px;
    max-width: 180px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

#patreon-genre-filter:focus {
    border: 2px solid transparent;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%) padding-box,
                linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1) border-box;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}

/* Dropdown options styling - more specific targeting */
select#patreon-type-filter option,
select#patreon-sort option,
select#patreon-category-filter option,
select#patreon-genre-filter option {
    background: #1a1a2e !important;
    color: #ffffff !important;
    padding: 10px 15px;
    border: none;
}

/* Alternative approach for better browser compatibility */
#patreon-type-filter,
#patreon-sort,
#patreon-category-filter,
#patreon-genre-filter {
    background-color: #1a1a2e !important;
    background-image: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%) !important;
}

/* Ensure focus states override the above */
#patreon-type-filter:focus,
#patreon-sort:focus,
#patreon-category-filter:focus,
#patreon-genre-filter:focus {
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%) padding-box,
                linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1) border-box !important;
    border: 2px solid transparent !important;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 107, 107, 0.3) !important;
    transform: translateY(-2px) !important;
}

#patreon-type-filter option,
#patreon-sort option,
#patreon-category-filter option,
#patreon-genre-filter option {
    background-color: #1a1a2e !important;
    color: #ffffff !important;
    padding: 8px 12px;
}

/* Fix dropdown option hover states and prevent white override */
#patreon-type-filter option,
#patreon-sort option,
#patreon-category-filter option,
#patreon-genre-filter option,
#patreon-type-filter option:hover,
#patreon-sort option:hover,
#patreon-category-filter option:hover,
#patreon-genre-filter option:hover,
#patreon-type-filter option:checked,
#patreon-sort option:checked,
#patreon-category-filter option:checked,
#patreon-genre-filter option:checked,
#patreon-type-filter option:focus,
#patreon-sort option:focus,
#patreon-category-filter option:focus,
#patreon-genre-filter option:focus,
#patreon-type-filter option:active,
#patreon-sort option:active,
#patreon-category-filter option:active,
#patreon-genre-filter option:active {
    background-color: #1a1a2e !important;
    background: #1a1a2e !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
}

/* Specific hover state for better UX */
#patreon-type-filter option:hover,
#patreon-sort option:hover,
#patreon-category-filter option:hover,
#patreon-genre-filter option:hover {
    background-color: #2a2a4a !important;
    background: #2a2a4a !important;
}

/* For webkit browsers */
#patreon-type-filter::-webkit-scrollbar,
#patreon-sort::-webkit-scrollbar,
#patreon-category-filter::-webkit-scrollbar,
#patreon-genre-filter::-webkit-scrollbar {
    width: 8px;
}

#patreon-type-filter::-webkit-scrollbar-track,
#patreon-sort::-webkit-scrollbar-track,
#patreon-category-filter::-webkit-scrollbar-track,
#patreon-genre-filter::-webkit-scrollbar-track {
    background: #1a1a2e;
}

#patreon-type-filter::-webkit-scrollbar-thumb,
#patreon-sort::-webkit-scrollbar-thumb,
#patreon-category-filter::-webkit-scrollbar-thumb,
#patreon-genre-filter::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border-radius: 4px;
}

/* Additional targeting for stubborn browsers */
.patreon-search-filter select,
.patreon-search-filter select option {
    background-color: #1a1a2e !important;
    color: #ffffff !important;
}

/* Force dark theme on all select elements in the plugin */
.patreon-suggestions-layout select,
.patreon-suggestions-layout select option {
    background-color: #1a1a2e !important;
    background-image: none !important;
    color: #ffffff !important;
}

/* Additional targeting to prevent any white overrides */
.patreon-suggestions-layout select option,
.patreon-suggestions-layout select option:not(:disabled),
.patreon-suggestions-layout select option:not([disabled]) {
    background-color: #1a1a2e !important;
    background: #1a1a2e !important;
    color: #ffffff !important;
}

/* Target any dynamically added or modified options */
select option[style*="background"],
select option[style*="color"] {
    background-color: #1a1a2e !important;
    background: #1a1a2e !important;
    color: #ffffff !important;
}

/* Ultimate fallback to prevent any white backgrounds on dropdown options */
*[id*="patreon"] select option,
*[class*="patreon"] select option,
select option {
    background-color: #1a1a2e !important;
    background: #1a1a2e !important;
    color: #ffffff !important;
}

/* Prevent any browser default styling from overriding */
select option:not([style*="background-color"]):not([style*="background"]) {
    background-color: #1a1a2e !important;
    background: #1a1a2e !important;
    color: #ffffff !important;
}

/* Force styles to persist with animation and transition locks */
#patreon-type-filter option,
#patreon-sort option,
#patreon-category-filter option,
#patreon-genre-filter option {
    animation: lockDropdownStyle 2s ease-in-out forwards !important;
    transition: none !important;
}

/* Additional persistent animation to override delayed changes */
#patreon-type-filter option,
#patreon-sort option,
#patreon-category-filter option,
#patreon-genre-filter option {
    animation: lockDropdownStyle 2s ease-in-out forwards, 
               persistentDropdownStyle 0.5s ease-in-out 1.5s forwards !important;
}

@keyframes lockDropdownStyle {
    0% {
        background-color: #1a1a2e !important;
        background: #1a1a2e !important;
        color: #ffffff !important;
    }
    100% {
        background-color: #1a1a2e !important;
        background: #1a1a2e !important;
        color: #ffffff !important;
    }
}

@keyframes persistentDropdownStyle {
    0% {
        background-color: #1a1a2e !important;
        background: #1a1a2e !important;
        color: #ffffff !important;
    }
    100% {
        background-color: #1a1a2e !important;
        background: #1a1a2e !important;
        color: #ffffff !important;
    }
}

/* Additional CSS to prevent style changes after DOM ready */
.patreon-suggestions-layout select option {
    background-color: #1a1a2e !important;
    background: #1a1a2e !important;
    color: #ffffff !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Custom Dropdown Styling - Solution for white background issue */
.custom-dropdown {
    position: relative;
    display: inline-block;
    width: auto;
    min-width: 140px;
    max-width: 200px;
    vertical-align: top;
    flex: 0 0 auto;
    z-index: 9998;
}

.custom-dropdown-button {
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%);
    color: #e2e8f0;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    min-width: 140px;
    max-width: 200px;
    width: 100%;
    box-sizing: border-box;
}

.custom-dropdown-button:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.custom-dropdown.open .custom-dropdown-button {
    border: 2px solid transparent;
    background: linear-gradient(145deg, #2a2a4a 0%, #1e1e3f 100%) padding-box,
                linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1) border-box;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.custom-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2a2a4a;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    margin-top: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.custom-dropdown.open .custom-dropdown-list {
    display: block;
}

.custom-dropdown-option {
    padding: 12px 16px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-dropdown-option:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.custom-dropdown-option:last-child {
    border-bottom: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.custom-dropdown-option:hover {
    background: #1a1a2e;
    color: #ffffff;
}

.custom-dropdown-option.selected {
    background: #3a3a5a;
    color: #ffffff;
    font-weight: 600;
}

/* Target the dropdown container specifically - remove gradient border */
.patreon-search-filter {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Keep dropdowns centered when category filter is hidden */
.patreon-search-filter:has(#patreon-category-filter[style*="display: none"]) {
    justify-content: center;
}

/* Fallback for browsers that don't support :has() */
.patreon-search-filter.no-category-filter {
    justify-content: center;
}

.patreon-search-filter select {
    background: #1a1a2e !important;
    color: #ffffff !important;
}
.suggestions-title {
    text-align: left;
    margin-top: 0;
    margin-bottom: 28px;
    font-size: 2rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
    position: relative;
}

.suggestions-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
}
#patreon-suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
#patreon-suggestions-list li {
    background: linear-gradient(145deg, #1e1e3f 0%, #2a2a4a 100%);
    margin-bottom: 24px;
    padding: 28px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 16px;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.1);
    color: #e2e8f0;
    border: 2px solid transparent;
    background-clip: padding-box;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

#patreon-suggestions-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

#patreon-suggestions-list li:hover {
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.1);
}
#patreon-suggestions-list li > div:first-child {
    flex: 1 1 0;
    min-width: 0;
}
/* Remove any background effects from suggestion titles/links */
#patreon-suggestions-list li a {
    background: none !important;
    text-decoration: underline;
    color: #e2e8f0;
    transition: none;
}

#patreon-suggestions-list li a:hover {
    background: none !important;
    color: #ffffff;
    text-decoration: underline;
}
.patreon-type-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 
        0 4px 8px rgba(255, 107, 107, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.patreon-year-badge {
    background: linear-gradient(135deg, #45b7d1 0%, #96ceb4 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 
        0 4px 8px rgba(69, 183, 209, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.patreon-category-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* Category badge colors with improved contrast and distinctiveness */
.patreon-category-action { 
    background: linear-gradient(135deg, #dc2626, #b91c1c); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-adventure { 
    background: linear-gradient(135deg, #059669, #047857); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-rpg { 
    background: linear-gradient(135deg, #7c3aed, #6d28d9); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-strategy { 
    background: linear-gradient(135deg, #1d4ed8, #1e40af); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-horror { 
    background: linear-gradient(135deg, #000000, #374151); 
    color: #ef4444; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    border: 1px solid #ef4444;
}

.patreon-category-multiplayer { 
    background: linear-gradient(135deg, #0ea5e9, #0284c7); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-racing { 
    background: linear-gradient(135deg, #ea580c, #c2410c); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-puzzle { 
    background: linear-gradient(135deg, #a855f7, #9333ea); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-shooter { 
    background: linear-gradient(135deg, #4b5563, #374151); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-simulation { 
    background: linear-gradient(135deg, #10b981, #059669); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-sports { 
    background: linear-gradient(135deg, #f59e0b, #d97706); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-platformer { 
    background: linear-gradient(135deg, #06b6d4, #0891b2); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-fighting { 
    background: linear-gradient(135deg, #be123c, #9f1239); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-survival { 
    background: linear-gradient(135deg, #65a30d, #4d7c0f); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-sandbox { 
    background: linear-gradient(135deg, #eab308, #ca8a04); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-rhythm { 
    background: linear-gradient(135deg, #ec4899, #db2777); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-stealth { 
    background: linear-gradient(135deg, #475569, #334155); 
    color: #e2e8f0; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-mmo { 
    background: linear-gradient(135deg, #8b5cf6, #7c3aed); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-card { 
    background: linear-gradient(135deg, #6366f1, #4f46e5); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-roguelike { 
    background: linear-gradient(135deg, #92400e, #78350f); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-tower-defense { 
    background: linear-gradient(135deg, #0d9488, #0f766e); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-educational { 
    background: linear-gradient(135deg, #2563eb, #1d4ed8); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-casual { 
    background: linear-gradient(135deg, #fb7185, #f43f5e); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-category-retro { 
    background: linear-gradient(135deg, #f97316, #ea580c); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Movie and TV Genre badges with spectacular gradients */
.patreon-genre-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 600;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
}

.patreon-genre-action { 
    background: linear-gradient(135deg, #ff4757, #c44569); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-adventure { 
    background: linear-gradient(135deg, #26de81, #20bf6b); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-animation { 
    background: linear-gradient(135deg, #fd79a8, #e84393); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-biography { 
    background: linear-gradient(135deg, #a29bfe, #6c5ce7); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-comedy { 
    background: linear-gradient(135deg, #fdcb6e, #e17055); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-crime { 
    background: linear-gradient(135deg, #636e72, #2d3436); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-documentary { 
    background: linear-gradient(135deg, #00b894, #00a085); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-drama { 
    background: linear-gradient(135deg, #fab1a0, #e17055); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-family { 
    background: linear-gradient(135deg, #55a3ff, #3742fa); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-fantasy { 
    background: linear-gradient(135deg, #a29bfe, #6c5ce7); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-history { 
    background: linear-gradient(135deg, #d63031, #b33939); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-horror { 
    background: linear-gradient(135deg, #2d3436, #000000); 
    color: #ff3838; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    border: 1px solid #ff3838;
}

.patreon-genre-music, .patreon-genre-musical { 
    background: linear-gradient(135deg, #fd79a8, #e84393); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-mystery { 
    background: linear-gradient(135deg, #636e72, #2d3436); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-romance { 
    background: linear-gradient(135deg, #fd79a8, #e84393); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-science-fiction, .patreon-genre-sci-fi { 
    background: linear-gradient(135deg, #74b9ff, #0984e3); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-thriller { 
    background: linear-gradient(135deg, #636e72, #2d3436); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-war { 
    background: linear-gradient(135deg, #636e72, #2d3436); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.patreon-genre-western { 
    background: linear-gradient(135deg, #d63031, #b33939); 
    color: white; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.patreon-desc {
    margin-top: 12px;
    font-size: 0.875rem;
    color: #6b7280;
    max-width: 480px;
    word-break: break-word;
    line-height: 1.5;
}
.patreon-suggestion-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 120px;
}
.patreon-votes-count {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 4px;
    font-weight: 500;
}
.patreon-vote-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 16px rgba(139, 92, 246, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.patreon-vote-btn::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.5s;
}

.patreon-vote-btn:hover::before {
    left: 100%;
}
.patreon-vote-btn:hover {
    box-shadow: 
        0 16px 32px rgba(139, 92, 246, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a855f7 100%);
}
.patreon-vote-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Bold styling for disabled/voted buttons */
.patreon-vote-btn[disabled] {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%) !important;
    color: #ffffff !important;
    opacity: 0.9;
    cursor: not-allowed;
    transform: none;
    box-shadow: 
        0 8px 16px rgba(16, 185, 129, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.patreon-vote-btn[disabled]:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%) !important;
    transform: none;
    box-shadow: 
        0 8px 16px rgba(16, 185, 129, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

.patreon-own, .patreon-voted {
    color: #bdbdbd;
    font-size: 0.98em;
    font-style: italic;
}
.patreon-closed-message,
#patreon-countdown-timer,
#patreon-suggestion-message {
    text-align: center;
    margin: 0 auto 18px auto;
    display: block;
}

#patreon-suggestion-message {
    margin: 10px auto 18px auto !important;
}
@media (max-width: 1000px) {
    .patreon-suggestions-layout {
        flex-direction: column;
        gap: 32px;
        max-width: 100%;
        align-items: stretch;
        padding: 0 16px;
    }
    .patreon-suggestion-form-card, .patreon-suggestions-main {
        max-width: 100%;
        min-width: 0;
    }
    .patreon-suggestion-form-card {
        margin-bottom: 0;
        padding: 28px;
    }
    .patreon-search-filter {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    .patreon-search-box {
        max-width: 100%;
        min-width: auto;
    }
}
@media (max-width: 700px) {
    .patreon-suggestions-layout {
        padding: 0 12px;
        gap: 24px;
    }
    .patreon-suggestion-form-card {
        padding: 24px;
    }
    .patreon-search-filter {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        padding: 16px 20px;
    }
    .patreon-search-box {
        max-width: 100%;
    }
    #patreon-suggestions-list li {
        flex-direction: column;
        align-items: flex-start;
        font-size: 16px;
        padding: 24px;
        gap: 20px;
    }
    .patreon-suggestion-actions {
        align-items: flex-start;
        min-width: 0;
        width: 100%;
    }
    .patreon-vote-btn {
        width: 100%;
    }
}

/* Ultra-Fancy Countdown Timer Styles */
.patreon-flip-clock {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 40px 0 32px 0;
  padding: 32px;
  background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.1) 0%, 
    rgba(118, 75, 162, 0.1) 50%, 
    rgba(44, 62, 80, 0.1) 100%);
  border-radius: 24px;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 20px 40px rgba(102, 126, 234, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.patreon-flip-clock::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea, #764ba2, #2c3e50);
  border-radius: 24px;
  padding: 2px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  z-index: -1;
}

.patreon-flip-clock:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 32px 64px rgba(102, 126, 234, 0.3),
    0 16px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.flip-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flip-card-single {
  position: relative;
  width: 80px;
  height: 90px;
  perspective: 600px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.3));
}
.flip-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(145deg, 
    rgba(102, 126, 234, 0.9) 0%, 
    rgba(118, 75, 162, 0.9) 50%, 
    rgba(44, 62, 80, 0.9) 100%);
  border-radius: 16px;
  text-align: center;
  line-height: 90px;
  backface-visibility: hidden;
  box-shadow: 
    0 8px 24px rgba(102, 126, 234, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  transform: rotateX(0deg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.flip-card-single.flipping .flip-card-front {
  animation: flipOutIn 0.5s;
}
@keyframes flipOutIn {
  0% { transform: rotateX(0deg); }
  49% { transform: rotateX(-90deg); }
  50% { transform: rotateX(90deg); }
  100% { transform: rotateX(0deg); }
}
.patreon-timer-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.patreon-flip-clock.pulse-blue .flip-card-front,
.patreon-flip-clock.pulse-blue .flip-card-back {
  background: linear-gradient(145deg, 
    rgba(102, 126, 234, 0.95) 0%, 
    rgba(118, 75, 162, 0.95) 50%, 
    rgba(44, 62, 80, 0.95) 100%);
  color: #ffffff;
  box-shadow: 
    0 12px 32px rgba(102, 126, 234, 0.6),
    0 6px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: pulseGlow 2s ease-in-out infinite alternate;
}
.patreon-flip-clock.pulse-red .flip-card-front,
.patreon-flip-clock.pulse-red .flip-card-back {
  background: linear-gradient(145deg, 
    rgba(255, 107, 107, 0.9) 0%, 
    rgba(255, 82, 82, 0.9) 50%, 
    rgba(211, 47, 47, 0.9) 100%);
  color: #ffffff;
  box-shadow: 
    0 12px 32px rgba(255, 107, 107, 0.6),
    0 6px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: pulseGlowRed 2s ease-in-out infinite alternate;
}
.pulse {
  animation: pulseAnim 1.2s infinite;
}
@keyframes pulseAnim {
  0% { box-shadow: 0 0 0 0 rgba(255,59,59,0.3); }
  70% { box-shadow: 0 0 0 12px rgba(255,59,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); }
}

@keyframes pulseGlow {
  0% { 
    box-shadow: 
      0 12px 32px rgba(102, 126, 234, 0.6),
      0 6px 16px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  100% { 
    box-shadow: 
      0 16px 40px rgba(102, 126, 234, 0.8),
      0 8px 20px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

@keyframes pulseGlowRed {
  0% { 
    box-shadow: 
      0 12px 32px rgba(255, 107, 107, 0.6),
      0 6px 16px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  100% { 
    box-shadow: 
      0 16px 40px rgba(255, 107, 107, 0.8),
      0 8px 20px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}
/* Modal Styles */
.patreon-closed-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s;
}
.patreon-closed-content {
  background: #b23a3a;
  color: #fff;
  padding: 48px 36px 32px 36px;
  border-radius: 18px;
  box-shadow: 0 8px 32px #000a;
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
  max-width: 600px;
  width: 90vw;
  animation: popIn 0.5s;
}
.patreon-closed-content p {
  font-size: 1.2rem;
  font-weight: normal;
  margin-top: 18px;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.patreon-closed-message {
  background: #4b1818;
  color: #ffd6d6;
  padding: 14px 32px;
  border-radius: 8px;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  max-width: 900px;
  box-shadow: 0 2px 12px rgba(30, 30, 60, 0.10);
  font-weight: 500;
  text-align: left;
  gap: 12px;
  border: none;
}
.patreon-closed-message::before {
  content: '\26A0'; /* Unicode warning sign */
  font-size: 1.3em;
  margin-right: 10px;
  color: #ffd6d6;
  flex-shrink: 0;
}
.patreon-suggestions-count-badge {
  display: inline-block;
  background: #7f5fff;
  color: #fff;
  font-size: 0.98em;
  font-weight: 700;
  border-radius: 12px;
  padding: 2px 10px;
  margin-left: 10px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}
.patreon-omdb-info-tip {
  background: #23213a;
  color: #ffe7a3;
  font-size: 0.98em;
  border-radius: 6px;
  padding: 8px 14px;
  margin: 8px 0 16px 0;
  border: 1px solid #3a375a;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 480px;
  box-shadow: 0 1px 6px rgba(30,30,60,0.07);
}

/* Suggestion highlight animation */
@keyframes suggestionHighlight {
    0% { 
        background: linear-gradient(145deg, #4ecdc4 0%, #45b7d1 100%);
        box-shadow: 
            0 12px 24px rgba(78, 205, 196, 0.4),
            0 6px 12px rgba(0, 0, 0, 0.2),
            0 0 20px rgba(78, 205, 196, 0.6);
    }
    50% { 
        background: linear-gradient(145deg, #1e1e3f 0%, #2a2a4a 100%);
        box-shadow: 
            0 8px 16px rgba(0, 0, 0, 0.2),
            0 4px 8px rgba(0, 0, 0, 0.1),
            0 0 10px rgba(78, 205, 196, 0.3);
    }
    100% { 
        background: linear-gradient(145deg, #1e1e3f 0%, #2a2a4a 100%);
        box-shadow: 
            0 8px 16px rgba(0, 0, 0, 0.2),
            0 4px 8px rgba(0, 0, 0, 0.1);
    }
}

.patreon-suggestion-highlight {
    animation: suggestionHighlight 3s ease-out;
}

/* Season Dropdown Styling */
#patreon-tv-season {
    min-width: 220px !important;
    max-width: none !important;
    width: auto !important;
}

/* Season dropdown list with scrolling */
.custom-dropdown[data-for="patreon-tv-season"] .custom-dropdown-list {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #667eea rgba(255, 255, 255, 0.1);
}

/* Custom scrollbar for season dropdown - WebKit browsers */
.custom-dropdown[data-for="patreon-tv-season"] .custom-dropdown-list::-webkit-scrollbar {
    width: 8px;
}

.custom-dropdown[data-for="patreon-tv-season"] .custom-dropdown-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.custom-dropdown[data-for="patreon-tv-season"] .custom-dropdown-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.custom-dropdown[data-for="patreon-tv-season"] .custom-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

/* Fancy Season Badge - designed to really stand out! */
.patreon-season-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 40%, #9d4edd 70%, #667eea 100%);
    background-size: 300% 300%;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.92em;
    font-weight: 700;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    box-shadow: 
        0 2px 8px rgba(102, 126, 234, 0.3),
        0 4px 16px rgba(118, 75, 162, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    animation: seasonGradientShift 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    transform: translateZ(0); /* Force hardware acceleration */
    transition: all 0.3s ease;
}

.patreon-season-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: seasonShimmer 2.5s infinite;
}

.patreon-season-badge:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 
        0 4px 12px rgba(102, 126, 234, 0.4),
        0 8px 24px rgba(118, 75, 162, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

@keyframes seasonGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes seasonShimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Schedule Box Styles */
.patreon-schedule-box {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.patreon-schedule-title {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.patreon-schedule-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.patreon-schedule-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.patreon-schedule-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.patreon-schedule-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.patreon-schedule-image-container:hover .patreon-schedule-overlay {
    opacity: 1;
}

.patreon-schedule-click-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Automated Text Overlay Styles */
.patreon-schedule-auto-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}

.patreon-schedule-auto-text span {
    display: inline-block;
    color: #ffffff;
    font-size: 0.6em;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    text-align: center;
}

.patreon-schedule-auto-text-bottom {
    bottom: 2%;
}

.patreon-schedule-auto-text-top {
    top: 2%;
}

.patreon-schedule-auto-text-center {
    top: 50%;
}

/* Modal version of automated text overlay */
.patreon-schedule-modal-auto-text {
    position: absolute;
    left: 50%;
    z-index: 15;
    pointer-events: none;
}

.patreon-schedule-modal-auto-text span {
    display: inline-block;
    color: #ffffff;
    font-size: 0.75em;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    text-align: center;
}

.patreon-schedule-modal-auto-text.patreon-schedule-auto-text-bottom {
    bottom: 2%;
}

.patreon-schedule-modal-auto-text.patreon-schedule-auto-text-top {
    top: 2%;
}

.patreon-schedule-modal-auto-text.patreon-schedule-auto-text-center {
    top: 50%;
}

/* Schedule Modal Styles */
.patreon-schedule-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.patreon-schedule-modal-content {
    position: relative;
    background: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 1100px;
    max-height: 110vh;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: popIn 0.4s ease;
}

.patreon-schedule-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.patreon-schedule-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.patreon-schedule-modal-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 70vh;
    object-fit: contain;
}

/* Hotspots container sits above image inside modal only */
.patreon-schedule-modal-image-wrapper {
    position: relative;
}
.patreon-schedule-hotspots {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none; /* enabled on children only */
}
.patreon-schedule-hotspot {
    position: absolute;
    border: none;
    border-radius: 8px;
    background: transparent; /* invisible by default */
    pointer-events: auto;
    cursor: default; /* no visual hint */
    transition: none;
}
.patreon-schedule-hotspot:hover { background: transparent; box-shadow: none; }

/* Detail panel for hotspot info */
.patreon-schedule-detail {
    position: absolute;
    top: 12px;
    left: 12px; /* default; JS may switch to right */
    max-width: 360px;
    width: 28vw;
    min-width: 260px;
    background: rgba(10,6,22,0.92);
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px 14px 16px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    z-index: 25;
}
.patreon-schedule-detail .psd-title {
    margin: 0 24px 8px 0;
    font-size: 1.15em;
    font-weight: 800;
    line-height: 1.25;
}
.patreon-schedule-detail .psd-desc {
    margin: 0;
    color: #d7d5ea;
    line-height: 1.5;
    font-size: 1.0em;
}
.patreon-schedule-detail .psd-close {
    position: absolute;
    top: 8px; right: 10px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.4em;
    opacity: .75;
    cursor: pointer;
}
.patreon-schedule-detail .psd-close:hover { opacity: 1; }

@media (max-width: 700px) {
  .patreon-schedule-detail {
    left: 50% !important;
    transform: translateX(-50%);
    width: 90%;
    min-width: 0;
  }
}

/* Responsive Design for Schedule */
@media (max-width: 700px) {
    .patreon-schedule-box {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .patreon-schedule-title {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .patreon-schedule-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .patreon-schedule-modal-close {
        top: 10px;
        right: 15px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
} 

/* Franchise Warning Modal Styles */
#franchise-warning-modal {
    animation: fadeIn 0.3s ease-out;
}

#franchise-warning-modal > div {
    animation: popIn 0.3s ease-out;
}

#franchise-cancel-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

#franchise-proceed-btn:hover {
    background: #b91c23;
}

@media (max-width: 600px) {
    #franchise-warning-modal > div {
        margin: 20px;
        padding: 20px;
    }
    
    #franchise-warning-modal h3 {
        font-size: 1.2em;
    }
}

/* Secondary Franchise Confirmation Modal Styles */
#secondary-franchise-modal {
    animation: fadeIn 0.3s ease-out;
}

.secondary-franchise-content {
    position: relative;
    overflow: hidden;
}

.secondary-franchise-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,53,0.05) 0%, transparent 70%);
    animation: rotateGlow 4s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.secondary-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: -1;
}

.secondary-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cancel-btn:hover {
    background: #f5f5f5 !important;
    border-color: #333 !important;
    color: #333 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.proceed-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(244,67,54,0.4);
}

/* Animation Keyframes */
@keyframes popInScale {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes warningGlow {
    0% {
        box-shadow: 0 0 5px rgba(244,67,54,0.3);
        border-color: #f44336;
    }
    100% {
        box-shadow: 0 0 20px rgba(244,67,54,0.6), 0 0 30px rgba(244,67,54,0.3);
        border-color: #d32f2f;
    }
}

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

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

@keyframes thankYouAnimation {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) rotate(-180deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes patreon-announce-shine {
    0% { left: -160px; }
    55% { left: 110%; }
    100% { left: 110%; }
}

/* Responsive Design for Secondary Modal */
@media (max-width: 600px) {
    .secondary-franchise-content {
        padding: 25px 20px !important;
        margin: 20px !important;
    }
    
    .secondary-franchise-content h2 {
        font-size: 1.3em !important;
    }
    
    .secondary-franchise-content p {
        font-size: 1em !important;
    }
    
    .warning-box p {
        font-size: 0.95em !important;
    }
    
    .secondary-btn {
        padding: 10px 20px !important;
        font-size: 0.9em !important;
    }
    
    .warning-icon {
        font-size: 3em !important;
    }
}

/* Snow Effect Styles */
#patreon-snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

/* Realistic Snowflake Shapes */
.patreon-snowflake {
    position: absolute;
    background: transparent;
    border-radius: 50%;
}

/* Simple circular snowflake (small flakes) */
.patreon-snowflake-0 {
    background: radial-gradient(circle, rgba(255,255,255,0.95) 30%, rgba(255,255,255,0.6) 60%, transparent 100%);
    box-shadow: 
        0 0 2px rgba(255,255,255,0.8),
        inset 0 0 1px rgba(255,255,255,0.5);
}

/* Star-like snowflake (medium flakes) */
.patreon-snowflake-1 {
    background: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.95) 25%, transparent 30%),
        linear-gradient(0deg, transparent 40%, rgba(255,255,255,0.8) 45%, rgba(255,255,255,0.8) 55%, transparent 60%),
        linear-gradient(60deg, transparent 40%, rgba(255,255,255,0.8) 45%, rgba(255,255,255,0.8) 55%, transparent 60%),
        linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.8) 45%, rgba(255,255,255,0.8) 55%, transparent 60%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-position: center, center, center, center;
}

/* Complex snowflake (large flakes) */
.patreon-snowflake-2 {
    background: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.95) 20%, transparent 25%),
        linear-gradient(0deg, transparent 35%, rgba(255,255,255,0.85) 40%, rgba(255,255,255,0.85) 60%, transparent 65%),
        linear-gradient(30deg, transparent 35%, rgba(255,255,255,0.75) 40%, rgba(255,255,255,0.75) 60%, transparent 65%),
        linear-gradient(60deg, transparent 35%, rgba(255,255,255,0.85) 40%, rgba(255,255,255,0.85) 60%, transparent 65%),
        linear-gradient(90deg, transparent 35%, rgba(255,255,255,0.75) 40%, rgba(255,255,255,0.75) 60%, transparent 65%),
        linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.85) 40%, rgba(255,255,255,0.85) 60%, transparent 65%),
        linear-gradient(150deg, transparent 35%, rgba(255,255,255,0.75) 40%, rgba(255,255,255,0.75) 60%, transparent 65%);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ensure suggestion cards can have relative positioning for snow accumulation */
#patreon-suggestions-list li {
    position: relative;
}

/* Snow accumulation layer on suggestion cards - more realistic */
.patreon-snow-accumulation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background-color: #ffffff !important;
    background-image: linear-gradient(to bottom, 
        #ffffff 0%, 
        #fefefe 15%,
        #fcfcfc 40%,
        #f5f5f5 70%,
        rgba(245, 245, 245, 0.8) 90%,
        rgba(245, 245, 245, 0.4) 100%) !important;
    border-radius: 20px 20px 0 0;
    pointer-events: none;
    z-index: 10;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 0 3px 6px rgba(255, 255, 255, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(1.5px);
    overflow: hidden;
    color-scheme: only light !important;
    -webkit-color-scheme: only light !important;
    forced-color-adjust: none !important;
    -webkit-forced-color-adjust: none !important;
}

/* Add realistic texture to accumulated snow */
.patreon-snow-accumulation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent !important;
    background-image: 
        radial-gradient(circle at 15% 25%, #ffffff 0.5px, transparent 1px),
        radial-gradient(circle at 45% 40%, #ffffff 0.5px, transparent 1px),
        radial-gradient(circle at 75% 60%, #ffffff 0.5px, transparent 1px),
        radial-gradient(circle at 30% 70%, #ffffff 0.5px, transparent 1px),
        radial-gradient(circle at 85% 30%, #ffffff 0.5px, transparent 1px);
    background-size: 12px 12px, 10px 10px, 14px 14px, 8px 8px, 11px 11px;
    background-position: 0 0, 3px 2px, 5px 4px, 2px 6px, 7px 1px;
    opacity: 0.7;
    pointer-events: none;
    animation: snowTextureShift 20s linear infinite;
    color-scheme: only light !important;
    forced-color-adjust: none !important;
}

/* Add sparkle effect to accumulated snow */
.patreon-snow-accumulation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent !important;
    background-image: 
        radial-gradient(circle at 20% 30%, #ffffff 1px, transparent 2px),
        radial-gradient(circle at 60% 50%, #ffffff 0.8px, transparent 1.5px),
        radial-gradient(circle at 80% 70%, #ffffff 1px, transparent 2px);
    background-size: 15px 15px, 12px 12px, 18px 18px;
    background-position: 0 0, 4px 3px, 7px 5px;
    opacity: 0;
    pointer-events: none;
    animation: snowSparkle 3s ease-in-out infinite;
    color-scheme: only light !important;
    forced-color-adjust: none !important;
}

@keyframes snowTextureShift {
    0% {
        background-position: 0 0, 3px 2px, 5px 4px, 2px 6px, 7px 1px;
    }
    100% {
        background-position: 12px 12px, 13px 12px, 19px 18px, 10px 14px, 18px 13px;
    }
}

@keyframes snowSparkle {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.4;
    }
} 

/* Interactive Neon Light Streak Christmas Tree Styles */
/* Christmas Tree Container - Desktop Only, Static Position */
#patreon-christmas-tree-container {
    position: absolute;
    pointer-events: auto;
    z-index: 9997;
    transform-origin: center center;
    cursor: pointer;
}

/* Hide Christmas tree on mobile/tablet */
@media (max-width: 1024px) {
    #patreon-christmas-tree-container {
        display: none !important;
    }
}

.patreon-christmas-tree {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

/* Neon light streak particles that form the tree */
.patreon-tree-streak {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--streak-color), transparent);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    box-shadow: 
        0 0 10px var(--streak-color),
        0 0 20px var(--streak-color),
        0 0 30px var(--streak-color),
        0 0 40px var(--streak-color);
    animation: streakDraw var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
    filter: blur(0.5px);
}

.patreon-tree-streak.horizontal {
    height: 3px;
    width: var(--width);
    transform: scaleX(0);
    transform-origin: left center;
}

.patreon-tree-streak.vertical {
    width: 3px;
    height: var(--height);
    transform: scaleY(0);
    transform-origin: center top;
}

.patreon-tree-streak.diagonal-left {
    height: 3px;
    width: var(--width);
    transform: scaleX(0) rotate(var(--angle));
    transform-origin: left center;
}

.patreon-tree-streak.diagonal-right {
    height: 3px;
    width: var(--width);
    transform: scaleX(0) rotate(var(--angle));
    transform-origin: right center;
}

/* Star made of light streaks */
.patreon-tree-star-streak {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    box-shadow: 
        0 0 15px #ffd700,
        0 0 30px #ffd700,
        0 0 45px #ffd700;
    animation: starStreakPulse 1.5s ease-in-out infinite;
    transform-origin: center center;
    opacity: 0.9;
    filter: blur(0.5px);
}

/* Simple Christmas Light Balls - Small Glowing Colored Orbs */
.patreon-tree-ornament {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, 
        rgba(255, 255, 255, 0.9), 
        var(--ornament-color, #ff0000) 40%, 
        var(--ornament-color, #ff0000) 100%);
    box-shadow: 
        0 0 12px var(--ornament-color, #ff0000),
        0 0 24px var(--ornament-color, #ff0000),
        0 0 36px var(--ornament-color, #ff0000);
    z-index: 9999;
    transform: translateX(-50%);
    opacity: 0.75;
}

/* Flickering animations */
.patreon-tree-ornament.flicker-slow {
    animation: lightFlickerSlow 1.8s ease-in-out infinite;
}

.patreon-tree-ornament.flicker-fast {
    animation: lightFlickerFast 1.5s ease-in-out infinite;
}

.patreon-tree-ornament.flicker-random {
    animation: lightFlickerRandom 2.2s ease-in-out infinite;
}

.patreon-tree-ornament.steady-glow {
    animation: lightSteadyGlow 2s ease-in-out infinite;
}

.patreon-tree-ornament.pulse-gentle {
    animation: lightPulseGentle 1.9s ease-in-out infinite;
}

/* Burst particles on interaction */
.patreon-tree-burst-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--particle-color);
    box-shadow: 
        0 0 10px var(--particle-color),
        0 0 20px var(--particle-color),
        0 0 30px var(--particle-color);
    opacity: 0;
    pointer-events: none;
}

/* Trunk streaks */
.patreon-tree-trunk-streak {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b4513, transparent);
    box-shadow: 
        0 0 8px #8b4513,
        0 0 15px #8b4513;
    animation: streakDraw var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    filter: blur(0.5px);
}

#patreon-christmas-tree-container.shaking {
    animation: treeShake 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#patreon-christmas-tree-container:hover {
    filter: brightness(1.2);
}

/* Animations */
@keyframes streakDraw {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes starStreakPulse {
    0%, 100% {
        opacity: 0.7;
        filter: blur(0.5px) brightness(1);
    }
    50% {
        opacity: 1;
        filter: blur(0.3px) brightness(1.5);
    }
}

/* Realistic Christmas light flickering animations - ONLY brightness, NO opacity changes */
@keyframes lightFlickerSlow {
    0%, 100% {
        filter: brightness(1);
    }
    8% {
        filter: brightness(0.75);
    }
    12% {
        filter: brightness(1.35);
    }
    25% {
        filter: brightness(0.85);
    }
    40% {
        filter: brightness(1.25);
    }
    55% {
        filter: brightness(0.8);
    }
    70% {
        filter: brightness(1.4);
    }
    85% {
        filter: brightness(0.9);
    }
}

@keyframes lightFlickerFast {
    0%, 100% {
        filter: brightness(1);
    }
    4% {
        filter: brightness(0.7);
    }
    8% {
        filter: brightness(1.45);
    }
    15% {
        filter: brightness(0.8);
    }
    22% {
        filter: brightness(1.35);
    }
    30% {
        filter: brightness(0.75);
    }
    38% {
        filter: brightness(1.4);
    }
    48% {
        filter: brightness(0.85);
    }
    58% {
        filter: brightness(1.3);
    }
    68% {
        filter: brightness(0.8);
    }
    78% {
        filter: brightness(1.45);
    }
    88% {
        filter: brightness(0.75);
    }
    95% {
        filter: brightness(1.25);
    }
}

@keyframes lightFlickerRandom {
    0%, 100% {
        filter: brightness(1);
    }
    6% {
        filter: brightness(1.4);
    }
    10% {
        filter: brightness(0.7);
    }
    18% {
        filter: brightness(1.35);
    }
    28% {
        filter: brightness(0.75);
    }
    35% {
        filter: brightness(1.45);
    }
    44% {
        filter: brightness(0.8);
    }
    52% {
        filter: brightness(1.3);
    }
    62% {
        filter: brightness(0.75);
    }
    72% {
        filter: brightness(1.4);
    }
    82% {
        filter: brightness(0.85);
    }
    92% {
        filter: brightness(1.35);
    }
}

@keyframes lightSteadyGlow {
    0%, 100% {
        filter: brightness(1);
    }
    15% {
        filter: brightness(0.8);
    }
    30% {
        filter: brightness(1.4);
    }
    50% {
        filter: brightness(0.75);
    }
    65% {
        filter: brightness(1.35);
    }
    80% {
        filter: brightness(0.85);
    }
}

@keyframes lightPulseGentle {
    0%, 100% {
        filter: brightness(1);
    }
    12% {
        filter: brightness(0.75);
    }
    25% {
        filter: brightness(1.45);
    }
    40% {
        filter: brightness(0.8);
    }
    55% {
        filter: brightness(1.3);
    }
    70% {
        filter: brightness(0.85);
    }
    85% {
        filter: brightness(1.4);
    }
}

@keyframes treeShake {
    0%, 100% {
        transform: translateX(-50%) rotate(0deg);
    }
    25% {
        transform: translateX(-50%) translateX(-10px) rotate(-3deg);
    }
    75% {
        transform: translateX(-50%) translateX(10px) rotate(3deg);
    }
}

@keyframes burstParticle {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--burst-x), var(--burst-y)) scale(1);
    }
}

/* Canvas-based Handwritten Text Effect */
.patreon-tree-merry-christmas {
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
}

.patreon-tree-merry-christmas .handwriting-canvas {
    display: block;
    transition: opacity 0.3s ease;
}