/* ================================================================
   MERALOOT COLLECTION FRAMEWORK
   Zentrale CSS-Datei für alle One Piece Sammlungen
   ================================================================ */

/* ================================================================
   PERFORMANCE OPTIMIZATION
   ================================================================ */

/* Lazy loading für Bilder */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* GPU Beschleunigung für kritische Animationen */
.collection-card,
.img-prev,
.img-next,
.view-toggle-btn,
.nav-toggle {
    will-change: transform;
}

/* Content-Visibility für bessere Performance */
.collection-grid {
    contain: layout style paint;
}

.collection-card {
    contain: layout style;
}

/* Critical Resource Hints */
.image-slider img {
    loading: lazy;
    decoding: async;
}

/* ================================================================
   BASE RESET & VARIABLES
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Fire Theme Colors */
    --fire-red: #ff4444;
    --fire-orange: #ff6b35;
    --fire-yellow: #ffa502;
    --dark-red: #c92a2a;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --text: #2c2c2c;
    --text-light: #666666;
    --border: #e0e0e0;
    --card-bg: #ffffff;
    
    /* Gradients */
    --fire-gradient: linear-gradient(135deg, #ff4444 0%, #ff6b35 50%, #ffa502 100%);
    --fire-gradient-hover: linear-gradient(135deg, #ff6b35 0%, #ffa502 50%, #ffb347 100%);
    
    /* Shadows */
    --shadow: 0 4px 20px rgba(255, 68, 68, 0.15);
    --shadow-hover: 0 8px 30px rgba(255, 68, 68, 0.25);
    
    /* Series-specific Colors */
    --men-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --men-color: #2a5298;
    
    --lady-gradient: linear-gradient(135deg, #ff6b9d 0%, #feca57 100%);
    --lady-color: #ff6b9d;
    
    --film-red-gradient: linear-gradient(90deg, #ff4b2b, #ff416c);
    --film-red-color: #d00000;
    
    --film-stampede-gradient: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    --film-stampede-color: #0f4c75;
    
    --film-gold-gradient: linear-gradient(90deg, #f7971e, #ffd200);
    --film-gold-color: #f7971e;
    
    --film-strongworld-gradient: linear-gradient(90deg, #555555, #aaaaaa);
    --film-strongworld-color: #7c3aed;
    
    --film-z-gradient: linear-gradient(90deg, #41295a, #2F0743);
    --film-z-color: #5f0f40;
    
    --wano-gradient: linear-gradient(90deg, #f9a8d4, #f472b6, #ec4899);
    --wano-color: #f472b6;
    
    --extra-segment-gradient: linear-gradient(90deg, #11998e, #38ef7d);
    --extra-segment-color: #11998e;
    
    --egghead-gradient: linear-gradient(90deg, #3b82f6, #1d4ed8);
    --egghead-color: #1d4ed8;
}

/* ================================================================
   BODY & LAYOUT BASE
   ================================================================ */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Animated Fire Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 68, 68, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 165, 2, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: fireGlow 15s ease-in-out infinite;
}

@keyframes fireGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Fire Particles Background */
.fire-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatUp 10s infinite linear;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% {
        transform: translateY(-120vh) translateX(calc(var(--drift) * 50px)) scale(1.5);
        opacity: 0;
    }
}

.particle:nth-child(1) { left: 10%; width: 20px; height: 20px; --drift: 2; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 30%; width: 15px; height: 15px; --drift: -1.5; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(3) { left: 50%; width: 25px; height: 25px; --drift: 1; animation-delay: 4s; animation-duration: 11s; }
.particle:nth-child(4) { left: 70%; width: 18px; height: 18px; --drift: -2; animation-delay: 6s; animation-duration: 14s; }
.particle:nth-child(5) { left: 90%; width: 22px; height: 22px; --drift: 1.5; animation-delay: 8s; animation-duration: 13s; }

/* Ensure content is above particles */
nav, section, footer, header, main {
    position: relative;
    z-index: 2;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--fire-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: var(--fire-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    margin-top: 60px;
    padding: 80px 20px;
    background: linear-gradient(to bottom, #fff 0%, #fff5f5 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--fire-gradient);
    border-radius: 50%;
    opacity: 0.1;
    top: -150px;
    right: -150px;
    filter: blur(40px);
    animation: fireFloat 8s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 165, 2, 0.15) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    filter: blur(60px);
    animation: fireFloat 10s infinite ease-in-out reverse;
}

@keyframes fireFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================================
   UTILITY COMPONENTS
   ================================================================ */

/* Breadcrumb */
.breadcrumb {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--fire-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--fire-red);
}

/* Info Box */
.info-box {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.info-banner {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.05) 0%, rgba(255, 165, 2, 0.05) 100%);
    border: 1px solid var(--fire-orange);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.info-banner h3 {
    color: var(--dark-red);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-banner p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--dark);
    padding: 60px 20px;
    margin-bottom: 60px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stats-container h3 {
    color: white;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

/* ================================================================
   VIEW CONTROLS (Detail/Compact Toggle)
   ================================================================ */
.view-controls {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.view-toggle {
    display: flex;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.view-toggle-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px; /* Touch-optimiert: Mindesthöhe 44px */
}

.view-toggle-btn.active {
    background: var(--fire-gradient);
    color: white;
    box-shadow: 0 2px 10px rgba(255, 68, 68, 0.3);
}

.view-toggle-btn:hover:not(.active) {
    color: var(--fire-orange);
    background: rgba(255, 107, 53, 0.1);
}

/* ================================================================
   MAIN CONTENT & SECTION HEADERS
   ================================================================ */
.main-content {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* ================================================================
   ACCORDION SYSTEM (for series organization)
   ================================================================ */
.series-divider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 5px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    transition: background 0.3s ease;
}

.series-divider::after {
    content: '';
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.series-divider.active::after {
    transform: rotate(225deg);
}

/* Series colors */
.series-divider.men { background: var(--men-gradient); }
.series-divider.lady { background: var(--lady-gradient); }
.series-divider.special { background: var(--fire-gradient); }
.series-divider.film-red { background: var(--film-red-gradient); }
.series-divider.film-stampede { background: var(--film-stampede-gradient); }
.series-divider.film-gold { background: var(--film-gold-gradient); }
.series-divider.film-strongworld { background: var(--film-strongworld-gradient); }
.series-divider.film-z { background: var(--film-z-gradient); }
.series-divider.wano-kuni { background: var(--wano-gradient); }
.series-divider.film-red-men { background: var(--men-gradient); }
.series-divider.film-red-lady { background: var(--lady-gradient); }
.series-divider.egghead { background: var(--egghead-gradient); }
.series-divider.extra-segment { background: var(--extra-segment-gradient); }

.series-divider.active + .section-header {
    display: block;
}

.toggle-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.toggle-content.show {
    display: block;
}

/* ================================================================
   COLLECTION GRID & CARDS (Universal System)
   ================================================================ */

/* Collection Grid - Universal System */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    padding: 15px; /* Platz für Hover-Effekte in alle Richtungen */
}

/* Grid-Größen Modifikatoren */
.collection-grid.large-cards {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.collection-grid.small-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Legacy Support - für bestehende boxset-style */
.collection-grid.boxset-style {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

/* Collection Card Base */
.collection-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Series-specific border colors for cards */
.collection-card.men { border-color: var(--men-color); }
.collection-card.lady { border-color: var(--lady-color); }
.collection-card.film-red { border-color: var(--film-red-color); }
.collection-card.film-z { border-color: var(--film-z-color); }
.collection-card.stampede { border-color: var(--film-stampede-color); }
.collection-card.strong-world { border-color: var(--film-strongworld-color); }
.collection-card.wano-kuni { border-color: var(--wano-color); }
.collection-card.film-gold { border-color: var(--film-gold-color); }
.collection-card.film-red-men { border-color: var(--men-color); }
.collection-card.film-red-lady { border-color: var(--lady-color); }
.collection-card.egghead { border-color: var(--egghead-color); }
.collection-card.extra-segment { border-color: var(--extra-segment-color); }

/* Image System */
.collection-image {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: white;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.image-slider img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Image Navigation */
.img-prev, .img-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 50%;
    width: 44px; /* Touch-optimiert: Mindestgröße 44px */
    height: 44px; /* Touch-optimiert: Mindestgröße 44px */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
}

.img-prev:hover, .img-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.img-prev { left: 8px; }
.img-next { right: 8px; }
.img-prev:before { content: '‹'; font-weight: bold; }
.img-next:before { content: '›'; font-weight: bold; }

/* Series-specific navigation colors */
.collection-card.men .img-prev, .collection-card.men .img-next { color: var(--men-color); border-color: rgba(42, 82, 152, 0.2); }
.collection-card.men .img-prev:hover, .collection-card.men .img-next:hover { background: rgba(42, 82, 152, 0.1); }

.collection-card.lady .img-prev, .collection-card.lady .img-next { color: var(--lady-color); border-color: rgba(255, 107, 157, 0.2); }
.collection-card.lady .img-prev:hover, .collection-card.lady .img-next:hover { background: rgba(255, 107, 157, 0.1); }

.collection-card.film-red .img-prev, .collection-card.film-red .img-next { color: var(--film-red-color); border-color: rgba(208, 0, 0, 0.2); }
.collection-card.film-red .img-prev:hover, .collection-card.film-red .img-next:hover { background: rgba(208, 0, 0, 0.1); }

/* Image Dots */
.img-dots {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 5px;
}

.img-dots .dot {
    height: 6px;
    width: 6px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.img-dots .dot.active { background-color: var(--fire-red); }
.img-dots .dot:hover:not(.active) { background-color: rgba(255, 68, 68, 0.6); transform: scale(1.1); }

/* Series-specific dot colors */
.collection-card.men .img-dots .dot.active { background-color: var(--men-color); }
.collection-card.lady .img-dots .dot.active { background-color: var(--lady-color); }
.collection-card.film-red .img-dots .dot.active { background-color: var(--film-red-color); }
.collection-card.wano-kuni .img-dots .dot.active { background-color: var(--wano-color); }
.collection-card.film-gold .img-dots .dot.active { background-color: var(--film-gold-color); }
.collection-card.film-z .img-dots .dot.active { background-color: var(--film-z-color); }
.collection-card.extra-segment .img-dots .dot.active { background-color: var(--extra-segment-color); }

/* Badges */
.volume-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

/* Series-specific badge colors */
.collection-card.men .volume-badge { background: var(--men-gradient); }
.collection-card.lady .volume-badge { background: var(--lady-gradient); }
.collection-card.special .volume-badge { background: var(--fire-gradient); }
.collection-card.film-red .volume-badge { background: var(--film-red-gradient); }
.collection-card.film-z .volume-badge { background: var(--film-z-gradient); }
.collection-card.stampede .volume-badge { background: var(--film-stampede-gradient); }
.collection-card.strong-world .volume-badge { background: var(--film-strongworld-gradient); }
.collection-card.wano-kuni .volume-badge { background: var(--wano-gradient); }
.collection-card.film-gold .volume-badge { background: var(--film-gold-gradient); }
.collection-card.film-red-men .volume-badge { background: var(--men-gradient); }
.collection-card.film-red-lady .volume-badge { background: var(--lady-gradient); }
.collection-card.egghead .volume-badge { background: var(--egghead-gradient); }
.collection-card.extra-segment .volume-badge { background: var(--extra-segment-gradient); }

.new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--dark-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Card Content */
.collection-content {
    padding: 25px;
}

.collection-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.collection-series {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Series-specific content colors */
.collection-card.men .collection-series { color: var(--men-color); }
.collection-card.lady .collection-series { color: var(--lady-color); }
.collection-card.special .collection-series { color: var(--fire-orange); }
.collection-card.film-red .collection-series { color: var(--film-red-color); }
.collection-card.film-z .collection-series { color: var(--film-z-color); }
.collection-card.stampede .collection-series { color: var(--film-stampede-color); }
.collection-card.strong-world .collection-series { color: var(--film-strongworld-color); }
.collection-card.wano-kuni .collection-series { color: var(--wano-color); }
.collection-card.film-gold .collection-series { color: var(--film-gold-color); }
.collection-card.film-red-men .collection-series { color: var(--men-color); }
.collection-card.film-red-lady .collection-series { color: var(--lady-color); }
.collection-card.egghead .collection-series { color: var(--egghead-color); }
.collection-card.extra-segment .collection-series { color: var(--extra-segment-color); }

.collection-info {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.collection-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.detail-icon {
    font-size: 16px;
}

/* Series-specific detail colors */
.collection-card.men .detail-icon { color: var(--men-color); }
.collection-card.lady .detail-icon { color: var(--lady-color); }
.collection-card.special .detail-icon { color: var(--fire-orange); }
.collection-card.film-red .detail-icon { color: var(--film-red-color); }
.collection-card.film-z .detail-icon { color: var(--film-z-color); }
.collection-card.stampede .detail-icon { color: var(--film-stampede-color); }
.collection-card.strong-world .detail-icon { color: var(--film-strongworld-color); }
.collection-card.wano-kuni .detail-icon { color: var(--wano-color); }
.collection-card.film-gold .detail-icon { color: var(--film-gold-color); }
.collection-card.film-red-men .detail-icon { color: var(--men-color); }
.collection-card.film-red-lady .detail-icon { color: var(--lady-color); }
.collection-card.egghead .detail-icon { color: var(--egghead-color); }
.collection-card.extra-segment .detail-icon { color: var(--extra-segment-color); }

.detail-label {
    font-weight: 600;
    margin-right: 6px;
    user-select: none;
}

/* Series-specific label colors */
.collection-card.men .detail-label { color: var(--men-color); }
.collection-card.lady .detail-label { color: var(--lady-color); }
.collection-card.special .detail-label { color: var(--fire-orange); }
.collection-card.film-red .detail-label { color: var(--film-red-color); }
.collection-card.film-z .detail-label { color: var(--film-z-color); }
.collection-card.stampede .detail-label { color: var(--film-stampede-color); }
.collection-card.strong-world .detail-label { color: var(--film-strongworld-color); }
.collection-card.wano-kuni .detail-label { color: var(--wano-color); }
.collection-card.film-gold .detail-label { color: var(--film-gold-color); }
.collection-card.film-red-men .detail-label { color: var(--men-color); }
.collection-card.film-red-lady .detail-label { color: var(--lady-color); }
.collection-card.egghead .detail-label { color: var(--egghead-color); }
.collection-card.extra-segment .detail-label { color: var(--extra-segment-color); }

.collection-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* ================================================================
   BOXSET-STYLE CARDS (Alternative Design)
   ================================================================ */

/* Boxset-Style Card with Labels/Tags */
.collection-card.boxset-style {
    min-height: 480px;
    padding: 0;
    overflow: hidden;
}

.collection-card.boxset-style .collection-content {
    padding: 25px 30px;
}

/* Tag Section for Boxset Style */
.label-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.label-tag {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.1) 0%, rgba(255, 165, 2, 0.1) 100%);
    color: var(--dark-red);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 68, 68, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: default;
}

.label-tag:hover {
    background: var(--fire-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

/* Series-specific label colors */
.collection-card.men .label-tag { border-color: rgba(42, 82, 152, 0.2); color: var(--men-color); }
.collection-card.men .label-tag:hover { background: var(--men-gradient); color: white; }

.collection-card.lady .label-tag { border-color: rgba(255, 107, 157, 0.2); color: var(--lady-color); }
.collection-card.lady .label-tag:hover { background: var(--lady-gradient); color: white; }

.collection-card.film-red .label-tag { border-color: rgba(208, 0, 0, 0.2); color: var(--film-red-color); }
.collection-card.film-red .label-tag:hover { background: var(--film-red-gradient); color: white; }

.collection-card.wano-kuni .label-tag { border-color: rgba(244, 114, 182, 0.2); color: var(--wano-color); }
.collection-card.wano-kuni .label-tag:hover { background: var(--wano-gradient); color: white; }

/* Boxset-Style Larger Content */
.collection-card.boxset-style .collection-name {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.collection-card.boxset-style .collection-series {
    font-size: 17px;
    margin-bottom: 12px;
}

.collection-card.boxset-style .collection-info {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Release Info Styling */
.release-info {
    background: linear-gradient(135deg, rgba(255, 165, 2, 0.1) 0%, rgba(255, 68, 68, 0.1) 100%);
    border: 1px solid rgba(255, 165, 2, 0.3);
    border-radius: 12px;
    padding: 10px 15px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--fire-orange);
    font-size: 14px;
    position: relative;
}

.release-info::before {
    content: '📅';
    margin-right: 8px;
}

/* Preorder Badge Style (alternative volume badge) */
.volume-badge.preorder-style {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    animation: pulse 2s infinite;
}

.compact-volume-badge.preorder-style {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    animation: pulse 2s infinite;
}

/* Show preorder icon only in detail view */
.volume-badge.preorder-style:before {
    content: "📅 ";
}

/* Hide preorder styling in compact view */
.collection-card.compact-view .volume-badge.preorder-style {
    background: var(--fire-gradient); /* Zurück zu normal */
    animation: none; /* Kein Pulsing */
}

.collection-card.compact-view .volume-badge.preorder-style:before {
    content: ""; /* Kein Preorder Icon */
}

.collection-card.compact-view .compact-volume-badge.preorder-style {
    background: var(--fire-gradient); /* Zurück zu normal */
    animation: none; /* Kein Pulsing */
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.price-tag {
    font-size: 28px;
    font-weight: 800;
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-info {
    font-size: 12px;
    color: var(--text-light);
}

.view-button {
    background: var(--fire-gradient);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}

.view-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: var(--fire-gradient-hover);
}

/* ================================================================
   COMPACT VIEW SYSTEM
   ================================================================ */
.collection-card.compact-view {
    display: flex;
    align-items: stretch;
    padding: 15px;
    margin-bottom: 15px;
    height: auto;
    min-height: 120px;
    position: relative;
}

.collection-card.compact-view:hover {
    transform: none;
    box-shadow: var(--shadow-hover);
}

.collection-card.compact-view .collection-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    margin-right: 15px;
    position: relative;
    overflow: visible !important;
}

.collection-card.compact-view .image-slider {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden !important;
}

.collection-card.compact-view .image-slider img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.collection-card.compact-view .img-prev,
.collection-card.compact-view .img-next {
    width: 36px; /* Touch-optimiert: reduziert aber immer noch 44px+ Touch Area */
    height: 36px;
    padding: 6px;
    top: 50%;
    transform: translateY(-50%);
}

.collection-card.compact-view .img-prev { left: 6px; }
.collection-card.compact-view .img-next { right: 6px; }

.collection-card.compact-view .img-dots {
    position: absolute !important;
    left: 2px; /* Innerhalb der Card statt außerhalb */
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 100 !important;
}

.collection-card.compact-view .img-dots .dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background-color: rgba(0, 0, 0, 0.2) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    margin: 0 !important;
    z-index: 100 !important;
}

.collection-card.compact-view .img-dots .dot.active {
    z-index: 100 !important;
}

.collection-card.compact-view .volume-badge {
    display: none;
}

/* Hide preorder badge in compact view */
.collection-card.compact-view.preorder-edition::after {
    display: none !important;
}

.collection-card.compact-view .collection-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100px;
    position: relative;
}

.collection-card.compact-view .collection-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.1;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collection-card.compact-view .collection-series {
    font-size: 12px;
    margin-bottom: 6px;
}

.collection-card.compact-view .collection-info,
.collection-card.compact-view .collection-details {
    display: none;
}

.collection-card.compact-view .collection-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.collection-card.compact-view .price-tag {
    font-size: 18px;
    font-weight: 700;
}

.collection-card.compact-view .view-button {
    padding: 6px 15px;
    font-size: 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.compact-volume-badge {
    display: none !important;
}

.collection-card.compact-view .compact-volume-badge {
    display: block !important;
    position: absolute;
    top: -70px; /* Stabile Position für alle Bildschirmgrößen - korrigiert Element-Verschiebung */
    right: 5px; /* Etwas Abstand vom Rand */
    padding: 4px 12px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

/* Grid adjustment for compact mode */
.collection-grid.compact-mode {
    display: block;
}

.collection-grid.compact-mode .collection-card {
    width: 100%;
    max-width: none;
}

/* ================================================================
   BOXSET-STYLE COMPACT VIEW
   ================================================================ */

/* Compact Boxset Cards */
.collection-card.boxset-style.compact-view {
    min-height: 140px;
    padding: 15px;
    display: flex;
    align-items: stretch;
    position: relative;
}

.collection-card.boxset-style.compact-view .collection-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 110px;
}

.collection-card.boxset-style.compact-view .collection-name {
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 1.3;
    max-width: 85%; /* Mehr Platz für Titel */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.collection-card.boxset-style.compact-view .collection-series {
    font-size: 13px;
    margin-bottom: 8px;
    max-width: 85%; /* Konsistent mit collection-name */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Hide labels/tags in compact mode, show simplified content instead */
.collection-card.boxset-style.compact-view .label-tags {
    display: none;
}

.collection-card.boxset-style.compact-view .collection-info {
    display: none;
}

.collection-card.boxset-style.compact-view .release-info {
    display: none;
}

/* Show simplified info in compact mode */
.collection-card.boxset-style.compact-view .compact-info {
    display: block !important;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.3;
}

.collection-card.boxset-style .compact-info {
    display: none;
}

/* Preorder styling for compact view */
.collection-card.boxset-style.compact-view .preorder-badge {
    top: 10px;
    right: 10px;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 15px;
}

/* Alternative: Preorder indicator in compact view */
.collection-card.boxset-style.compact-view .preorder-indicator {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 8px;
    gap: 4px;
}

.collection-card.boxset-style .preorder-indicator {
    display: none;
}

/* Series-specific compact badges */
.collection-card.men.compact-view .compact-volume-badge { background: var(--men-gradient); }
.collection-card.lady.compact-view .compact-volume-badge { background: var(--lady-gradient); }
.collection-card.special.compact-view .compact-volume-badge { background: var(--fire-gradient); }
.collection-card.film-red.compact-view .compact-volume-badge { background: var(--film-red-gradient); }
.collection-card.film-red-lady.compact-view .compact-volume-badge { background: var(--film-red-gradient); }
.collection-card.film-red-men.compact-view .compact-volume-badge { background: var(--film-red-gradient); }
.collection-card.film-z.compact-view .compact-volume-badge { background: var(--film-z-gradient); }
.collection-card.stampede.compact-view .compact-volume-badge { background: var(--film-stampede-gradient); }
.collection-card.strong-world.compact-view .compact-volume-badge { background: var(--film-strongworld-gradient); }
.collection-card.wano-kuni.compact-view .compact-volume-badge { background: var(--wano-gradient); }
.collection-card.film-gold.compact-view .compact-volume-badge { background: var(--film-gold-gradient); }
.collection-card.extra-segment.compact-view .compact-volume-badge { background: var(--extra-segment-gradient); }

/* Series-specific compact dots */
.collection-card.men.compact-view .img-dots .dot.active { background: var(--men-gradient); }
.collection-card.lady.compact-view .img-dots .dot.active { background: var(--lady-gradient); }
.collection-card.special.compact-view .img-dots .dot.active { background: var(--fire-gradient); }
.collection-card.film-red.compact-view .img-dots .dot.active { background: var(--film-red-gradient); }
.collection-card.film-red-men.compact-view .img-dots .dot.active { background: var(--film-red-gradient); }
.collection-card.film-red-lady.compact-view .img-dots .dot.active { background: var(--film-red-gradient); }
.collection-card.film-z.compact-view .img-dots .dot.active { background: var(--film-z-gradient); }
.collection-card.stampede.compact-view .img-dots .dot.active { background: var(--film-stampede-gradient); }
.collection-card.strong-world.compact-view .img-dots .dot.active { background: var(--film-strongworld-gradient); }
.collection-card.wano-kuni.compact-view .img-dots .dot.active { background: var(--wano-gradient); }
.collection-card.film-gold.compact-view .img-dots .dot.active { background: var(--film-gold-gradient); }

/* Badges next to button for both views */
.compact-badges {
    display: none; /* Hidden by default */
}

/* Detail view badges */
.collection-card:not(.compact-view) .compact-badges {
    display: flex !important;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.collection-card:not(.compact-view) .compact-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.2;
    white-space: nowrap;
    height: 18px;
    display: flex;
    align-items: center;
}

/* Compact view badges */
.collection-card.compact-view .compact-badges {
    display: flex !important;
    gap: 3px;
    align-items: center;
    flex-wrap: wrap;
}

.collection-card.compact-view .compact-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1px 4px;
    border-radius: 6px;
    font-size: 8px;
    font-weight: bold;
    line-height: 1.1;
    white-space: nowrap;
    height: 14px;
    display: flex;
    align-items: center;
}

/* Badge color variations for both views */
.collection-card .compact-badge:nth-child(1) {
    background: linear-gradient(135deg, #ff4757, #ff3838);
}

.collection-card .compact-badge:nth-child(2) {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.collection-card .compact-badge:nth-child(3) {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
    background: var(--dark);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--fire-orange) 0%, transparent 70%);
    opacity: 0.1;
    animation: rotatePulse 4s ease-in-out infinite;
}

@keyframes rotatePulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.cta-title {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-weight: 800;
}

.cta-text {
    color: var(--light);
    font-size: 18px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    background: var(--fire-gradient);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.4);
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 68, 68, 0.6);
    background: var(--fire-gradient-hover);
}

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.hide {
    display: none;
}

.figure-count {
    font-weight: 600;
}

.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--fire-gradient);
    animation: loadingSlide 2s ease-in-out;
    z-index: 100;
}

@keyframes loadingSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */
/* Mobile Navigation Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    gap: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background: var(--fire-gradient);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Menu */
.nav-links.mobile-active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-light);
    z-index: 1000;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-grid {
        grid-template-columns: 1fr;
        padding: 10px; /* Weniger padding auf Mobile */
    }

    .collection-details {
        grid-template-columns: 1fr;
    }

    .collection-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .collection-card.compact-view .compact-volume-badge {
        top: -58px; /* Mobile: stabiler positioniert - korrigiert Element-Verschiebung */
        right: 5px; /* Etwas mehr Abstand vom Rand */
    }

    .collection-card.compact-view .img-dots {
        left: 1px !important; /* Mobile: innerhalb der Card */
    }

    .collection-card.compact-view .img-dots .dot {
        width: 5px !important;
        height: 5px !important;
    }

    .collection-card.compact-view .img-dots .dot.active {
        width: 5px !important;
        height: 5px !important;
    }

    .view-controls {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .view-toggle {
        width: 100%;
        max-width: 300px;
    }

    .view-toggle-btn {
        flex: 1;
        font-size: 14px;
    }

    .collection-card.compact-view {
        padding: 10px;
        min-height: 100px;
    }

    /* Boxset-Style Mobile Optimizations */
    .collection-card.boxset-style.compact-view {
        padding: 12px;
        min-height: 110px;
    }

    .collection-card.boxset-style.compact-view .collection-name {
        font-size: 15px;
        max-width: 90%; /* Mehr Platz auf mobile */
        line-height: 1.2;
        margin-bottom: 8px; /* Mehr Abstand da series ausgeblendet */
    }

    .collection-card.boxset-style.compact-view .collection-series {
        display: none; /* Series auch bei 768px ausblenden für mehr Platz */
    }

    .collection-card.boxset-style.compact-view .collection-content {
        height: 90px; /* Etwas mehr Höhe für bessere Proporition */
    }

    /* Ensure Ship cards also get proper compact styling */
    .collection-card.special.compact-view {
        padding: 10px !important;
        min-height: 100px !important;
    }

    .collection-card.compact-view .collection-image {
        width: 80px !important;
        height: 80px !important;
        margin-right: 10px;
    }

    .collection-card.compact-view .image-slider {
        width: 80px !important;
        height: 80px !important;
    }

    /* Specific rules for Ship cards (with special class) */
    .collection-card.special.compact-view .collection-image {
        width: 80px !important;
        height: 80px !important;
        margin-right: 10px !important;
    }

    .collection-card.special.compact-view .image-slider {
        width: 80px !important;
        height: 80px !important;
    }

    /* Ensure images inside ship cards scale correctly */
    .collection-card.special.compact-view .image-slider img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }

    .collection-card.compact-view .collection-content {
        height: 80px;
    }

    /* Ship cards content area */
    .collection-card.special.compact-view .collection-content {
        height: 80px !important;
    }

    .collection-card.compact-view .collection-name {
        font-size: 14px;
    }

    .collection-card.compact-view .collection-series {
        font-size: 11px;
    }

    /* Ship cards text styling */
    .collection-card.special.compact-view .collection-name {
        font-size: 14px !important;
    }

    .collection-card.special.compact-view .collection-series {
        font-size: 11px !important;
    }

    .collection-card.compact-view .price-tag {
        font-size: 15px;
    }

    .collection-card.compact-view .view-button {
        padding: 4px 10px;
        font-size: 10px;
    }

    /* Ship cards pricing and button styling */
    .collection-card.special.compact-view .price-tag {
        font-size: 15px !important;
    }

    .collection-card.special.compact-view .view-button {
        padding: 4px 10px !important;
        font-size: 10px !important;
    }

    /* Ship cards navigation buttons */
    .collection-card.special.compact-view .img-prev,
    .collection-card.special.compact-view .img-next {
        width: 36px !important;
        height: 36px !important;
    }

    .collection-card.special.compact-view .img-prev { 
        left: 6px !important; 
    }

    .collection-card.special.compact-view .img-next { 
        right: 6px !important; 
    }

    .series-divider {
        font-size: 16px;
        padding: 8px 16px;
    }

    .series-divider::after {
        padding: 4px;
    }

    .section-header {
        font-size: 0.85rem;
        padding: 8px 16px;
        margin-bottom: 15px;
    }

    .cta-section {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .collection-card.compact-view .compact-volume-badge {
        top: -60px; /* Angepasst um Element-Verschiebung zu korrigieren */
        right: 3px; /* Weniger Abstand bei kleinen Screens */
    }

    .collection-card.compact-view .img-dots {
        left: 0px !important; /* Kleine Screens: ganz am Rand aber innerhalb */
    }

    .collection-card.compact-view .img-dots .dot {
        width: 4px !important;
        height: 4px !important;
    }

    .collection-card.compact-view .img-dots .dot.active {
        width: 4px !important;
        height: 4px !important;
    }

    .collection-card.compact-view .collection-name {
        max-width: 70%;
    }

    .collection-card.compact-view .collection-series {
        max-width: 70%;
    }

    /* Boxset-Style Extreme Mobile Optimizations (480px) */
    .collection-card.boxset-style.compact-view {
        padding: 8px;
        min-height: 100px;
    }

    .collection-card.boxset-style.compact-view .collection-name {
        font-size: 14px;
        max-width: 95%; /* Maximaler Platz für sehr kleine Screens */
        line-height: 1.1;
        margin-bottom: 6px; /* Mehr Abstand da series ausgeblendet */
    }

    .collection-card.boxset-style.compact-view .collection-series {
        display: none; /* Series ausblenden für mehr Platz */
    }

    .collection-card.boxset-style.compact-view .collection-content {
        height: 75px; /* Kompakter für sehr kleine Screens */
    }
}

/* ================================================================
   STATUS INDICATOR SYSTEM
   ================================================================ */

/* Status Badges - Neue Design-Philosophie */
.status-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Verfügbar Status - Grünes Häkchen */
.status-indicator.available {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
}

.status-indicator.available::before {
    content: "✓";
    font-size: 16px;
    font-weight: bold;
}

/* Coming Soon Status - Orange Uhr */
.status-indicator.coming-soon {
    background: linear-gradient(135deg, #ff9800, #ff6b35);
    color: white;
    animation: pulse-gentle 2s infinite;
}

.status-indicator.coming-soon::before {
    content: "🕐";
    font-size: 14px;
}

/* Nicht verfügbar Status - Graues X */
.status-indicator.unavailable {
    background: linear-gradient(135deg, #757575, #424242);
    color: white;
}

.status-indicator.unavailable::before {
    content: "✕";
    font-size: 14px;
    font-weight: bold;
}

/* Gentle Pulse Animation */
@keyframes pulse-gentle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.03);
    }
}

/* Hover Effects */
.status-indicator:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.status-indicator.available:hover {
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
}

.status-indicator.coming-soon:hover {
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.4);
}

.status-indicator.unavailable:hover {
    box-shadow: 0 4px 16px rgba(117, 117, 117, 0.4);
}

/* Compact View Adjustments */
.collection-card.compact-view .status-indicator {
    width: 24px;
    height: 24px;
    top: 8px;
    right: 8px;
    font-size: 12px;
}

.collection-card.compact-view .status-indicator::before {
    font-size: 12px;
}

.collection-card.compact-view .status-indicator.coming-soon::before {
    font-size: 11px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .status-indicator {
        width: 24px;
        height: 24px;
        top: 8px;
        right: 8px;
        font-size: 12px;
    }
    
    .status-indicator::before {
        font-size: 12px;
    }
    
    .status-indicator.coming-soon::before {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .status-indicator {
        width: 20px;
        height: 20px;
        top: 6px;
        right: 6px;
        font-size: 10px;
    }
    
    .status-indicator::before {
        font-size: 10px;
    }
    
    .status-indicator.coming-soon::before {
        font-size: 9px;
    }
}

/* ================================================================
   ACCESSIBILITY IMPROVEMENTS
   ================================================================ */
   
/* Focus styles for keyboard navigation */
.img-prev:focus, .img-next:focus,
.view-toggle-btn:focus,
.nav-toggle:focus,
.view-button:focus {
    outline: 3px solid var(--fire-orange);
    outline-offset: 2px;
}

.img-dots .dot:focus {
    outline: 3px solid var(--fire-orange);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .img-prev, .img-next {
        background: white;
        color: black;
        border: 2px solid black;
    }
    
    .img-dots .dot {
        background: black;
        border: 1px solid white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================================
   ADVANCED COLLECTION FEATURES (Anime/Gaming/Manga)
   ================================================================ */

/* Multi-Category Support */
.collection-category {
    margin-bottom: 40px;
}

.category-header {
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-orange) 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    font-size: 28px;
}

.category-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Advanced Filtering */
.filter-section {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    display: block;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tag {
    background: var(--bg-alt);
    border: 2px solid var(--border);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.filter-tag:hover {
    border-color: var(--fire-orange);
    color: var(--fire-orange);
    transform: translateY(-2px);
}

.filter-tag.active {
    background: var(--fire-gradient);
    border-color: var(--fire-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Sorting Controls */
.sort-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sort-dropdown {
    background: var(--card-bg);
    border: 2px solid var(--border);
    color: var(--text);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.sort-dropdown:hover {
    border-color: var(--fire-orange);
}

/* Collection Stats */
.collection-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--fire-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Media Type Indicators */
.media-type {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.media-type.anime {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5722 100%);
    color: white;
}

.media-type.manga {
    background: linear-gradient(135deg, #4ecdc4 0%, #26a69a 100%);
    color: white;
}

.media-type.game {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: white;
}

.media-type.figure {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #2d3436;
}

/* Rating System */
.rating-display {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.star {
    color: #ffd700;
    font-size: 16px;
}

.star.empty {
    color: #ddd;
}

.rating-text {
    font-size: 12px;
    color: var(--text-light);
    margin-left: 5px;
}

/* Advanced Card Layouts */
.collection-card.detailed-view {
    display: flex;
    flex-direction: row;
    height: auto;
    min-height: 200px;
}

.collection-card.detailed-view .image-container {
    flex: 0 0 200px;
}

.collection-card.detailed-view .collection-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.collection-card.detailed-view .collection-description {
    margin: 15px 0;
    line-height: 1.6;
    color: var(--text-light);
}

.collection-card.detailed-view .collection-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: var(--bg-alt);
    border-radius: 8px;
}

.meta-item {
    text-align: center;
}

.meta-label {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.meta-value {
    font-weight: 600;
    color: var(--text);
    font-size: 13px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .filter-section {
        padding: 20px;
    }
    
    .sort-section {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .collection-card.detailed-view {
        flex-direction: column;
    }
    
    .collection-card.detailed-view .image-container {
        flex: none;
    }
    
    .collection-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* ================================================================
   END OF FRAMEWORK
   ================================================================ */