* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    background: linear-gradient(135deg, #0c0c1a 0%, #1a1a2e 50%, #16213e 100%); 
    color: #e0e6ed; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow-x: hidden;
}
.container { max-width: 500px; width: 90%; text-align: center; }
header { margin-bottom: 2rem; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); background: linear-gradient(45deg, #ff6b9d, #4ecdc4, #45b7d1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; }
p { opacity: 0.8; font-size: 1.1rem; }

.section { display: none; min-height: 60vh; }
.section.active { display: block; animation: slideUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.countdown-container { position: relative; }
.countdown-circle { 
    width: 280px; height: 280px; margin: 0 auto 2rem; 
    background: radial-gradient(circle, rgba(255,107,157,0.1) 0%, transparent 70%); 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 20px rgba(255,107,157,0.3); } 50% { box-shadow: 0 0 40px rgba(255,107,157,0.6); } }
.countdown { display: flex; gap: 1.5rem; font-size: clamp(2rem, 8vw, 4rem); font-weight: 700; }
.time-unit { background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); padding: 1.5rem 1rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s; }
.time-unit:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.time-unit span:first-child { display: block; font-size: 1.2em; margin-bottom: 0.2rem; }

.form-group { display: flex; flex-direction: column; gap: 1.5rem; max-width: 350px; margin: 0 auto; }
input { background: rgba(255,255,255,0.08); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.2); border-radius: 16px; padding: 1.2rem 1.5rem; font-size: 1.1rem; color: white; transition: all 0.3s; }
input::placeholder { color: rgba(255,255,255,0.5); }
input:focus { outline: none; border-color: #4ecdc4; box-shadow: 0 0 0 3px rgba(78,205,196,0.2); transform: scale(1.02); }
button { background: linear-gradient(45deg, #ff6b9d, #4ecdc4); border: none; border-radius: 16px; padding: 1.2rem 2rem; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; box-shadow: 0 10px 30px rgba(255,107,157,0.3); }
button:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(255,107,157,0.4); }

.chat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
#online-count { background: rgba(78,205,196,0.2); padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.9rem; font-weight: 500; }
.messages { height: 450px; overflow-y: auto; background: rgba(0,0,0,0.4); backdrop-filter: blur(20px); border-radius: 20px; padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.05); }
.message { display: flex; margin-bottom: 1.2rem; animation: messageSlide 0.3s ease; }
@keyframes messageSlide { from { opacity: 0; transform: translateX(20px); } }
.message strong { color: #4ecdc4; margin-right: 0.5rem; font-size: 0.9rem; }
.message small { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-right: 0.5rem; }
.message span { color: #e0e6ed; line-height: 1.4; }

.message-form { display: flex; gap: 1rem; }
#message-input { flex: 1; }
.message-form button { min-width: 80px; flex-shrink: 0; }

@media (max-width: 600px) { .countdown { gap: 1rem; font-size: 2.5rem; } .countdown-circle { width: 240px; height: 240px; } .messages { height: 350px; } }
::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); } ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }
