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

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    position: fixed;
    top: 0;
    left: 0;
}

#nav-menu {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 2000;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

#canvas-container {
    width: 100%;
    height: 100%;
    z-index: 1;
}

canvas {
    display: block;
}

#icons-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cube-icon {
    position: absolute;
    font-size: 48px;
    transform: translate(-50%, -50%);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    will-change: transform;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#logo-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    pointer-events: none;
    text-align: center;
}

#logo {
    max-width: 450px;
    max-height: 450px;
    display: block;
    margin: 0 auto;
}

#tagline {
    color: white;
    font-size: 48px;
    font-weight: bold;
    margin-top: 30px;
    white-space: nowrap;
}

#icp-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    color: white;
    font-size: 14px;
    pointer-events: auto;
}

#icp-footer .copyright,
#icp-footer a {
    white-space: nowrap;
}

#icp-footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

#icp-footer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .cube-icon {
        font-size: 32px;
    }
    
    #nav-menu {
        top: 15px;
        right: 15px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    #logo {
        max-width: 200px;
        max-height: 200px;
    }
    
    #tagline {
        font-size: 20px;
        margin-top: 10px;
        padding: 0 10px;
    }
    
    #icp-footer {
        font-size: 10px;
        bottom: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    #icp-footer .copyright,
    #icp-footer a {
        white-space: normal;
    }
    
    #icp-footer .separator {
        display: none;
    }
}

@media (max-width: 400px) {
    #tagline {
        font-size: 16px;
    }
}
