* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: transparent; height: 100vh; display: flex; justify-content: center; align-items: center; color: white; overflow: hidden; position: relative; } .voting-container { background: rgba(26, 26, 26, 0.95); border-radius: 24px; padding: 50px; box-shadow: 0 25px 50px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.1), 0 0 100px rgba(255, 107, 53, 0.1); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.05); max-width: 1400px; width: 95%; position: relative; overflow: hidden; } .voting-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #ff6b35, transparent); z-index: 1; } .voting-title { font-size: 4.5rem; font-weight: 800; color: #ff6b35; margin-bottom: 25px; text-shadow: 0 0 20px rgba(255, 107, 53, 0.5), 2px 2px 4px rgba(0,0,0,0.8); letter-spacing: -2px; position: relative; text-align: left; } .voting-title::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 80px; height: 4px; background: linear-gradient(90deg, #ff6b35, #ff8c42); border-radius: 2px; } .voting-description { font-size: 1.1rem; color: #b8b8b8; margin-bottom: 50px; line-height: 1.8; max-width: 900px; font-weight: 300; opacity: 0.9; } .candidates-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 25px; margin-bottom: 50px; perspective: 1000px; } .candidate-card { background: linear-gradient(145deg, rgba(45, 45, 45, 0.9), rgba(30, 30, 30, 0.9)); border-radius: 20px; padding: 25px 20px; text-align: center; cursor: pointer; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); border: 2px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; transform-style: preserve-3d; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; } .candidate-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent); transition: left 0.6s ease; z-index: 1; } .candidate-card:hover::before { left: 100%; } .candidate-card:hover { transform: translateY(-8px) rotateX(5deg); box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2), 0 0 30px rgba(255, 107, 53, 0.1), inset 0 1px 0 rgba(255,255,255,0.1); border-color: rgba(255, 107, 53, 0.3); } .candidate-card.selected { border-color: #ff6b35; background: linear-gradient(145deg, rgba(255, 107, 53, 0.15), rgba(255, 140, 66, 0.1)); transform: translateY(-8px) scale(1.02); box-shadow: 0 25px 50px rgba(255, 107, 53, 0.3), 0 0 40px rgba(255, 107, 53, 0.2), inset 0 1px 0 rgba(255,255,255,0.2); } .candidate-card.selected::after { content: '✓'; position: absolute; top: 15px; right: 15px; width: 30px; height: 30px; background: #ff6b35; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: bold; color: white; z-index: 2; animation: checkmark 0.3s ease-out; } @keyframes checkmark { 0% { transform: scale(0) rotate(180deg); opacity: 0; } 50% { transform: scale(1.2) rotate(90deg); opacity: 1; } 100% { transform: scale(1) rotate(0deg); opacity: 1; } } .candidate-image { width: 120px; height: 120px; border-radius: 16px; margin: 0 auto 20px; background: linear-gradient(145deg, rgba(60, 60, 60, 0.8), rgba(40, 40, 40, 0.8)); display: flex; align-items: center; justify-content: center; color: #666; font-size: 0.85rem; border: 2px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; z-index: 2; } .candidate-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; transition: transform 0.3s ease; } .candidate-card:hover .candidate-image img { transform: scale(1.05); } .candidate-name { font-size: 1.15rem; font-weight: 600; color: #ff6b35; margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); z-index: 2; position: relative; } .vote-button-container { display: flex; justify-content: flex-start; margin-top: 40px; } .vote-button { background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%); color: white; border: none; padding: 18px 50px; font-size: 1.3rem; font-weight: 700; border-radius: 16px; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); text-transform: uppercase; letter-spacing: 2px; box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3), inset 0 1px 0 rgba(255,255,255,0.2); position: relative; overflow: hidden; min-width: 160px; } .vote-button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s ease; } .vote-button:hover::before { left: 100%; } .vote-button:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4), inset 0 1px 0 rgba(255,255,255,0.3); background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%); } .vote-button:active { transform: translateY(-1px); } .vote-button:disabled { background: linear-gradient(135deg, rgba(100, 100, 100, 0.4), rgba(80, 80, 80, 0.4)); cursor: not-allowed; transform: none; box-shadow: 0 5px 10px rgba(0,0,0,0.2); color: rgba(255,255,255,0.5); } .vote-button:disabled::before { display: none; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } } @keyframes slideInFromLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } } .voting-container { animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1); } .voting-title { animation: slideInFromLeft 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); } .voting-description { animation: slideInFromLeft 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s both; } .candidate-card { opacity: 0; animation: fadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; } .candidate-card:nth-child(1) { animation-delay: 0.3s; } .candidate-card:nth-child(2) { animation-delay: 0.4s; } .candidate-card:nth-child(3) { animation-delay: 0.5s; } .candidate-card:nth-child(4) { animation-delay: 0.6s; } .candidate-card:nth-child(5) { animation-delay: 0.7s; } .candidate-card:nth-child(6) { animation-delay: 0.8s; } .vote-button-container { animation: fadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 1s both; } .candidate-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.3), transparent); opacity: 0; transition: opacity 0.3s ease; } .candidate-card:hover::after { opacity: 1; } .thank-you-container { text-align: center; padding: 100px 50px; animation: thankYouFadeIn 1s cubic-bezier(0.25, 0.8, 0.25, 1); } .check-icon { width: 100px; height: 100px; background: linear-gradient(135deg, #28a745, #20c997); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 50px; color: white; margin: 0 auto 40px; box-shadow: 0 20px 40px rgba(40, 167, 69, 0.3); animation: checkIconPulse 2s infinite; } .thank-you-title { font-size: 2.5rem; font-weight: 700; color: white; margin-bottom: 20px; letter-spacing: 1px; text-shadow: 0 4px 8px rgba(0,0,0,0.5); animation: titleSlideIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s both; } .thank-you-subtitle { font-size: 2rem; font-weight: 600; color: #ff6b35; letter-spacing: 1px; text-shadow: 0 4px 8px rgba(0,0,0,0.5); animation: subtitleSlideIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.6s both; } @keyframes thankYouFadeIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } } @keyframes checkIconPulse { 0%, 100% { transform: scale(1); box-shadow: 0 20px 40px rgba(40, 167, 69, 0.3); } 50% { transform: scale(1.05); box-shadow: 0 25px 50px rgba(40, 167, 69, 0.5); } } @keyframes titleSlideIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes subtitleSlideIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 1200px) { .candidates-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } } @media (max-width: 768px) { .candidates-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } .voting-title { font-size: 3rem; } .voting-container { padding: 30px; } } @media (max-width: 480px) { .candidates-grid { grid-template-columns: 1fr; } }