* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.top-bar {
    background-color: #1e1e1e;
    border-bottom: 2px solid #333333;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.left-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    width: 90px;
    height: auto;
    display: block;
}

.bar-title {
    font-size: 38px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
}

/* Botón de Inicio Azul */
.home-button-blue {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.home-button-blue:hover {
    background-color: #004085;
}

.discord-link {
    background-color: #5865F2;
    color: white;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
    white-space: nowrap;
}

.discord-link:hover {
    background-color: #4752c4;
}

.bottom-content {
    display: flex;
    flex: 1;
    width: 100%;
    height: calc(100vh - 124px);
}

.button-column, .text-column {
    flex: 1;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Contenedor vertical para los botones de inicio */
.main-actions-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Botón Azul Grande Universal */
.blue-button {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 25px 50px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    display: block;
}

.blue-button:hover {
    background-color: #004085;
}

/* Botón de Moderator Contest (Estilo Verde Oscuro/Cactus) */
.mod-contest-button {
    background-color: #1b724c;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 20px 40px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    display: block;
    transition: background-color 0.2s ease;
}

.mod-contest-button:hover {
    background-color: #135236;
}

.academy-text {
    font-size: 26px;
    line-height: 1.6;
    text-align: justify;
    color: #e0e0e0;
}

.static-content {
    flex: 1;
    width: 100%;
    height: calc(100vh - 124px);
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    padding-top: 80px; 
}

.menu-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.scrollable-content {
    flex: 1;
    width: 100%;
    height: calc(100vh - 124px);
    overflow-y: auto;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guide-section {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #00bcff;
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
}

.image-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.guide-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    border-radius: 6px;
    border: 1px solid #333333;
}

.section-divider {
    width: 100%;
    max-width: 1000px;
    border: 0;
    height: 2px;
    background-color: #333333;
    margin: 50px 0;
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    body {
        overflow: auto;
    }

    .top-bar {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 30px 20px;
    }

    .left-group {
        flex-direction: column;
        gap: 15px;
    }

    .bar-title {
        font-size: 32px;
    }

    .bottom-content, .static-content {
        flex-direction: column;
        height: auto;
        padding-top: 30px;
    }

    .scrollable-content {
        height: auto;
        overflow-y: visible;
        padding: 40px 20px;
    }

    .button-column, .text-column {
        width: 100%;
        padding: 30px 20px;
    }

    .main-actions-group {
        width: 100%;
    }

    .blue-button, .mod-contest-button {
        width: 100%;
        font-size: 22px;
        padding: 20px 30px;
    }

    .home-button-blue {
        width: auto;
        font-size: 18px;
    }

    .academy-text {
        font-size: 20px;
        text-align: center;
    }

    .section-title {
        font-size: 26px;
    }
}