/* GOS Frontend Manager - Dark Theme with German Accents */

:root {
    --gfm-black: #000000;
    --gfm-red: #DD0000;
    --gfm-yellow: #FFCE00;
    --gfm-white: #FFFFFF;
    --gfm-gray-dark: #1a1a1a;
    --gfm-gray-medium: #2a2a2a;
    --gfm-gray-light: #3a3a3a;
}

.gfm-card-slider {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: var(--gfm-black);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gfm-white);
}

/* Filter Bar - Compact Collapsible */
.gfm-filter-bar {
    margin-bottom: 16px;
    padding: 12px 20px;
    background: var(--gfm-gray-dark);
    border-radius: 12px;
    border: 1px solid var(--gfm-gray-light);
    transition: all 0.3s ease;
}

.gfm-filter-bar.gfm-collapsed {
    padding: 8px 20px;
}

.gfm-filter-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.gfm-filter-toggle-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.gfm-filter-bar.gfm-collapsed .gfm-filter-toggle-icon {
    transform: rotate(-90deg);
}

.gfm-filter-section {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
    max-height: 200px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gfm-filter-bar.gfm-collapsed .gfm-filter-section {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
}

.gfm-filter-label {
    font-weight: 600;
    color: var(--gfm-white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gfm-filter-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gfm-filter-chip {
    padding: 10px 20px;
    background: var(--gfm-gray-medium);
    border: 2px solid var(--gfm-gray-light);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gfm-white);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gfm-filter-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 206, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.gfm-filter-chip:hover {
    border-color: var(--gfm-yellow);
    box-shadow: 0 0 20px rgba(255, 206, 0, 0.2);
    transform: translateY(-2px);
}

.gfm-filter-chip:hover::before {
    left: 100%;
}

.gfm-filter-chip.gfm-filter-active {
    background: var(--gfm-red);
    border-color: var(--gfm-red);
    color: var(--gfm-white);
    box-shadow: 0 0 25px rgba(221, 0, 0, 0.4);
}

.gfm-filter-chip.gfm-filter-active::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gfm-red), var(--gfm-yellow), var(--gfm-red));
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

/* Results Header */
.gfm-results-header {
    margin-bottom: 20px;
    padding: 0 4px;
}

.gfm-results-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.gfm-results-count {
    font-weight: 700;
    color: var(--gfm-white);
    font-size: 16px;
}

/* Progress Bar - Yellow Highlight */
.gfm-progress-bar {
    height: 3px;
    background: var(--gfm-gray-light);
    border-radius: 2px;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

.gfm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gfm-red), var(--gfm-yellow));
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 206, 0, 0.5);
    position: relative;
}

.gfm-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    animation: shimmer 2s infinite;
}

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

/* Slider Container */
.gfm-slider-container {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.gfm-slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gfm-slider-track.gfm-loading {
    opacity: 0.5;
    pointer-events: none;
}

.gfm-slide {
    min-width: 100%;
    flex-shrink: 0;
}

/* Shop Card - Premium White on Black with Border */
.gfm-shop-card {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 0;
    background: var(--gfm-white);
    overflow: hidden;
    height: calc(100vh - 200px);
    min-height: 600px;
    max-height: 800px;
    box-shadow: 0 0 60px rgba(255, 206, 0, 0.1);
    border: 3px solid var(--gfm-yellow);
    border-radius: 2px;
}

/* Screenshot Side - White Background */
.gfm-screenshot-side {
    position: relative;
    background: var(--gfm-white);
    overflow: hidden;
}

.gfm-screenshot-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
    cursor: default;
}

.gfm-screenshot {
    width: 100%;
    height: auto;
    display: block;
    cursor: default;
}

/* Navigation Overlay - Red Accents */
.gfm-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.gfm-screenshot-container:hover .gfm-nav-overlay {
    opacity: 1;
}

.gfm-nav-overlay-btn {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    background: var(--gfm-red);
    color: var(--gfm-white);
    border: 3px solid var(--gfm-black);
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(221, 0, 0, 0.5);
}

.gfm-nav-overlay-btn:hover {
    background: var(--gfm-black);
    border-color: var(--gfm-yellow);
    box-shadow: 0 0 30px rgba(255, 206, 0, 0.6);
    transform: scale(1.15);
}

/* Shop Overlay - Black with Yellow Accent */
.gfm-shop-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    color: var(--gfm-white);
}

.gfm-shop-name-overlay {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gfm-shop-url-overlay {
    font-size: 14px;
    color: var(--gfm-yellow);
    text-decoration: none;
    word-break: break-all;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.gfm-shop-url-overlay:hover {
    color: var(--gfm-white);
    text-shadow: 0 0 20px rgba(255, 206, 0, 0.8);
}

/* Scroll Hint - Appears on Hover */
.gfm-scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.gfm-screenshot-container:hover .gfm-scroll-hint {
    opacity: 1;
}

/* Zoom Button - Subtle Gray Overlay */
.gfm-zoom-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(128, 128, 128, 0.3);
    color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 1;
}

.gfm-zoom-btn:hover {
    background: rgba(255, 206, 0, 0.9);
    color: var(--gfm-black);
    border-color: var(--gfm-yellow);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(255, 206, 0, 0.6);
}

/* Info Side - Dark Background */
.gfm-info-side {
    padding: 28px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: var(--gfm-gray-dark);
    border-left: 3px solid var(--gfm-yellow);
}

.gfm-info-compact {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.gfm-info-icon {
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--gfm-gray-medium);
}

.gfm-info-icon:hover {
    background: var(--gfm-red);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(221, 0, 0, 0.5);
}

.gfm-info-expanded {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gfm-categories-section {
    margin-bottom: 0;
}

.gfm-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gfm-yellow);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gfm-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gfm-category-badge {
    padding: 8px 14px;
    background: var(--gfm-gray-medium);
    color: var(--gfm-white);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--gfm-gray-light);
    transition: all 0.3s ease;
}

.gfm-category-badge:hover {
    background: var(--gfm-gray-light);
    border-color: var(--gfm-yellow);
}

.gfm-audience-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gfm-audience-badge {
    padding: 8px 14px;
    background: var(--gfm-gray-medium);
    color: var(--gfm-white);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--gfm-gray-light);
}

/* CTA Section - Red Primary, Yellow Secondary */
.gfm-cta-section {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 2px solid var(--gfm-gray-light);
}

.gfm-visit-btn-compact,
.gfm-pipeline-btn-compact {
    flex: 1;
    height: 52px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gfm-visit-btn-compact {
    background: var(--gfm-red);
    color: var(--gfm-white);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(221, 0, 0, 0.4);
}

.gfm-visit-btn-compact:hover {
    background: var(--gfm-black);
    box-shadow: 0 0 30px rgba(255, 206, 0, 0.6);
    border: 2px solid var(--gfm-yellow);
    transform: translateY(-3px);
}

.gfm-pipeline-btn-compact {
    background: var(--gfm-gray-medium);
    color: var(--gfm-white);
    border: 2px solid var(--gfm-gray-light);
}

.gfm-pipeline-btn-compact:hover {
    background: var(--gfm-yellow);
    color: var(--gfm-black);
    border-color: var(--gfm-yellow);
    box-shadow: 0 0 25px rgba(255, 206, 0, 0.5);
}

.gfm-pipeline-btn-compact.gfm-pipeline-added {
    background: var(--gfm-yellow);
    color: var(--gfm-black);
    box-shadow: 0 0 30px rgba(255, 206, 0, 0.7);
}

/* Slider Navigation - Clean White on Black */
.gfm-slider-nav {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.gfm-nav-counter {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px 24px;
    background: var(--gfm-gray-dark);
    border-radius: 30px;
    border: 1px solid var(--gfm-gray-light);
}

.gfm-counter-current {
    font-size: 32px;
    font-weight: 700;
    color: var(--gfm-yellow);
    text-shadow: 0 0 20px rgba(255, 206, 0, 0.5);
}

/* Lightbox - Black Background */
.gfm-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    padding: 20px;
}

.gfm-lightbox.gfm-lightbox-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gfm-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.gfm-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    box-shadow: 0 0 60px rgba(255, 206, 0, 0.3);
}

.gfm-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--gfm-red);
    color: var(--gfm-white);
    border: 3px solid var(--gfm-yellow);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(221, 0, 0, 0.6);
}

.gfm-lightbox-close:hover {
    background: var(--gfm-black);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 40px rgba(255, 206, 0, 0.8);
}

body.gfm-lightbox-open {
    overflow: hidden;
}

/* No Results */
.gfm-no-results {
    padding: 80px 20px;
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    background: var(--gfm-gray-dark);
    border-radius: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gfm-shop-card {
        grid-template-columns: 60% 40%;
        height: calc(100vh - 180px);
    }
}

@media (max-width: 768px) {
    .gfm-shop-card {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 500px;
    }
    
    .gfm-screenshot-side {
        min-height: 400px;
    }
    
    .gfm-info-side {
        border-left: none;
        border-top: 3px solid var(--gfm-yellow);
    }
    
    .gfm-info-expanded {
        display: none;
    }
    
    .gfm-info-side.gfm-info-expanded-active .gfm-info-expanded {
        display: flex;
    }
    
    .gfm-filter-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gfm-nav-overlay-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .gfm-zoom-btn {
        width: 44px;
        height: 44px;
        font-size: 28px;
        opacity: 1;
    }
    
    .gfm-scroll-hint {
        font-size: 11px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .gfm-card-slider {
        padding: 12px;
    }
    
    .gfm-filter-bar {
        padding: 10px 16px;
    }
    
    .gfm-filter-bar.gfm-collapsed {
        padding: 8px 16px;
    }
    
    .gfm-counter-current {
        font-size: 28px;
    }
}
