* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Waltograph', 'Comic Sans MS', cursive; background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 50%, #E0F6FF 100%); min-height: 100vh; color: #2c3e50; padding: 20px; } .container { max-width: 1200px; margin: 0 auto; position: relative; } .created-by { position: fixed; top: 20px; right: 20px; font-size: 1.9rem; color: #2c3e50; text-align: right; line-height: 1.4; font-weight: bold; z-index: 1000; background: rgba(255, 255, 255, 0.3); padding: 10px 15px; border-radius: 10px; border: 2px solid rgba(44, 62, 80, 0.3); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .main-title { text-align: center; font-size: 3.5rem; color: #2c3e50; text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3); margin: 60px 0 40px 0; letter-spacing: 2px; font-weight: bold; } .follow-us { position: fixed; top: 50%; right: 80px; transform: translateY(-50%); font-size: 2.3rem; color: #2c3e50; text-align: center; line-height: 1.4; font-weight: bold; z-index: 1000; text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3); letter-spacing: 2px; } .left-image { position: fixed; left: 40px; top: 50%; transform: translateY(-50%); width: 310px; height: auto; z-index: 1; } .content-wrapper { display: flex; align-items: center; justify-content: center; margin-bottom: 40px; } .game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; max-width: 600px; margin: 0 auto; } .category-box { background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 50%, #A78BFA 100%); padding: 30px 20px; text-align: center; font-size: 2rem; font-weight: bold; cursor: pointer; transition: all 0.3s ease; min-height: 120px; display: flex; align-items: center; justify-content: center; border-radius: 15px; color: white; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); border: 3px solid #4C1D95; box-shadow: 0 8px 20px rgba(107, 70, 193, 0.3); } .category-box.correct { background: linear-gradient(135deg, #059669 0%, #10B981 50%, #34D399 100%); border-color: #047857; } .category-box.incorrect { background: linear-gradient(135deg, #DC2626 0%, #EF4444 50%, #F87171 100%); border-color: #B91C1C; } .game-info { text-align: center; font-size: 1.9rem; color: #2c3e50; font-weight: bold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); margin-top: 30px; } .stats { display: flex; justify-content: center; gap: 30px; margin-top: 30px; flex-wrap: wrap; } .stat-item { text-align: center; background: rgba(255, 255, 255, 0.3); padding: 15px 20px; border-radius: 15px; border: 2px solid rgba(44, 62, 80, 0.3); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .stat-number { font-size: 2.5rem; font-weight: bold; display: block; color: #2c3e50; } .stat-label { font-size: 1.2rem; margin-top: 5px; color: #2c3e50; } .timer { color: #DC2626; } .question-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 1000; align-items: center; justify-content: center; } .question-content { background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%); padding: 40px; border-radius: 20px; max-width: 600px; width: 90%; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); border: 4px solid #2c3e50; } .question-title { font-size: 2rem; margin-bottom: 25px; color: #2c3e50; font-weight: bold; } .question-text { font-size: 1.6rem; margin-bottom: 30px; line-height: 1.5; color: #2c3e50; font-weight: bold; } .answers { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; } .answer-btn { background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%); border: 3px solid #4C1D95; color: white; padding: 15px 20px; font-size: 1.1rem; font-weight: bold; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; } .answer-btn:hover { background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%); transform: translateY(-2px); } .answer-btn.correct { background: linear-gradient(135deg, #059669 0%, #10B981 100%); border-color: #047857; } .answer-btn.incorrect { background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%); border-color: #B91C1C; } .close-btn { background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%); border: 3px solid #D97706; color: white; padding: 12px 30px; font-size: 1.1rem; font-weight: bold; border-radius: 10px; cursor: pointer; transition: all 0.3s ease; } .close-btn:hover { background: linear-gradient(135deg, #FBBF24 0%, #FCD34D 100%); transform: translateY(-2px); } .actions { display: flex; justify-content: center; gap: 20px; margin-top: 30px; } .action-btn { background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%); border: 3px solid #1D4ED8; color: white; padding: 12px 24px; border-radius: 25px; cursor: pointer; font-size: 1rem; font-weight: bold; transition: all 0.3s ease; } .action-btn:hover { background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%); transform: translateY(-2px); } /* Mobile Responsiveness */ @media (max-width: 768px) { body { padding: 10px; } .main-title { font-size: 2.2rem; margin: 20px 0 30px 0; letter-spacing: 1px; } .content-wrapper { margin-bottom: 20px; } .game-grid { max-width: 100%; gap: 5px; grid-template-columns: repeat(3, 1fr); } .category-box { padding: 25px 15px; font-size: 1.4rem; min-height: 120px; border-radius: 15px; border-width: 3px; } .created-by { position: static; top: auto; right: auto; font-size: 1.1rem; padding: 8px 12px; margin: 40px auto 20px auto; text-align: center; width: fit-content; background: rgba(255, 255, 255, 0.3); border: 2px solid rgba(44, 62, 80, 0.3); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); order: 999; display: block; } .left-image { display: none; } .follow-us { display: none; } .answers { grid-template-columns: 1fr; gap: 12px; } .question-content { padding: 25px 20px; margin: 20px; max-width: 95%; } .question-title { font-size: 1.6rem; margin-bottom: 20px; } .question-text { font-size: 1.1rem; margin-bottom: 25px; } .answer-btn { padding: 12px 15px; font-size: 1rem; } .close-btn { padding: 10px 25px; font-size: 1rem; } .stats { gap: 8px; margin-top: 15px; grid-template-columns: repeat(2, 1fr); display: grid; max-width: 300px; margin-left: auto; margin-right: auto; } .stat-item { padding: 6px 10px; } .stat-number { font-size: 1.5rem; } .stat-label { font-size: 0.8rem; } .actions { gap: 15px; margin-top: 20px; } .action-btn { padding: 10px 20px; font-size: 0.9rem; } .game-info { font-size: 1.4rem; margin-top: 20px; } } @media (max-width: 480px) { .main-title { font-size: 1.8rem; margin: 15px 0 25px 0; } .game-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; } .category-box { padding: 22px 12px; font-size: 1.3rem; min-height: 110px; } .stats { grid-template-columns: repeat(2, 1fr); gap: 6px; max-width: 280px; } .stat-item { width: 100%; max-width: none; padding: 5px 8px; } .stat-number { font-size: 1rem; } .stat-label { font-size: 0.6rem; } .actions { flex-direction: column; align-items: center; } .action-btn { width: 100%; max-width: 200px; } .question-content { padding: 20px 15px; margin: 15px; } .question-title { font-size: 1.4rem; } .question-text { font-size: 1rem; } .created-by { margin: 30px auto 15px auto; font-size: 1rem; padding: 6px 10px; background: rgba(255, 255, 255, 0.3); border: 2px solid rgba(44, 62, 80, 0.3); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } }