body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, #171923 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

.window {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 90vh;
    max-height: 700px;
}

.window-frame {
    position: relative;
    width: 100%;
    height: calc(100% - 20px);
    background: linear-gradient(180deg, #4a5568 0%, #2d3748 100%);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-surface {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(148, 163, 184, 0.15) 0%,
        rgba(71, 85, 105, 0.2) 50%,
        rgba(51, 65, 85, 0.15) 100%
    );
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 60px rgba(74, 85, 104, 0.1);
}

.rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.raindrop {
    position: absolute;
    background: linear-gradient(
        180deg,
        rgba(203, 213, 225, 0.4) 0%,
        rgba(148, 163, 184, 0.6) 100%
    );
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 
        0 0 10px rgba(148, 163, 184, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    animation: fall linear infinite;
}

.raindrop::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 20%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.raindrop::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40%;
    background: rgba(203, 213, 225, 0.3);
    border-radius: 50%;
    filter: blur(2px);
}

@keyframes fall {
    0% {
        transform: translateY(-60px) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(var(--fall-distance)) scale(var(--end-scale));
        opacity: 0;
    }
}

.window-sill {
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 20px;
    background: linear-gradient(180deg, #4a5568 0%, #2d3748 100%);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
    .window {
        height: 80vh;
        max-height: 500px;
    }
    
    .window-frame {
        padding: 8px;
    }
}