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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.circle-svg {
    position: absolute;
    width: min(70vmin, 600px);
    height: min(70vmin, 600px);
    pointer-events: none;
    z-index: 0;
}

.main-circle {
    position: relative;
    width: min(70vmin, 600px);
    height: min(70vmin, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.center-text {
    text-align: center;
    z-index: 1;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 80%;
    max-height: 80%;
}

.center-logo {
    width: clamp(180px, 30vw, 320px);
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin-bottom: 1rem;
    border-radius: 12px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    object-fit: contain;
    pointer-events: none;
}

.center-logo:hover {
    opacity: 1;
}

.center-text p {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

.orbit-button {
    position: absolute;
    width: min(20vmin, 160px);
    height: min(20vmin, 160px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: #111;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    outline: none;
    z-index: 10;
    pointer-events: auto;
}

.orbit-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.orbit-button:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.orbit-button:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.orbit-button:active {
    transform: scale(1.05);
}

/* Position buttons at 120-degree intervals */
.orbit-button-1 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-button-2 {
    bottom: 13.4%;
    left: 0;
    transform: translate(-50%, 50%);
}

.orbit-button-3 {
    bottom: 13.4%;
    right: 0;
    transform: translate(50%, 50%);
}

/* Wavy circle animation */
.wavy-circle {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.main-circle:hover + .circle-svg .wavy-circle,
.circle-svg:hover .wavy-circle {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .circle-svg {
        width: min(65vmin, 450px);
        height: min(65vmin, 450px);
    }
    
    .main-circle {
        width: min(65vmin, 450px);
        height: min(65vmin, 450px);
    }
    
    .orbit-button {
        width: min(16vmin, 110px);
        height: min(16vmin, 110px);
    }
    
    .center-logo {
        width: clamp(120px, 25vw, 250px);
    }
}

@media (max-width: 480px) {
    body {
        overflow: hidden;
        position: fixed;
    }
    
    .container {
        padding: 10px;
    }
    
    .circle-svg {
        width: min(70vmin, 400px);
        height: min(70vmin, 400px);
    }
    
    .main-circle {
        width: min(70vmin, 400px);
        height: min(70vmin, 400px);
    }
    
    .orbit-button {
        width: min(13vmin, 85px);
        height: min(13vmin, 85px);
    }
    
    .center-text {
        max-width: 60%;
        max-height: 60%;
    }
    
    .center-logo {
        width: 100%;
        height: auto;
        margin-bottom: 0;
    }
    
    .center-text p {
        font-size: clamp(0.75rem, 3vw, 0.9rem);
        margin-top: 0.5rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .circle-svg {
        width: min(70vmin, 350px);
        height: min(70vmin, 350px);
    }
    
    .main-circle {
        width: min(70vmin, 350px);
        height: min(70vmin, 350px);
    }
    
    .orbit-button {
        width: min(11vmin, 70px);
        height: min(11vmin, 70px);
    }
    
    .center-text {
        max-width: 58%;
        max-height: 58%;
    }
    
    .center-logo {
        width: 100%;
        height: auto;
        margin-bottom: 0;
    }
}

/* Ambient animation will be handled by JavaScript for smoother control */
.orbit-button,
.main-circle {
    will-change: transform;
}

