* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #10233f;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.hero {
    position: relative;
    z-index: 1;
    padding: 100px 24px 90px;
}

.hero-box {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-img {
    width: 96px;
    height: 96px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fade-up 0.7s ease forwards;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    color: #10233f;
    opacity: 0;
    animation: fade-up 0.7s ease forwards;
    animation-delay: 0.12s;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #5c7290;
    max-width: 480px;
    margin: 0 0 36px;
    line-height: 1.55;
    opacity: 0;
    animation: fade-up 0.7s ease forwards;
    animation-delay: 0.22s;
}

.ip-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #c7e3ff;
    border-radius: 100px;
    padding: 10px 10px 10px 24px;
    opacity: 0;
    animation: fade-up 0.7s ease forwards;
    animation-delay: 0.32s;
}

.server-text {
    font-size: 0.8rem;
    color: #5c7290;
    font-weight: 600;
}

.ip-server {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1c5fc4;
}

.copy {
    background: #2f7fee;
    color: #ffffff;
    border: none;
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.copy:hover {
    background: #256bd1;
    transform: translateY(-1px);
}

.copy:active {
    transform: translateY(0);
}

.status-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    opacity: 0;
    animation: fade-up 0.7s ease forwards;
    animation-delay: 0.42s;
}

.item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1c5fc4;
}

.text {
    color: #a9bdd6;
    font-size: 0.8rem;
}

.status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a9bdd6;
}

.status.online {
    background: #2fbf6a;
}

.status.offline {
    background: #e6544a;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.98rem;
    font-weight: 600;
    transition: transform 0.15s ease, background 0.2s ease;
}

.button-primary {
    background: #2f7fee;
    color: #ffffff;
}

.button-primary:hover {
    background: #256bd1;
    transform: translateY(-2px);
}

main {
    position: relative;
    z-index: 1;
}

.gamemodes {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 100px;
    text-align: center;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin: 0 0 10px;
    color: #10233f;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #5c7290;
    margin: 0 0 44px;
}

.gamemode-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
}

.gamemode-card {
    background: #ffffff;
    border: 1px solid #e2f0ff;
    border-radius: 26px;
    padding: 32px;
    transition: transform 0.2s ease;
}

.gamemode-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 20px;
}

.gamemode-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.gamemode-description {
    font-size: 0.98rem;
    color: #5c7290;
    line-height: 1.55;
    margin: 0;
}

.discord {
    padding: 80px 24px;
}

.discord-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.discord-title {
    font-size: 2rem;
    font-weight: 800;
    color: #10233f;
    margin: 0 0 12px;
}

.discord-subtitle {
    font-size: 1.05rem;
    color: #5c7290;
    margin: 0 0 32px;
    line-height: 1.55;
}

.discord-widget {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    border-radius: 26px;
    overflow: hidden;
}

.discord-widget iframe {
    width: 270px;
    max-width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 56px 24px;
    text-align: center;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-info {
    display: flex;
    gap: 20px;
}

.footer-text {
    font-size: 0.85rem;
    color: #a9bdd6;
    margin: 0;
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 70px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.02rem;
    }

    .gamemode-box {
        grid-template-columns: 1fr;
    }

    .discord {
        padding: 64px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.05rem;
    }

    .ip-box {
        flex-wrap: wrap;
        justify-content: center;
        padding: 16px 20px;
        border-radius: 26px;
    }

    .section-title {
        font-size: 1.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-img,
    .hero-title,
    .hero-subtitle,
    .ip-box,
    .status-box {
        animation: none;
        opacity: 1;
    }
}