/* ===================================
   SUBLIOSTORE MARKETPLACE STYLES
   v1.2.1 - Multi-Service Marketplace Design
   =================================== */

/* Kategorie-Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Kategorie-Karte */
.category-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

/* Kategorie Header */
.category-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-green));
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

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

/* YouTube Kategorie - Rot */
.youtube-category .category-icon {
    background: linear-gradient(135deg, #FF0000, #ff4444);
}

.youtube-category:hover {
    border-color: #FF0000;
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.2);
}

.youtube-category::before {
    background: linear-gradient(90deg, #FF0000, #ff4444);
}

/* Spotify Kategorie - Spotify Green */
.spotify-category .category-icon {
    background: linear-gradient(135deg, #1DB954, #1ED760);
}

.spotify-category:hover {
    border-color: #1DB954;
    box-shadow: 0 10px 40px rgba(29, 185, 84, 0.2);
}

.spotify-category::before {
    background: linear-gradient(90deg, #1DB954, #1ED760);
}

/* Coming Soon Kategorie */
.coming-soon-category {
    opacity: 0.7;
    cursor: not-allowed;
}

.coming-soon-category:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

.coming-soon-category .category-icon {
    background: linear-gradient(135deg, #666, #888);
}

/* Netflix Coming Soon - Rot */
.netflix-soon .category-icon {
    background: linear-gradient(135deg, #E50914, #f40612);
}

.netflix-soon:hover {
    border-color: rgba(229, 9, 20, 0.3);
}

/* Disney+ Coming Soon - Blau */
.disney-soon .category-icon {
    background: linear-gradient(135deg, #113CCF, #1e4ed8);
}

.disney-soon:hover {
    border-color: rgba(17, 60, 207, 0.3);
}

/* Discord Coming Soon - Lila */
.discord-soon .category-icon {
    background: linear-gradient(135deg, #5865F2, #7289da);
}

.discord-soon:hover {
    border-color: rgba(88, 101, 242, 0.3);
}

/* Crunchyroll Coming Soon - Orange */
.crunchyroll-soon .category-icon {
    background: linear-gradient(135deg, #F47521, #ff8534);
}

.crunchyroll-soon:hover {
    border-color: rgba(244, 117, 33, 0.3);
}

.coming-soon-badge {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 193, 7, 0.1);
    border: 2px dashed #ffc107;
    border-radius: 10px;
    text-align: center;
    color: #ffc107;
    font-weight: 600;
}

.coming-soon-badge i {
    margin-right: 0.5rem;
}

/* Kategorie Titel & Description */
.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.category-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Kategorie Features */
.category-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.category-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.category-features li i {
    color: var(--primary-green);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.youtube-category .category-features li i {
    color: #FF0000;
}

.spotify-category .category-features li i {
    color: #1DB954;
}

/* Expand Button */
.btn-expand {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-green));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-expand:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.youtube-category .btn-expand {
    background: linear-gradient(135deg, #FF0000, #ff4444);
}

.youtube-category .btn-expand:hover {
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.spotify-category .btn-expand {
    background: linear-gradient(135deg, #1DB954, #1ED760);
}

.spotify-category .btn-expand:hover {
    box-shadow: 0 5px 20px rgba(29, 185, 84, 0.4);
}

.btn-expand i {
    transition: transform 0.3s ease;
}

/* Plans Container */
.plans-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

/* Plan Card */
.plan-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.2);
}

.plan-popular {
    border-color: var(--primary-green);
    background: rgba(29, 185, 84, 0.05);
}

.plan-popular:hover {
    border-color: var(--primary-green);
    box-shadow: 0 5px 20px rgba(29, 185, 84, 0.3);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--primary-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Plan Header */
.plan-header {
    margin-bottom: 1rem;
}

.plan-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    background: linear-gradient(135deg, var(--primary-green), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-save {
    font-size: 0.75rem;
    color: var(--primary-green);
    background: rgba(29, 185, 84, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

/* Plan Button */
.plan-card .btn-add-cart {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.85rem;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-green));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.plan-card .btn-add-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 15px rgba(99, 102, 241, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card {
        padding: 1rem;
    }
}

/* Dark Mode spezifische Anpassungen */
body.dark-mode .plan-card {
    background: rgba(255, 255, 255, 0.03);
}

body.dark-mode .plan-popular {
    background: rgba(29, 185, 84, 0.08);
}

body.dark-mode .coming-soon-badge {
    background: rgba(255, 193, 7, 0.05);
}
