:root {
    --primary-cyan: #00f2fe;
    --deep-blue: #000428;
    --glass-white: rgba(255, 255, 255, 0.1);
    --transition-standard: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s;
    --font-main: 'Muli', sans-serif;
    --font-heading: 'Oswald', sans-serif;
}

body, html {
    height: 100%;
    margin: 0;
    background: var(--deep-blue);
    font-family: var(--font-main);
    overflow: hidden;
}

.logo-header {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.logo-header img {
    height: 80px;
    filter: brightness(0) invert(1);
}

.hub-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

.hub-node {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition-standard);
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    border-right: 1px solid var(--glass-white);
}

.hub-node:last-child {
    border-right: none;
}

/* Efectos de fondo y gradientes para cada nodo */
.node-dcc { background: linear-gradient(rgba(0,4,40,0.8), rgba(0,4,40,0.8)), url('../img/hero/hero-1.jpg') center/cover; }
.node-sortium { background: linear-gradient(rgba(0,78,146,0.8), rgba(0,78,146,0.8)), url('../img/hero/hero-2.jpg') center/cover; }
.node-dch { background: linear-gradient(rgba(0,10,20,0.9), rgba(0,10,20,0.9)), url('../img/about-us.jpg') center/cover; }

.hub-node:hover {
    flex: 1.5;
    z-index: 10;
}

.hub-node:hover .node-content {
    transform: scale(1.1);
}

.hub-node::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,242,254,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.hub-node:hover::before {
    opacity: 1;
}

.node-content {
    text-align: center;
    z-index: 5;
    padding: 20px;
    transition: transform 0.5s;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.node-icon img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.node-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.node-tagline {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 30px;
    max-width: 300px;
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: var(--deep-blue);
    border: 2px solid var(--primary-cyan);
    border-radius: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(0,242,254,0.4);
    cursor: pointer;
    transition: all 0.5s;
    transform: translate(-50%, -50%);
}

.central-hub img {
    width: 70%;
    filter: drop-shadow(0 0 10px rgba(0,242,254,0.5));
}

.partner-link {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 30;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.partner-link:hover {
    opacity: 1;
    color: var(--primary-cyan);
}

@media (max-width: 768px) {
    .hub-container { flex-direction: column; height: auto; }
    body, html { overflow: auto; }
    .central-hub { display: none; }
    .hub-node { min-height: 400px; flex: none; }
}