* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
}


/* CABECERA */

h1 {
    text-align: center;
}

.header {
    margin-bottom: 40px;
    padding: 0 15px;
}

.subtitle {
    text-align: center;
}


/* TARJETAS DEL RANKING */

.ranking-item {
    border: 1px solid white;
    padding: 20px;
    margin: 10px auto;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    background-color: #111;
    transition: 0.2s;
    text-align: center;
}

.ranking-item:hover {
    transform: scale(1.02);
}

.position {
    font-size: 18px;
    font-weight: bold;
}

.amount {
    font-size: 32px;
    font-weight: bold;
}


/* TEXTOS LARGOS */

.ranking-item h2,
.ranking-item p,
.ranking-item a {
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* ENLACES */

.ranking-item a {
    color: white;
    text-decoration: none;
}

.ranking-item a:hover {
    text-decoration: underline;
}


/* PRIMER PUESTO */

.first-place {
    border: 2px solid gold;
}

.first-place .amount {
    color: gold;
}


/* BOTÓN PRINCIPAL */

.become-first {
    display: block;
    margin: 25px auto 0;
    padding: 15px 30px;

    background-color: gold;
    color: black;

    border: none;
    border-radius: 8px;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

.become-first:hover {
    transform: scale(1.05);
}


/* FORMULARIO PARA CREAR UNA ENTRADA */

.join-form {
    display: none;

    width: 90%;
    max-width: 600px;

    margin: 0 auto 30px;
    padding: 25px;

    background-color: #111;

    border: 1px solid #333;
    border-radius: 10px;
}

.join-form h2 {
    margin-top: 0;
}

.join-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

.join-form input {
    width: 100%;
    padding: 12px;

    background-color: #1a1a1a;
    color: white;

    border: 1px solid #444;
    border-radius: 5px;

    font-size: 16px;
}

.join-form input:focus,
.inline-contribution-form input:focus {
    outline: none;
    border-color: gold;
}


/* BOTÓN CONTINUE */

.join-form button[type="submit"] {
    width: 100%;

    margin-top: 20px;
    padding: 15px;

    background-color: gold;
    color: black;

    border: none;
    border-radius: 8px;

    font-weight: bold;

    cursor: pointer;
}


/* BOTÓN CONTRIBUTE */

.contribute-button {
    padding: 10px 20px;

    background-color: transparent;
    color: white;

    border: 1px solid white;
    border-radius: 6px;

    font-weight: bold;

    cursor: pointer;
}

.contribute-button:hover {
    background-color: white;
    color: black;
}


/* FORMULARIO CONTRIBUTE DENTRO DE LA TARJETA */

.inline-contribution-form {
    margin-top: 15px;
    padding-top: 15px;

    border-top: 1px solid #333;
}

.inline-contribution-form label {
    display: block;
    margin-bottom: 5px;
}

.inline-contribution-form input {
    width: 100%;
    padding: 12px;

    background-color: #1a1a1a;
    color: white;

    border: 1px solid #444;
    border-radius: 5px;

    font-size: 16px;
}


/* BOTÓN CONFIRM CONTRIBUTION */

.inline-contribution-form button[type="submit"] {
    width: 100%;

    margin-top: 10px;
    padding: 12px;

    background-color: gold;
    color: black;

    border: none;
    border-radius: 6px;

    font-weight: bold;

    cursor: pointer;
}

.inline-contribution-form button[type="submit"]:hover {
    transform: scale(1.02);
}


/* BOTÓN X */

.close-contribution-button {
    display: block;

    width: fit-content !important;

    margin: 0 0 10px auto !important;
    padding: 0 !important;

    background: transparent !important;
    color: white !important;

    border: none !important;

    font-size: 26px;
    font-weight: normal;
    line-height: 1;

    cursor: pointer;
}

.close-contribution-button:hover {
    background: transparent !important;
    color: gold !important;
    transform: none !important;
}


/* MENSAJES DE ERROR */

.form-error {
    min-height: 18px;

    margin: 10px 0 0;

    color: #ff6b6b;

    font-size: 14px;
    font-weight: bold;
}


/* BOTONES MIENTRAS SE ESTÁ ENVIANDO */

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.join-form button[type="submit"]:disabled,
.inline-contribution-form button[type="submit"]:disabled {
    transform: none;
}


/* MÓVIL */

@media (max-width: 600px) {

    h1 {
        font-size: 28px;
    }

    .ranking-item {
        width: 94%;
        padding: 18px;
    }

    .join-form {
        width: 94%;
        padding: 20px;
    }

    .amount {
        font-size: 28px;
    }

    .become-first {
        width: 90%;
        max-width: 350px;
    }

}

/* =========================
   PÁGINA INDIVIDUAL DE PERFIL
   ========================= */

.profile-page {
    width: 90%;
    max-width: 700px;

    margin: 0 auto;
    padding-bottom: 40px;
}


.back-link {
    display: inline-block;

    margin-bottom: 20px;

    color: #aaa;

    text-decoration: none;

    font-size: 14px;
    font-weight: bold;
}


.back-link:hover {
    color: gold;
}


.profile-details {
    padding: 30px;

    background-color: #111;

    border: 1px solid #333;
    border-radius: 12px;

    text-align: center;
}


.profile-name {
    margin-top: 0;
    margin-bottom: 15px;

    font-size: 36px;

    overflow-wrap: anywhere;
    word-break: break-word;
}


.profile-amount {
    margin: 10px 0 20px;

    color: gold;

    font-size: 48px;
    font-weight: bold;
}


.profile-message {
    margin: 20px 0;

    font-size: 18px;
    line-height: 1.5;

    overflow-wrap: anywhere;
    word-break: break-word;
}


.profile-url {
    display: block;

    margin: 20px 0;

    color: white;

    text-decoration: none;

    overflow-wrap: anywhere;
    word-break: break-word;
}


.profile-url:hover {
    color: gold;
    text-decoration: underline;
}


.profile-contribute-button {
    width: 100%;

    margin-top: 20px;
    padding: 15px;

    background-color: gold;
    color: black;

    border: none;
    border-radius: 8px;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}


.profile-contribute-button:hover {
    transform: scale(1.02);
}


/* MÓVIL */

@media (max-width: 600px) {

    .profile-page {
        width: 94%;
    }


    .profile-details {
        padding: 20px;
    }


    .profile-name {
        font-size: 30px;
    }


    .profile-amount {
        font-size: 38px;
    }

}

/* =========================
   FORMULARIO DE CONTRIBUCIÓN
   EN LA PÁGINA DE PERFIL
   ========================= */

.profile-contribution-form {
    margin-top: 20px;
    padding-top: 20px;

    border-top: 1px solid #333;

    text-align: left;
}


.profile-contribution-form label {
    display: block;

    margin-bottom: 6px;

    font-weight: bold;
}


.profile-contribution-form input {
    width: 100%;

    padding: 12px;

    background-color: #1a1a1a;
    color: white;

    border: 1px solid #444;
    border-radius: 6px;

    font-size: 16px;
}


.profile-contribution-form input:focus {
    outline: none;
    border-color: gold;
}


.profile-contribution-form button[type="submit"] {
    width: 100%;

    margin-top: 12px;
    padding: 13px;

    background-color: gold;
    color: black;

    border: none;
    border-radius: 6px;

    font-weight: bold;

    cursor: pointer;
}


.profile-contribution-form button[type="submit"]:hover {
    transform: scale(1.02);
}


.profile-contribution-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* =========================
   HALL OF FAME
   ========================= */

.hall-page {
    width: 90%;
    max-width: 900px;

    margin: 0 auto;
    padding: 40px 0;
}


.hall-header {
    text-align: center;
    margin-bottom: 40px;
}


.hall-header h1 {
    margin-bottom: 10px;
    font-size: 42px;
}


.hall-header p {
    margin: 0 0 20px;

    color: #aaa;

    font-size: 16px;
}


.hall-back-link {
    color: gold;
    text-decoration: none;

    font-weight: bold;
}


.hall-back-link:hover {
    text-decoration: underline;
}


.hall-section-title {
    margin-bottom: 20px;

    font-size: 28px;
}


.achievement-card {
    padding: 22px;

    margin-bottom: 16px;

    background-color: #111;

    border: 1px solid #333;
    border-radius: 10px;
    text-align: center;
}


.achievement-card h3 {
    margin-top: 0;
    margin-bottom: 10px;

    color: gold;

    font-size: 22px;
}


.achievement-profile {
    margin: 0 0 8px;
}


.achievement-profile a {
    color: white;
    text-decoration: none;

    font-size: 18px;
    font-weight: bold;

    overflow-wrap: anywhere;
    word-break: break-word;
}


.achievement-profile a:hover {
    color: gold;
    text-decoration: underline;
}


.achievement-date {
    color: #888;

    font-size: 14px;
}


/* MÓVIL */

@media (max-width: 600px) {

    .hall-page {
        width: 94%;
        padding: 25px 0;
    }


    .hall-header h1 {
        font-size: 32px;
    }


    .hall-section-title {
        font-size: 24px;
    }


    .achievement-card {
        padding: 18px;
    }


    .achievement-card h3 {
        font-size: 19px;
    }

}

/* GRID DE LOGROS */

#achievementsList {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}


.achievement-card {
    margin-bottom: 0;
}


/* TABLET */

@media (max-width: 850px) {

    #achievementsList {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MÓVIL */

@media (max-width: 600px) {

    #achievementsList {
        grid-template-columns: 1fr;
    }

}

/* =========================
   ENLACE HALL OF FAME
   ========================= */

.hall-link-container {
    margin-top: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;

    flex-wrap: wrap;

    text-align: center;
}

.hall-link {
    display: inline-block;

    color: gold;

    font-size: 16px;
    font-weight: bold;

    text-decoration: none;

    transition: 0.2s;
}

.hall-link:hover {
    transform: scale(1.05);
    text-decoration: underline;
}

/* =========================
   HISTORIAL DE CONTRIBUCIONES
   ========================= */

.contribution-history {
    margin-top: 30px;
}

.contribution-history h2 {
    margin-bottom: 18px;
    text-align: center;
}

#contribution-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contribution-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 20px;

    background-color: #111;

    border: 1px solid #333;
    border-radius: 8px;
}

.contribution-history-amount {
    color: gold;

    font-size: 18px;
}

.contribution-history-date {
    color: #999;

    font-size: 14px;
}


/* MÓVIL */

@media (max-width: 600px) {

    .contribution-history-item {
        flex-direction: column;
        gap: 6px;

        text-align: center;
    }

}

/* =========================
   AUTENTICACIÓN
   ========================= */

.auth-container {
    margin-top: 20px;
    text-align: center;
}

#guest-auth,
#user-auth {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.auth-button {
    padding: 10px 18px;

    background-color: transparent;
    color: white;

    border: 1px solid white;
    border-radius: 6px;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;
}

.auth-button:hover {
    background-color: white;
    color: black;
}

.auth-button-gold {
    background-color: gold;
    color: black;
    border-color: gold;
}

.auth-button-gold:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

#user-email {
    color: #ccc;
    font-size: 14px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 600px) {

    #guest-auth,
    #user-auth {
        flex-direction: column;
    }

    .auth-button {
        width: 180px;
    }

}

/* =========================
   FORMULARIOS DE AUTENTICACIÓN
   ========================= */

.auth-form {
    width: 90%;
    max-width: 420px;

    margin: 20px auto 30px;
    padding: 24px;

    background-color: #111;

    border: 1px solid #333;
    border-radius: 10px;
}

.auth-form h2 {
    margin-top: 0;
    margin-bottom: 20px;

    text-align: center;
}

.auth-form label {
    display: block;

    margin-top: 14px;
    margin-bottom: 6px;

    font-weight: bold;
}

.auth-form input {
    width: 100%;

    padding: 12px;

    background-color: #1a1a1a;
    color: white;

    border: 1px solid #444;
    border-radius: 6px;

    font-size: 16px;
}

.auth-form input:focus {
    outline: none;
    border-color: gold;
}

.auth-submit-button {
    width: 100%;

    margin-top: 14px;
    padding: 13px;

    background-color: gold;
    color: black;

    border: none;
    border-radius: 6px;

    font-weight: bold;

    cursor: pointer;
}

.auth-cancel-button {
    width: 100%;

    margin-top: 10px;
    padding: 11px;

    background-color: transparent;
    color: white;

    border: 1px solid #555;
    border-radius: 6px;

    font-weight: bold;

    cursor: pointer;
}

.auth-cancel-button:hover {
    border-color: white;
}

/* =========================
   TOP CONTRIBUTORS
   ========================= */

.top-contributors-page {
    width: 90%;
    max-width: 900px;

    margin: 0 auto;
    padding: 40px 0;
}

.top-contributors-header {
    text-align: center;
    margin-bottom: 40px;
}

.top-contributors-header h1 {
    margin-bottom: 10px;
    font-size: 42px;
}

.top-contributors-header p {
    margin: 0 0 20px;
    color: #aaa;
    font-size: 16px;
}

#top-contributors-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.top-contributor-card {
    display: grid;

    grid-template-columns:
        80px
        1fr
        auto;

    align-items: center;

    gap: 20px;

    padding: 20px 24px;

    background-color: #111;

    border: 1px solid #333;
    border-radius: 10px;
}

.top-contributor-position {
    color: gold;

    font-size: 22px;
    font-weight: bold;

    text-align: center;
}

.top-contributor-username {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.top-contributor-username:hover {
    color: gold;
    text-decoration: underline;
}

.top-contributor-amount {
    color: gold;

    font-size: 24px;
    font-weight: bold;

    text-align: right;
}


/* PRIMER PUESTO */

.top-contributor-card:first-child {
    border-color: gold;
}


/* MÓVIL */

@media (max-width: 600px) {

    .top-contributors-page {
        width: 94%;
        padding: 25px 0;
    }

    .top-contributors-header h1 {
        font-size: 32px;
    }

    .top-contributor-card {
        grid-template-columns: 1fr;

        gap: 8px;

        padding: 18px;

        text-align: center;
    }

    .top-contributor-amount {
        text-align: center;
    }

}

/* =========================================================
   NUEVA HOME / NAVEGACIÓN PRINCIPAL
   ========================================================= */


/* =========================
   BASE
   ========================= */

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background:
            radial-gradient(
                    circle at 50% -100px,
                    #1a1708 0,
                    #090909 370px,
                    #000 720px
            );

    color: #fff;
}


/* =========================
   NAVEGACIÓN SUPERIOR
   ========================= */

.top-navigation {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    min-height: 72px;

    padding: 0 42px;

    display: grid;

    grid-template-columns:
            minmax(220px, 1fr)
            auto
            minmax(220px, 1fr);

    align-items: center;

    gap: 28px;

    background: rgba(0, 0, 0, 0.92);

    border-bottom:
            1px solid #1f1f1f;

    backdrop-filter:
            blur(14px);
}


.site-brand {
    justify-self: start;

    color: #fff;

    text-decoration: none;

    font-size: 15px;
    font-weight: 800;

    letter-spacing: 1.5px;

    white-space: nowrap;
}


.site-brand:hover {
    color: gold;
}


/* =========================
   LINKS CENTRALES
   ========================= */

.main-navigation {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 34px;
}


.nav-link {
    position: relative;

    padding: 27px 0 24px;

    color: #999;

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.3px;

    white-space: nowrap;

    transition: color 0.2s;
}


.nav-link:hover,
.nav-link.active {
    color: #fff;
}


.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 17px;

    height: 2px;

    background: gold;
}


/* =========================
   LOGIN / REGISTER DERECHA
   ========================= */

.navigation-auth {
    justify-self: end;
}


#guest-auth,
#user-auth {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    flex-wrap: nowrap;
}


.nav-auth-button,
.nav-logout-button {
    padding: 9px 14px;

    background: transparent;
    color: #bbb;

    border: 1px solid #333;
    border-radius: 5px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
            border-color 0.2s,
            color 0.2s,
            background 0.2s;
}


.nav-auth-button:hover,
.nav-logout-button:hover {
    color: #fff;

    border-color: #777;
}


.nav-register-button {
    background: gold;
    color: #000;

    border-color: gold;
}


.nav-register-button:hover {
    background: #ffe44d;
    color: #000;

    border-color: #ffe44d;
}


.current-user-link {
    display: inline-block;

    max-width: 180px;

    color: gold;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    overflow: hidden;
    text-overflow: ellipsis;

    white-space: nowrap;
}


.current-user-link:hover {
    color: #fff;
}


/* =========================
   LOGIN / REGISTER FORMS
   ========================= */

.auth-overlay-container {
    position: relative;

    z-index: 900;
}


.auth-overlay-container .auth-form {
    position: fixed;

    top: 88px;
    right: 32px;

    z-index: 1200;

    width: calc(100% - 40px);
    max-width: 390px;

    margin: 0;

    box-shadow:
            0 24px 80px rgba(0, 0, 0, 0.75);
}


/* =========================
   HOME
   ========================= */

.home-page {
    width: 100%;

    padding-bottom: 80px;
}


/* =========================
   HERO
   ========================= */

.hero-section {
    width: 92%;
    max-width: 1000px;

    margin: 0 auto;

    padding:
            82px
            20px
            48px;

    text-align: center;
}


.hero-eyebrow {
    margin: 0 0 3px;

    color: gold;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 5px;
}


.hero-section h1 {
    margin: 0;

    color: #fff;

    font-size:
            clamp(
                    38px,
                    6vw,
                    72px
            );

    font-weight: 900;

    letter-spacing: -2px;

    line-height: 1;
}


.hero-section .subtitle {
    margin:
            22px
            0
            0;

    color: #777;

    font-size: 15px;

    letter-spacing: 0.5px;
}


/* =========================
   RANKING
   ========================= */

.ranking-section {
    width: 92%;
    max-width: 850px;

    margin: 0 auto;
}


/* =========================
   PODIO
   ========================= */

.ranking-podium {
    width: 100%;
}


/* =========================
   #1
   ========================= */

.first-place-podium {
    min-height: 310px;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;
}


.podium-crown {
    margin-bottom: 8px;

    font-size: 58px;

    line-height: 1;

    filter:
            drop-shadow(
                    0 0 16px rgba(255, 215, 0, 0.25)
            );
}


.first-place-position {
    margin-bottom: 5px;

    color: gold;

    font-size: 18px;
    font-weight: 900;

    letter-spacing: 1px;
}


.first-place-name {
    max-width: 90%;

    color: #fff;

    text-decoration: none;

    font-size:
            clamp(
                    32px,
                    5vw,
                    55px
            );

    font-weight: 900;

    line-height: 1.08;

    overflow-wrap: anywhere;

    transition:
            color 0.2s;
}


.first-place-name:hover {
    color: gold;
}


.first-place-amount {
    margin-top: 11px;

    color: gold;

    font-size: 31px;
    font-weight: 800;
}


/* =========================
   #2 Y #3
   ========================= */

.lower-podium {
    width: 100%;

    margin-top: 65px;

    display: grid;

    grid-template-columns:
            repeat(2, minmax(0, 1fr));

    gap: 80px;
}


.podium-place {
    min-width: 0;

    text-align: center;
}


.podium-position {
    margin-bottom: 10px;

    color: #bbb;

    font-size: 18px;
    font-weight: 800;
}


.podium-name {
    display: block;

    color: #fff;

    text-decoration: none;

    font-size:
            clamp(
                    22px,
                    3vw,
                    31px
            );

    font-weight: 800;

    overflow-wrap: anywhere;
}


.podium-name:hover {
    color: gold;
}


.podium-amount {
    margin-top: 8px;

    color: #ddd;

    font-size: 23px;
    font-weight: 700;
}


/* =========================
   DIVISOR
   ========================= */

.ranking-divider {
    width: 100%;

    height: 1px;

    margin:
            70px
            0
            23px;

    background:
            linear-gradient(
                    to right,
                    transparent,
                    #444 12%,
                    #444 88%,
                    transparent
            );
}


/* =========================
   POSICIONES 4 - 100
   ========================= */

.ranking-list {
    width: 100%;
}


.ranking-row {
    position: relative;

    min-height: 64px;

    padding:
            0
            13px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom:
            1px solid #1b1b1b;

    transition:
            background 0.2s,
            padding 0.2s;
}


.ranking-row:hover {
    padding-left: 18px;
    padding-right: 18px;

    background: #090909;
}


.ranking-row-left {
    min-width: 0;

    display: flex;

    align-items: center;

    gap: 18px;
}


.ranking-row-position {
    min-width: 38px;

    color: #666;

    font-size: 15px;
    font-weight: 800;

    text-align: right;
}


.ranking-row-name {
    min-width: 0;

    color: #eee;

    text-decoration: none;

    font-size: 18px;
    font-weight: 700;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.ranking-row-name:hover {
    color: gold;
}


.ranking-row-right {
    display: flex;

    align-items: center;

    gap: 15px;
}


.ranking-row-amount {
    min-width: 115px;

    color: #fff;

    font-size: 18px;
    font-weight: 800;

    text-align: right;

    white-space: nowrap;
}


/* =========================
   CONTRIBUTE
   ========================= */

.ranking-contribution-wrapper {
    position: relative;

    margin-top: 14px;
}


.ranking-row-right
.ranking-contribution-wrapper {
    margin-top: 0;
}


.ranking-contribute-button {
    padding:
            7px
            12px;

    background: transparent;

    color: #666;

    border:
            1px solid #2b2b2b;

    border-radius: 5px;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.8px;

    cursor: pointer;

    transition:
            color 0.2s,
            border-color 0.2s;
}


.ranking-contribute-button:hover {
    color: gold;

    border-color: gold;
}


.first-place-podium
.ranking-contribute-button,
.podium-place
.ranking-contribute-button {
    margin-top: 3px;
}


.ranking-contribution-form {
    position: absolute;

    z-index: 100;

    top: calc(100% + 8px);

    left: 50%;

    transform:
            translateX(-50%);

    width: 265px;

    padding: 12px;

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    background: #111;

    border:
            1px solid #444;

    border-radius: 8px;

    box-shadow:
            0 15px 45px rgba(0, 0, 0, 0.8);
}


.ranking-row-right
.ranking-contribution-form {
    left: auto;
    right: 0;

    transform: none;
}


.ranking-contribution-form input {
    min-width: 0;

    flex: 1;

    padding:
            9px
            10px;

    background: #050505;
    color: #fff;

    border:
            1px solid #444;

    border-radius: 5px;
}


.ranking-contribution-form input:focus {
    outline: none;

    border-color: gold;
}


.ranking-contribution-form
button[type="submit"] {
    padding:
            9px
            12px;

    background: gold;
    color: #000;

    border: 0;
    border-radius: 5px;

    font-weight: 900;

    cursor: pointer;
}


.ranking-contribution-close {
    width: 28px;

    background: transparent;

    color: #888;

    border: 0;

    font-size: 19px;

    cursor: pointer;
}


.ranking-contribution-close:hover {
    color: #fff;
}


.ranking-contribution-error {
    width: 100%;

    margin: 2px 0 0;

    text-align: left;
}


/* =========================
   VIEW TOP 100
   ========================= */

.view-top-button {
    margin:
            38px
            auto
            0;

    padding:
            13px
            28px;

    background: transparent;

    color: gold;

    border:
            1px solid #554a00;

    border-radius: 6px;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.4px;

    cursor: pointer;

    transition:
            background 0.2s,
            border-color 0.2s,
            color 0.2s;
}


.view-top-button:hover {
    background: gold;
    color: #000;

    border-color: gold;
}


/* =========================
   ENTER THE RANKING
   ========================= */

.join-section {
    width: 92%;
    max-width: 850px;

    margin:
            85px
            auto
            28px;

    padding-top: 45px;

    text-align: center;

    border-top:
            1px solid #161616;
}


.join-section-label {
    margin: 0 0 14px;

    color: #555;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}


.join-section
.become-first {
    margin: 0 auto;

    min-width: 220px;

    border-radius: 5px;

    letter-spacing: 0.6px;
}


/* =========================
   JOIN FORM
   ========================= */

.home-page .join-form {
    margin:
            28px
            auto
            0;

    border-color: #292929;

    box-shadow:
            0 20px 70px rgba(0, 0, 0, 0.5);
}


.money-input-container {
    position: relative;
}


.money-prefix {
    position: absolute;

    top: 50%;
    left: 13px;

    transform:
            translateY(-50%);

    color: #777;

    pointer-events: none;
}


.money-input-container
#amount {
    padding-left: 28px;
}


/* =========================
   ESTADO RANKING
   ========================= */

.ranking-status-message {
    padding: 80px 20px;

    color: #777;

    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .top-navigation {
        padding:
                0
                22px;

        grid-template-columns:
                auto
                1fr;
    }


    .site-brand {
        grid-column: 1;
        grid-row: 1;
    }


    .navigation-auth {
        grid-column: 2;
        grid-row: 1;
    }


    .main-navigation {
        grid-column:
                1 / -1;

        grid-row: 2;

        justify-content: flex-start;

        overflow-x: auto;

        gap: 26px;

        border-top:
                1px solid #151515;
    }


    .nav-link {
        padding:
                15px
                0;

        flex-shrink: 0;
    }


    .nav-link.active::after {
        bottom: 7px;
    }


    .lower-podium {
        gap: 35px;
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .top-navigation {
        position: relative;

        min-height: auto;

        padding:
                16px
                16px
                0;

        grid-template-columns:
                1fr
                auto;

        gap:
                13px
                12px;
    }


    .site-brand {
        max-width: 175px;

        white-space: normal;

        font-size: 12px;

        line-height: 1.25;
    }


    .navigation-auth {
        align-self: start;
    }


    #guest-auth,
    #user-auth {
        gap: 6px;
    }


    .nav-auth-button,
    .nav-logout-button {
        padding:
                7px
                8px;

        font-size: 9px;
    }


    .current-user-link {
        max-width: 100px;

        font-size: 12px;
    }


    .main-navigation {
        width: calc(100% + 32px);

        margin-left: -16px;

        padding:
                0
                16px;

        gap: 22px;
    }


    .nav-link {
        font-size: 10px;
    }


    .auth-overlay-container
    .auth-form {
        position: fixed;

        top: 85px;
        left: 50%;
        right: auto;

        transform:
                translateX(-50%);

        width: calc(100% - 28px);
    }


    .hero-section {
        padding:
                58px
                12px
                28px;
    }


    .hero-eyebrow {
        font-size: 10px;

        letter-spacing: 3px;
    }


    .hero-section h1 {
        font-size: 38px;

        letter-spacing: -1px;
    }


    .hero-section .subtitle {
        margin-top: 16px;

        font-size: 13px;
    }


    .ranking-section {
        width: 94%;
    }


    .first-place-podium {
        min-height: 260px;
    }


    .podium-crown {
        font-size: 48px;
    }


    .first-place-name {
        font-size: 34px;
    }


    .first-place-amount {
        font-size: 27px;
    }


    .lower-podium {
        margin-top: 48px;

        gap: 18px;
    }


    .podium-position {
        font-size: 14px;
    }


    .podium-name {
        font-size: 19px;
    }


    .podium-amount {
        font-size: 18px;
    }


    .ranking-divider {
        margin-top: 50px;
    }


    .ranking-row {
        min-height: 58px;

        padding:
                0
                4px;

        gap: 8px;
    }


    .ranking-row:hover {
        padding:
                0
                4px;
    }


    .ranking-row-left {
        min-width: 0;

        gap: 9px;
    }


    .ranking-row-position {
        min-width: 27px;

        font-size: 12px;
    }


    .ranking-row-name {
        font-size: 15px;
    }


    .ranking-row-right {
        gap: 7px;
    }


    .ranking-row-amount {
        min-width: auto;

        font-size: 15px;
    }


    .ranking-contribute-compact {
        display: none;
    }


    .ranking-row-right
    .ranking-contribution-wrapper {
        display: none;
    }


    .ranking-contribution-form {
        width: 240px;
    }


    .join-section {
        margin-top: 60px;
    }

}

/* =========================================================
   ESCRITORIO CON POCA ALTURA
   MOSTRAR EL #1 COMPLETO SIN HACER SCROLL
   ========================================================= */

@media (min-width: 601px) and (max-height: 750px) {

    .hero-section {
        padding:
                45px
                20px
                24px;
    }


    .hero-section .subtitle {
        margin-top: 14px;
    }


    .first-place-podium {
        min-height: 255px;
    }


    .podium-crown {
        margin-bottom: 5px;

        font-size: 48px;
    }


    .first-place-position {
        margin-bottom: 3px;
    }


    .first-place-name {
        font-size:
                clamp(
                        32px,
                        4vw,
                        48px
                );
    }


    .first-place-amount {
        margin-top: 8px;

        font-size: 29px;
    }
}

/* =========================================================
   PAGINACIÓN DEL RANKING
   ========================================================= */

.ranking-pagination {
    width: 100%;

    margin:
            42px
            auto
            0;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;

    flex-wrap: wrap;
}


.ranking-pagination-button {
    min-width: 40px;
    height: 40px;

    padding:
            0
            12px;

    background: transparent;
    color: #888;

    border:
            1px solid #2b2b2b;

    border-radius: 5px;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 0.7px;

    cursor: pointer;

    transition:
            color 0.2s,
            border-color 0.2s,
            background 0.2s;
}


.ranking-pagination-button:hover:not(:disabled):not(.active) {
    color: gold;

    border-color: gold;
}


.ranking-pagination-button.active {
    background: gold;
    color: #000;

    border-color: gold;

    cursor: default;
}


.ranking-pagination-button:disabled {
    color: #444;

    border-color: #1c1c1c;

    opacity: 1;

    cursor: default;
}


.ranking-pagination-ellipsis {
    padding:
            0
            4px;

    color: #555;

    font-size: 16px;
}


/* =========================
   PAGINACIÓN EN MÓVIL
   ========================= */

@media (max-width: 600px) {

    .ranking-pagination {
        margin-top: 32px;

        gap: 5px;
    }


    .ranking-pagination-button {
        min-width: 34px;
        height: 36px;

        padding:
                0
                8px;

        font-size: 9px;
    }


    .ranking-pagination-ellipsis {
        padding:
                0
                2px;
    }
}

/* =========================================================
   MENSAJE Y WEB EN EL RANKING
   ========================================================= */


/* =========================
   CONTENEDOR
   ========================= */

.profile-ranking-details {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 4px;
}


/* =========================
   MENSAJE
   ========================= */

.profile-ranking-message {
    max-width: 100%;

    margin: 0;

    color: #888;

    font-size: 18px;
    font-weight: 400;

    line-height: 1.4;

    overflow-wrap: anywhere;
    word-break: break-word;
}


/* =========================
   WEB
   ========================= */

.profile-ranking-url {
    max-width: 100%;

    color: #777;

    font-size: 20px;
    font-weight: 600;

    text-decoration: none;

    overflow-wrap: anywhere;
    word-break: break-word;

    transition:
            color 0.2s;
}


.profile-ranking-url:hover {
    color: gold;

    text-decoration: underline;
}


/* =========================
   PRIMER PUESTO
   ========================= */

.first-place-details {
    max-width: 600px;

    margin-top: 9px;
}


.first-place-details
.profile-ranking-message {
    color: #aaa;

    font-size: 18px;
}


.first-place-details
.profile-ranking-url {
    color: #777;

    font-size: 20px;
}


/* =========================
   PUESTOS 2 Y 3
   ========================= */

.podium-details {
    max-width: 100%;

    margin-top: 7px;
}


/* =========================
   POSICIONES 4+
   ========================= */

.ranking-row-profile-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
}


.ranking-row-details {
    max-width: 100%;

    margin-top: 3px;

    align-items: flex-start;
}


.ranking-row-details
.profile-ranking-message {
    max-width: 420px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.ranking-row-details
.profile-ranking-url {
    max-width: 420px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* =========================
   MÓVIL
   ========================= */

@media (max-width: 600px) {

    .first-place-details {
        max-width: 92%;
    }


    .first-place-details
    .profile-ranking-message {
        font-size: 13px;
    }


    .first-place-details
    .profile-ranking-url {
        font-size: 12px;
    }


    .podium-details
    .profile-ranking-message {
        font-size: 11px;
    }


    .podium-details
    .profile-ranking-url {
        font-size: 10px;
    }


    .ranking-row-profile-content {
        max-width: 150px;
    }


    .ranking-row-details
    .profile-ranking-message,
    .ranking-row-details
    .profile-ranking-url {
        max-width: 150px;

        font-size: 10px;
    }

}

/* =========================================================
   HOME - AJUSTE HERO + CTA
   ========================================================= */

.hero-section {
    padding-top: 42px;
    padding-bottom: 24px;
}

.hero-section h1 {
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: clamp(46px, 7vw, 92px);
    line-height: 0.95;
}

.hero-section .subtitle {
    margin-bottom: 20px;
}

.hero-ranking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 4px;

    min-height: 48px;
    padding: 0 26px;
}


/* =========================================================
   HOME - RANKING MÁS CERCA DEL HERO
   ========================================================= */

.ranking-section {
    padding-top: 12px;
}


/* =========================================================
   TOP 1 - BORDE DORADO
   ========================================================= */

.first-place-podium {
    border: 1px solid rgba(255, 215, 0, 0.75);
    box-shadow:
            0 0 0 1px rgba(255, 215, 0, 0.08),
            0 0 24px rgba(255, 215, 0, 0.08);

    border-radius: 18px;
}


/* =========================================================
   TOP 2 Y TOP 3 - BORDE PLATEADO
   ========================================================= */

.podium-place {
    border: 1px solid rgba(192, 192, 192, 0.55);
    box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.03);

    border-radius: 16px;
}


/* =========================================================
   AJUSTE DE ESPACIADO DEL PODIO
   ========================================================= */

.first-place-name {
    margin-top: 6px;
}

.first-place-details {
    margin-top: 6px;
}

.first-place-amount {
    margin-top: 10px;
}


/* =========================================================
   PORTÁTILES / ALTURA REDUCIDA
   ========================================================= */

@media (max-height: 850px) and (min-width: 601px) {

    .hero-section {
        padding-top: 26px;
        padding-bottom: 16px;
    }

    .hero-section h1 {
        font-size: clamp(42px, 6vw, 72px);
    }

    .hero-section .subtitle {
        margin-bottom: 14px;
    }

    .hero-ranking-button {
        min-height: 44px;
    }

    .ranking-section {
        padding-top: 6px;
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .hero-section {
        padding-top: 28px;
        padding-bottom: 18px;
    }

    .hero-section h1 {
        font-size: clamp(40px, 13vw, 58px);
        line-height: 0.98;
    }

    .hero-section .subtitle {
        margin-bottom: 16px;
    }

    .hero-ranking-button {
        width: min(100%, 290px);
        min-height: 46px;
    }

    .ranking-section {
        padding-top: 8px;
    }
}

/* =========================================================
   LOGIN / REGISTER GLOBAL
   Hall of Fame + Top Contributors
   ========================================================= */

.auth-overlay-container {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
    z-index: 9999;
}


/* =========================================================
   FORMULARIO AUTH
   ========================================================= */

.auth-overlay-container .auth-form {
    width: min(92vw, 420px);

    padding: 28px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 12px;

    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;

    box-shadow:
            0 24px 70px rgba(0, 0, 0, 0.6);

    pointer-events: auto;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.auth-overlay-container .auth-form h2 {
    margin: 0 0 10px;

    text-align: center;

    font-size: 26px;
    line-height: 1.1;
}


/* =========================================================
   LABELS
   ========================================================= */

.auth-overlay-container .auth-form label {
    display: block;

    margin: 0;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   INPUTS
   ========================================================= */

.auth-overlay-container .auth-form input {
    width: 100%;

    box-sizing: border-box;

    padding: 12px 14px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;

    background: #181818;
    color: #fff;

    font: inherit;

    outline: none;
}


.auth-overlay-container .auth-form input:focus {
    border-color: rgba(255, 215, 0, 0.75);
}


/* =========================================================
   ERROR
   ========================================================= */

.auth-overlay-container .auth-form .form-error {
    min-height: 18px;

    margin: 0;

    color: #ff6b6b;

    font-size: 12px;
}


/* =========================================================
   BOTONES
   ========================================================= */

.auth-overlay-container .auth-submit-button,
.auth-overlay-container .auth-cancel-button {
    width: 100%;

    min-height: 44px;

    border-radius: 8px;

    cursor: pointer;
}


.auth-overlay-container .auth-submit-button {
    margin-top: 2px;
}


.auth-overlay-container .auth-cancel-button {
    margin-top: 0;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .auth-overlay-container .auth-form {
        width: min(92vw, 360px);

        padding: 22px;
    }

}

/* =========================================================
   PERFIL USUARIO - CONTRIBUCIONES
   ========================================================= */

.user-contributions-section {
    width: 100%;
    margin-top: 36px;
}

.user-contributions-title {
    margin: 0 0 18px;

    text-align: center;

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.user-contributions-list {
    display: flex;
    flex-direction: column;

    gap: 10px;

    width: 100%;
}


/* =========================================================
   TARJETA DE CONTRIBUCIÓN
   ========================================================= */

.user-contribution-card {
    width: 100%;

    min-height: 58px;

    padding: 10px 16px;

    box-sizing: border-box;

    display: grid;

    grid-template-columns:
            minmax(0, 1fr)
            auto
            auto
            auto;

    align-items: center;

    column-gap: 18px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 11px;

    transition:
            background 0.2s ease,
            border-color 0.2s ease;
}


.user-contribution-card:hover {
    background: rgba(255, 255, 255, 0.04);

    border-color: rgba(255, 215, 0, 0.25);
}


/* =========================================================
   PROYECTO
   ========================================================= */

.user-contribution-project-area {
    min-width: 0;

    display: flex;

    align-items: center;

    gap: 14px;
}


.user-contribution-project {
    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #ffd700;

    text-decoration: none;

    font-size: 15px;
    font-weight: 800;
}


.user-contribution-project:hover {
    color: #ffe55c;

    text-decoration: underline;
}


/* =========================================================
   IMPORTE
   ========================================================= */

.user-contribution-amount {
    color: #fff;

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   FECHA
   ========================================================= */

.user-contribution-date {
    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;

    white-space: nowrap;
}


/* =========================================================
   COMPARTIR
   ========================================================= */

.project-share {
    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    margin: 0;
}


.project-share-button {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    box-sizing: border-box;

    color: rgba(255, 255, 255, 0.55);

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 50%;

    text-decoration: none;

    transition:
            color 0.2s ease,
            border-color 0.2s ease,
            background 0.2s ease,
            transform 0.2s ease;
}


.project-share-button:visited {
    color: rgba(255, 255, 255, 0.55);
}


.project-share-button:hover {
    color: #ffd700;

    border-color: rgba(255, 215, 0, 0.55);

    background: rgba(255, 215, 0, 0.06);

    transform: translateY(-2px);

    text-decoration: none;
}


.project-share-button svg {
    width: 14px;
    height: 14px;

    display: block;

    fill: currentColor;
}


/* =========================================================
   SIN CONTRIBUCIONES
   ========================================================= */

.user-contributions-empty {
    margin: 0;

    color: rgba(255, 255, 255, 0.60);

    text-align: center;
}


/* =========================================================
   ENLACES DORADOS
   ========================================================= */

.profile-details a,
.user-contribution-project,
.contribution-history a {
    color: #ffd700;

    text-decoration: none;
}


.profile-details a:visited,
.user-contribution-project:visited,
.contribution-history a:visited {
    color: #ffd700;
}


.profile-details a:hover,
.user-contribution-project:hover,
.contribution-history a:hover {
    color: #ffe55c;

    text-decoration: underline;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 700px) {

    .user-contribution-card {

        grid-template-columns:
                minmax(0, 1fr)
                auto;

        row-gap: 9px;

        column-gap: 12px;

        padding: 13px 14px;
    }


    .user-contribution-project-area {

        grid-column: 1 / -1;

        width: 100%;

        justify-content: space-between;
    }


    .user-contribution-amount {

        grid-column: 1;

        font-size: 14px;
    }


    .user-contribution-date {

        grid-column: 2;

        font-size: 12px;

        text-align: right;
    }


    .project-share {

        gap: 6px;
    }


    .project-share-button {

        width: 29px;
        height: 29px;

        flex-basis: 29px;
    }

}

/* =========================
   SHARE BUTTONS - RANKING
   ========================= */

.ranking-project-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 8px 0 12px;
}

.ranking-project-share .project-share-button {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.03);

    color: rgba(255, 255, 255, 0.72);

    text-decoration: none;

    transition:
            border-color 0.2s ease,
            color 0.2s ease,
            background 0.2s ease,
            transform 0.2s ease;
}

.ranking-project-share .project-share-button:hover {
    border-color: #d4af37;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-1px);
}

.ranking-project-share .project-share-button svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}


/* TOP 1 */

.first-place-podium .ranking-project-share {
    margin-top: 10px;
}


/* TOP 2 Y 3 */

.podium-place .ranking-project-share {
    margin-top: 8px;
}


/* FILAS #4 EN ADELANTE */

.ranking-row-right .ranking-project-share {
    margin: 0;
    flex: 0 0 auto;
}

.ranking-row-right .ranking-project-share .project-share-button {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
}

.ranking-row-right .ranking-project-share .project-share-button svg {
    width: 13px;
    height: 13px;
}


/* MÓVIL */

@media (max-width: 700px) {

    .ranking-project-share {
        gap: 6px;
    }

    .ranking-project-share .project-share-button {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .ranking-row-right {
        flex-wrap: wrap;
    }

    .ranking-row-right .ranking-project-share {
        order: 3;
        width: 100%;
        justify-content: flex-end;
        margin-top: 7px;
    }
}
/* =========================================================
   HOME - ESCRITORIO CON POCA ALTURA
   MOSTRAR EL TOP 1 COMPLETO
   ========================================================= */

@media (min-width: 701px) and (max-height: 700px) {

    .hero-section {
        padding-top: 14px;
        padding-bottom: 8px;
    }

    .hero-section h1 {
        margin-top: 3px;
        margin-bottom: 7px;
        font-size: clamp(40px, 5vw, 62px);
    }

    .hero-section .subtitle {
        margin-top: 10px;
        margin-bottom: 8px;
    }

    .hero-ranking-button {
        min-height: 40px;
        margin-top: 0;
        padding: 0 22px;
    }

    .ranking-section {
        padding-top: 2px;
    }

    .first-place-podium {
        min-height: 225px;
    }

    .podium-crown {
        margin-bottom: 2px;
        font-size: 40px;
    }

    .first-place-position {
        margin-bottom: 1px;
        font-size: 16px;
    }

    .first-place-name {
        margin-top: 2px;
        font-size: clamp(28px, 3.5vw, 42px);
    }

    .first-place-details {
        margin-top: 3px;
    }

    .first-place-amount {
        margin-top: 5px;
        font-size: 27px;
    }

    .first-place-podium .ranking-project-share {
        margin-top: 5px;
        margin-bottom: 6px;
    }
}

/* =========================================================
   HOME - LOGIN / REGISTER - ESPACIADO
   ========================================================= */

#login-form label,
#register-form label {
    display: block;
    margin-top: 14px;
    margin-bottom: 7px;
}

#login-form h2,
#register-form h2 {
    margin-bottom: 18px;
}

#login-form input,
#register-form input {
    display: block;
    width: 100%;
}

#login-form .auth-submit-button,
#register-form .auth-submit-button {
    margin-top: 20px;
}

#login-form .auth-cancel-button,
#register-form .auth-cancel-button {
    margin-top: 10px;
}
/* =========================================================
   THE FOUNDING 10
   ========================================================= */

.founding-members-section {
    width: 92%;
    max-width: 850px;

    margin:
            8px
            auto
            38px;

    text-align: center;
}


.founding-members-card {
    position: relative;

    padding:
            24px
            28px;

    overflow: hidden;

    background:
            linear-gradient(
                    135deg,
                    rgba(255, 215, 0, 0.08),
                    rgba(255, 215, 0, 0.015) 55%,
                    rgba(0, 0, 0, 0.2)
            );

    border:
            1px solid rgba(255, 215, 0, 0.38);

    border-radius: 14px;

    box-shadow:
            0 0 0 1px rgba(255, 215, 0, 0.025),
            0 14px 45px rgba(0, 0, 0, 0.32);
}


.founding-members-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 15%;
    right: 15%;

    height: 1px;

    background:
            linear-gradient(
                    to right,
                    transparent,
                    gold,
                    transparent
            );

    opacity: 0.7;
}


.founding-members-eyebrow {
    margin:
            0
            0
            8px;

    color: #8a7a20;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2.4px;
}


.founding-members-card h2 {
    margin:
            0
            0
            9px;

    color: gold;

    font-size:
            clamp(
                    23px,
                    4vw,
                    32px
            );

    font-weight: 900;

    letter-spacing: 1.5px;
}


.founding-members-description {
    max-width: 580px;

    margin:
            0
            auto
            17px;

    color: #aaa;

    font-size: 13px;

    line-height: 1.55;
}


.founding-members-progress {
    display: flex;

    justify-content: center;
    align-items: baseline;

    gap: 6px;

    margin-bottom: 11px;
}


.founding-members-progress strong {
    color: #fff;

    font-size: 28px;
    font-weight: 900;
}


.founding-members-progress span {
    color: gold;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1px;
}


.founding-members-note {
    margin: 0;

    color: #666;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================
   THE FOUNDING 10 - MÓVIL
   ========================= */

@media (max-width: 600px) {

    .founding-members-section {
        width: 94%;

        margin:
                4px
                auto
                28px;
    }


    .founding-members-card {
        padding:
                20px
                17px;
    }


    .founding-members-eyebrow {
        font-size: 9px;

        letter-spacing: 1.8px;
    }


    .founding-members-card h2 {
        font-size: 24px;
    }


    .founding-members-description {
        font-size: 12px;
    }


    .founding-members-progress strong {
        font-size: 25px;
    }


    .founding-members-progress span {
        font-size: 10px;
    }


    .founding-members-note {
        font-size: 10px;
    }
}
/* =========================================================
   FOUNDING MEMBER BADGE
   ========================================================= */

.founder-badge {
    width: fit-content;

    margin:
            5px
            auto
            0;

    padding:
            4px
            9px;

    color: #f2d675;

    background:
            rgba(255, 215, 0, 0.06);

    border:
            1px solid rgba(255, 215, 0, 0.28);

    border-radius: 999px;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.8px;

    line-height: 1.2;

    white-space: nowrap;
}
.ranking-row-profile-content
.founder-badge {
    margin:
            5px
            0
            0;
}
/* =========================================================
   FOUNDING MEMBER - PROFILE PAGE
   ========================================================= */

.profile-founder-badge {
    width: fit-content;

    margin:
            8px
            auto
            14px;

    padding:
            8px
            14px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 4px;

    color: #f2d675;

    background:
            rgba(255, 215, 0, 0.06);

    border:
            1px solid rgba(255, 215, 0, 0.28);

    border-radius: 10px;

    text-align: center;
}

.profile-founder-badge strong {
    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.8px;
}

.profile-founder-badge span {
    font-size: 11px;
    font-weight: 500;

    opacity: 0.8;
}

