
.main-content-wrap{
    padding: 0!important;
}

.main-content-wrap main, .body-guest {
    background-color: #0b0914;
    /* Degradado de fondo que imita las luces púrpuras y azules de la imagen original */
    background-image:
        radial-gradient(circle at 50% 15%, rgba(76, 36, 145, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 55%, rgba(111, 46, 243, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 30% 85%, rgba(29, 38, 113, 0.2) 0%, transparent 40%);
    background-attachment: fixed;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    padding-bottom: 60px;
    margin:0;
    max-width: 100%;
    justify-content: center
}

/* --- HEADER / NAVBAR --- */
header {
    width: 100%;
    max-width: 1200px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.logo-sub {
    font-size: 10px;
    font-weight: 400;
    color: #a3a3a3;
    margin-top: -2px;
}

.btn-login {
    background: linear-gradient(135deg, #6d3ef7 0%, #466df6 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-login:hover {
    opacity: 0.9;
}

/* --- CONTENIDO PRINCIPAL --- */
main {
    width: 100%;
    max-width: 900px;
    text-align: center;
    margin-top: 40px;
    padding: 0 20px;
}

h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

h1 span {
    background: linear-gradient(120deg, #a382f9 0%, #6891f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #8c8a9e;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 48px;
}

/* --- BARRA DE BÚSQUEDA / INPUT CENTRAL --- */
.search-container {
    background: rgba(18, 15, 31, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 14px 16px 14px 24px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 820px;
    margin: 0 auto 30px auto;
    position: relative;
    /* Efecto de brillo exterior púrpura */
    box-shadow: 0 0 40px rgba(109, 62, 247, 0.25);
}

.search-icon {
    color: #a382f9;
    font-size: 18px;
    margin-right: 16px;
}

.search-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    width: 100%;
    outline: none;
}

.search-input::placeholder {
    color: #555266;
}

.btn-create {
    background: linear-gradient(90deg, #743bfb 0%, #3e81f4 100%);
    border: none;
    border-radius: 14px;
    color: white;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-create:hover {
    transform: scale(1.02);
}

/* --- FILTROS / CATEGORÍAS (Plantilla, KV, etc) --- */
.categories-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 70px;
}

.category-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    color: #838096;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn i {
    font-size: 14px;
}

/* Estado activo (Plantilla) */
.category-btn.active {
    background: rgba(69, 58, 126, 0.4);
    border: 1px solid rgba(135, 99, 245, 0.5);
    color: #c4b5fd;
    box-shadow: 0 0 20px rgba(109, 62, 247, 0.2);
}

.category-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

/* --- SECCIÓN PROCESO CREATIVO --- */
.process-section h3 {
    color: #8c90be;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #838096;
    font-size: 13px;
}

.step i {
    font-size: 12px;
}

/* Conectores sutiles entre pasos */
.step-arrow {
    color: rgba(255, 255, 255, 0.08);
    font-size: 11px;
}


/* ==========================================================================
   ESTILOS RESPONSIVE (Añadir al final de tu <style>)
   ========================================================================== */

/* --- TABLETS (Pantallas menores a 900px) --- */
@media (max-width: 900px) {
    h1 {
        font-size: 48px;
        /* Reduce el tamaño del título principal */
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 36px;
    }

    main {
        margin-top: 20px;
    }
}

/** RESPONSIVE ***/
@media (max-width: 600px) {
    header {
        padding: 20px;
    }

    .logo-main {
        font-size: 20px;
    }

    .btn-login {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 10px;
    }

    h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .search-container {
        padding: 10px 12px 10px 16px;
        border-radius: 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .search-icon {
        font-size: 16px;
        margin-right: 8px;
    }

    .search-input {
        font-size: 14px;
    }

    .btn-create {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 10px;
    }

    .categories-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 48px;
    }

    .category-btn {
        justify-content: center;
        padding: 10px;
        font-size: 13px;
        border-radius: 10px;
    }

    .process-section h3 {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .process-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .step {
        justify-content: center;
        width: 100%;
        padding: 10px;
    }

    .step-arrow {
        display: none;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 28px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

/*** MODAL LOGIN **/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #110f1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    width: 100%;
    max-width: 460px;
    padding: 36px;
    position: relative;
    box-shadow: 0 0 50px rgba(109, 62, 247, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #8c8a9e;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modal-header-login h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: #ffffff;
}

.modal-header-login h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
    line-height: 20px;
}

.modal-header-login p {
    font-size: 14px;
    color: #6a677d;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #9c99b3;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: #555266;
    font-size: 16px;
}

.modal-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px 14px 44px!important;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
}

.modal-input:focus {
    border-color: #6d3ef7!important;
}

.modal-input::placeholder {
    color: #423f54!important;
}

.forgot-password {
    display: block;
    text-align: right;
    color: #7c5dfa;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    margin-top: -8px;
    margin-bottom: 24px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(90deg, #743bfb 0%, #3e81f4 100%);
    border: none;
    border-radius: 14px;
    color: white;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(109, 62, 247, 0.4);
    margin-bottom: 24px;
    transition: opacity 0.2s;
}

.btn-submit:hover {
    opacity: 0.95;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #423f54;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.divider:not(:empty)::before {
    margin-right: 12px;
}

.divider:not(:empty)::after {
    margin-left: 12px;
}

.social-login-container {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.btn-social {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: #ffffff;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.06);
}

.register-text {
    color: #6a677d;
    font-size: 13px;
    text-align: center;
}

.register-text a {
    color: #a382f9;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
}

.register-text a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .categories-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 48px;
    }

    .process-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .step-arrow {
        display: none;
    }

    .modal-card {
        padding: 24px;
        margin: 20px;
    }

    .modal-header-login h2 {
        font-size: 26px;
    }
}
