﻿:root {
    --primary-color: #2DD4BF;
    --primary-dark: #14B8A6;
    --bg-light: #F0FDFA;
    --text-dark: #1E293B;
    --text-muted: #64748B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==================== HEADER ==================== */
.top-banner {
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .top-banner i {
        font-size: 16px;
    }

    .top-banner a {
        text-decoration: none;
        color: inherit;
    }

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/images/images/images/0000000000000000000000000000000000000000000000000000000000000000/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-brand {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

    .hero-brand span {
        color: white;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1px;
    }

    .hero-brand .sound-btn {
        background: none;
        border: none;
        color: white;
        opacity: 0.7;
        cursor: pointer;
    }

.k8z-logo {
    position: absolute;
    top: 0px;
    right: 0px;
    /*width: 80px;*/
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;
}

/* ==================== PROFILE CARD ==================== */
.profile-container {
    position: relative;
    margin-top: -80px;
    z-index: 20;
}

.profile-photo-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.4);
}

/*************************************************/
.btn-custom {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-out;
}

    .btn-custom:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: scale(1.05);
    }

    .btn-custom:active {
        transform: scale(0.95);
    }

    .btn-custom.active {
        box-shadow: 0 0 0 2px #0d6efd, 0 0 0 4px rgba(255, 255, 255, 0.9);
    }

.card-info {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
}

    .card-info.show {
        display: block;
        animation: fadeInDown 0.3s ease-out;
    }

.gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*************************************************/

/* ==================== NAVEGACIÓN LATERAL ==================== */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 25;
    text-decoration: none;
    color: var(--primary-color);
}

    .nav-arrow:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-50%) scale(1.1);
    }

    .nav-arrow i {
        font-size: 20px;
    }

    .nav-arrow span {
        font-size: 10px;
        font-weight: 600;
        margin-top: 2px;
    }

    .nav-arrow.left {
        left: 15px;
    }

    .nav-arrow.right {
        right: 15px;
    }

/* ==================== PROFILE INFO ==================== */
.profile-info {
    text-align: center;
    padding: 20px;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.profile-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

    .tag i {
        color: var(--primary-color);
    }

/* ==================== ACTION BUTTONS ==================== */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.action-btn {
    flex: 1;
    max-width: 120px;
    padding: 18px 15px;
    background: var(--primary-color);
    border: none;
    border-radius: 16px;
    color: white;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

    .action-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(45, 212, 191, 0.3);
    }

    .action-btn i {
        font-size: 20px;
    }

/* ==================== PORTAL SECTION ==================== */
.portal-section {
    padding: 30px 20px;
}

.portal-title {
    text-align: center;
    margin-bottom: 20px;
}

    .portal-title h2 {
        font-size: 22px;
        font-weight: 700;
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .portal-title p {
        font-size: 12px;
        color: var(--text-muted);
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-top: 5px;
    }

.portal-frame-container {
    background: #0a0a0a;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.2), inset 0 0 30px rgba(45, 212, 191, 0.05);
}

.portal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-bottom: 15px;
}

.portal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .portal-header-left img {
        width: 35px;
        height: 35px;
        border-radius: 8px;
    }

    .portal-header-left span {
        color: white;
        font-weight: 600;
        font-size: 14px;
    }

.portal-header-right a {
    color: var(--primary-color);
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.portal-iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 12px;
}

.portal-menu {
    margin-top: 15px;
}

.portal-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .portal-menu-item:hover {
        background: rgba(45, 212, 191, 0.1);
    }

.portal-menu-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .portal-menu-item-left .icon {
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .portal-menu-item-left .icon img {
            width: 24px;
        }

    .portal-menu-item-left .text h4 {
        color: white;
        font-size: 14px;
        font-weight: 700;
        margin: 0;
    }

    .portal-menu-item-left .text p {
        color: var(--text-muted);
        font-size: 11px;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.portal-menu-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.btn-fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s ease;
}

    .btn-fullscreen:hover {
        background: var(--primary-dark);
        transform: scale(1.02);
    }

/* ==================== SLIDES (FEED & REDES) ==================== */
.slide-panel {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

    .slide-panel.left {
        left: 0;
        transform: translateX(-100%);
    }

    .slide-panel.right {
        right: 0;
        transform: translateX(100%);
    }

    .slide-panel.active {
        transform: translateX(0);
    }

.slide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--primary-color);
    color: white;
}

    .slide-header h3 {
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }

.slide-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ==================== FEED GALLERY ==================== */
.feed-info {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.feed-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.feed-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

    .feed-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .feed-item:hover img {
        transform: scale(1.1);
    }

.feed-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feed-item:hover .feed-item-overlay {
    opacity: 1;
}

/* ==================== REDES SOCIALES ==================== */
.redes-content {
    padding: 40px 20px;
}

.redes-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-style: italic;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
    margin: 0 auto;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 25px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .social-btn:hover {
        transform: translateX(10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    .social-btn .icon-wrapper {
        width: 45px;
        height: 45px;
        background: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
    }

    .social-btn.instagram {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
        color: white;
    }

        .social-btn.instagram .icon-wrapper {
            color: #E4405F;
        }

    .social-btn.twitter {
        background: #1a1a1a;
        color: white;
    }

        .social-btn.twitter .icon-wrapper {
            color: #000;
        }

    .social-btn.tiktok {
        background: #1a1a1a;
        color: white;
    }

        .social-btn.tiktok .icon-wrapper {
            color: #000;
        }

    .social-btn.linkedin {
        background: #0077B5;
        color: white;
    }

        .social-btn.linkedin .icon-wrapper {
            color: #0077B5;
        }

    .social-btn.whatsapp {
        background: #25D366;
        color: white;
    }

        .social-btn.whatsapp .icon-wrapper {
            color: #25D366;
        }

/* ==================== FULLSCREEN PORTAL ==================== */
.fullscreen-portal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000;
    display: none;
}

    .fullscreen-portal.active {
        display: block;
    }

    .fullscreen-portal iframe {
        width: 100%;
        height: calc(100% - 60px);
        border: none;
    }

.fullscreen-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 380px) {
    .profile-name {
        font-size: 24px;
    }

    .action-btn {
        padding: 15px 10px;
        font-size: 11px;
    }

    .nav-arrow {
        width: 50px;
        height: 50px;
    }
}
