/* Basic page styles */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Helvetica Neue', sans-serif;
    /* --- NEW: Disable text selection --- */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* --- NEW: Set cursor to 'grabbing' when body has this class --- */
body.grabbing, body.grabbing * {
    cursor: grabbing !important;
}

/* MODIFIED: Animated Gradient Background for Sunset Theme */
@keyframes animated-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* The main container or "stage" */
.scene {
    position: relative;
    width: 100vw;
    height: 100vh;
    /* Sunset gradient */
    background: linear-gradient(-45deg, #ff8c42, #ff3f83, #a430c0, #4c2c92);
    background-size: 400% 400%;
    animation: animated-gradient 25s ease infinite;
}

/* Pulsating animation for the central text */
@keyframes pulsate {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.03); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* The central Sike element */
#central-why {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -65%);
    font-size: 8vw;
    font-weight: bold;
    /* Soft white text */
    color: #fcebe5;
    text-shadow: 0 0 15px rgba(255, 175, 139, 0.4);
    cursor: pointer;
    z-index: 10;
    animation: pulsate 1.8s ease-in-out infinite;
}

/* Subtitle style */
#subtitle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 30%);
    font-family: "Fira Code", "Roboto Mono", Consolas, "Courier New", monospace;
    font-size: 2vw;
    /* Lighter text for contrast */
    color: #fcebe5;
    opacity: 0.8;
    z-index: 10;
}


/* Info text style */
#info{
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    font-family: "Fira Code", "Roboto Mono", Consolas, "Courier New", monospace;
    animation: pulsate 1.8s ease-in-out infinite;
    font-size: 1.3rem;
    color: #fcebe5;
    opacity: 0.8;
}

/* Container for the bubbles */
#bubble-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* MODIFIED: "Glass" style for Sunset Theme */
.bubble {
    position: absolute;
    z-index: 1;
    /* --- NEW: Set default cursor for bubbles --- */
    cursor: grab;
    /* Deep purple, semi-transparent gradient */
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05) 80%);
    /* Soft pinkish border */
    border: 1.5px solid rgba(255, 175, 139, 0.4);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    /* Soft white text inside bubbles */
    color: #fff;
    font-weight: 500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-size: 1.2vw;
    /* Adjusted shadow for a warm glow */
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.1), inset 0 10px 15px rgba(255, 255, 255, 0.1), 0 10px 30px rgba(50, 20, 80, 0.3);
    transform: translate(-50%, -50%);
    transition: opacity 0.5s, transform 0.5s;
    will-change: transform, opacity;
    font-family: "Fira Code", "Roboto Mono", Consolas, "Courier New", monospace;
}


/* Footer Styles */
#footer-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icon {
    width: 48px;
    height: 48px;
    transition: transform 0.2s ease-in-out;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.social-icon:hover {
    transform: scale(1.1);
}

/* MODIFIED: CA button for Sunset Theme */
#ca-container {
    position: relative;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    /* Light text */
    color: #fff;
    cursor: pointer;
    transform: translateY(-2px);
    
    /* Warm glass style */
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 175, 139, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s ease-in-out, background 0.2s;
}

#ca-container:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}

/* Tooltip style */
.tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.tooltip.visible {
    opacity: 1;
    visibility: visible;
}