body {
    margin: 0;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(ellipse at center, #001122 0%, #000000 70%);
    touch-action: none; /* モバイルでのスクロール防止 */
    user-select: none; /* テキスト選択防止 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#dnaContainer {
    position: absolute;
    width: 100%;
    height: 100%;
}

footer {
    color: rgb(255, 255, 255);
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 10px; /* 角を丸くする */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

#title {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 3rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(0, 150, 255, 0.5);
    animation: pulse 3s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(0, 150, 255, 0.5); }
    to { text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 30px rgba(0, 150, 255, 0.8), 0 0 40px rgba(255, 100, 200, 0.4); }
}

/* パフォーマンス表示 */
#performance {
    position: fixed;
    top: 10px;
    left: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: monospace;
    z-index: 1000;
}

/* モバイル対応 */
@media (max-width: 768px) {
    #title {
        font-size: 2rem;
        top: 15%;
    }
    
    footer {
        font-size: 0.8rem;
        padding: 5px 10px;
        bottom: 10px;
        right: 10px;
    }
    
    #performance {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    #title {
        font-size: 1.5rem;
        top: 10%;
    }
    
    footer {
        font-size: 0.7rem;
    }
}