/* Reset and base styles */
html, body {
    overflow: hidden;
    font: 16px/1.4 'Lato', sans-serif;
    color: #fefeff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000;
    cursor: auto;
}

canvas {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Portal header */
.portal-header {
    margin-bottom: 40px;
    text-align: center;
    z-index: 10;
    position: relative;
}

.portal-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Portal container */
.portal-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 20px 40px 20px;
    position: relative;
    z-index: 5;
    pointer-events: none;
}

/* Icon grid */
.portal-nav {
    width: 100%;
    max-width: 800px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    justify-items: center;
    align-items: center;
}

.icon-item {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.portal-icon {
    width: 40px;
    height: 40px;
    fill: #ffffff;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

/* Simple hover effects */
.icon-item:hover .portal-icon {
    fill: #00aaff;
}

/* Tooltip styles */
.icon-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.icon-item:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -50px;
}


/* Custom cursor trail effect */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Static background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 170, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 170, 0.03) 0%, transparent 50%);
    z-index: -1;
}

/* No floating animations */

/* Responsive design */
@media (max-width: 768px) {
    .portal-title {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }
    
    .icon-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .icon-item {
        width: 50px;
        height: 50px;
    }
    
    .portal-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .portal-title {
        font-size: 1.5rem;
    }
    
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .icon-item {
        width: 45px;
        height: 45px;
    }
    
    .portal-icon {
        width: 25px;
        height: 25px;
    }
}

/* All special color effects removed */
