/* * {
    outline: 1px solid red;
} */

:root {
    --primary: #2F2F2F;
    --secondary: #00ef96;
    --accent: #F2998A;
    --bg-light: #F7F9FC;
    --text-dark: #2F2F2F;
    --overlay-color: rgba(1, 19, 56, 0.14);
}

body {
    background-color: var(--primary);
    font-family: "Josefin Sans", sans-serif;
    color: var(--bg-light);
}

.textdark {
    color: var(--text-dark);
}

.accentcolor {
    color: var(--secondary);
}

/* -------------navbar--------------- */
.navbar {
    font-weight: 500;
    transition: all .3s ease;
    color: white;
}

.navbar.scrolled {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.navbar-toggler {
    border-color: #00ef96
}

/* -------------navbar--------------- */

.hero {

    padding: 160px 0 80px;
    /* background: linear-gradient(180deg, #F7F9FC, #ffffff); */
}

.hero-placeholder {
    height: 320px;
    background: #e9eef8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.btn-primary {
    background-color: var(--secondary);
    border-radius: 25px;
    border: var(--secondary) solid 1px;
    color: #2F2F2F;
}

.btn-primary:hover {
    border: var(--bg-light) solid 1px;
    color: var(--bg-light);
    background-color: var(--text-dark);
}

a,
.accentcolor:hover {
    color: white;
}

.btn-outline-primary {
    border: var(--secondary) solid 1px;
    color: var(--secondary);
    border-radius: 25px;
}

.btn-outline-primary:hover {
    background-color: var(--secondary);
    border: var(--secondary);
    color: var(--text-dark);
}

.btn-terciary {
    color: var(--bg-light);
    background-color: var(--text-dark);
    border: solid 1px var(--bg-light);
    border-radius: 25px;
}

.btn-terciary:hover {
    background-color: #131111;
    color: white;
}

.stats {
    margin-top: 60px;
    font-weight: 600;
}

.section {
    padding: 70px 0;
}

.section-title {
    font-weight: 700;
}

.section-subtitle {
    max-width: 700px;
    margin: auto;
}

.sectionsecondary {
    background-color: #ebe8e812;
}

.feature-card {
    background: var(--secondary);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    height: 100%;
    min-height: 200px;
}

.feature-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.step {
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    min-height: 250px;
}

.greenbg {
    background: #61eca1;
}

.yellowbg {
    background: #f4ff6a;
}

.purplebg {
    background: #dcbfff;
}

.bluebg {
    background: #008dfe;
}

.segment-card {
    padding: 40px;
    background-color: #01133823;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 550px;
}

.segmentcardtext {
    height: 150px;
}

.price {
    font-weight: 700;
    color: #fee263;
    margin: 15px 0;
}

.cta {
    color: white;
    padding: 100px 0;
}

.footer {
    color: white;
    padding: 50px 0;
}

.footercard {
    background-color: #01133823;
    color: #fee263;
    border-radius: 20px;
}

.sectionprices {
    position: relative;
    background:
        linear-gradient(to top, rgba(11, 21, 24, 0.926), rgba(17, 31, 33, 0.586)),
        url(assets/Imagen005.jpg) no-repeat top center;
    background-size: cover;
    background-attachment: scroll;
}

.heroIndex {
    position: relative;
    background:
        linear-gradient(to top, rgba(17, 31, 33, 0.586), rgba(11, 21, 24, 0.926)),
        url(assets/Imagen002.jpg) no-repeat top center;
    background-size: cover;
    background-attachment: fixed;
}

.cause-section {
    position: relative;
    background:
        linear-gradient(to top, rgba(17, 31, 33, 0.586), rgba(11, 21, 24, 0.926)),
        url(assets/Imagen008.jpg) no-repeat bottom center;
    background-size: cover;
    background-attachment: fixed;
}

.influencers-section {
    position: relative;
    background:
        linear-gradient(to top, rgba(17, 31, 33, 0.586), rgba(11, 21, 24, 0.926)),
        url(assets/Imagen009.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

/* ----------------------------------------------------------- Pagina Subasta ------------------------------------------------------ */

.subasta-section {
    position: relative;
    background:
        linear-gradient(to top, rgba(17, 31, 33, 0.586), rgba(11, 21, 24, 0.926)),
        url(assets/Imagen001.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    text-align: center;
}

.auction-avatar {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: auto;
    background-size: cover;
    background-position: center;
    border: 4px solid var(--secondary);
}

.auction-info {
    list-style: none
}

.past-card {
    padding: 25px;
    text-align: center;
    border: 1px solid #f4ff6a;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    min-height: 400px;
}

.past-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: auto;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--primary);
}

.past-meta {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    font-size: 0.85rem;
}

/*----------------------------------- botones social network-------------------------*/
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .3s ease;
    border: 1px solid #e5e7eb;
    background: white;
    color: #333;
}

.social-btn img {
    width: auto;
    height: 20px;
    object-fit: contain;
}

/* hover */

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* variantes */
.youtube {
    color: black;
    border-color: #FF0000;
}

.youtube:hover {
    background: #FF0000;
    color: white;
}

.linkedin {
    color: #0A66C2;
    border-color: #0A66C2;
}

.podcast {
    color: #ee47fe;
    border-color: #ee47fe;
}

.podcast:hover {
    background: #ee47fe;
    color: white;
}

.spotify {
    color: #05c255;
    border-color: #05c255;
}

.spotify:hover {
    background: #05c255;
    color: white;
}

.linkedin:hover {
    background: #0A66C2;
    color: white;
}

.twitch {
    color: #9146FF;
    border-color: #9146FF;
}

.twitch:hover {
    background: #9146FF;
    color: white;
}

.tiktok {
    color: #000;
    border-color: #000;
}

.tiktok:hover {
    background: #000;
    color: white;
}

.discord {
    color: #5f68f7;
    border-color: #5f68f7;
}

.discord:hover {
    background-color: #5f68f7;
    color: white;
}

/* -----------------------------causas------------------------ */

/* contenido */
.cause-content {
    padding: 20px;
}

.cause-impact {
    margin-top: 10px;
    opacity: 0.7;
}

/* imagen contenedor */

.cause-img {
    height: 500px;
    background-size: cover;
    background-position: center !important;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

/* titulo sobre imagen */

.cause-title {
    position: relative;
    z-index: 2;
}

/* card fondo */

.cause-card {
    background: #01133823;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all .3s ease;
}

.cause-card:hover {
    transform: translateY(-6px);
}

.cause-btn {
    border-radius: 999px;
    font-size: 0.85rem;
    padding: 6px 14px;
}

/* ----------------------------animaciones---------------------------- */
.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 02s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Cuando aparecen */
.animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes */
.animate-left {
    transform: translateX(-60px);
}

.animate-right {
    transform: translateX(60px);
}

.animate.show.animate-left,
.animate.show.animate-right {
    transform: translateX(0);
}

.hero .animate {
    transform: translateY(60px) scale(0.98);
}

.hero .animate.show {
    transform: translateY(0) scale(1);
}

/* ----------------------------animaciones---------------------------- */

.segment-card {
    transition: all 0.4s ease;
}

.segment-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cta {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta.show {
    transform: scale(1);
    opacity: 1;
}

/* animaciones de los iconos subasta */

.rotate-in {
    opacity: 0;
    transform: rotate(-180deg) scale(0.6);
    transition: all 0.8s ease;
}

/* cuando el padre ya apareció */
.animate.show .rotate-in {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    transition-delay: 0.4s;
    /* <- aparece después del div */
}

/* -----------------------------------------------Movil----------------------------------------------- */

@media (max-width: 820px) {

    .navbar {
        background: rgba(17, 17, 17, 0.85);
    }

    .segment-card {
        min-height: 50px;
    }

    .segmentcardtext {
        height: auto;
    }


    .step {
        padding: 10px;
        min-height: 380px;
    }
}

@media (max-width:480px) {
    .section {
        padding: 50px 0;
    }

    .footer {

        padding: 0px 0;
    }

    .footercard {
        border-radius: 0px;
    }
}