* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --link-bg: #1a1a1a;
    --link-hover-bg: #2a2a2a;
    --border-color: #333333;
    --shadow-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 40px 20px;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.profile-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--shadow-color);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.profile-bio {
    font-size: 16px;
    color: #cccccc;
    font-weight: 300;
}

/* Links Container */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: var(--link-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
}

.link-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover/Touch Effects */
.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-item:hover::before,
.link-item:active::before {
    left: 100%;
}

.link-item:hover {
    background: var(--link-hover-bg);
    border-color: var(--accent-color);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 5px 20px var(--shadow-color);
}

.link-item:active {
    transform: translateX(5px) scale(0.98);
}

.link-icon {
    font-size: 24px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.link-item:hover .link-icon {
    transform: scale(1.2) rotate(5deg);
}

.link-text {
    flex: 1;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.link-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.link-item:hover .link-arrow {
    transform: translateX(5px);
    opacity: 1;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    color: #888888;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.footer.visible {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .profile-name {
        font-size: 24px;
    }

    .link-item {
        padding: 18px 20px;
    }

    .link-text {
        font-size: 16px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================
   Tema IDEEN - Color #00DAFF
   ============================================ */

/* ============================================
   Tema IDEEN - Color #00DAFF
   ============================================ */

.ideen-theme {
    --accent-color: #00DAFF;
    --link-bg: #001a1f;
    --link-hover-bg: #002b33;
    --border-color: #00A8C9;
    --shadow-color: rgba(0, 218, 255, 0.2);
}

.ideen-theme .profile-image {
    border-color: #00DAFF !important;
    box-shadow: 0 0 20px rgba(0, 218, 255, 0.3) !important;
}

.ideen-theme .profile-image:hover {
    box-shadow: 0 0 40px rgba(0, 218, 255, 0.5) !important;
    border-color: #00B8D9 !important;
}

.ideen-theme .profile-name {
    color: #00DAFF !important;
    text-shadow: 0 0 20px rgba(0, 218, 255, 0.5);
}

.ideen-theme .profile-bio {
    color: #80E5FF !important;
}

.ideen-theme .link-item {
    background: #001a1f !important;
    border-color: #00A8C9 !important;
}

.ideen-theme .link-item:hover {
    background: #002b33 !important;
    border-color: #00DAFF !important;
    box-shadow: 0 5px 25px rgba(0, 218, 255, 0.3) !important;
    transform: translateX(10px) scale(1.02);
}

.ideen-theme .link-item::before {
    background: linear-gradient(90deg, transparent, rgba(0, 218, 255, 0.2), transparent) !important;
}

.ideen-theme .link-item:hover .link-arrow {
    color: #00DAFF !important;
}

.ideen-theme .link-item .link-icon {
    filter: drop-shadow(0 0 5px rgba(0, 218, 255, 0.5));
}

.ideen-theme .footer {
    color: #00A8C9 !important;
}

/* Cambiar fondo del body cuando tiene el tema IDEEN */
body.ideen-body {
    background: #000a0f !important;
}

/* ============================================
   Estilos para la página principal con logos
   ============================================ */

.container-main {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.logo-selection {
    width: 100%;
    text-align: center;
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-subtitle {
    font-size: 18px;
    color: #cccccc;
    font-weight: 300;
    margin-bottom: 60px;
}

.logos-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.logo-box {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid var(--border-color);
    background: var(--link-bg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: slideUp 0.8s ease forwards;
}

.logo-box:nth-child(2) {
    animation-delay: 0.2s;
}

.logo-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.logo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Efectos de movimiento y hover */
.logo-box:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
}

.logo-box:hover .logo-image {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1);
}

.logo-box:hover .logo-overlay {
    transform: translateY(0);
}

/* Animación continua de movimiento sutil */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.logo-box.onn-box {
    animation: slideUp 0.8s ease forwards, float 4s ease-in-out infinite;
    animation-delay: 0s, 1s;
}

.logo-box.ideen-box {
    animation: slideUp 0.8s ease forwards, floatReverse 4s ease-in-out infinite;
    animation-delay: 0.2s, 1.2s;
}

/* Efecto de brillo al pasar el mouse */
.logo-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.logo-box:hover::before {
    opacity: 1;
}

/* Efecto de pulsación al hacer clic */
.logo-box:active {
    transform: translateY(-10px) scale(0.98);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }

    .main-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .logos-container {
        flex-direction: column;
        gap: 30px;
    }

    .logo-box {
        width: 280px;
        height: 280px;
    }

    .logo-text {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 28px;
    }

    .logo-box {
        width: 250px;
        height: 250px;
    }

    .logo-text {
        font-size: 24px;
    }
}

