:root {
    --bg-dark: #0f111a;
    --accent-primary: #00f2fe;
    --accent-secondary: #4facfe;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --glass-bg: rgba(20, 25, 30, 0.85); /* Mucho menos transparente */
    --glass-border: rgba(255, 255, 255, 0.15);
    
    /* Social Colors */
    --c-of: #00aff0;
    --c-ig: #e1306c;
    --c-tg: #0088cc;
    --c-fb: #1877f2;
    --c-x: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    background-image: url('Perfil.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 25, 0.85); /* Dark tint */
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: -101;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px; /* Limita el ancho del video para que luzca como celular en PC */
    height: 100%;
    z-index: -100; /* Forzar que se vaya bien al fondo */
    overflow: hidden;
    background: radial-gradient(circle at center, #1c3547 0%, #050505 100%); /* Fondo por si sobra espacio */
    box-shadow: 0 0 50px rgba(0,0,0,0.8); /* Sombra para que resalte en PC */
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta el video para que llene la pantalla sin márgenes negros */
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Oscurece el video para contraste */
    z-index: 1; /* Encima del video pero dentro del contenedor */
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.glass-panel {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px 30px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(0) scale(1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hidden .glass-panel {
    transform: translateY(30px) scale(0.95);
}

.modal-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.pulse-warning {
    color: #ff4757;
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.modal-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
}

.btn-text {
    background: transparent;
    color: var(--text-muted);
}

.btn-text:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-block {
    width: 100%;
}

/* Main Content */
#main-content {
    width: 100%;
    max-width: 480px; /* Ajusta el contenido al mismo ancho del video */
    padding: 30px 20px 60px;
    opacity: 0;
    transition: opacity 0.8s ease;
    position: relative;
    z-index: 10; /* Asegurar que este encima del video */
    margin: 0 auto; /* Centrar el contenido */
}

/* Header */
.header-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.glass-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Profile */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

.slide-down {
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.avatar-ring {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-primary), #ff007a, var(--accent-secondary));
    box-shadow: 0 10px 30px rgba(255, 0, 122, 0.3);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-dark);
}

.username {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.verified-badge {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.bio {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Links */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stagger-fade-in .link-card {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger-fade-in .link-card:nth-child(1) { animation-delay: 0.1s; }
.stagger-fade-in .link-card:nth-child(2) { animation-delay: 0.2s; }
.stagger-fade-in .link-card:nth-child(3) { animation-delay: 0.3s; }
.stagger-fade-in .link-card:nth-child(4) { animation-delay: 0.4s; }
.stagger-fade-in .link-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.link-card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.link-blur-bg {
    position: absolute;
    inset: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 1;
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: scale(1.02) translateY(-2px);
}

.link-card:hover .link-blur-bg {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.link-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 16px;
    min-height: 76px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.link-text {
    flex-grow: 1;
    padding: 0 16px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    letter-spacing: 0.2px;
}

.link-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.link-card:hover .link-arrow {
    background: var(--text-main);
    color: var(--bg-dark);
    transform: translateX(4px);
}

/* Special Premium Link Styling */
.premium-link .link-blur-bg {
    background: rgba(0, 175, 240, 0.15); /* Color OnlyFans */
    border-color: rgba(0, 175, 240, 0.3);
}

.premium-link:hover .link-blur-bg {
    background: rgba(0, 175, 240, 0.25);
    box-shadow: 0 0 20px rgba(0, 175, 240, 0.2);
}

.premium-link .link-text {
    font-weight: 800;
    background: linear-gradient(90deg, #fff, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Telegram Styling */
.tg-link .link-blur-bg { background: rgba(0, 136, 204, 0.15); border-color: rgba(0, 136, 204, 0.3); }
.tg-link:hover .link-blur-bg { background: rgba(0, 136, 204, 0.25); box-shadow: 0 0 20px rgba(0, 136, 204, 0.2); }

/* Instagram Styling */
.ig-link .link-blur-bg { background: rgba(225, 48, 108, 0.15); border-color: rgba(225, 48, 108, 0.3); }
.ig-link:hover .link-blur-bg { background: rgba(225, 48, 108, 0.25); box-shadow: 0 0 20px rgba(225, 48, 108, 0.2); }

/* Facebook Styling */
.fb-link .link-blur-bg { background: rgba(24, 119, 242, 0.15); border-color: rgba(24, 119, 242, 0.3); }
.fb-link:hover .link-blur-bg { background: rgba(24, 119, 242, 0.25); box-shadow: 0 0 20px rgba(24, 119, 242, 0.2); }

/* X Styling */
.x-link .link-blur-bg { background: rgba(120, 120, 120, 0.15); border-color: rgba(120, 120, 120, 0.3); }
.x-link:hover .link-blur-bg { background: rgba(120, 120, 120, 0.25); box-shadow: 0 0 20px rgba(120, 120, 120, 0.2); }

/* Icon Colors */
.onlyfans-color { color: var(--c-of); }
.telegram-color { color: var(--c-tg); }
.instagram-color { color: var(--c-ig); }
.facebook-color { color: var(--c-fb); }
.x-color { color: var(--c-x); }

/* Bottom Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 15px;
    z-index: 1000;
    opacity: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translate(-50%, 100%);
    pointer-events: none;
}

.banner-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    margin: 0;
    width: 100%;
    background: rgba(15, 17, 26, 0.9);
    border-bottom: none;
    box-sizing: border-box;
}

.banner-text {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.banner-text p {
    margin: 0;
}
