* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 10px #ff77ff, 0 0 20px #b04fff; }
  100% { box-shadow: 0 0 20px #ff77ff, 0 0 40px #b04fff; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0f0f0f, #1a1a2e, #0f0f0f);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    color: #eaeaea;
}

main {
    flex: 1;
    width: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #141414;
    border-bottom: 2px solid #b04fff;
    box-shadow: 0 0 20px rgba(176, 79, 255, 0.2);
    position: relative;
}

.toplogo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toplogo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 2px solid #b04fff;
}

.toplogo h1 {
    color: #b04fff;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(176, 79, 255, 0.6);
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-list li a {
    display: inline-block;
    text-decoration: none;
    color: #0f0f0f; 
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 12px;
    background: linear-gradient(45deg, #b04fff, #d98aff); 
    box-shadow: 0 0 10px #b04fff, 0 0 20px #d98aff; 
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-list li a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px #b04fff, 0 0 50px #d98aff;
    background: linear-gradient(45deg, #d98aff, #b04fff);
    color: #ffffff;
}

.discord-link {
    position: absolute;
    top: 15px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-link img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #2d00f7;
    box-shadow: 0 0 10px #1100ff, 0 0 20px #000000;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.discord-link img:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px #b04fff, 0 0 40px #d98aff;
}

iframe {
    width: 100%;
    height: 85vh;
    border: none;
    display: block;
}

footer {
    background: #141414;
    border-top: 2px solid #b04fff;
    box-shadow: 0 -2px 10px rgba(176, 79, 255, 0.2);
    padding: 20px 15px;
    text-align: center;
    flex-shrink: 0; 
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 14px;
    color: #eaeaea;
    flex-wrap: wrap;
}

footer a {
    color: #b04fff;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #ff77ff;
    text-shadow: 0 0 8px #ff77ff;
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        padding: 10px 15px;
    }

    .toplogo h1 {
        font-size: 1.4rem;
    }

    nav {
        position: static;
        transform: none;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .nav-list {
        gap: 10px;
        flex-wrap: nowrap;
    }

    .nav-list li a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .discord-link {
        position: static;
        margin: 10px auto 0;
    }

    .discord-link img {
        width: 45px;
        height: 45px;
    }

    iframe {
        height: 70vh;
    }

    .footer-content {
        flex-direction: column;
        gap: 12px;
        font-size: 12px;
    }
}
