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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.circle-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #000000;
    border: none;
    overflow: hidden;
    position: relative;
}

#waterCanvas, #glCanvas {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

#glCanvas {
    z-index: 2;
}

.info {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}


.info p {
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#requestPermission {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    background: white;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

#requestPermission:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .circle-container {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .circle-container {
        width: 250px;
        height: 250px;
    }

    .info p {
        font-size: 1rem;
    }
}
