/* ============================================
   CHILL ZONE SMP - MINECRAFT PAGE STYLES
   Farbschema: Rot-Akzent für MC
   ============================================ */

:root {
    --mc-primary: #ef4444;
    --mc-primary-dark: #dc2626;
    --mc-primary-light: #f87171;
    --mc-glow: rgba(239, 68, 68, 0.3);
}

/* Page-specific overrides */
.mc-page {
    --primary: var(--mc-primary);
    --primary-dark: var(--mc-primary-dark);
}

/* ============================================
   MC PAGE - GLOBAL FIXES
   ============================================ */
.mc-page img {
    max-width: 100%;
    height: auto;
}

.mc-page svg {
    flex-shrink: 0;
}

/* Fix für alle SVG Icons auf der MC Seite */
.mc-page .mc-hero-buttons svg,
.mc-page .mc-stat-icon,
.mc-page .mc-about-card svg,
.mc-page .mc-card-icon svg,
.mc-page .mc-gallery-item svg,
.mc-page .mc-requirements svg,
.mc-page .mc-info-box svg,
.mc-page .mc-whitelist-form svg,
.mc-page .mc-team-role svg,
.mc-page .mc-gallery-note svg,
.mc-page .form-group label svg,
.mc-page .btn svg,
.mc-page .gallery-placeholder svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 48px;
    max-height: 48px;
}

.mc-page .btn-mc-primary svg {
    width: 20px;
    height: 20px;
}

.mc-page .mc-copy-btn svg {
    width: 18px;
    height: 18px;
}

.mc-page .form-group label svg {
    width: 18px;
    height: 18px;
}

.mc-page .mc-team-role svg {
    width: 14px;
    height: 14px;
}

.mc-page .gallery-placeholder svg {
    width: 48px;
    height: 48px;
}

.mc-page .mc-gallery-note svg {
    width: 16px;
    height: 16px;
}

.mc-page .mc-info-box svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
}

.mc-page .mc-requirements li svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
}

.mc-page .inline-icon {
    width: 14px;
    height: 14px;
}

.mc-page .mc-hero-stats .mc-stat-icon {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px;
    max-height: 24px;
}

/* Footer Heart Icon */
.mc-footer .inline-icon,
.mc-footer .mc-heart {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px;
    max-height: 14px;
    display: inline-block;
    vertical-align: middle;
}

.mc-glow {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, transparent 70%);
}

/* ============================================
   NAVIGATION MC OVERRIDES
   ============================================ */
.mc-navbar.scrolled {
    border-bottom-color: rgba(239, 68, 68, 0.1);
}

.mc-navbar .logo-text {
    background: linear-gradient(135deg, var(--mc-primary) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mc-navbar .logo-img {
    width: 45px;
    max-width: 45px;
    height: 45px;
    max-height: 45px;
}

.mc-cta {
    background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-primary-dark) 100%);
    box-shadow: 0 0 20px var(--mc-glow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mc-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

/* ============================================
   MC HERO SECTION
   ============================================ */
.mc-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--dark) 0%, rgba(239, 68, 68, 0.03) 50%, var(--dark) 100%);
}

.mc-hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.mc-block-float {
    position: absolute;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.2);
    animation: mc-float 20s infinite ease-in-out;
}

.block-f1 {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.block-f2 {
    width: 40px;
    height: 40px;
    top: 25%;
    right: 10%;
    animation-delay: -3s;
}

.block-f3 {
    width: 30px;
    height: 30px;
    bottom: 30%;
    left: 10%;
    animation-delay: -7s;
}

.block-f4 {
    width: 50px;
    height: 50px;
    bottom: 20%;
    right: 5%;
    animation-delay: -11s;
}

.block-f5 {
    width: 25px;
    height: 25px;
    top: 60%;
    left: 3%;
    animation-delay: -14s;
}

.block-f6 {
    width: 35px;
    height: 35px;
    top: 10%;
    right: 20%;
    animation-delay: -17s;
}

@keyframes mc-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(0) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translateY(30px) rotate(270deg);
        opacity: 0.8;
    }
}

.mc-hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.mc-hero-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease 0.2s both;
}

.mc-hero-logo {
    width: 200px;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 40px var(--mc-glow));
    animation: float 6s ease-in-out infinite;
}

.mc-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    max-width: 300px;
    height: 300px;
    max-height: 300px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: glow-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.mc-hero-title {
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease 0.4s both;
}

.mc-title-sub {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mc-title-main {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    color: var(--white);
}

.smp-highlight {
    background: linear-gradient(135deg, var(--mc-primary) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 20px var(--mc-glow));
}

.mc-hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeIn 1s ease 0.6s both;
}

/* MC Hero Stats */
.mc-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease 0.8s both;
    flex-wrap: wrap;
}

.mc-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mc-stat-icon {
    color: var(--mc-primary);
    filter: drop-shadow(0 0 10px var(--mc-glow));
}

.mc-stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.mc-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* MC Hero Buttons */
.mc-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 1s both;
    margin-bottom: 4rem;
}

.btn-mc-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-primary-dark) 100%);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--mc-glow);
}

.btn-mc-primary svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
    fill: currentColor;
}

.btn-mc-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.5);
}

.btn-mc-primary svg {
    fill: currentColor;
}

.mc-ip-copy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 50px;
    position: relative;
}

.mc-ip-text {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    color: var(--mc-primary);
    font-weight: 600;
}

.mc-copy-btn {
    background: rgba(239, 68, 68, 0.2);
    border: none;
    color: var(--mc-primary);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-copy-btn:hover {
    background: var(--mc-primary);
    color: var(--white);
}

.mc-copy-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--mc-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
}

.mc-copy-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mc-mouse {
    border-color: var(--mc-primary);
}

.mc-mouse .wheel {
    background: var(--mc-primary);
}

/* ============================================
   MC ABOUT SECTION
   ============================================ */
.mc-about {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
}

.mc-tag {
    color: var(--mc-primary) !important;
}

.mc-gradient-text {
    background: linear-gradient(135deg, var(--mc-primary) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mc-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.mc-about-card {
    text-align: center;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    border-color: rgba(239, 68, 68, 0.1);
}

.mc-about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(239, 68, 68, 0.1);
}

.mc-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    max-width: 70px;
    height: 70px;
    max-height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    color: var(--mc-primary);
    transition: all 0.3s ease;
}

.mc-card-icon svg {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
}

.mc-about-card:hover .mc-card-icon {
    background: var(--mc-primary);
    color: var(--white);
    box-shadow: 0 0 30px var(--mc-glow);
}

.mc-about-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.mc-about-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   MC GALLERY SECTION
   ============================================ */
.mc-gallery {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, transparent 0%, rgba(239, 68, 68, 0.02) 50%, transparent 100%);
}

.mc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mc-gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(239, 68, 68, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mc-gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.mc-gallery-item:hover {
    transform: scale(1.02);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(239, 68, 68, 0.1);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
}

.gallery-placeholder svg {
    opacity: 0.5;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
}

/* Gallery Images */
.mc-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mc-gallery-item:hover .mc-gallery-img {
    transform: scale(1.05);
}

.mc-gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.mc-gallery-item:hover .mc-gallery-label {
    opacity: 1;
    transform: translateY(0);
}

.gallery-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
}

.mc-gallery-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mc-gallery-note svg {
    color: var(--mc-primary);
}

/* ============================================
   MC WHITELIST SECTION
   ============================================ */
.mc-whitelist {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
}

.mc-whitelist-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.mc-whitelist-info h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.mc-requirements {
    list-style: none;
    margin-bottom: 2rem;
}

.mc-requirements li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.mc-requirements li svg {
    color: var(--mc-primary);
    flex-shrink: 0;
    margin-top: 2px;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
}

.mc-requirements li a {
    color: var(--mc-primary);
    text-decoration: none;
    font-weight: 500;
}

.mc-requirements li a:hover {
    text-decoration: underline;
}

.mc-info-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
}

.mc-info-box > svg {
    color: var(--mc-primary);
    flex-shrink: 0;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
}

.mc-info-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Whitelist Form */
.mc-whitelist-form-container {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.mc-whitelist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.form-group label svg {
    color: var(--mc-primary);
    width: 18px !important;
    height: 18px !important;
    max-width: 18px;
    max-height: 18px;
    flex-shrink: 0;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mc-primary);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-submit {
    position: relative;
    margin-top: 0.5rem;
}

.btn-submit svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
}

.btn-submit .btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-submit.loading span,
.btn-submit.loading svg {
    opacity: 0;
}

.btn-submit.loading .btn-loader {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--mc-primary);
}

/* ============================================
   MC TEAM SECTION
   ============================================ */
.mc-team {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
}

.mc-team-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.mc-team-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.mc-team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(239, 68, 68, 0.1);
}

.mc-team-avatar {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--mc-primary);
    box-shadow: 0 0 15px var(--mc-glow);
    flex-shrink: 0;
}

.mc-team-avatar img {
    width: 100%;
    height: 100%;
    max-width: 60px;
    max-height: 60px;
    object-fit: cover;
}

.mc-team-info h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.mc-team-role {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--mc-primary);
}

/* ============================================
   MC FOOTER OVERRIDES
   ============================================ */
.mc-footer .footer-name {
    background: linear-gradient(135deg, var(--mc-primary) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mc-footer-logo {
    width: 60px;
    max-width: 60px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.disabled-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.mc-back-to-top {
    background: linear-gradient(135deg, var(--mc-primary) 0%, var(--mc-primary-dark) 100%);
    box-shadow: 0 0 20px var(--mc-glow);
}

.mc-back-to-top:hover {
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .mc-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .mc-gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
        height: 250px;
    }
    
    .mc-gallery-item:not(.large) {
        height: 180px;
    }
    
    .mc-whitelist-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .mc-hero {
        padding: 5rem 1rem 3rem;
    }
    
    .mc-hero-logo {
        width: 150px;
    }
    
    .mc-hero-stats {
        gap: 2rem;
    }
    
    .mc-hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mc-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .mc-gallery-item.large {
        grid-column: span 1;
        height: 200px;
    }
    
    .mc-gallery-item:not(.large) {
        height: 150px;
    }
    
    .mc-about,
    .mc-gallery,
    .mc-whitelist,
    .mc-team {
        padding: 5rem 1rem;
    }
}

@media (max-width: 480px) {
    .mc-stat-value {
        font-size: 0.95rem;
    }
    
    .mc-ip-copy {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mc-whitelist-form-container {
        padding: 1.5rem;
    }
}

/* ============================================
   MC CREDITS NAME COLORS
   ============================================ */
.mc-credits-name {
    font-weight: 600;
}

.mc-credits-red {
    color: var(--mc-primary) !important;
}

.mc-credits-blue {
    color: #3b82f6 !important;
}

/* Footer Credits untereinander */
.mc-footer .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mc-footer .footer-bottom p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ============================================
   EDITION TOGGLE STYLES
   ============================================ */
.edition-toggle {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.edition-toggle input[type="radio"] {
    display: none;
}

.edition-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.6);
    border: 2px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
    font-weight: 500;
}

.edition-option:hover {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.05);
}

.edition-toggle input[type="radio"]:checked + .edition-option {
    border-color: var(--mc-primary);
    background: rgba(239, 68, 68, 0.1);
    color: var(--white);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.edition-icon {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
}

.edition-option svg.edition-icon {
    width: 24px !important;
    height: 24px !important;
}

/* ============================================
   MC TEAM WIDE CARD (für Technical Admin)
   ============================================ */
.mc-team-grid-single {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* ============================================
   MC TEAM SLIM CARD (Technical Admin - Hintergrund)
   ============================================ */
.mc-team-support {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.mc-team-card-slim {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 2rem;
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.mc-team-card-slim:hover {
    background: rgba(17, 24, 39, 0.6);
    border-color: rgba(239, 68, 68, 0.3);
}

.mc-team-avatar-slim {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--mc-primary);
    flex-shrink: 0;
}

.mc-team-avatar-slim img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-team-name-slim {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.mc-team-role-slim {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 20px;
}

.mc-team-role-slim svg {
    width: 12px !important;
    height: 12px !important;
    color: var(--mc-primary);
}

/* ============================================
   ARCHIVE SECTION
   ============================================ */
.mc-archive {
    padding: 6rem 0;
    position: relative;
}

.mc-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mc-archive-category {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.mc-archive-category:hover {
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.mc-archive-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

.mc-archive-title svg {
    width: 24px !important;
    height: 24px !important;
    color: var(--mc-primary);
}

.mc-archive-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mc-archive-empty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.mc-archive-empty svg {
    width: 20px !important;
    height: 20px !important;
    opacity: 0.5;
}

.mc-archive-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}

.mc-archive-item:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateX(4px);
}

.mc-archive-item:hover svg:last-child {
    color: var(--mc-primary);
}

.mc-archive-thumbnail {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.mc-archive-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    color: var(--mc-primary);
}

.mc-archive-icon svg {
    width: 24px !important;
    height: 24px !important;
}

.mc-archive-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mc-archive-item-name {
    font-weight: 500;
    color: var(--white);
}

.mc-archive-item-size {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mc-archive-item > svg:last-child {
    width: 20px !important;
    height: 20px !important;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.mc-archive-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mc-archive-note svg {
    width: 16px !important;
    height: 16px !important;
    color: var(--mc-primary);
}

/* Missing Thumbnail */
.mc-archive-thumbnail-missing {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border: 2px dashed rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: var(--text-muted);
}

.mc-archive-thumbnail-missing svg {
    width: 24px !important;
    height: 24px !important;
    opacity: 0.5;
}

/* Disabled/Unavailable Item */
.mc-archive-item-disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.mc-archive-item-disabled:hover {
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(239, 68, 68, 0.1);
}

/* Soon Badge */
.mc-archive-soon-badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.5rem;
    background: rgba(239, 68, 68, 0.15);
    color: var(--mc-primary);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 4px;
    opacity: 0.8;
}

/* ============================================
   LIVE PLAYER COUNT
   ============================================ */
.mc-stat-players .mc-stat-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.player-count-loader {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-top-color: var(--mc-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.player-online-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.player-offline-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   DOWNLOAD POPUP
   ============================================ */
.download-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-popup-active {
    opacity: 1;
}

.download-popup-content {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(30, 41, 59, 0.95));
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: popup-slide-in 0.3s ease;
}

@keyframes popup-slide-in {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.download-popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--mc-primary), var(--mc-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    animation: popup-icon-pulse 2s ease-in-out infinite;
}

@keyframes popup-icon-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

.download-popup-content h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.download-popup-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.download-popup-hint {
    color: var(--mc-primary);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.download-popup-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.download-popup-buttons .btn {
    flex: 0 1 auto;
    min-width: 120px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Thumbnail styling for modpack */
.mc-archive-thumbnail {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mc-archive-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
