/* ===== CSS Variables ===== */
:root {
    --bg-color: rgba(0, 0, 0, 0.7);
    --text-color: #ffffff;
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    --card-bg: rgba(255, 255, 255, 0.15);
    --card-border: rgba(255, 255, 255, 0.2);
    --card-hover-bg: rgba(255, 255, 255, 0.25);
    --backdrop-blur: 10px;
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --max-width: 800px;
    --padding: 20px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Reset & Base Styles ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Background & Overlay ===== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6) saturate(1.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    backdrop-filter: blur(var(--backdrop-blur));
}

/* ===== Container ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--padding);
    padding-top: calc(var(--padding) + 40px);
    padding-bottom: calc(var(--padding) + 60px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== Header ===== */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container {
    margin-bottom: 24px;
}

.band-cover {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.band-cover:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.band-name {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: var(--text-shadow);
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.85;
    text-shadow: var(--text-shadow);
}

/* ===== Links Grid ===== */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    flex: 1;
}

.link-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: blur(var(--backdrop-blur));
}

.link-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.link-card:active {
    transform: translateY(0);
}

.link-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: var(--transition);
}

.link-card:hover .link-icon {
    transform: scale(1.1);
}

.link-info {
    flex: 1;
}

.link-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.link-url {
    font-size: 0.85rem;
    opacity: 0.7;
    word-break: break-all;
}

.link-arrow {
    font-size: 1.2rem;
    opacity: 0.6;
    transition: var(--transition);
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Footer ===== */
.footer {
    margin-top: 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--text-color);
    text-decoration: underline;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 768px) {
    :root {
        --max-width: 90%;
        --padding: 16px;
    }
    
    .band-name {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .links-grid {
        gap: 12px;
    }
    
    .link-card {
        padding: 16px 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding-top: 20px;
        padding-bottom: 30px;
    }
    
    .band-name {
        font-size: 1.8rem;
    }
    
    .band-cover {
        max-width: 160px;
        max-height: 160px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .link-card {
        padding: 16px;
        gap: 12px;
    }
    
    .link-icon {
        font-size: 1.8rem;
        width: 44px;
        height: 44px;
    }
    
    .link-title {
        font-size: 1rem;
    }
    
    .footer-links {
        gap: 16px;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .band-name {
        font-size: 1.5rem;
    }
    
    .links-grid {
        gap: 10px;
    }
    
    .link-card {
        padding: 14px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card {
    animation: fadeIn 0.4s ease forwards;
    opacity: 0;
}

.link-card:nth-child(1) { animation-delay: 0.05s; }
.link-card:nth-child(2) { animation-delay: 0.1s; }
.link-card:nth-child(3) { animation-delay: 0.15s; }
.link-card:nth-child(4) { animation-delay: 0.2s; }
.link-card:nth-child(5) { animation-delay: 0.25s; }
.link-card:nth-child(6) { animation-delay: 0.3s; }
.link-card:nth-child(7) { animation-delay: 0.35s; }
.link-card:nth-child(8) { animation-delay: 0.4s; }
.link-card:nth-child(9) { animation-delay: 0.45s; }
.link-card:nth-child(10) { animation-delay: 0.5s; }

/* ===== Impressum Page ===== */
.impressum-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.impressum-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 32px;
    max-width: 700px;
    width: 100%;
    backdrop-filter: blur(var(--backdrop-blur));
    animation: fadeIn 0.4s ease forwards;
}

.impressum-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    text-shadow: var(--text-shadow);
}

.impressum-card p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.impressum-card p:last-child {
    margin-bottom: 0;
}

.impressum-card strong {
    color: var(--text-color);
}

.last-updated {
    font-style: italic;
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== Print Styles ===== */
@media print {
    .background-container,
    .overlay {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .band-cover {
        filter: grayscale(100%);
    }
    
    .impressum-card {
        background: white;
        border: 1px solid #ccc;
        color: black;
        box-shadow: none;
    }
}
