:root {
    --bg-color: #070707;
    --text-color: #ffffff;
    --card-bg: rgba(36, 36, 36, 0.767);
    --card-gradient: linear-gradient(135deg, rgba(36, 36, 36, 0.767), rgba(0, 0, 0, 0.377));
    --card-shadow-color: rgba(255, 255, 255, 0.05);
    --header-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
}

.light-mode {
    --bg-color: #f5f5f7;
    --text-color: #121212;
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 240, 240, 0.6));
    --card-shadow-color: rgba(0, 0, 0, 0.1);
    --header-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color var(--transition-speed) ease, 
              color var(--transition-speed) ease,
              box-shadow var(--transition-speed) ease;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
}

.header {
    position: relative;
    padding: 1.5rem 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: var(--header-shadow);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.logo {
    width: 80px;
    height: auto;
    margin-right: 1rem;
}

.theme-toggle {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle i {
    transition: transform 0.5s ease;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 1rem;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #ff3131, #fd6767, #ffabab, #ffdede);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.subtitle {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.covers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem; 
    padding: 1.5rem;
}

.cover {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px var(--glow-color);
    text-decoration: none;
    display: block;
    transform: scale(1.05); 
}

.cover:hover {
    transform: translateY(-15px) scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 35px var(--glow-color);
}

.cover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--glow-color), transparent, var(--glow-color));
    z-index: -1;
    border-radius: 22px;
    animation: glowing 3s linear infinite;
    opacity: 0.5;
}

.cover:hover::before {
    opacity: 1;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

.cover-content {
    position: absolute;
    inset: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    background: var(--card-gradient);
    backdrop-filter: blur(5px);
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%; 
    overflow: hidden;
    border-radius: 15px;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.cover:hover .cover-image {
    transform: scale(1.20);
}

.info-container {
    padding: 0 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-content {
    color: var(--text-color);
}

.cover h2 {
    color: var(--text-color);
    font-size: 1.7rem; 
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cover .slogan {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1rem;
}

.cover .info {
    color: #ff0000; 
    font-size: 1rem; 
    margin-top: 0.3rem;
    font-style: italic;
}

.price-tag {
    background-color: var(--glow-color);
    padding: 0.7rem 1.4rem;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    font-size: 1.1rem; 
    box-shadow: 0 0 20px var(--glow-color); 
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    transform: translateZ(0);
    transition: all 0.3s;
}

.cover[href="https://bc.wiki.wanteddev.com"] {
    position: relative;
    overflow: hidden;
}

.cover[href="https://bc.wiki.wanteddev.com"]::after {
    content: 'Coming Soon...';
    position: absolute;
    inset: 0;
    background: rgba(255, 0, 0, 0.61);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10;
    border-radius: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cover[href="https://bc.wiki.wanteddev.com"]:hover::after {
    opacity: 1;
}

.cover[href="https://bc.wiki.wanteddev.com"]:hover {
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.164), 0 0 30px #ff00003b !important;
}

.cover[href="https://bc.wiki.wanteddev.com"]:hover::before {
    opacity: 0;
}

.footer {
    margin-top: auto;
    text-align: center;
    padding: 2rem 0;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--glow-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .theme-toggle {
        top: 1rem;
        right: 1rem;
    }

    .logo-container {
        justify-content: center;
    }

    .title {
        display: none;
    }

    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .container {
        width: 95%;
    }

    .covers-grid {
        grid-template-columns: 1fr; 
        gap: 2rem;
    }
    
    .cover {
        transform: scale(1);
    }

    .image-container {
        height: auto;
        margin-bottom: 1rem;
    }

    .cover-image {
        height: auto;
        max-height: 250px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1600px;
    }
    
    .covers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1800px) {
    .covers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

/* Leucht-Effekt für das Logo */
.logo {
    width: 80px;
    height: auto;
    margin-right: 1rem;
    filter: drop-shadow(0 0 8px rgba(255, 49, 49, 0.7));
    animation: pulse-logo 3s infinite alternate;
}

@keyframes pulse-logo {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 49, 49, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(255, 49, 49, 0.8));
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(255, 49, 49, 0.5));
    }
}

/* Leucht-Effekt für den Titel */
.title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #ff3131, #fd6767, #ffabab, #ffdede);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 49, 49, 0.3);
    animation: pulse-text 3s infinite alternate;
}

@keyframes pulse-text {
    0% {
        text-shadow: 0 0 5px rgba(255, 49, 49, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 49, 49, 0.7), 0 0 25px rgba(255, 49, 49, 0.5);
    }
    100% {
        text-shadow: 0 0 5px rgba(255, 49, 49, 0.3);
    }
}
/* Verbesserte Header-Box mit leuchtendem Rand */
.header {
    position: relative;
    padding: 1.5rem 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: var(--header-shadow);
    border-bottom: 1px solid rgba(255, 49, 49, 0.2);
    animation: border-glow 4s infinite alternate;
}

@keyframes border-glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 49, 49, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 49, 49, 0.4), 0 0 30px rgba(255, 49, 49, 0.2);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 49, 49, 0.2);
    }
}

/* Anpassung für Light-Mode */
.light-mode .logo {
    animation: pulse-logo-light 3s infinite alternate;
}

@keyframes pulse-logo-light {
    0% {
        filter: drop-shadow(0 0 5px rgba(200, 0, 0, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(200, 0, 0, 0.7));
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(200, 0, 0, 0.4));
    }
}

.light-mode .title {
    animation: pulse-text-light 3s infinite alternate;
}

@keyframes pulse-text-light {
    0% {
        text-shadow: 0 0 5px rgba(200, 0, 0, 0.2);
    }
    50% {
        text-shadow: 0 0 15px rgba(200, 0, 0, 0.5), 0 0 25px rgba(200, 0, 0, 0.3);
    }
    100% {
        text-shadow: 0 0 5px rgba(200, 0, 0, 0.2);
    }
}

.light-mode .header {
    animation: border-glow-light 4s infinite alternate;
}

@keyframes border-glow-light {
    0% {
        box-shadow: 0 0 10px rgba(200, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(200, 0, 0, 0.3), 0 0 30px rgba(200, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0 0 10px rgba(200, 0, 0, 0.1);
    }
}