@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;700&family=Poppins:wght@400;500;600&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; background: linear-gradient(135deg, #eaffea 0%, #dcffdc 100%); color: #333; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 100vh; padding: 20px; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; line-height: 1.6; } .glass-box { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 15px; padding: 25px; width: 90%; max-width: 450px; text-align: center; border: 1px solid rgba(178, 230, 178, 0.3); box-shadow: 0 8px 32px rgba(0, 153, 0, 0.1); margin: 15px 0; height: auto; transition: transform 0.3s ease, box-shadow 0.3s ease; animation: fadeIn 0.5s ease-out; } .glass-box:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0, 153, 0, 0.15); } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } h1, h2 { font-family: 'El Messiri', sans-serif; font-size: 28px; font-weight: bold; text-transform: uppercase; color: #009900; text-align: center; margin-bottom: 20px; position: relative; text-shadow: 2px 2px 4px rgba(0, 153, 0, 0.1); } h1::after, h2::after { content: ''; display: block; width: 60px; height: 3px; background: #4CAF50; margin: 10px auto 0; border-radius: 2px; animation: widthAnim 0.5s ease-out; } @keyframes widthAnim { from { width: 0; } to { width: 60px; } } .key-detail { font-size: 15px; color: #333; margin-bottom: 12px; display: flex; justify-content: space-between; padding: 0 20px; transition: all 0.3s ease; } .key-detail:hover { background: rgba(76, 175, 80, 0.1); border-radius: 8px; padding: 8px 20px; } .box-container { display: flex; justify-content: space-between; gap: 15px; margin-top: 15px; } .box { flex: 1; padding: 15px; border-radius: 12px; text-align: center; font-size: 18px; font-weight: 500; margin: 5px; height: auto; transition: all 0.3s ease; position: relative; overflow: hidden; } .box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.1); transform: translateX(-100%); transition: transform 0.3s ease; } .box:hover::before { transform: translateX(0); } .green-box { background: linear-gradient(135deg, #eaffea 0%, #d0ffd0 100%); border: 1px solid #b2e6b2; color: #009900; } .red-box { background: linear-gradient(135deg, #ffebeb 0%, #ffd0d0 100%); border: 1px solid #e6b2b2; color: #990000; } .blue-box { background: linear-gradient(135deg, #ebf5ff 0%, #d0e6ff 100%); border: 1px solid #b2cce6; color: #004d99; } .gold-box { background: linear-gradient(135deg, #fffbeb 0%, #fff2d0 100%); border: 1px solid #e6d9b2; color: #997300; } .history-item { display: flex; flex-direction: column; padding: 15px; margin: 8px 0; background: rgba(255, 255, 255, 0.8); border: 1px solid #b2e6b2; border-radius: 10px; text-align: left; transition: all 0.3s ease; animation: slideIn 0.3s ease-out; } @keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } } .history-item:hover { transform: scale(1.02); box-shadow: 0 4px 12px rgba(0, 153, 0, 0.1); } .status-icon { margin-right: 8px; transition: transform 0.3s ease; } .history-item:hover .status-icon { transform: scale(1.2); } #historyContainer { padding: 10px; } .period-section { margin: 15px 0; display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 16px; font-weight: 500; } #countdown { color: #009900; font-weight: 600; animation: pulse 1s infinite; } @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } } .footer { text-align: center; font-size: 14px; color: #666; margin-top: 30px; padding: 20px; width: 100%; background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(5px); border-radius: 10px; } @media (max-width: 480px) { .glass-box { width: 95%; padding: 20px; } .box-container { flex-direction: column; gap: 10px; } .box { margin: 5px 0; } .period-section { flex-direction: column; gap: 10px; } } .container { max-width: 1000px; margin: 0 auto; background-color: white; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); } textarea { width: 100%; padding: 10px; margin: 10px 0; border: 1px solid #ddd; border-radius: 4px; resize: vertical; } button { background-color: #4CAF50; color: white; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; margin: 10px 0; } button:hover { background-color: #45a049; } .output-section { margin-top: 20px; } #copy-btn { background-color: #2196F3; } #copy-btn:hover { background-color: #1976D2; } .options { margin: 15px 0; padding: 10px; background: #f5f5f5; border-radius: 4px; } .options label { margin-right: 15px; cursor: pointer; } .preview-section { margin-top: 20px; border-top: 1px solid #ddd; padding-top: 20px; } #preview-frame { width: 100%; height: 300px; border: 1px solid #ddd; border-radius: 4px; }