/* Variables CSS para temas en blanco y negro */
:root {
    --black-green: #020408;
    --dark-green: #052b06;
    --green: #00FF41;
    /*#39FF14*/
    --light-green: #00D2FF;
    --yellow: #efda20;
    --yellow-back: #f8f0a9;
    --white: #fbfbfb;
    --white-back: #f1f3f1;
    --background-public-page: linear-gradient(180deg, #eee, #666);
    --primary-color: var(--green);
    --secondary-color: var(--light-green);
    --text-color: var(--dark-green);
    --light-text: #888;
    --menu-text: #696969;
    --background: var(--white);

    /* Bordes: Sutiles, como metal o cristal oscuro */
    --border-dim: #66a977;
    --border-bright: #223023;
    --border-color: #fff;
    --border-light: #dedddd;
    --border-hover: rgb(202, 202, 202);
    --button-disabled: #c2ccc5;
    --button-disabled-text: #97a099;
    --button-tiny: #d6d6d6;
    --shadow-light: #e9e6e6;
    --outline-input: #333;

    /* Inputs: Fondo profundo */
    --input-bg: #eaeeeb;
    --button-hover: #ccd2ce;

    /* Separadores: Efecto de línea de radar */
    --separator-gradient: radial-gradient(circle at right, var(--input-bg), var(--input-bg), var(--input-bg));
    --divider-gradient: linear-gradient(0deg, transparent, var(--light-text), transparent);
    --button-gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --button-gradient-hover: linear-gradient(-45deg, var(--primary-color), var(--secondary-color));

    --theme-bg: #0f172a;
    --theme-surface: #1e293b;
    --theme-text: #ffffff;
    --theme-text-soft: #cbd5e1;
    --theme-primary: #38bdf8;
    --theme-accent: #facc15;

    --theme-border: rgba(255, 255, 255, 0.08);
    --theme-input-back: rgba(255, 255, 255, 0.3);
    --theme-input-contact: rgb(244 244 244);
}

@property --rotation {
    syntax: "<angle>";
    inherits: false;
    initial-value: 280deg;
}


@font-face {
    font-family: 'OMblack';
    font-style: normal;
    font-weight: 500;
    src: local('SpaceGrotesk'),
        url(SpaceGrotesk-VariableFont_wght.ttf) format('truetype');
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

html,
body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

body {
    font-family: 'OMblack';
    line-height: 1.3;
    color: var(--text-color);
    background: var(--black-green);
    position: relative;
}

html.login-html,
body.login-body {
    height: 100%;
}

.login-card {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.serror {
    margin-bottom: 1rem;
    color: #f90;
}

.ssuccess {
    margin-bottom: 1rem;
    color: var(--success-color-color);
}

/* Barra de navegación */
.newShiplink {
    width: 100%;
    align-items: center;
    background: var(--theme-text-soft);
    border-radius: 0;
    padding-top: 0;
    transition: transform 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ddd;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 33px;
}

[data-theme="dark"] .like-button img,
[data-theme="dark"] .reply-button img,
[data-theme="dark"] .report-btn img,
[data-theme="dark"] .edit-button img,
[data-theme="dark"] .delete-button img,
[data-theme="dark"] .vote-button img,
[data-theme="dark"] #photo_edit_close img,
[data-theme="dark"] #config_close img {
    filter: invert(1);
}

.search-form {
    position: relative;
    display: flex;
    align-items: stretch;
    max-width: 100%;
    background: transparent;
    color: var(--text-primary);
    padding: 0;
    padding-left: 15px;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.search-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 20px;
    bottom: 0;
    background: var(--dark-green);
    border: solid 2px var(--primary-color);
    pointer-events: none;
    border-radius: 10px 0 0 10px;
    transform: skew(-5deg);
    z-index: -2;
    border-right: 0;
}

.search-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    /* background: var(--separator-gradient); */
    pointer-events: none;
    border-radius: 0 10px 10px 0;
    z-index: -2;
    border-left: 0;
}


.search-form:focus-within::before {
    /* border-color: var(--primary-color); */
    box-shadow: 0 0 20px var(--border-bright);
    background: #0d1117;
}

.search-form input,
.search-form label {
    outline: none;
    flex-grow: 1;
    padding: 15px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--white);
    font-size: 1rem;
    margin: 0;
}

.search-form input:hover {
    border: 0;
}

.search-form input:focus {
    outline: none;
    border: 0;
}

.search-form button,
.button {
    display: inline-block;
    position: relative;
    padding: 15px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    font-size: 1rem;
    text-decoration: none;
    color: var(--text-color);
    font-family: inherit;
    margin: 0;
    z-index: 0;
}

.search-form button::before,
.button::before,
.search-form button::after,
.button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 10px;
    bottom: 0;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    white-space: nowrap;
    z-index: -1;
    transform: skew(-5deg);
}

.search-form button::after,
.button::after {
    left: 5px;
    right: 0;
    transform: none;
}

.search-form button::before,
.search-form button::after,
.search-form button:hover::before {
    background: var(--primary-color);
}

.search-form button:hover::after {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.button {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--white);
    width: 100%;
}

.button::before,
.button::after {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
}

.button:hover::before,
.button:hover::after {
    background: linear-gradient(-135deg, var(--theme-primary), var(--theme-accent));
}

.button::after {
    transform: skew(5deg);
}

.nav-links {
    position: relative;
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    background: #a4ac8f;
    padding: .3rem 1rem;
    border-radius: 100px;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #32420a;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 1rem;
}

.nav-links a:hover img {
    transform: scale(1.1);
}

.nav-links img {
    height: 24px;
}

img.round {
    height: 33px;
    border-radius: 50%;
    border: solid;
}

/* Menú móvil */
.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

/* Estilos para el tema principal */
.home {
    padding: 40px 0;
    flex-grow: 1;
}

.sections {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
}

.section-text {
    width: 50%;
}

header .section-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: max-content;
}

.divider {
    content: 'hola';
    height: 50px;
    width: 1px;
    background: var(--divider-gradient);
    margin: 0 15px;
    transform: skew(-10deg);
}

.sections>a {
    position: relative;
    text-decoration: none;
    color: var(--background);
    font-size: 1rem;
    padding: .5rem 1rem;
}

.sections>a::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: var(--text-color);
    opacity: 0.8;
    transform: skew(-10deg);
    border-radius: 7px;
    z-index: -1;
    transition: 0.3s;
}

.sections>a:hover::before {
    opacity: 1;
    background: linear-gradient(270deg, var(--primary-color), var(--secondary-color));
}

.launchlink {
    color: var(--text-color);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    display: inline;
}

.launchlink::before,
.launchlink::after {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 15px;
    height: 100%;
    content: '';
    background: var(--primary-color);
    transform: skew(-10deg);
    border-radius: 10px;
    z-index: -1;
}

.launchlink::after {
    transform: none;
    left: 15px;
    right: 0;
    z-index: -2;
}

.launchlink:hover::before {
    background: linear-gradient(270deg, var(--primary-color), var(--secondary-color));
}

.starship {
    color: var(--primary-color);
    padding: 12px;
    padding-left: 0;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.launch-header {
    margin: 3rem;
    width: 100%;
    margin-bottom: 5rem;
}

.launch-header .brand img {
    filter: invert(1);
}


.launch-header .brand span {
    /* color: var(--background); */
    font-size: 1.2rem;
}

.launch {
    display: flex;
    align-items: flex-start;
    background: var(--white);
    height: 100vh;
    overflow: hidden;
}

.launch section,
aside {
    flex: 0 0 auto;
    width: 50%;
    height: 100vh;
}

.launch aside {
    background: var(--black-green);
}

.launch section {
    flex-direction: column;
    justify-content: flex-start;
    color: var(--text-color);
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.light-text {
    color: var(--light-text);
    margin: 1rem 0;
    text-align: center;
    max-width: 480px;
}

footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    color: var(--button-disabled-text);
    width: 100%;
    margin: 1rem auto;
    gap: 1rem;
}

footer p {
    font-size: 0.9rem;
    width: 25%;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

header,
section {
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    margin: 0 auto;
    padding: 0 3rem;
    height: 100vh;
    width: 100%;
}

header {
    animation: fadeIn 1s ease-in-out;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    background: var(--separator-gradient);
}

section {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

/* Estado cuando la sección es visible */
.visible {
    opacity: 1;
    transform: translateY(0);
}


header h1,
section h1 {
    font-size: 2.5rem;
    margin: 0;
}

section h1 {
    font-size: 2rem;
}


header .section-text h1 {
    color: var(--text-color);
    font-size: 5rem;
    max-width: 940px;
    text-align: left;
    margin-right: auto;
    line-height: 1;
}

header h2 {
    margin: 2rem 0;
    font-weight: 400;
    width: 900px;
    color: var(--text-color);
    text-align: left;
    line-height: 1.5;
    font-size: 1.3rem;
}

section p {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffc439;
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px #73674b;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--background);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgb(46 71 93);
}

.register {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
}

/* Sección de mensajes */
#message-section {
    margin-top: 40px;
}

#message-section h2 {
    max-width: 800px;
    font-size: 2rem;
    margin: 20px auto;
    color: var(--primary-color);
    background: var(--accent-color);
    position: relative;
    text-align: center;
}

/*
#message-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color));
    border-radius: 2px;
}
*/
#messages-list {
    max-width: 550px;
}

.message-card {
    display: flex;
    min-width: 50%;
    max-width: 100%;
    position: relative;
    break-inside: avoid;
    margin: 20px 0;
    margin-bottom: 0;
    padding: 1.5rem;
    background: none;
    z-index: 0;
}



.message-card::before,
.message-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: var(--white);
    border: solid 1px var(--button-tiny);

}

.message-card:nth-child(odd)::before,
.message-card:nth-child(even)::before {
    border-radius: 20px 0 0 20px;
    left: 0;
    right: 25px;
    transform: skew(3deg);
    border-right: 0;
}

.message-card:nth-child(odd)::after,
.message-card:nth-child(even)::after {
    border-radius: 0 20px 20px 0;
    left: 25px;
    right: 0;
    transform: skew(-3deg);
    border-left: 0;
}


.message-card:nth-child(even)::before {
    transform: skew(-3deg);
}

.message-card:nth-child(even)::after {
    transform: skew(3deg);
}


.message-card p {
    font-size: 1rem;
    line-height: 1.3;
    color: var(--text-color);
    margin: .3rem 0;
}

.message-card span {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin: 0 .5rem;
}

/* Efecto glitch en hover para las tarjetas */
/*
.message-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            transparent 0%,
            var(--glitch-color1) 20%,
            transparent 40%,
            var(--glitch-color2) 60%,
            transparent 80%,
            var(--glitch-color1) 100%);
    background-size: 200% 200%;
    animation: glitch 0.5s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes glitch {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}
*/
/* Estilos para las tarjetas de usuario */
.player_card {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin: 0 -10px;
    font-size: .9rem;
}

.profile {
    width: 100%;
}

.photo_card {
    position: relative;
    padding-right: 1rem;
}

.photo_card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    /* border: 2px solid var(--text-color); */
}

player {
    /* position: absolute; */
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    color: var(--background);
    width: 80%;
    height: 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    margin: 0 auto;
    transform: translateX(-50%);
}

.text-card {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.text-card a {
    color: #666;
    text-decoration: none;
    font-weight: normal;
    display: inline-block;
}

.text-card p {
    font-size: 0.8rem;
    color: #888;
}

.actions div.like-section {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--primary-color);
}

div.like-section strong {
    color: #888;
    font-weight: normal;
}

.like-button,
.reply-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px 15px;
    margin: 0;
    z-index: 0;
}

.like-button img,
.reply-button img,
.report-btn img {
    width: 15px;
    height: auto;
    transition: transform 0.2s;
}

.like-button:hover img,
.reply-button:hover img,
.report-btn:hover img {
    transform: scale(1.2);
}

/* Botón de puntos */
.point-button {
    position: absolute;
    top: 5px;
    right: 15px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

.report {
    position: absolute;
    top: 45px;
    right: 15px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 10;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: 0.6s cubic-bezier(0.25, 1.3, 0.5, 1), opacity 0.4s ease;
    transform: translateY(-10px);
}

/* Cuando está visible */
.report.show {
    max-height: 100px;
    /* o lo que necesites */
    opacity: 1;
    transform: translateY(0);
}

.report-button {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px;
}

.report-button img {
    width: 16px;
    height: 16px;
}

/* Botón de cargar más */
#load-more-message {
    display: block;
    margin: 30px auto;
    padding: 12px 30px;
    background: none;
    color: var(--primary-color);
    border: 0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

#load-more-message:hover {
    background-color: #666;
    color: var(--background);
}

/* Progress circle */
.flow {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.circular-progress {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--primary-color) 0.3%, var(--border-color) 0%);
}

.circular-progress::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--background);
}

.progress-value {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

nums {
    display: flex;
    flex-direction: column;
    align-items: center;
}

weare {
    font-size: 2rem;
    color: var(--primary-color);
}

aim {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modo responsive */
@media (max-width: 768px) {

    .logo img {
        height: 35px;
        margin-right: 5px;
    }

    .logo span {
        font-size: 1.2rem;
        line-height: 20px;
    }


    .nav-logo {
        /* flex-direction: column; */
        gap: 10px;
        align-items: flex-start;
    }

    .search-form {
        width: auto;
    }

    .nav-links.active {
        left: 0;
    }

    header h1 {
        font-size: 2.5rem;
    }

    header h2 {
        font-size: 1.4rem;
    }

    header h3 {
        font-size: 1.2rem;
    }

}

.theme-toggle {
    --toggle-size: 1.8rem;
    --thumb-size: calc(var(--toggle-size) - 6px);
    --track-width: calc(var(--toggle-size) * 1.75);
    --track-height: var(--toggle-size);

    position: relative;
    width: var(--track-width);
    height: var(--track-height);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.toggle-track {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-color: var(--toggle-bg);
    position: relative;
    transition: background-color 0.3s ease;
}

.theme-toggle:hover .toggle-track {
    background-color: var(--toggle-bg-hover);
    box-shadow: 0 0 5px var(--accent-color);
}

.toggle-thumb {
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: var(--thumb-size);
    height: var(--thumb-size);
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 2px 4px var(--shadow-color);
    overflow: hidden;
}

[data-theme="dark"] .toggle-thumb {
    transform: translate(calc(var(--track-width) - var(--thumb-size) - 6px), -50%);
}

.sun-icon,
.moon-icon {
    position: absolute;
    width: 60%;
    height: 60%;
    stroke-width: 2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sun-icon {
    color: var(--primary-color);
    opacity: 1;
}

.moon-icon {
    color: var(--primary-color);
    opacity: 0;
    transform: rotate(-30deg);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(60deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0);
}

/* Efecto de hover y focus */
.theme-toggle:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Efecto de activación */
.theme-toggle:active .toggle-thumb {
    transform: translateY(-50%) scale(0.9);
}

[data-theme="dark"] .theme-toggle:active .toggle-thumb {
    transform: translate(calc(var(--track-width) - var(--thumb-size) - 6px), -50%) scale(0.9);
}

/* Estilos para el botón de nueva idea */
#new_message {
    position: relative;
    overflow: hidden;
}

#new_message::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            transparent 45%,
            var(--accent-color),
            transparent 55%);
    transform: rotate(30deg);
    opacity: 0;
    transition: opacity 0.3s;
}

#new_message:hover::after {
    opacity: 0.5;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }

    100% {
        left: 150%;
    }
}

/* Estilos para la sección de profesionales */
#pro-section {
    margin-top: 60px;
    padding: 30px 0;
    background-color: var(--background);
    border-radius: 16px;
}

#pro-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    text-align: center;
    padding-bottom: 10px;
}

#pro-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color));
    border-radius: 2px;
}

#professionals-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.professional-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    gap: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.pro-life {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 198, 167, 0.2);
}

/* Efecto glitch en hover */
.professional-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            transparent 0%,
            var(--glitch-color1) 20%,
            transparent 40%,
            var(--glitch-color2) 60%,
            transparent 80%,
            var(--glitch-color1) 100%);
    background-size: 200% 200%;
    animation: glitch 0.8s linear infinite;
    opacity: 0.2;
    z-index: 0;
}

.professional-card .photo_card {
    flex: 0 0 auto;
    transition: transform 0.3s;
}

.professional-card .photo_card img {
    width: 80px;
    height: 80px;
}

.pro-message {
    flex: 0 0 auto;
    width: 100%;
    font-size: 1.3rem;
    margin: 1rem .5rem;
}

.professional-card player {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    border: 2px solid var(--card-bg);
    z-index: 2;
}

.professional-card h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.pro_profile {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.pro_profile>div {
    flex-grow: 1;
}

.user_link {
    display: flex;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.user_link:hover {
    color: var(--primary-color);
}

.pro_profile p {
    font-size: 0.85rem;
    color: #888;
    margin: 5px 0;
}

.pro_profile span {
    font-size: 0.75rem;
    color: #aaa;
    display: block;
}

/* Botón de seguir */
.followButton {
    flex: 0 0 auto;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: black;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.followButton:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.followButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: left 0.7s;
    z-index: -1;
}

.followButton:hover::before {
    left: 100%;
}

/* Estado "Siguiendo" */
.followButton[data-following="true"] {
    background-color: var(--primary-color);
}

/* Botón de cargar más */
#load-more {
    display: block;
    margin: 40px auto 0;
    padding: 12px 35px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

#load-more:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 198, 167, 0.3);
}

#load-more::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

#load-more:hover::after {
    transform: translateX(100%);
}

/* Efectos especiales para la sección */
#pro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%,
            rgba(0, 198, 167, 0.05) 0%,
            transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Responsive */
@media (max-width: 768px) {

    .theme-toggle {
        --toggle-size: 1.7rem;
    }

    #professionals-list {
        grid-template-columns: 1fr;
    }

    .professional-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pro_profile {
        flex-direction: column;
    }

    .professional-card .photo_card {
        margin-bottom: 15px;
    }
}

/* Animación de aparición */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.professional-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.professional-card:nth-child(1) {
    animation-delay: 0.1s;
}

.professional-card:nth-child(2) {
    animation-delay: 0.2s;
}

.professional-card:nth-child(3) {
    animation-delay: 0.3s;
}

.professional-card:nth-child(4) {
    animation-delay: 0.4s;
}

.professional-card:nth-child(5) {
    animation-delay: 0.5s;
}

.professional-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Estilos generales para la página de perfil */
.shipControl {
    margin: 0 auto;
    width: auto;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: start;
    align-items: stretch;
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    height: calc(100vh - 60px);
}

#launchpad {
    width: 240px;
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    left: 0;
    background: var(--input-bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

#monitor {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    background: var(--white-back);
    padding: 0;
}

.preview {
    width: 480px;
    max-width: 100%;
    background: var(--white-back);
    padding: 2rem;
    border-radius: 0;
    border-left: solid 1px var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
}


#mi-iframe {
    /* 1. Calculamos el tamaño inverso para que al encogerse llene el 100% */
    /* 100% / 0.75 = 133.33% */
    min-width: 133.33%;
    height: 133.33%;
    border: none;

    /* 2. Aplicamos la escala */
    transform: scale(0.75);

    /* 3. Definimos el punto de origen en la esquina superior izquierda */
    transform-origin: 0 0;
}

.iframe {
    flex: 1 1 auto;
    height: 100%;
    display: flex;
    align-items: center;
}

.iframe .external {
    height: 640px
        /*694px*/
    ;
    width: 320px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 10px 3px var(--button-disabled);
}

.preview-title {
    padding: .5rem 1rem;
    z-index: 0;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.preview-title a {
    text-decoration: none;
    color: var(--text-color);
}

.preview-title button {
    margin: 0;
    padding: 5px 10px;
}

.preview-title::before,
.preview-title::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 25px;
    background: var(--white);
    transform: skew(-5deg);
    z-index: -1;
    border-radius: 10px;
    border: solid 1px var(--border-light);
}

.preview-title::after {
    left: 25px;
    right: 0;
    transform: skew(5deg);
    border-radius: 10px;
    border-left: 0;
    border-radius: 0 10px 10px 0;
}

/* Sección de foto de perfil */
#config_photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: auto;
    max-width: 100%;
}

.logo-marca {
    width: 100%;
    cursor: pointer;
}

.logo-marca img {
    max-width: 333px;
    max-height: 99px;
    padding: 5px;
}

.shipControl player {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--background);
    text-align: center;
    min-width: 75%;
    width: max-content;
    height: 40px;
    font-size: 1.5em;
    border-radius: 100px;
    padding: 5px;
    background-color: var(--primary-color);
    color: var(--background);
    /* position: absolute; */
    bottom: -10%;
    left: 50%;
    transform: translate(-50%, 5px);
}

#btn_photo_edit img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

/* Información del usuario */
#launchpad h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 5px;
    color: var(--primary-color);
    position: relative;
}

#launchpad h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color));
}

.ocupa {
    margin: .5rem 0;
    font-size: var(--text-color);
}

.ocupa.fan {
    color: #666;
    background: var(--button-disabled);
    padding: .5rem 1rem;
    /* width: fit-content; */
    margin: .5rem auto;
    border-radius: 7px;
}

/* Sección de estadísticas */
#social-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem;
    background-color: var(--button-disabled);
    color: #333;
    border-radius: 20px;
    gap: 24px;
    max-width: 100%;
    width: 400px;
}

#social-section div {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    text-align: center;
    cursor: default;
    transition: transform 0.3s;
    width: 100%;
    padding: 0 1rem;
}

#social-section div:hover {
    transform: translateY(-3px);
}

#social-section h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 5px;
}

/* Botones de configuración */
#config_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    width: 100%;
}

#config_btn a {
    padding: .5rem 1rem;
    text-align: left;
    text-decoration: none;
    transition: all 0.3s;
    color: var(--border-bright);
    border-radius: 5px;
    width: 100%;
}

#config_btn a:hover {
    background: var(--input-bg);
}

/* Formulario para publicar */
#submit_area {
    width: fit-content;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px var(--shadow-color);

    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

#submit_area textarea {
    width: 100%;
    min-height: 50px;
    padding: 15px;
    font-size: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    resize: vertical;
    font-family: inherit;
    background-color: var(--background);
    color: var(--text-color);
}

#submit_area textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 198, 167, 0.2);
}

#submit_area div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

#submit_area button {
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

#submit_area button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

#submit_area span {
    font-size: 0.8rem;
    color: #888;
}

/* Sección de seguidores/seguidos */
.follow-section {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.follow-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.follow-list {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.follow-list:last-child {
    border-bottom: none;
}

.follow-list img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.follow-list a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.follow-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Paneles de edición (ocultos inicialmente) */
#edit_photo,
#panel_edit {
    background-color: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 10px var(--light-text);
    width: 450px;
    max-width: 100%;
    overflow-y: auto;
    max-height: 75%;
}

#edit_photo h2,
#panel_edit h2 {
    color: var(--black-green);
    margin: 10px 0;
    text-align: left;
    margin-top: 25px;
    font-weight: normal;
    font-size: 1.3rem;
}

#edit_photo h2 {
    margin-top: 0;
}

#panel_edit h2:first-child {
    margin: 0;
    margin-bottom: .7rem;
    margin-left: .5rem;
}

.file-input-button {
    display: block;
    padding: 10px 15px;
    background-color: #a4ac8f;
    color: #ecffba;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    width: max-content;
    margin: 0 auto;
}

.file-input-button:hover {
    background-color: var(--primary-color);
}

#panel_edit form,
#edit_photo form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#panel_edit textarea {
    min-height: 120px;
    resize: vertical;
}

textarea:focus {
    outline: none;
}

#photo_edit_close,
#config_close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

#photo_edit_close img,
#config_close img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

#photo_edit_close:hover img,
#config_close:hover img {
    opacity: 1;
}

/* Sección de publicaciones del usuario */
#monitor h2 {
    font-weight: normal;
}

#monitor li {
    position: relative;
    /* background-color: var(--card-bg); */
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 10px;
    /* box-shadow: 0 5px 10px #ddd; */
    transition: transform 0.3s;
    padding-top: 1rem;
}

#monitor li:hover {
    transform: translateY(-3px);
}

#monitor h3 {
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.2;
    color: var(--theme-surface);
}

.actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.actions small {
    color: #888;
    font-size: 0.85rem;
}

.actions div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.edit-button,
.delete-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 15px;
    /* opacity: 0.7; */
    transition: opacity 0.2s;
    z-index: 0;
    margin: 0;
    width: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-button:hover,
.delete-button:hover {
    opacity: 1;
}

.edit-button img,
.delete-button img {
    width: 13px;
    height: auto;
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 4444;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--button-disabled);
    position: relative;
    border-radius: 100px;
    width: 320px;
    max-width: 100%;
    transition: all .3s cubic-bezier(0.21, 1.06, 0.83, 1.13);
}

.modal-content.baja {
    opacity: 0;
    transform: translateY(-50px) scale(.9);
}

.modal-content.sube {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#editModal .modal-content,
#deleteModal .modal-content {
    background-color: var(--background);
    /* border: solid 1px #333; */
    border-radius: 20px;
    padding: 1rem;
    width: 480px;
    max-width: 100%;
    box-shadow: 0 5px 100px #444;
}

#newMessageModal.fijado {
    position: fixed;
    bottom: 67px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    border-radius: 100px;
}

#oneButton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

#followOneButton {
    cursor: pointer;
    background: transparent;
    color: #333;
    border: solid 2px;
    padding: .3rem 1rem;
    border-radius: 100px;
}

#followOneButton:hover {
    background: #ffc439;
    color: #333;
    border: solid 2px;
}

.buttons {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 15px;
    width: 100%;
    background: transparent;
    margin-top: 2rem;
}

.buttons img {
    width: 30px;
    height: 30px;
}

.buttons a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-decoration: none;
    padding: 10px 20px;
    background: transparent;
    color: var(--background);
    gap: 5px;
    font-size: 1.2rem;
    transition: all 0.3s;
    border-radius: 10px;
    width: fit-content;
    font-family: inherit;
}

.buttons a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    right: 0;
    bottom: 0;
    background: var(--secondary-color);
    animation: glitch 0.5s linear infinite;
    z-index: -2;
    transform: skew(5deg);
    border-radius: 0 10px 10px 0;
}

.buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 20px;
    bottom: 0;
    background: var(--secondary-color);
    animation: glitch 0.5s linear infinite;
    z-index: -1;
    border-radius: 10px;
}

.buttons a:hover::before {
    background: linear-gradient(-45deg, var(--secondary-color), var(--primary-color));
}

#donar {
    background: #525a3f;
    color: #95c026;
}

#donar:hover {
    background: #445222;
    color: #95c026;
}


.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-buttons .confirm {
    /* background-color: #bfe076; */
    /* color: var(--text-color); */
}

.modal-buttons .confirm:hover {
    background-color: #9bc838;
}

.modal-buttons .cancel {
    /* background-color: #444; */
    /* color: var(--text-color); */
}

.modal-buttons .cancel:hover {
    background-color: #333;
}

#editMessageInput {
    width: 100%;
    min-height: 90px;
    max-height: 480px;
    padding: 15px;
    border: 0;
    border-radius: 3px;
    resize: vertical;
    background: none;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.pagination a {
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 8px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.pagination a:hover {
    transform: scale(1.1);
}

.pagination a.active {
    background-color: var(--border-dim);
    color: var(--background);
    border-color: var(--border-color);
}

/* Efectos glitch para elementos interactivos */
#submit_area button:hover,
.like-button:hover {
    position: relative;
    overflow: hidden;
}

#submit_area button:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            transparent 0%,
            var(--glitch-color1) 20%,
            transparent 40%,
            var(--glitch-color2) 60%,
            transparent 80%,
            var(--glitch-color1) 100%);
    background-size: 200% 200%;
    animation: glitch 0.5s linear infinite;
    opacity: 0.2;
    z-index: -1;
}

/* Estilos para el contenedor del login */
.container.log {
    max-width: 100%;
    width: 380px;
    margin: 0;
    padding: 20px 40px;
    background-color: #ffffff;
    border-radius: 27px 27px 0 0;
    box-shadow: 0 0 30px var(--shadow-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 150px;
}

/* Efecto glitch sutil de fondo */
.container.log::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* background: linear-gradient(to bottom right, transparent 45%, #ffc43914, transparent 55%); */
    transform: rotate(30deg);
    /* animation: glitch-bg 8s linear infinite; */
    z-index: -1;
}

@keyframes glitch-bg {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Título del login */
.container.log h1 {
    margin-bottom: 10px;
    margin-left: 10px;
    position: relative;
    display: inline-block;
    color: #a0b862;
    font-weight: 400;
    width: 100%;
    text-align: left;
    font-size: 1.5rem;
}

/* Formulario de login */
#formLogin {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#formLogin input {
    padding: 15px;
    border: 2px solid #c3cbaf;
    border-radius: 100px;
    font-size: 1rem;
    background-color: var(--input-bg);
    color: #8e9185;
    transition: all 0.3s;
    outline: none;
}

#formLogin input:focus {
    outline: none;
    border-color: #82a034;
    /* box-shadow: 0 0 0 4px rgba(217, 237, 234, 0.2); */
}

/* Efecto glitch en los inputs al focus */
#formLogin input:focus {
    position: relative;
    overflow: hidden;
}

#formLogin input:focus::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            transparent 0%,
            var(--glitch-color1) 20%,
            transparent 40%,
            var(--glitch-color2) 60%,
            transparent 80%,
            var(--glitch-color1) 100%);
    background-size: 200% 200%;
    animation: glitch 0.8s linear infinite;
    opacity: 0.1;
    z-index: -1;
}

/* Botón de login */
#buttonLogin {
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

#buttonLogin:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px #59692f;
}

#buttonLogin::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.7s;
}

#buttonLogin:hover::before {
    left: 100%;
}

/* Efecto glitch más intenso al hacer hover en el botón */
#buttonLogin:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            transparent 0%,
            var(--glitch-color1) 20%,
            transparent 40%,
            var(--glitch-color2) 60%,
            transparent 80%,
            var(--glitch-color1) 100%);
    background-size: 200% 200%;
    animation: glitch 0.5s linear infinite;
    opacity: 0.2;
    z-index: -1;
}

#seguidor-premium {
    color: #ffffff;
}

#seguidor-ultra {
    color: #ffc439;
    /* background: #444444; */
    border-radius: 15px;
    /* margin: 1rem 0; */
}

#planes_premium .donarTitle {
    position: absolute;
    right: 15px;
    top: 15px;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    border-radius: 0;
    z-index: 999;
}

#planes_premium img#donarClose {
    position: relative;
    right: auto;
    top: auto;
    left: auto;
    border-radius: 0;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    cursor: pointer;
    filter: invert(.2);
}

#planes_premium img#donarClose:hover {
    transform: scale(1.1);
}

#planes_premium {
    display: block;
    width: 425px;
    /* max-width: 100%; */
    position: fixed;
    left: calc(50% - 212.5px);
    right: 0;
    bottom: -600px;
    background-color: #333;
    background: linear-gradient(-0deg, #d3dcbe, #525a3f);
    z-index: 999;
    box-shadow: 0px 20px 20px 9px #3d3535;
    padding: 1.5rem;
    border-radius: 25px 25px 0 0;
    transition: all .2s cubic-bezier(0.57, 0.28, 0.46, 1.18);
}

#planes_premium h2 {
    flex: 1 1 auto;
    width: 75%;
    color: #ffc439;
    background: #333;
    font-weight: normal;
    line-height: 1.2;
    border-radius: 10px;
    padding: .5rem;
    font-size: 1.3rem;
}

#planes_premium>div>img {
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 50px;
}

#planes_premium h3 {
    line-height: 1;
    margin: 0;
    font-size: 1.2rem;
    margin-left: 60px;
}

#planes_premium p {
    line-height: 1;
    margin: .7rem 0;
    margin-left: 60px;
    margin-top: .5rem;
}

#planes_premium>div {
    position: relative;
    padding: 1rem;
}

div.paypal_subs {
    /* background: #000; */
    /* border-radius: 10px; */
    width: 345px;
    height: 47px;
    overflow: hidden;
    margin-top: 1rem;
}

div.paypal_subs .paypal-button-tagline {
    background-color: #000000;
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    transition: transform 0.3s ease-in-out;
    /* La magia de la animación */
    z-index: 10000;
}

#horizon {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

#horizon img {
    filter: none;
    height: 25px;
    transform: none;
}

#horizon span:nth-child(2) {
    color: var(--white);
    font-size: 1rem;
}

.horizon {
    margin-bottom: 2rem;
    width: 100%;
}

.horizon .great {}

.great .brand {
    gap: 5px;
    color: var(--theme-surface);
    justify-content: center;
    border-radius: 3px;
    padding: 5px;
    font-size: .9rem;
}

.great .brand img {
    transform: none;
    width: 25px;
}

.great .brand span {
    font-size: 1.2rem;
}

#back_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: transparent;
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
    z-index: 9999;
}

#back_header.visible {
    background-color: var(--input-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
    transform: translateY(0);
}

#navbar.hidden {
    transform: translateY(-100%);
}

.brand {
    display: flex;
    align-items: flex-end;
    text-decoration: none;
}

.brand span {
    color: var(--text-color);
}

.brand span:last-child {
    color: var(--primary-color);
}

.profilex {
    background: var(--white);
}

.brand img,
.brand span {
    transition: transform .2s ease-in-out;
}

.brand:hover img {
    transform: translateY(-12px);
}

.brand:hover span {
    transform: translateX(5px);
}

.brand span {
    font-weight: bold;
}

.brand img {
    height: 33px;
    margin-right: 10px;
    filter: invert(1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* margin: 3rem 0; */
    flex-wrap: wrap;
}

.social-links a {
    color: var(--button-disabled-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: .1s;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Enlaces de registro y recuperación */
.logreg {
    color: var(--text-color);
    margin-top: 2rem;
}

.logreg.two {
    gap: 10px;
    display: flex;
}

.logreg.tree {
    margin: 2rem auto;
    margin-bottom: 15rem;
    width: max-content;
}

.logreg a {
    display: block;
    color: #88946a;
    background: #dcebb5;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
    padding: 7px;
    width: 100%;
    border-radius: 100px;
}

.logreg a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.logreg a:hover {
    color: #3c491c;
}

/* Responsive design */
@media (max-width: 500px) {
    .container.log {
        width: 100%;
        margin-bottom: 110px;
    }

    .container.log h1 {
        font-size: 1.8rem;
    }

    #formLogin input,
    #buttonLogin {
        padding: 12px;
    }
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
    color: var(--dark-green);
}

a.new,
a.old {
    color: var(--button-disabled);
    text-decoration: none;
    margin: 0 .3rem
}

a.old {
    color: rgb(103, 60, 204);
}

/* Estilos base del formulario */
#registerForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    width: 480px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    border-radius: 33px;
    position: relative;
    text-align: center;
}

/* Sección de verificación de email */
.verification-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: .5rem;
    margin-top: -5px;
    padding: 1rem;
    background: #ccc;
    border-radius: 15px;
}

.verification-container>div {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.verification-container button {
    padding: 0 15px;
}

.verification-message {
    padding: 10px;
    border-radius: 8px;
    margin-top: -5px;
    font-size: 0.9rem;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.verification-message.success {
    background-color: rgba(9, 195, 114, 0.2);
    color: var(--success-color);
}

.verification-message.error {
    background-color: #f44336;
    color: #ffbdb8;
}

/* Estilos para el input de archivo */
.file-input-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    border-radius: 15px;
    text-align: center;
    border: solid 1px var(--light-text);
    overflow: hidden;
    height: 110px;
}

#edit_photo label.file-input-button {
    background: var(--input-bg);
    color: var(--button-disabled-text);
    cursor: pointer;
    text-align: center;
    margin: 0;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
}

.file-input-button:hover {
    background-color: #86906d;
}

#profilePhotoInput {
    display: none;
}

.image-preview {
    margin-top: 15px;
    display: none;
}

.image-preview img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

/* Área de recorte de imagen */
#imageCropper {
    display: none;
    margin: 0 auto;
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

#imageCropper img {
    max-width: 100%;
    display: block;
}

/* Vista previa recortada */
#croppedPreview {
    display: none;
    margin: 0 auto;
    text-align: center;
    margin-top: 20px;
}

#croppedPreview img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 15px;
    box-shadow: 0 3px 50px rgb(175 182 188);
}

#submitButton:empty {
    pointer-events: none;
    /* Evita clics */
    opacity: 0.5;
    /* Estilo visual tenue */
    cursor: not-allowed;
    /* Cursor de prohibido */
}

/* Botón de submit */
.submitButton {
    padding: 15px;
    background: transparent;
    color: var(--background);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.submitButton:disabled {
    pointer-events: none;
    color: var(--button-disabled-text);
    cursor: default;
}

.submitButton:disabled::before,
.submitButton:disabled::after {
    background: var(--button-disabled);
}


.submitButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 15px;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    transition: left 0.7s;
    border-radius: 10px 0 0 10px;
    z-index: -1;
    transform: skew(-5deg);
}

.submitButton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    bottom: 0;
    right: 0;
    z-index: -1;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    transform: skew(5deg);
}

.submitButton:hover::after {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Texto de términos */
#registerForm p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    text-align: center;
    margin-top: 10px;
}

#registerForm p a {
    color: #95c026;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

#registerForm p a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 650px) {

    .verification-container>div {
        flex-direction: column;
    }

    .verification-container button {
        width: 100%;
        padding: 12px;
    }
}

/* Animaciones */
@keyframes glitch-bg {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#registerForm {
    animation: fadeIn 0.6s ease-out;
}

/* Estilos para el estado de carga */
.loading {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: none;
}

.close-modal:hover {
    color: black;
}

#messageForm {
    width: 100%;
    position: relative;
    align-items: flex-start;
    padding: 1rem;
    padding-right: 15px;
    background: var(--theme-border);
}

/*
#messageForm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 15px;
    bottom: 0;
    background: var(--dark-green);
    transform: skew(-5deg);
    border-radius: 10px;
     z-index: -1;
}

#messageForm::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    right: 0;
    bottom: 0;
    background: var(--dark-green);
    transform: skew(5deg);
    border-radius: 10px;
    z-index: -1;
}
*/
.textareaDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    width: 100%;
    gap: 10px;
}

#messageForm:focus-within {
    border-color: #16912a;
}

#messageInput {
    max-height: 333px;
    width: 100%;
    padding: .5rem;
    border: 0;
    resize: none;
    font-family: inherit;
    font-size: 1rem;
    background: none;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    font-weight: lighter;
    color: var(--theme-surface);
}

#messageInput:focus {
    outline: none !important;
}

.form-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    z-index: 1;
    width: 100%;
}

.char-counter {
    color: #888;
    font-size: 0.8em;
    margin: .5rem;
}

.form-alerts {
    z-index: 10;
    width: 100%;
    display: none;
    align-items: center;
    gap: 10px;
    align-self: center;
    background: var(--button-disabled);
    padding: 1rem;
    border-radius: 7px;
}

.form-alerts i.fa-circle-notch {
    animation: spin 1s linear infinite;
}

#formError,
#formSuccess {
    position: relative;
    background: transparent;
    border-radius: 8px;
    padding: 15px 5px;
    width: fit-content;
    max-width: 100%;
    text-align: left;
    color: var(--white);
    box-shadow: 0 5px 10px var(--dark-green);
}

#formError::before,
#formSuccess::before {
    content: "";
    position: absolute;
    bottom: -10px;
    /* distancia hacia abajo */
    right: 20px;
    /* ajusta posición horizontal */
    border-width: 10px 10px 0 10px;
    /* triángulo hacia abajo */
    border-style: solid;
    border-color: var(--dark-green) transparent transparent transparent;
    /* triángulo blanco */
    display: block;
    width: 0;
    height: 0;
}

.container.play {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 0;
}

.newMessageText {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    bottom: 50px;
    gap: 10px;
}

.floating-btn {
    background-color: var(--primary-color);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.floating-btn img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    #config_photo {}

    #config_photo #social-section {
        flex: 0 0 auto;
        width: 100%;
        font-size: .8rem;
        padding: 14px;
        margin-top: 1rem;
    }

    .floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.alert-reg {
    display: none;
}

/* Estilo para el mensaje de error */
.error-message,
.error {
    color: #d32f2f;
    background-color: #ffebee;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #f44336;
    font-size: 1rem;
    margin: 0;
}

/* Estilo cuando hay error */
input[type="date"].error {
    border-color: #f44336;
}

label[for='birthdate'] {
    font-weight: bold;
    font-size: 1rem;
    color: #666;
    line-height: 1.2;
    margin-top: 1rem;
}

/* Estilos para el sistema de respuestas */
.replies-container {
    position: relative;
    transition: .5s;
}

.replies-list {
    transition: .5s;
    margin-top: 20px;
}

/*
.replies-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}
*/
.reply-form {
    margin: 20px 0;
    margin-bottom: 25px;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.reply-form img {
    border-radius: 50%;
    width: 30px;
    height: auto;
}

.reply-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    resize: vertical;
    /* min-height: 80px; */
    background-color: var(--background);
    color: var(--text-color);
}

.reply-textarea:focus {
    outline: none;
    /*border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 198, 167, 0.2);*/
}

.submit-reply,
.cancel-reply {
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-reply {
    background-color: #95c026;
    border: none;
}

.submit-btn {
    width: 30%;
    background: var(--theme-accent);
    color: var(--theme-surface);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin: 0;
}

.submit-btn::after {
    content: none;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, transform 0.2s ease;
    background: var(--theme-accent);
    border: 1px solid var(--theme-border);
    z-index: -1;
    transform-origin: top;
    transform: skewX(-10deg);
}

.input-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, transform 0.2s ease;
    background: var(--theme-input-contact);
    border: 1px solid var(--theme-border);
    z-index: -1;
    transform-origin: bottom;
    transform: skewX(-10deg);
}

.submit-btn:hover::before {
    background: var(--theme-accent);
}

.submit-btn img {
    width: 30px;
    filter: invert(1);
    transition: transform .2s ease-in-out;
}

.submit-btn:hover img {
    transform: translateY(-5px);
}

.submit-reply img {
    width: 20px;
    height: auto;
    transition: .2s ease;
    border-radius: 0;
    filter: brightness(0.3);
}

.cancel-reply {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.cancel-reply:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.reply-card {
    margin: 10px 0;
    transition: .5s;
}

.reply-card p {
    margin-bottom: 8px;
}

.reply-card span {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0;
}

.reply-player {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.reply-player img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.reply-player a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.reply-player a:hover {
    text-decoration: underline;
}

.reply-button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

/* Mostrar/ocultar respuestas */
.show-replies {
    display: block;
    margin-top: 10px;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
}

.show-replies:hover {
    text-decoration: underline;
}

/* Estilos para respuestas */

.reply-form textarea {
    width: 100%;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-color);
    resize: none;
    font-family: inherit;
    margin: 0;
    font-size: 1rem;
    border-bottom: 2px solid #000;
    border-radius: 0;
    margin: 0 0 0 10px;
}

.reply-form button {
    padding: 5px;
    border-radius: 7px;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.reply-form .submit-reply {
    flex: 0 0 auto;
    align-self: center;
    height: 30px;
    width: 60px;
    border-radius: 100px;
}

.reply-form .submit-reply:hover img {
    transform: translateY(-2px);
}

.reply-form .cancel-reply {
    background-color: var(--border-color);
    color: var(--text-color);
}

.reply-content p {
    margin: 3px 0;
    color: var(--text-color);
    font-size: 1rem;
}

.reply-content span {
    font-size: 0.8em;
    color: #888;
}

.reply-actions,
.reply-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.reply-actions {
    margin-left: 35px;
    margin-bottom: 0;
}

.vote-button {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.2s;
}

.vote-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.vote-button img {
    width: 20px;
    height: 20px;
}

.like-reply {
    color: var(--success-color);
}

.dislike-reply {
    color: var(--error-color);
}

.reply-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    text-decoration: none;
}

.reply-author span {
    margin: 0;
}

.reply-author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

#loadinggg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(270deg,
            var(--glitch-color1),
            var(--glitch-color2),
            var(--glitch-color1));
    background-size: 200% 100%;
    animation: waveMotion 2s infinite ease-in-out;
    z-index: 1999;
}

@keyframes waveMotion {
    0% {
        background-position: 200% 0;
    }

    50% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0% 0;
    }
}

.terms-privacy a,
.terms-privacy span {
    margin: .5rem;
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-size: .8rem;
}

#privacy_terms #navbar,
#privacy_terms footer {
    max-width: 720px;
    margin: 0 auto;
}

#privacy_terms #navbar {
    position: relative;
    filter: grayscale(.5);
    font-size: 1.2rem;
}

#privacy_terms .brand img {
    filter: none;
}

#privacy_terms .brand span:nth-child(2) {
    color: var(--white);
}

.priv-terms a {
    color: var(--secondary-color);
}

.priv-terms {
    max-width: 720px;
    margin: 10px auto;
    padding: 3rem;
    border-radius: 10px;
}

.contact-ship {
    transition: transform .2s ease-in-out;
}

.contact-scale-up {
    transform: scale(1.05);
    box-shadow: 5px 5px 10px var(--dark-green);
}

.update_time {
    display: inline-block;
    background: var(--border-light);
    padding: .5rem 1.5rem;
    border-radius: 5px;
    color: var(--button-disabled-text);
    transform: skew(-3deg);
}

.priv-terms h1,
.priv-terms h2,
.priv-terms h3,
.priv-terms ul {
    margin: 1rem 0;
}

.priv-terms h2 {
    margin-top: 5rem;
}

.priv-terms p {}

.priv-terms ul {
    max-width: 90%;
}

.priv-terms li {
    margin: 1rem;
    padding: .5rem 1.5rem;
    border-left: solid 2px var(--dark-green);
    border-radius: 5px;
    list-style: none;
    transform: skew(-3deg);
}

/* Estilos del modal */
.report-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.report-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
}

/* Estilos del formulario de reporte */
.report-container {
    font-family: 'Roboto', Arial, sans-serif;
    color: #333;
}

.report-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.report-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #333;
}

.report-options {
    margin-bottom: 20px;
}

.report-option {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.report-option input[type="radio"] {
    margin: 5px;
    width: 18px;
    height: 18px;
    accent-color: #000;
}

.report-option label {
    font-size: 0.95rem;
    cursor: pointer;
}

.report-divider {
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
}

.report-next-btn,
.report-submit-btn {
    float: right;
    padding: 8px 16px;
    background-color: #333;
    color: #ddd;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.report-next-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.report-next-btn:not(:disabled):hover {
    background-color: #000;
}

/* Botón de reportar en las publicaciones */
.report-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px;
}

.report-btn:hover {
    text-decoration: underline;
}

/* Estilos adicionales para el sistema de pasos */
.report-step {
    display: none;
}

.report-step.active {
    display: block;
}

.report-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.report-cancel-btn,
.report-back-btn {
    padding: 8px 16px;
    background-color: transparent;
    color: #333;
    border: 2px solid #999;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.report-cancel-btn:hover,
.report-back-btn:hover {
    background-color: #eee;
}

.report-description-box {
    position: relative;
    margin: 20px 0;
}

.report-description-box textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    background-color: #eee;
    color: #333;
    border: 0;
}

.report-description-box textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 198, 167, 0.2);
}

.report-container .char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: #888;
    opacity: 0.7;
    right: 10px;
    bottom: 10px;
    text-align: right;
}

/* Estilo para el paso completado */
.report-option input[type="radio"]:checked+label {
    font-weight: bold;
    color: #000;
}

/* Notificaciones */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    z-index: 9999;
}

.notification {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    opacity: 0;
    animation: slideIn 0.3s forwards, fadeOut 0.5s forwards 3s;
    display: flex;
    align-items: center;
    z-index: 2000;
}

.notification.success {
    background-color: #a7c654;
    border-left: 5px solid #81a71c;
}

.notification.error {
    background-color: #F44336;
    border-left: 5px solid #D32F2F;
}

.notification.warning {
    background-color: #FF9800;
    border-left: 5px solid #F57C00;
}

.notification-icon {
    margin-right: 10px;
    font-size: 20px;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}


.professional-card,
.footer,
.report-modal-content {
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 10px #666;
}

.dot {
    margin: 0 3px;
}

input,
textarea,
select {
    position: relative;
    background: transparent;
    color: var(--text-color);
    padding: 1.5rem 1rem;
    padding-bottom: 1rem;
    width: 100%;
    font-size: 1rem;
    transition: border 0.3s;
    border: 0;
    outline: none;
    border-radius: 10px;
    border: solid 2px var(--white);
    z-index: 1;
    font-family: inherit;
}

select {
    background: var(--input-bg);
    height: 100%;
    text-align: left;
    padding: 1rem;
}

.btn-upload {
    cursor: pointer;
    background: var(--theme-surface);
    color: var(--theme-text);
    padding: 8px 12px;
    border-radius: 15px;
    display: inline-block;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 80px;
    height: 80px;
    font-size: .8rem;
}

input:hover,
textarea:hover {
    border: solid 2px var(--border-hover);
}

input:focus,
textarea:focus {
    outline: solid 2px var(--outline-input);
    outline-offset: 0;
    border: solid 2px var(--white);
}

.input_text {
    flex: 1;
    position: relative;
    background: var(--input-bg);
    border-radius: 15px;
}

.input_text label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    top: 20px;
    left: 18px;
    font-size: 1rem;
    color: var(--light-text);
    z-index: 0;
    transition: top 0.1s, font-size 0.1s;
    pointer-events: none;
}

input:focus+label,
input:not(:placeholder-shown)+label {
    top: 5px;
    font-size: .9rem;
}

.info {
    flex: 1 1;
}

.one-page {
    position: relative;
    width: 570px;
    min-height: 100vh;
    max-width: 100%;
    margin: 0 auto;
    z-index: 1;
    border-radius: 25px 25px 0 0;
    overflow: hidden;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.2);
}

.hero-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.full-page .hero-backdrop {
    position: absolute;
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(90px);
}

.full-page.hero-backdrop>img {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.backdrop-filter {
    backdrop-filter: blur(1px);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .8;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
}

.opaco {
    background: rgba(0, 0, 0, .9);
    height: 100%;
}

.profile-photo {
    position: relative;
    width: 570px;
    height: 570px;
    cursor: pointer;
    background: var(--dark-green);
    mask: radial-gradient(110.26% 96% at 50% 0%, #000 50%, rgba(0, 0, 0, 0.99) 54.68%, rgba(0, 0, 0, 0.97) 58.79%, rgba(0, 0, 0, 0.94) 62.4%, rgba(0, 0, 0, 0.90) 65.61%, rgba(0, 0, 0, 0.85) 68.52%, rgba(0, 0, 0, 0.79) 71.2%, rgba(0, 0, 0, 0.72) 73.75%, rgba(0, 0, 0, 0.65) 76.25%, rgba(0, 0, 0, 0.57) 78.8%, rgba(0, 0, 0, 0.48) 81.48%, rgba(0, 0, 0, 0.39) 84.39%, rgba(0, 0, 0, 0.30) 87.6%, rgba(0, 0, 0, 0.20) 91.21%, rgba(0, 0, 0, 0.10) 95.32%, rgba(0, 0, 0, 0.00) 100%);
}

.profile-photo:hover img {
    opacity: .9;
}

.absolute {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    mask: radial-gradient(110.26% 96% at 50% 0%, rgba(0, 0, 0, 0.00) 60%, rgba(0, 0, 0, 0.01) 64.72%, rgba(0, 0, 0, 0.03) 68.55%, rgba(0, 0, 0, 0.07) 71.65%, rgba(0, 0, 0, 0.12) 74.13%, rgba(0, 0, 0, 0.18) 76.15%, rgba(0, 0, 0, 0.25) 77.82%, rgba(0, 0, 0, 0.33) 79.3%, rgba(0, 0, 0, 0.41) 80.7%, rgba(0, 0, 0, 0.50) 82.18%, rgba(0, 0, 0, 0.59) 83.85%, rgba(0, 0, 0, 0.67) 85.87%, rgba(0, 0, 0, 0.76) 88.35%, rgba(0, 0, 0, 0.85) 91.45%, rgba(0, 0, 0, 0.93) 95.28%, #000 100%);
}

/* Contenedor */
.vhs-container {
    display: flex;
    align-items: center;
}

/* Imagen con vibración RGB */
.vhs-img {
    height: 30px;
    margin-right: 10px;
    filter: invert(.89) drop-shadow(-1px 0 red) drop-shadow(1px 0 cyan);
    animation: beatVibrate 1s infinite ease-in-out;
}

/* Texto principal */
.vhs-text {
    position: relative;
    font-size: 1.3rem;
    font-weight: bold;
    /* text-transform: uppercase; */
    /* line-height: 25px; */
}

/* Clones RGB */
.vhs-text::before,
.vhs-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.9;
}

.vhs-text::before {
    color: red;
    animation: vibrateLeft .5s infinite ease-in-out;
}

.vhs-text::after {
    color: cyan;
    animation: vibrateRight .5s infinite ease-in-out;
}

/* Vibración tipo audio beat */
@keyframes beatVibrate {
    0% {
        transform: translateX(0) scale(1) rotate(0);
    }

    25% {
        transform: translateX(-1px) scale(1.02) rotate(-0.2deg);
    }

    50% {
        transform: translateX(1px) scale(1.01) rotate(0.2deg);
    }

    75% {
        transform: translateX(-1px) scale(1.015) rotate(-0.1deg);
    }

    100% {
        transform: translateX(0) scale(1) rotate(0);
    }
}

@keyframes vibrateLeft {

    0%,
    100% {
        transform: translate(-1.5px, 0);
    }

    50% {
        transform: translate(-1px, -0.5px);
    }
}

@keyframes vibrateRight {

    0%,
    100% {
        transform: translate(1.5px, 0);
    }

    50% {
        transform: translate(1px, 0.5px);
    }
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    list-style: none;
    padding: 0;
    margin: 0 35px;
    margin-bottom: 0;
}

.grid-gallery li:hover {
    transform: scale(1.05);
}

.priv-terms {
    background: var(--white);
    color: var(--dark-green);
    line-height: 1.7rem;
}

.wave {
    overflow: hidden;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    /* box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5); */
    transition: 0.5s;
    z-index: -1;
}

.otp-input-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.otp-field {
    width: 40px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 8px;
    /* Oculta las flechas de tipo "number" */
    -moz-appearance: textfield;
    padding: 0;
}

.otp-field:focus {
    border-color: var(--primary-color);
    outline: none;
}

.alert-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    backdrop-filter: blur(2px);
    padding: 1rem;
}

.alert-message div {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    align-items: flex-start;
    background: var(--dark-green);
    z-index: -2;
    padding: 2rem;
    border-radius: 10px;
    width: 480px;
    max-width: 100%;
}

.alert-message p {
    color: var(--white);
}

.message {
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
}

.message.error {
    color: #d32f2f;
    background-color: #ffebee;
    border-left: 3px solid #d32f2f;
}

.message.success {
    color: #388e3c;
    background-color: #e8f5e9;
    border-left: 3px solid #388e3c;
}

.info h3,
.info p {
    font-size: .9rem;
    letter-spacing: .3rem;
    padding: .5rem 1rem;
    border-radius: 5px;
}

.info p {
    font-size: 1rem;
    letter-spacing: inherit;
    position: relative;
    z-index: 0;
    padding: 5px 0;
}

.menu-profile {
    display: flex;
    align-items: center;
    padding: 1rem;
    width: 100%;
    gap: 10px;
}

.menu-profile img {
    width: 30px;
    border-radius: 50%;
}

.menu-links {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.menu-links a {
    text-decoration: none;
    padding: .3rem .7rem;
    border-radius: 5px;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--menu-text);
}

.menu-links a:hover {
    color: var(--border-bright);
}

.menu-links a::before,
.menu-links a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 20px;
    bottom: 0;
    transform: skew(-5deg);
    z-index: -1;
    border-radius: 5px;
    background: transparent;
    transition: none;
}

.menu-links a::after {
    left: 20px;
    right: 0;
    transform: skew(5deg);
}

.menu-links a:hover::before,
.menu-links a:hover::after {
    background: var(--button-hover);
}

a.btn-subs:hover::after,
a.btn-subs:hover::before {
    background: none;
}

.ultra {
    width: auto;
    background: var(--theme-surface);
    color: var(--white-back);
    padding: 0 1rem;
    margin: 1rem 0;
    padding-bottom: 15px;
    border-radius: 20px;
}

.mini-title {
    font-size: .9rem;
    color: var(--light-text);
    padding: 0 .8rem;
    margin: 1.2rem 0 .2rem 0;
}

.cont-subs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cont-subs a {
    color: #888;
    text-decoration: none;
}

a.btn-subs {
    background: var(--button-gradient-hover);
    color: var(--dark-green);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: .8rem;
}

#monitor .full-title h2 {
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
}

.full-title {
    padding: 1rem;
    z-index: 1;
    border-bottom: solid 1px var(--border-light);
}

.full-page {
    width: auto;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    position: relative;
    padding-top: 2rem;
}

.full-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 550px;
    margin: 1rem 2rem;
    padding: 0 1rem;
    gap: 15px;
}

.btn-newshiplink {
    flex: 1 1 auto;
    background: var(--theme-surface);
    color: var(--theme-text);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-newshiplink::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, transform 0.2s ease;
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    z-index: -1;
    transform-origin: bottom;
    transform: skewX(-10deg);
}

.btn-newproduct {
    flex: 1 1 auto;
    background: transparent;
    color: var(--theme-text);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-newproduct::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, transform 0.2s ease;
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    z-index: -1;
    transform: skewX(-10deg);
}

.btn-colorizar {
    background: var(--theme-accent);
    color: var(--theme-surface);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-colorizar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, transform 0.2s ease;
    background: var(--theme-accent);
    border: 1px solid var(--theme-border);
    z-index: -1;
    transform-origin: top;
    transform: skewX(-10deg);
}

.btn-newshiplink:hover,
.btn-colorizar:hover {
    transform: translateY(-3px);
}



.ship-footer {
    padding: 1rem 1.5rem;
    position: relative;
    background: transparent;
    z-index: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 2rem 3rem;
    max-width: 550px;
    color: var(--theme-surface);
    font-size: .9rem;
}

.ship-footer div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.public_page .full-line {
    border-color: var(--border-bright);
}

.public_page .enlaces-list .enlace-stats {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 10;
}

.full-line {
    border-top: solid 1px var(--border-light);
    margin: 1.5rem auto;
    max-width: 550px;
}

div.brand-footer {
    width: auto;
    align-items: flex-end;
    gap: 7px;
    font-size: 1.2rem;
}

div.brand-footer img {
    width: 40px;
    filter: invert(1);
    transform: translateY(-5px);
}

div.ship-footer a {
    text-decoration: none;
    border-radius: 50%;
    color: var(--texto-dinamico);
}

.actions button::after,
.actions button::before {
    background: var(--button-tiny);
    border-radius: 5px;
}

a.button {
    text-decoration: none;
    color: var(--black-green);
    padding: .5rem 1rem;
    position: relative;
}

a.button::before,
a.button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 15px;
    bottom: 0;
    border-radius: 5px;
    z-index: -1;
    background: var(--green);
    transform: skew(-5deg);
}

a.button::after {
    right: 0;
    left: 15px;
    transform: none;
}

.new-shiplink {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.new-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.new-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.new-content {
    padding: 30px;
}

.form-group {
    /* margin-bottom: 25px; */
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    top: 21px;
}

.new-shiplink label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.new-shiplink select,
.new-shiplink input[type="url"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.new-shiplink select:focus,
.new-shiplink input:focus {
    outline: none;
    border-color: #667eea;
}

.red-preview {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.red-icon {
    font-size: 32px;
}

.red-info {
    flex: 1;
}

.red-name {
    font-weight: bold;
    font-size: 18px;
}

.red-url {
    color: #666;
    font-size: 12px;
    word-break: break-all;
}

.new-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    display: none;
}

.new-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.new-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.new-loading {
    display: none;
    text-align: center;
    margin-top: 15px;
}

.new-loading.show {
    display: block;
}

.new-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* New Shiplinks */
.container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.pantalla,
.pantalla-prod {
    transition: opacity .2s ease-in-out;
}

/* Tarjeta del formulario */
.card-prod {
    max-width: 100%;
    width: max-content;
    height: max-content;
    max-height: 90%;
    background: white;
    border-radius: 33px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    transition: transform .2s cubic-bezier(0.02, 1.44, 0.76, 1.25);
    transform: translateY(60px) scale(.9);
}

.card-prod h1 {
    text-align: left;
}

.card-prod.sube {
    transform: translateY(0) scale(1);
}

.card-prod.baja {
    transform: translateY(60px) scale(.9);
}

.input_number {
    display: flex;
    gap: 15px;
}

.form-group .input_number input {
    font-size: 2rem;
    color: var(--menu-text);
}

/* Tarjeta del formulario */
.form-card {
    max-width: 100%;
    width: 1000px;
    height: 540px;
    max-height: 90%;
    background: white;
    border-radius: 33px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    transition: transform .2s cubic-bezier(0.02, 1.44, 0.76, 1.25);
    transform: translateY(60px) scale(.9);
}

.form-card.sube {
    transform: translateY(0) scale(1);
}

.form-card.baja {
    transform: translateY(60px) scale(.9);
}

.header {
    flex: 0 0 auto;
    background: var(--white);
    color: var(--text-color);
    padding: 33px;
    margin: 0 auto;
    text-align: center;
    overflow: auto;
    width: 600px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header h1 {
    font-size: 25px;
    margin-bottom: 10px;
    color: var(--theme-surface);
}

.header h1 i {
    margin-right: 10px;
}

.header p {
    opacity: 0.9;
    margin-bottom: 1rem;
    color: var(--button-tiny);
}

.content {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--input-bg);
}

.input-link {}

.list-link-social {
    padding: 1rem;
    overflow-y: auto;
    height: 100%;
    width: 100%;
}

/* Grid de redes sociales */
.redes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
}

.red-card {
    cursor: pointer;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.red-card:hover {
    transform: translateY(-3px);
    border-color: var(--theme-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.red-card.selected {
    border-color: var(--theme-primary);
    /* background: linear-gradient(135deg, var(--theme-text-soft) 0%, #ffffff 100%); */
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.red-icon {
    font-size: 33px;
    margin-bottom: 8px;
}

.red-icon i {
    font-size: 33px;
}

.red-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.red-domain {
    font-size: 10px;
    color: #666;
    margin-top: 4px;
}

/* Campos del formulario */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input {
    padding: 1.6rem 1rem;
    padding-bottom: .7rem;
    color: var(--text-color);
}

/* Preview del enlace */
.preview-card {
    display: none;
    background: var(--white-back);
    border-radius: 12px;
    padding: 10px;
    margin: 10px 0;
    margin-top: 15px;
    text-align: left;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.preview-icon {
    font-size: 48px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-green);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-icon i {
    font-size: 32px;
    color: var(--white);
}

.preview-info {
    flex: 1;
}

.preview-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.preview-url {
    color: #666;
    font-size: 12px;
    word-break: break-all;
    margin-top: 5px;
}

.preview-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #e0e0e0;
    border-radius: 20px;
    font-size: 11px;
    margin-top: 8px;
}

/* Botones */
.btn-group {
    display: flex;
    gap: 15px;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--theme-surface);
}

.btn-primary::before,
.btn-primary::after {
    background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-primary) 100%);
}

.btn-primary:hover::before,
.btn-primary:hover::after {
    background: linear-gradient(-135deg, var(--theme-primary) 0%, var(--theme-accent) 100%);
}

.btn-secondary {
    color: var(--button-disabled);
}

.btn-secondary::before,
.btn-secondary::after {
    background: var(--theme-surface);
}

.btn-secondary:hover::before,
.btn-secondary:hover::after {
    background: var(--theme-bg);
}

/* Mensajes */
.message {
    width: max-content;
    padding: .7rem 1rem;
    border-radius: 7px;
    display: none;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: #c3e6cb;
    color: #155724;
    border-left: 4px solid #50d66f;
}

.message.error {}

/* Loading */
.loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.loading.show {
    display: flex;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--button-disabled);
    border-top: 3px solid var(--dark-green);
    border-right: 3px solid var(--dark-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Lista de enlaces guardados */

.enlace-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    cursor: pointer;
}

.enlace-info:hover .enlace-icon {
    transform: scale(1.1);
}

.enlace-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-surface);
    color: var(--theme-primary);
    border-radius: 50%;
    transition: transform .2s cubic-bezier(0.19, 1, 0.22, 1);
}

.enlace-icon i {
    font-size: 28px;
}

.enlace-details {
    flex: 1;
}

.enlace-red {
    font-weight: bold;
    margin-bottom: 5px;
}

.enlace-url {
    font-size: 12px;
    word-break: break-all;
}

.enlace-codigo {
    font-size: 12px;
    margin: 5px 0;
    font-family: monospace;
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.enlace-codigo i {
    margin-right: 1px;
}

.enlace-stats {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
    font-size: .9rem;
}

.stat {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: .5;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--dark-green);
}

.contact-form {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    position: relative;
    flex-direction: column;
    gap: 15px;
}

.contact-alert {
    background: color-mix(in srgb, var(--theme-surface) 88%, white 12%);
    padding: 1rem 2rem;
    color: var(--theme-text-soft);
    font-size: .9rem;
}

.contact-alert a {
    text-decoration: none;
    color: var(--theme-primary);
}

.contact-ship {
    max-width: 640px;
    margin: 1rem 1.5rem;
    padding: 0px;
    border-radius: 25px;
    overflow: hidden;
    border: solid 2px;
    border-color: var(--theme-border);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.contact-ship .menu-profile {
    padding: 0;
    width: auto;
}

.contact-ship .menu-profile img {
    width: 50px;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
    gap: 25px;
}

.social-media a {
    color: var(--theme-surface);
    text-decoration: none;
    font-size: 2rem;
    transition: transform .1s ease;
    display: block;
    flex: 0;
}

.social-media a:hover {
    transform: scale(1.1);
}

.backwhite {
    background: var(--theme-accent);
}

.contact-ship .input_text {
    width: auto;
    flex: 1 1;
    text-align: center;
    border-radius: 10px;
    background: var(--theme-input-contact);
    z-index: 1;
}

.contact-ship input {
    background: none;
    color: #666;
    border: 0;
}

.contact-ship .input_text label {
    color: #888;
}

.contact-ship .columna {
    width: auto;
    flex: 1 1;
    text-align: center;
}

.contact-ship h3 img {
    width: 30px;
    filter: invert(1);
}

.fila {
    padding: 10px 1rem;
    padding-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title_shipform {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--theme-surface);
    font-weight: normal;
}

.title_shipform i {
    font-size: 1.5rem;
}

.nombrar {
    padding: 15px 10px;
    color: var(--theme-surface);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.public_page input:hover {
    border-color: var(--button-disabled-text);
}

.public_page input:focus {
    border: 0;
    outline: 0;
}

@media (max-width: 768px) {

    .public_page .contact-ship {
        margin: 10px;
    }

    .submit-btn {
        width: auto;
    }

    .redes-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .red-card {
        padding: 10px;
    }

    .red-icon i {
        font-size: 28px;
    }

    .red-name {
        font-size: 11px;
    }

    .enlace-item {
        flex-direction: column;
        gap: 15px;
    }

    .enlace-stats {}
}

.public_page {
    width: 570px;
    margin: 0 auto;
    margin-top: 3rem;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
    max-width: 100%;
    background: #eee;
    box-shadow: 0 0 1000px #333;
}

.public_page .full-page {
    padding: 0;
    height: auto;
}

.info {
    color: var(--theme-text);
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 2rem;
}

.public_page .enlaces-list,
.public_page .ship-footer {}

.modal-copy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-copy>div {
    background: white;
    border-radius: 33px;
    padding: 25px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: scaleIn 0.3s ease;
}

.modal-copy .out-link {
    font-size: 1rem;
    margin: 1rem;
    border-radius: 10px;
    background: var(--input-bg);
    padding: .8rem 1rem;
}

.shipchain {
    font-size: 2rem;
}

.modal-copy h3 {
    margin: 1rem 0;
}


#enlacesContainer {
    max-width: 550px;
}

/* Valores iniciales por defecto (por ejemplo, modo oscuro) */
.contenedor-principal {
    background:
        linear-gradient(180deg,
            var(--theme-bg),
            var(--theme-surface));
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
    color: var(--theme-text);
}

.enlace-item {
    border-radius: 24px;
    padding: 20px;
    backdrop-filter: blur(20px);
    transition: transform .3s ease, border-color .3s ease;
}

.enlace-item:hover {
    transform: translateY(-4px);
}

.enlace-item:hover::before {
    /* border-color: var(--theme-primary); */
}

.enlace-item {
    display: flex;
    flex-direction: column;
    min-width: 50%;
    max-width: 100%;
    position: relative;
    break-inside: avoid;
    margin: 20px 0;
    padding: 1rem 1.3rem;
    background: transparent;
    gap: 15px;
    transition: color 0.4s ease, transform .3s ease;
}

/* Un solo pseudoelemento para TODO el fondo */
.enlace-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 20px;
    transition: background 0.3s, transform 0.3s;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, transform 0.2s ease;
    background: color-mix(in srgb, var(--theme-surface) 88%, white 12%);
    /* background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent)); */
    border: 3px solid var(--theme-border);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.card-body::before {
    background: color-mix(in srgb, black 88%, white 12%);
}

.enlace-red {
    color: var(--theme-text);
    font-weight: 700;
}

.enlace-url {
    color: var(--theme-text-soft);
}

.enlace-codigo,
.stat-number {
    color: var(--theme-text-soft);
}

.btn-share-link {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
    background: var(--theme-primary);
    color: var(--theme-surface);
    border: none;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

.btn-share-link:hover {
    transform: scale(1.04);
    opacity: .92;
}

.ship-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 10px;
    transition: background 0.3s, transform 0.3s;
    background: var(--theme-accent);
    border: 1px solid var(--theme-border);
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, transform 0.2s ease;
    transform: perspective(400px) rotateX(15deg);
}

/* Alternancia limpia: Impares (se ensancha arriba) */
.enlace-item:nth-child(odd)::before {
    transform: perspective(400px) rotateX(5deg);
}

/* Alternancia limpia: Pares (se ensancha abajo) */
.enlace-item:nth-child(even)::before {
    /* transform: perspective(400px) rotateX(-5deg); */
}

/* --- BARRA DE PESTAÑAS (TABS) --- */
.modal-tabs {
    display: flex;
    flex-direction: column;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px 0 0 12px;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px;
    user-select: none;
    transition: all 0.2s ease;
}

/* Estado de la pestaña activa */
.tab-btn.activo {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* --- CONTROL DE VISIBILIDAD DE LOS PANES --- */
.tab-pane {
    display: none !important;
    /* Oculto por defecto */
}

.tab-pane.activo {
    display: grid !important;
    /* Muestra la cuadrícula solo si está activa */
    animation: fadeInTab 0.25s ease-out;
}

/* Animación sutil de desvanecimiento al cambiar de pestaña */
@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-destroy-link,
.btn-destroy-prod {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: var(--theme-surface);
    padding: 5px 10px;
    border-radius: 10px;
}

/* Botón Destruir Link (Mantiene su esencia de peligro con opacidad) */
.btn-destroy-link {
    color: var(--theme-text);
    /* Rojo */
    margin-left: 10px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.btn-destroy-link:hover {
    opacity: 1;
}


span.btn-share-link {
    /* cursor: pointer; */
    /* padding: 0; */
    font-size: .8rem;
}

.btn-share-link {
    width: max-content;
    margin: 0;
    padding: .2rem .5rem;
    font-size: .9rem;
}

.btn-destroy-link {
    cursor: pointer;
    margin-left: 10px;
}

.button-copy {
    display: flex;
    align-items: center;
    gap: 15px;
}

#newToast {
    position: fixed;
    right: 30px;
    bottom: 120px;
    z-index: 1001;
    margin: 0;
    box-shadow: 2px 2px 10px var(--light-text);
    font-size: 1rem;
}

.theme-grid {
    flex: 1 1 auto;
    height: auto;
    overflow: auto;
    padding: 0 1rem;
    width: 100%;
}

/* CONTENEDOR */
.color-opcion {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: .5rem;
    margin: .5rem 0;
    border-radius: 24px;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

/* HOVER */
.color-opcion:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* ACTIVO */
.color-opcion.seleccionado {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.footer-color {
    padding: .5rem;
    width: 100%;
    text-align: right;
}

/* PREVIEW */
.theme-preview {

    display: flex;
    align-items: center;
}

/* CÍRCULOS */
.preview-color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: -8px;
    transition:
        transform .2s ease;
}

.preview-color:first-child {
    margin-left: 0;
}

/* EFECTO */
.color-opcion:hover .preview-color {

    transform: scale(1.08);
}

/* INFO */
.theme-info {

    display: flex;
    flex-direction: column;
}

/* NOMBRE */
.theme-name {
    color: #333;
    font-size: 1rem;
}

/* DESCRIPCIÓN */
.theme-description {
    color: rgba(0, 0, 0, .5);
    font-size: 13px;
}

.profile_edit {
    font-size: 1rem;
    padding: .5rem;
    cursor: pointer;
}

.enlaces-list {
    margin: 35px;
    max-width: 550px;
}

.fa-rocket {
    font-size: 1rem;
    transform: rotate(-45deg);
}

.columna-2 {
    position: absolute;
    right: 30%;
    bottom: -14px;
    z-index: 10;
    color: var(--theme-surface);
}

.columna-2 .fa-solid {
    font-size: 2rem;
    margin: .7rem;
    transition: transform .2s ease-in-out;
}

.kiwisays {
    display: none;
    position: absolute;
    bottom: calc(100% - 10px);
    left: 50%;
    padding: 5px 10px;
    border-radius: 21px;
    background: #052b06;
    color: var(--button-disabled);
    font-size: .8rem;
    width: max-content;
    z-index: 25;
    transition: left .2s ease-in-out;
    animation: flotarNubeMasNatural 3s ease-in-out infinite;
}

.kiwisays.desplazarse {
    left: -50%;
}

/* Definición de la animación de flotación */
@keyframes flotarNubeMasNatural {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    50% {
        transform: translateY(-15px) translateX(5px);
    }

    100% {
        transform: translateY(0px) translateX(0px);
    }
}

.fa-kiwi-bird.kiwi-izquierda {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

#configMessage {
    justify-content: center;
    padding: .5rem 1rem;
    font-size: .8rem;
    color: var(--theme-surface);
    margin: 0 1rem;
}

#verifiedMessage {
    padding: 0 1rem;
    margin: 0;
    position: absolute;
    right: 0;
    bottom: 15px;
    font-size: 1.3rem;
    color: var(--theme-primary);
}

.off {
    font-size: 2rem;
    cursor: pointer;
    transition: transform .2s linear;
    color: var(--theme-surface);
}

.off:hover {
    transform: scale(1.1);
}

.selector-paleta {
    display: flex;
    gap: 5px;
    padding: 5px;
}

.color-btn {}

/* Fondo oscuro del modal con desenfoque */
.modal-overlay {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 50%;
    background: rgba(15, 23, 42, 0.6);
    /* Azul slate profundo con opacidad */
    backdrop-filter: blur(8px);
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
    padding: .5rem;
    border-radius: 30px;
}

/* Estado activo del modal */
.modal-overlay.activo {
    opacity: 1;
    pointer-events: auto;
}

/* Contenedor de la tarjeta del modal */
.modal-tarjeta {
    background: rgba(255, 255, 255, .75);
    border-radius: 24px;
    width: 100%;
    height: 100%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.modal-overlay.activo .modal-tarjeta {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.modal-header h3 {
    font-size: 1.3rem;
    color: #0f172a;
    font-weight: 700;
    margin: 0;
}

/* Cuadrícula de colores */
.grid-colores {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columnas en móvil */
    gap: 12px;
    max-height: 400px;
}

/* Soporte para pantallas más grandes */
@media (min-width: 480px) {
    .grid-colores {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Texto del nombre del color */
.color-nombre {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Botón de cierre */
.btn-cerrar {
    background: var(--black-green);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    width: max-content;
    margin-left: auto;
    transition: background 0.2s;
}

.btn-cerrar:hover {
    background: #1e293b;
}

/* Personalizar barra de desplazamiento del modal */
.grid-colores::-webkit-scrollbar {
    width: 6px;
}

.grid-colores::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* --- NOTIFICACIÓN FLOTANTE DE ÉXITO --- */
.toast-exito {
    position: fixed;
    bottom: 150px;
    right: 24px;
    background: #0f172a;
    /* Fondo oscuro elegante */
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);

    /* Estado inicial oculto */
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 10000;
}

/* Estado visible mediante JavaScript */
.toast-exito.mostrar {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Icono animado de check */
.toast-icono {
    background: #22c55e;
    /* Verde éxito */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
}


@media (max-width: 768px) {

    .full-page {
        padding: 0;
    }

    .launch-header {
        margin-top: 2rem;
    }

    .launch {
        width: 100%;
        height: 100vh;
    }

    .launch aside {
        display: none;
    }

    .launch section {
        width: 100%;
        padding: 0 1.5rem;
    }

    .buttons a {
        width: 90%;
        margin: 0 auto;
    }

    .social-links {
        right: 10px;
        bottom: 130px;
    }

    #followOneButton {
        width: 50%;
    }

    .social-links a {
        width: 30px;
        height: 30px;
    }

    .reply-content p {
        font-size: 1rem;
    }

    #monitor h3 {
        font-size: 1.2rem;
    }

    .btn {
        font-size: 1rem;
    }

    header h1 {
        font-size: 2rem;
    }

    header h2 {
        font-size: 1.3rem;
    }

    header h3 {
        font-size: 1.1rem;
    }

    .terms-privacy a,
    .terms-privacy span {
        color: #fff;
    }

    .terms-privacy {
        display: none;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .navbar {
        padding-top: 8px;
        border-radius: 0;
        box-shadow: none;
        border: 0;
    }

    .nav-links {
        justify-content: center;
    }

    .nav-links a {
        padding: 0;
    }

    .submit-btn::after {
        transform: skew(5deg);
    }

    .submit-btn img {
        width: 27px;
    }

    .message-card>p {
        font-size: 1.2rem;
    }

    #planes_premium h2 {
        font-size: 1.1rem;
    }

    #planes_premium img#donarClose {
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

    #planes_premium h3 {
        font-size: 1rem;
    }

}

.span-mini {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {

    .shipControl {
        display: block;
        height: auto;
        overflow: auto;
    }

    #launchpad {
        max-width: 100%;
        position: fixed;
        bottom: 0;
        top: 25%;
        transform: translateY(100%);
        border-radius: 20px;
        z-index: 998;
        background: var(--white);
        transition: transform .2s cubic-bezier(0, 1.5, 0.69, 1.05);
    }

    .info {
        text-align: center;
    }

    .full-title {
        display: none;
    }

    .preview {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        opacity: .1;
        transform: scale(.8);
        justify-content: flex-start;
        transition: transform .1s ease-in-out, opacity .1s ease;
    }

    .contact-form {
        flex-direction: column;
        gap: 15px;
    }

    .columna-2 {
        position: absolute;
        right: 20%;
        bottom: -14px;
        z-index: 10;
    }

    .enlace-item {
        padding: 1rem;
        padding-bottom: .8rem;
    }

    .form-card {
        height: auto;
        flex-direction: column-reverse;
        max-height: 100%;
    }

    .header {
        width: 100%;
    }

    #limpiarBtn {
        display: none;
    }

    .btn-share-link {
        font-size: .8rem;
    }

    .stat-number {
        font-size: .7rem;
    }

    .message-card {
        margin: 1rem 2rem;
    }

    header .section-text {
        width: auto;
    }

    header .section-text h1 {
        max-width: 100%;
        font-size: 3.3rem;
    }

    header h2 {
        width: auto;
        font-size: 1.1rem;
    }

    .span-mini {
        display: inline;
    }

    .span-full {
        display: none;
    }

    .search-form button {
        padding: 1rem;
        width: fit-content;
    }

    #navbar {
        padding: 1rem;
        height: 70px;
    }

    .launchlink {
        font-size: .9rem;
        padding: 10px 15px;
    }

    .brand span {
        /* font-size: 1.3rem; */
    }

    .brand img {
        transform: none;
    }

    .divider {
        margin: 0 5px;
    }

    header {
        padding: 2rem;
    }

    footer {
        padding: 1rem;
    }

    footer p {
        width: auto;
    }

    .hero-backdrop {
        display: none;
    }

    .public_page {
        margin-top: 0;
        border-radius: 0;
    }
}

#app .rounded-md {
    border-radius: 25px;
}

.view-premium {
    color: #eee;
    font-size: .8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-activate {
    display: block;
    position: relative;
    background: var(--dark-green);
    font-size: .8rem;
    padding: 5px 10px;
    border-radius: 100px;
    border: solid 1px #00FF41;
    color: #00FF41;
}

.btn-billing {
    align-self: center;
    padding: 15px 7px;
    border-radius: 7px;
    background: var(--button-gradient);
    text-decoration: none;
    color: var(--d);
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: transform .2s ease;
}

.btn-billing:hover {
    transform: translateY(-3px);
}

.btn-billing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    border-radius: 7px;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, transform 0.2s ease;
    background: var(--button-gradient);
    z-index: -1;
    transform-origin: top;
    transform: skewX(-15deg);
}

@keyframes shiny {
    0% {
        --rotation: 280deg;
    }

    60% {
        --rotation: 640deg;
    }

    100% {
        --rotation: 640deg;
    }
}

@keyframes hide {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    65% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.short-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background: var(--black-green);
}

.short-button {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 10px;
    color: var(--white);
    cursor: pointer;
}

.short-button i {
    font-size: 20px;
}

.short-button span {
    font-size: .9rem;
}

.short-button a {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-decoration: none;
    gap: 4px;
    color: var(--theme-primary);
}

@media (max-width: 768px) {

    .short-menu {
        display: flex;
    }

    .short-button a {
        flex-direction: row;
    }

    .view-premium {
        display: none;
    }

}

.view-preview {
    display: flex;
    opacity: 1;
    transform: none;
}

.no-page {
    height: 100vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.no-page i {
    font-size: 5rem;
}

.no-page h2 {
    font-size: 3rem;
    font-weight: normal;
}

.no-page p {
    color: var(--dark-green);
    font-size: 1rem;
    width: 75%;
    max-width: 90%;
}

.no-page a {
    text-decoration: none;
    font-weight: 700;
}

.only_user {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #ff7200;
    gap: 10px;
    color: #333;
}

#launchpad.ver-launchpad {
    transform: translateY(0);
}

.form-group-images {
    margin: 15px 5px;
}

.preview-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    height: 80px;
}

.image-product-view {
    position: relative;
    display: flex;
    align-items: center;
}

.btn-delete-image {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--theme-accent);
    color: var(--theme-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
}

.btn-upload i {
    font-size: 1.5rem;
}

.card-effect {
    position: relative;
    border-radius: 100px;
    padding: 2px;
    overflow: hidden;
    cursor: pointer;
}

.card-effect:before {
    content: "";
    border-radius: inherit;
    background: conic-gradient(from var(--rotation), transparent 0, #adbbff 20%, transparent 25%);
    padding: 2px;
    animation: 5s linear infinite shiny, 5s linear infinite hide;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.card-body {
    margin: 0 35px;
    margin-top: 20px;
    position: relative;
}

.product-galery {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--theme-surface);
}

.img-link {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 3;
    border-radius: 15px;
    overflow: hidden;
    border: solid 2px var(--theme-accent);
}

.img-link img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.img-link:nth-child(2) {
    top: 10%;
    z-index: 2;
}

.img-link:nth-child(3) {
    top: 20%;
    z-index: 1;
}

.img-link:nth-child(4) {
    top: 30%;
    z-index: 0;
}

.img-link:hover:nth-child(1),
.img-link:hover:nth-child(2),
.img-link:hover:nth-child(3),
.img-link:hover:nth-child(4) {
    z-index: 10;
}

.btn-desactivar-prod,
.btn-desactivar-link {
    color: var(--theme-primary);
    display: flex;
    align-items: center;
}

.card-producto-lista {
    flex: 1 1 auto;
    width: 350px;
    max-width: 100%;
}

.precios-contenedor {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.precios-contenedor span,
.precios-contenedor strong {
    width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#btn-cargar-mas {
    margin: 25px 50px;
    text-align: center;
    background: var(--theme-primary);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
}

.lista-productos {
    margin: 15px 0;
}

.no-products {
    text-align: center;
    background: var(--theme-accent);
    color: var(--theme-surface);
    border-radius: 10px;
    padding: 1rem;
}

/* Estado inicial de la tarjeta al ser creada */
.tarjeta-animada {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Curva suave profesional */
}

/* Estado final cuando ya está visible */
.tarjeta-animada.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tarjeta-animada.tarjeta-desactiva,
.tarjeta-desactiva {
    opacity: .8;
    filter: grayscale(1);
}

.tarjeta-animada.tarjeta-eliminada {
    overflow: hidden;
    height: 0;
    opacity: 0;
}

.enlace-item.tarjeta-desactiva {
    opacity: .8;
    filter: grayscale(1);
}

/* Contenedor de la colección */
.coleccion-contenedor {
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

/* Encabezado (El botón que hace clic el usuario) */
.coleccion-header {
    padding: 16px;
    list-style: none;
    /* Elimina la flecha por defecto del navegador */
    display: flex;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--theme-bg);
}

/* Ocultar la flecha por defecto en navegadores basados en Safari/Chrome */
.coleccion-header::-webkit-details-marker {
    display: none;
}

/* Rotación de la flecha personalizada al abrir */
.coleccion-contenedor[open] .icono-flecha {
    transform: rotate(180deg);
}

.icono-flecha {
    transition: transform 0.2s ease;
}

/* Cuerpo donde se listan los productos */
.coleccion-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coleccion-body .card-body {
    padding: 0;
    overflow: hidden;
    gap: 5px;
    margin: 0;
    min-width: 220px;
    max-width: 100%;
    height: 100%;
}

.coleccion-body .enlace-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.coleccion-body .enlace-details {
    padding: 15px;
    padding-bottom: 5px;
}

.coleccion-body .product-galery {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    position: relative;
}

.coleccion-body .img-link {
    position: relative;
    display: block;
    border: 0;
    border-radius: 0;
    display: flex;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    aspect-ratio: 1/1;
}

.coleccion-body .img-link img {
    aspect-ratio: 1/1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coleccion-body .enlace-item:hover {
    transform: none;
}

.coleccion-body .precios-contenedor {
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 15px;
}

.coleccion-body .enlace-stats {
    padding: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.coleccion-body .enlace-item:nth-child(odd)::before {
    transform: none;
}

.coleccion-body .precios-contenedor span {
    width: auto;
}

/* Contenedor relativo para posicionar las flechas flotantes */
.coleccion-wrapper {
    position: relative;
    width: 100%;
    overflow: auto;
}

.coleccion-body {
    display: flex;
    flex-direction: row !important;
    align-items: stretch;
    overflow: hidden;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    /* Espacio para que las flechas no tapen el contenido */
    scrollbar-width: none;
    width: 100%;
}

.coleccion-body::-webkit-scrollbar {
    display: none;
}

.total-productos {
    display: flex;
    width: max-content;
    gap: 15px;
    padding: 0 15px;
    flex: 100%;
}

.skeleton-card-producto {
    background: transparent;
    /* Cambia al fondo de tus tarjetas si usas modo oscuro */
    border-radius: 0;
    /* Ajusta al radio de tus tarjetas actuales */
    padding: 0;
    margin: 20px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: opacity 0.25s ease;
}

.skeleton-card-producto.fade-out {
    opacity: 0;
}

/* Forzar a que el cuerpo del esqueleto mantenga el flujo horizontal del carrusel */
.skeleton-card-producto .coleccion-body {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px;
    padding: 0;
}

/* Las tarjetas simuladas dentro del carrusel en espera */
.sk-product-card-horizontal {
    flex: 0 0 85%;
    max-width: 330px;
    height: 300px;
    /* Ajusta a la altura promedio de tus tarjetas reales */
    background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 50%, #f2f2f2 75%);
    background-size: 200% 100%;
    animation: shimmerEffect 1.6s infinite linear;
    border-radius: 25px;
    opacity: .3;
}

.sk-title-folder {
    background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 50%, #f2f2f2 75%);
    background-size: 200% 100%;
    animation: shimmerEffect 1.6s infinite linear;
    border-radius: 4px;
    opacity: .3;
}

@media (min-width: 768px) {
    .sk-product-card-horizontal {
        flex: 0 0 45%;
        /* Muestra dos en pantallas grandes igual que el real */
    }
}

/* Efecto Shimmer Base */
@keyframes shimmerEffect {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Maquetación del esqueleto idéntica a tu tarjeta */

.sk-line {
    background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 50%, #f2f2f2 75%);
    opacity: .3;
}

/* Botones de navegación laterales */
.carusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* background: rgba(255, 255, 255, 0.9); */
    /* border: 1px solid #ddd; */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    margin: 0;
}

.carusel-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carusel-btn.prev {
    left: 10px;
}

.carusel-btn.next {
    right: 10px;
}

/* El Centinela: Un elemento invisible al final del carrusel que dispara la carga */
.sk-centinela {
    flex: 0 0 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-text-soft);
}

/* Para navegadores Firefox */
.scroll-custom {
    scrollbar-width: thin;
    /* Grosor de la barra: auto o thin */
    scrollbar-color: var(--theme-surface) transparent;
    /* Color del thumb (manija) y track (fondo) */
}

/* Para navegadores WebKit (Chrome, Safari, Edge) */
.scroll-custom::-webkit-scrollbar {
    width: 10px;
    /* Ancho de la barra vertical */
    height: 10px;
    /* Alto de la barra horizontal */
}

.scroll-custom::-webkit-scrollbar-track {
    background: transparent;
    /* Color del fondo de la barra */
    border-radius: 8px;
}

.scroll-custom::-webkit-scrollbar-thumb {
    background: #4a5568;
    /* Color de la parte movible */
    border-radius: 8px;
    /* Bordes redondeados */
    border: 2px solid transparent;
    /* Espacio alrededor del thumb */
}

.scroll-custom::-webkit-scrollbar-thumb:hover {
    background: #2d3748;
    /* Color al pasar el cursor */
}

.btn-cancelar {
    color: var(--theme-primary);
    cursor: pointer;
    display: none;
    margin-top: 10px;
}

.form-group-coleccion select {
    display: block;
    width: max-content;
    margin-right: auto;
}

.input_select_group label {
    display: block;
    margin: .5rem 1rem;
}

.input_select_group {
    text-align: left;
    display: inline-block;
}

.solo-btn {
    margin-top: 2rem;
    display: none;
    font-size: .9rem;
}

@media (max-width: 480px) {

    .modal-overlay.activo {
        left: 0;
        transform: none;
        right: 0;
    }

    .solo-btn {
        display: block;
        position: fixed;
        bottom: 25px;
        background: var(--theme-surface);
        color: var(--theme-text-soft);
        padding: .7rem 1rem;
        border-radius: 60px;
    }

    .card-body,
    .enlaces-list {
        margin: 35px 15px;
    }

    #limpiarProductBtn {
        display: none;
    }

    .input_number {
        flex-direction: column;
    }

    #launchpad {
        width: 100%;
        overflow: auto;
        padding: 10px;
        padding-bottom: 100px;
        border-radius: 35px;
    }

    .iframe {
        height: auto;
        flex: 0 0 auto;
        margin-top: 2rem;
    }

    #horizon {}

    .shipControl {
        margin-bottom: 60px;
    }

    .short-menu {
        justify-content: space-around;
        border-radius: 25px 25px 0 0;
        align-items: stretch;
        height: auto;
    }

    .short-button {
        flex-direction: column;
        padding: .7rem .5rem;
        gap: 4px;
        justify-content: flex-end;
        margin: 0;
    }

    .short-button i {
        font-size: 23px;
        color: var(--theme-primary);
    }

    .short-button:nth-child(3) i {
        font-size: 2rem;
        color: var(--theme-accent);
    }

    .short-button span {
        font-size: .8rem;
        color: var(--button-disabled-text);
    }

    .short-button a {
        flex-direction: column;
    }

}

/* Contenedor horizontal centrado */
.social-icons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    /* Espacio uniforme entre botones */
    margin: 18px 0;
    width: 100%;
}

/* Estilo base circular para cada botón de red social */
.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    /* Fondo limpio */
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
    /* Color del ícono por defecto */
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Efecto visual táctil profesional */
.social-icon-btn:hover {
    transform: scale(1.1);
}

.social-icon-btn:active {
    transform: scale(0.95);
    /* Simula presión al presionar en pantallas táctiles */
}

/* --- COLORES OPCIONALES POR MARCA (Si prefieres que usen sus colores oficiales) --- */
.social-icon-btn.tiktok:hover {
    color: #000000;
    background: #f8f8f8;
}

.social-icon-btn.instagram:hover {
    color: #e1306c;
}

.social-icon-btn.youtube:hover {
    color: #ff0000;
}

.social-icon-btn.facebook:hover {
    color: #1877f2;
}

.social-icon-btn.twitter:hover {
    color: #1da1f2;
}

.image-dots {
    position: absolute;
    left: 11px;
    top: 21px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 2px;
    border-radius: 60px;
    z-index: 10;
}

.image-dot {
    background: var(--theme-input-back);
    border-radius: 50%;
    width: 15px;
    height: 15px;
}