/* ============================================================================
   GLOBALE STYLES
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Grundfarbton dunkel, Nebula/Supernova Ebenen über pseudo-Elemente */
    background: radial-gradient(circle at 10% 20%, rgba(6, 6, 15, 1) 0%, rgba(6, 6, 15, 1) 30%),
                linear-gradient(135deg, #03020a 0%, #07041a 45%, #0e0522 100%);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Supernova / Nebula animated layers */
body::before,
body::after {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    opacity: 0.85;
}

/* deep nebula color wash */
body::before {
    background: radial-gradient(circle at 20% 30%, rgba(148, 163, 184, 0.06) 0%, transparent 20%),
                radial-gradient(circle at 70% 60%, rgba(236, 72, 153, 0.12) 0%, transparent 25%),
                radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.14) 0%, transparent 30%),
                radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 30%);
    filter: blur(40px);
    animation: nebulaDrift 30s linear infinite;
}

/* brighter shifting supernova highlights */
body::after {
    background: radial-gradient(circle at 40% 45%, rgba(255, 200, 125, 0.18) 0%, transparent 12%),
                radial-gradient(circle at 60% 35%, rgba(130, 88, 255, 0.18) 0%, transparent 14%),
                radial-gradient(circle at 30% 70%, rgba(56, 189, 248, 0.12) 0%, transparent 18%);
    filter: blur(80px) saturate(1.2);
    animation: nebulaShift 22s linear infinite;
}

body > * {
    position: relative;
    z-index: 2;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

.hero-content {
    text-align: center;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(59, 130, 246, 0.3);
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #a0aec0;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Glow-Effekt hinter dem Text */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236,72,153,0.20) 0%, rgba(139,92,246,0.14) 35%, rgba(59,130,246,0.10) 60%, transparent 75%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
}

.btn-primary:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* ============================================================================
   SOCIAL MEDIA SECTION
   ============================================================================ */

.socials {
    padding: 100px 20px;
    text-align: center;
}

.socials h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: -1px;
}

.social-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 35px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    font-weight: 600;
    min-width: 140px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.social-btn .icon {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.social-btn .label {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.social-btn:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.social-btn i {
    font-size: 2.5rem;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.social-btn:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* ============================================================================
   SERVER INFO SECTION
   ============================================================================ */

.server-info {
    padding: 100px 20px;
    background: rgba(15, 20, 40, 0.5);
}

.server-info h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    background: rgba(59, 130, 246, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 12px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.15);
    color: #60a5fa;
}

.info-card:hover .info-icon {
    transform: scale(1.15);
    background: rgba(139, 92, 246, 0.18);
    color: #a78bfa;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.5rem;
    color: #60a5fa;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status-online {
    color: #34d399;
    animation: glow 2s ease-in-out infinite;
}

/* ============================================================================
   TEAM SECTION
   ============================================================================ */

.team {
    padding: 100px 20px;
}

.team h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 25px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover {
    transform: translateY(-15px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.team-card:hover::before {
    opacity: 1;
}

.avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.avatar-link {
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar-link:hover {
    transform: scale(1.08);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.avatar-link:hover img {
    filter: brightness(1.2);
}

.team-card:hover .avatar {
    transform: scale(1.1);
    border-color: rgba(59, 130, 246, 0.6);
}

.team-name {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.team-role {
    font-size: 1rem;
    color: #8b5cf6;
    margin-bottom: 8px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.team-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.team-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    border: 1px solid rgba(88, 101, 242, 0.4);
    border-radius: 15px;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 25px rgba(88, 101, 242, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.team-discord-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, #7289DA 0%, #5865F2 100%);
    box-shadow: 0 15px 35px rgba(88, 101, 242, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(88, 101, 242, 0.6);
}

.team-discord-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.team-discord-btn:hover i {
    transform: rotate(20deg) scale(1.1);
}

.team-socials {
    display: flex;
    gap: 10px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.team-social-link {
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 12px;
    text-decoration: none;
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.team-social-link:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-color: rgba(59, 130, 246, 0.5);
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
}

.footer p {
    margin: 8px 0;
    font-size: 0.95rem;
}

/* ============================================================================
   TIP/QUOTE WIDGET (fixed side badge)
   ============================================================================ */
.tip-widget {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(2,6,23,0.7), inset 0 1px 1px rgba(255,255,255,0.08);
    width: 280px;
    max-width: 90vw;
    text-align: center;
    color: #e6eef9;
    transition: all 0.3s ease;
}

.tip-widget:hover {
    background: rgba(255,255,255,0.09);
    box-shadow: 0 12px 40px rgba(59,130,246,0.2), inset 0 1px 1px rgba(255,255,255,0.1);
}

.tip-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tip-icon {
    font-size: 2rem;
    color: #fbbf24;
    animation: tip-glow 2s ease-in-out infinite;
}

.tip-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.4;
    margin: 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.tip-next-btn {
    background: rgba(59,130,246,0.25);
    border: 1px solid rgba(59,130,246,0.4);
    color: #60a5fa;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tip-next-btn:hover {
    background: rgba(59,130,246,0.4);
    border-color: rgba(59,130,246,0.6);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

.tip-next-btn:active {
    transform: scale(0.98);
}

@keyframes tip-glow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@media (max-width: 768px) {
    .tip-widget { display: none; }
}

/* ============================================================================
   ANIMATIONEN
   ============================================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
    }
}

@keyframes nebulaDrift {
    0% { transform: translate3d(0,0,0) rotate(0deg); }
    50% { transform: translate3d(-6%, 3%, 0) rotate(6deg); }
    100% { transform: translate3d(0,0,0) rotate(0deg); }
}

@keyframes nebulaShift {
    0% { transform: translate3d(0,0,0) scale(1); opacity: 0.9; }
    50% { transform: translate3d(4%, -4%, 0) scale(1.02); opacity: 0.95; }
    100% { transform: translate3d(0,0,0) scale(1); opacity: 0.9; }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(52, 211, 153, 0.8);
    }
}

/* Support styles removed */

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .socials h2,
    .server-info h2,
    .team h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .info-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-buttons {
        gap: 15px;
    }

    .social-btn {
        padding: 20px 25px;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-glow {
        width: 300px;
        height: 300px;
    }

    .socials h2,
    .server-info h2,
    .team h2 {
        font-size: 1.5rem;
    }
}
