:root { --primary-color: #e63946; --secondary-color: #1d3557; --accent-color: #f1faee; --success-color: #2a9d8f; --locked-color: #457b9d; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, var(--secondary-color) 0%, var(--locked-color) 100%); color: #fff; text-align: center; padding: 20px; min-height: 100vh; margin: 0; overflow-x: hidden; } .loader-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, var(--secondary-color) 0%, var(--locked-color) 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.5s ease-out; } .loader-icon { width: 80px; height: 80px; position: relative; margin-bottom: 20px; } .loader-icon:before { content: "🎄"; font-size: 50px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: treeScale 1s ease-in-out infinite alternate; } .loading-text { font-size: 1.5em; color: var(--accent-color); margin-top: 20px; opacity: 0.8; animation: textPulse 1.5s ease-in-out infinite; } .loading-dots:after { content: ''; animation: dots 1.5s steps(5, end) infinite; } .snowflakes { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; } .snowflake { position: fixed; top: -20px; color: white; font-size: 20px; text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); animation: snowfall linear infinite; z-index: 1; opacity: 0.8; user-select: none; } h1 { color: var(--accent-color); font-size: 3.5em; margin-bottom: 30px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); animation: titleGlow 2s ease-in-out infinite alternate; } .calendar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; max-width: 1200px; margin: 0 auto; padding: 20px; opacity: 0; transform: translateY(20px); animation: fadeInUp 0.5s ease-out forwards; animation-delay: 2s; } .day { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); border: 2px solid var(--accent-color); border-radius: 15px; padding: 25px; cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); font-size: 1.8em; font-weight: bold; color: var(--accent-color); position: relative; min-height: 100px; display: flex; align-items: center; justify-content: center; } .day:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(0,0,0,0.2); background: rgba(255, 255, 255, 0.15); } .day.opened { background: var(--success-color); border-color: var(--success-color); color: white; } .day.locked { background: var(--locked-color); opacity: 0.7; cursor: not-allowed; } .day.event { border: 2px solid #ffd700; animation: eventPulse 2s infinite; } .modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(29, 53, 87, 0.95); border-radius: 20px; box-shadow: 0 0 30px rgba(0,0,0,0.3); padding: 30px; z-index: 1000; max-width: 90%; width: 400px; backdrop-filter: blur(10px); } .modal.active { display: block; animation: modalAppear 0.3s ease-out; } .modal p { font-size: 1.2em; line-height: 1.6; margin-bottom: 20px; color: var(--accent-color); } .modal button { padding: 12px 25px; border: none; background: var(--primary-color); color: white; border-radius: 10px; cursor: pointer; font-size: 1.1em; transition: all 0.3s ease; } .modal button:hover { background: #c1121f; transform: scale(1.05); } .overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(3px); z-index: 999; } .overlay.active { display: block; } .stats-counter, .audio-controls, .compact-timer { position: fixed; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); border-radius: 15px; padding: 10px 20px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .stats-counter { top: 20px; right: 20px; } .audio-controls { bottom: 20px; right: 20px; display: flex; align-items: center; gap: 10px; } .compact-timer { top: 20px; left: 20px; font-size: 1.5em; font-weight: bold; color: var(--accent-color); z-index: 1000; animation: glowPulse 2s infinite; } #audioControl { background: none; border: none; font-size: 20px; cursor: pointer; color: white; } #timer-text { background: linear-gradient(90deg, #fff, var(--primary-color)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2); } /* Animations */ @keyframes treeScale { 0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; } 100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } } @keyframes textPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } } @keyframes dots { 0%, 20% { content: '.'; } 40% { content: '..'; } 60% { content: '...'; } 80% { content: '....'; } 100% { content: '.....'; } } @keyframes snowfall { 0% { transform: translateY(-20px) rotate(0deg); } 100% { transform: translateY(100vh) rotate(360deg); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes eventPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(255, 215, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); } } @keyframes titleGlow { from { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #e60073; } to { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073; } } @keyframes modalAppear { from { opacity: 0; transform: translate(-50%, -60%); } to { opacity: 1; transform: translate(-50%, -50%); } } @keyframes glowPulse { 0% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } 50% { box-shadow: 0 4px 25px rgba(230, 57, 70, 0.3); } 100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } }