* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #2c1810 0%, #1a0d2e 50%, #0f051a 100%);
    min-height: 100vh;
    color: #e2d5f1;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(75, 0, 130, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(72, 61, 139, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    padding: 1rem 0;
    background: rgba(26, 13, 46, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 4px 30px rgba(138, 43, 226, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #c794f7;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(199, 148, 247, 0.5);
}

.nav-links a {
    color: #b19cd9;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    color: #c794f7;
    background: rgba(138, 43, 226, 0.2);
    transform: translateY(-2px);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    background: rgba(26, 13, 46, 0.9);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(138, 43, 226, 0.3),
        inset 0 1px 0 rgba(199, 148, 247, 0.1);
    text-align: center;
    max-width: 700px;
    width: 100%;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    position: relative;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, transparent 50%, rgba(75, 0, 130, 0.1) 100%);
    border-radius: 25px;
    pointer-events: none;
}

.icon {
    color: #c794f7;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(199, 148, 247, 0.5));
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #c794f7;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(199, 148, 247, 0.5);
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #9d7bba;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.main-message {
    font-size: 1.3rem;
    color: #b19cd9;
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.farewell-message {
    background: rgba(138, 43, 226, 0.15);
    border: 1px solid rgba(199, 148, 247, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.farewell-message p {
    color: #d4c2e8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.farewell-message p:last-child {
    margin-bottom: 0;
}

.signature {
    text-align: right;
    font-weight: 600;
    color: #c794f7 !important;
    margin-top: 1.5rem;
    font-size: 1.2rem !important;
    text-shadow: 0 0 10px rgba(199, 148, 247, 0.5);
    font-style: normal !important;
}

.info-box {
    background: rgba(75, 0, 130, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-left: 4px solid #8a2be2;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.info-box p {
    margin-bottom: 0.8rem;
    color: #d4c2e8;
    font-size: 1.1rem;
}

.discord-link {
    color: #c794f7 !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(199, 148, 247, 0.3);
    position: relative;
}

.discord-link:hover {
    color: #e6d7ff !important;
    text-shadow: 0 0 15px rgba(199, 148, 247, 0.8);
    transform: scale(1.05);
}

.discord-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #c794f7);
    transition: width 0.3s ease;
}

.discord-link:hover::after {
    width: 100%;
}

.not-for-sale {
    font-weight: 600;
    color: #ff6b9d !important;
    text-shadow: 0 0 5px rgba(255, 107, 157, 0.3);
}

/* Impressum specific styles */
.impressum-content {
    text-align: left;
    max-width: 900px;
}

.impressum-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.legal-notice {
    background: rgba(75, 0, 130, 0.2);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(10px);
}

.legal-notice p {
    font-size: 1.1rem;
    color: #d4c2e8;
    line-height: 1.8;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: rgba(26, 13, 46, 0.8);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 -4px 30px rgba(138, 43, 226, 0.1);
}

footer p {
    color: #9d7bba;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        margin: 1rem;
        padding: 2rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .main-message {
        font-size: 1.15rem;
    }
    
    .farewell-message {
        padding: 1.5rem;
        text-align: center;
    }
    
    .farewell-message p {
        font-size: 1rem;
    }
    
    .signature {
        text-align: center;
        font-size: 1.1rem !important;
    }
    
    nav {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .info-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .main-message {
        font-size: 1rem;
    }
    
    .farewell-message {
        padding: 1.2rem;
        text-align: center;
    }
    
    .farewell-message p {
        font-size: 0.95rem;
    }
    
    .signature {
        font-size: 1rem !important;
        margin-top: 1rem;
    }
    
    .icon svg {
        width: 60px;
        height: 60px;
    }
    
    .info-box {
        padding: 1.2rem;
    }
    
    .info-box p {
        font-size: 1rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        order: -1;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .main-message {
        font-size: 0.95rem;
    }
}