/* --- index.css --- */ @import url('https://fonts.googleapis.com/css2?family=Fredoka+One:wght@400&family=Poppins:wght@300;400;600;700&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; background: linear-gradient(93deg, #ff840000 61.19%, #ff7200 110.09%), radial-gradient(158.58% 79.07% at 18.37% 4.94%, #ffc200 82%, #ffce33 45%, #ffc81c 52%, #ffc50c, #ffc202 68%, #ffc200 82%); } .container { width: 100%; max-width: 420px; min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; background-image: url('https://promo-campaign.blr1.digitaloceanspaces.com/britannia-marie-gold/assets/images/oth/bg.jpg'); background-size: cover; background-position: center; border-radius: 20px; box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2); overflow: hidden; border: 2px solid #DEB887; position: relative; } .header, .step { position: relative; z-index: 1; } .header { padding: 0; font-size: 0; } .header-image { width: 30%; height: auto; margin-left: 30px; margin-top: 10px; display: block; } .step { display: none; padding: 30px; } .step.active { display: block; } .promo-title-image { display: block; width: calc(100% + 60px); margin-left: -30px; margin-right: -30px; margin-bottom: 20px; } .registration-header { font-size: 22px; color: #000000; font-weight: 800; text-align: center; margin-bottom: 20px; } .form-group { margin-bottom: 15px; } .form-group:has(.otp-input-group) { margin-bottom: 15px; margin-top: 15px; } .form-input { width: 100%; padding: 12px; border: 2px solid #181818; border-radius: 10px; background: #f8eea1; font-size: 14px; color: #000000; transition: border-color 0.3s ease; } .form-input:focus { outline: none; border-color: #8B4513; } .form-input::placeholder { color: #767676; } .checkbox-group { display: flex; align-items: center; margin-bottom: 20px; font-size: 14px; color: #000000; padding: 10px; border-radius: 10px; } .checkbox-group input { margin-right: 10px; transform: scale(1.2); } .submit-btn { width: 50%; margin: 0 auto; display: block; padding: 16px; background: red; color: white; border: none; border-radius: 25px; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform 0.2s ease; text-transform: uppercase; text-align: center; } .submit-btn:hover { transform: translateY(-2px); } .form-label { display: block; font-size: 14px; font-weight: 600; color: #8B4513; margin-bottom: 8px; } .otp-input-group { display: flex; align-items: center; gap: 5px; } .otp-input-group .form-input { flex-grow: 1; border-top-right-radius: 0; border-bottom-right-radius: 0; } .otp-btn { padding: 12px; background: #ED1C24; color: white; border: none; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; border-top-right-radius: 10px; border-bottom-right-radius: 10px; transition: background-color 0.2s; } .otp-btn:hover { background: #d32f2f; } .otp-btn:disabled { background: #999; cursor: not-allowed; } .input-error::placeholder { color: #d32f2f; opacity: 1; } .wheel-container { display: flex; flex-direction: column; align-items: center; text-align: center; } .wheel-title { font-size: 22px; font-weight: 800; color: #000000; padding: 8px 15px; border-radius: 12px; } .wheel-base { width: 280px; height: 280px; position: relative; margin: 20px 0; } .wheel { width: 250px; height: 250px; border-radius: 50%; position: relative; margin: 15px auto; background: conic-gradient(from 0deg, #8B4513 0deg 90deg, #F4A460 90deg 180deg, #8B4513 180deg 270deg, #F4A460 270deg 360deg); border: 8px solid #654321; transition: transform 3s cubic-bezier(0.25, 0.46, 0.45, 0.94); } .wheel-pointer { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 24px solid #d32f2f; z-index: 10; } .wheel-text { position: absolute; font-size: 20px; color: white; font-weight: bold; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); } .prize1 { top: 20%; right: 20%; } .prize2 { top: 20%; left: 20%; } .prize3 { bottom: 20%; left: 20%; } .prize4 { bottom: 20%; right: 20%; } .cookie-icon { font-size: 24px; } .wheel-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background-image: url('https://promo-campaign.blr1.digitaloceanspaces.com/britannia-marie-gold/assets/images/CenterLogo.png'); background-size: contain; background-position: center; background-repeat: no-repeat; border: none; background-color: transparent; } .play-btn { margin-top: 20px; padding: 12px 60px; background: #ED1C24; font-size: 16px; cursor: pointer; border: none; border-radius: 25px; color: white; font-weight: 600; text-transform: uppercase; transition: transform 0.2s ease; } .play-btn:hover { transform: translateY(-2px); } .play-btn:disabled { background: #999; cursor: not-allowed; transform: none; } .congratulations, .try-again { margin-top: 20px; padding: 20px; border-radius: 15px; text-align: center; } .congratulations { background: linear-gradient(135deg, #E8F5E8, #F0FFF0); border: 2px solid #28a745; } .try-again { background: linear-gradient(135deg, #FFF8DC, #FFFACD); border: 2px solid #DAA520; } .party-icon { width: 80px; height: auto; display: block; margin: 0 auto 10px auto; } .congrats-title, .try-again-title { font-family: 'Fredoka One', cursive; font-size: 24px; margin: 10px 0; } .congrats-title { color: #28a745; } .try-again-title { color: #DAA520; } .congrats-subtitle, .try-again-subtitle { font-size: 16px; color: #666; margin: 8px 0; } .prize-amount { font-family: 'Fredoka One', cursive; font-size: 38px; color: #000000; margin: 10px 0; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); } .voucher-info { display: block; margin: 15px auto; width: 100%; max-width: 150px; border-radius: 50px; } .biscuits-info { display: block; margin: 15px auto; width: 100%; max-width: 300px; } .voucher-details { font-size: 10px; color: #3d3d3d; margin-top: 10px; line-height: 1.4; } .voucher-detailsv2 { font-size: 14px; color: #3d3d3d; margin-top: 10px; line-height: 1.4; } .floating-menu-container { position: fixed; top: 20px; right: 20px; z-index: 1000; } #menuToggleBtn { width: 45px; height: 45px; background: #e60000; color: white; border-radius: 50%; font-size: 24px; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); transition: transform 0.2s; } #menuToggleBtn:hover { transform: scale(1.1); } #menuOptions { display: none; position: absolute; top: 65px; right: 0; width: 150px; background: #FFF8DC; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); border: 1px solid #DEB887; overflow: hidden; } #menuOptions.show { display: block; } .menu-item { display: block; padding: 12px 15px; color: #8B4513; text-decoration: none; font-size: 14px; font-weight: 600; border-bottom: 1px solid #DEB887; transition: background-color 0.2s; cursor: pointer; } .menu-item:last-child { border-bottom: none; } .menu-item:hover { background-color: #F5DEB3; } .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(44, 27, 7, 0.7); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; } .modal-overlay.show { display: flex; } .modal-content { background: #FFF8DC; border: 2px solid #DEB887; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); width: 100%; max-width: 450px; padding: 25px 30px; position: relative; } .modal-close { position: absolute; top: 10px; right: 15px; font-size: 30px; font-weight: bold; color: #8B4513; cursor: pointer; line-height: 1; } .modal-close:hover { color: #d32f2f; } .modal-title { font-family: 'Fredoka One', cursive; font-size: 22px; color: #8B4513; margin-bottom: 15px; text-align: center; } .modal-body { font-size: 15px; color: #654321; line-height: 1.6; max-height: 60vh; overflow-y: auto; } .modal-body p { margin-bottom: 10px; } .join-btn { display: inline-block; margin-top: 15px; padding: 12px 25px; background-color: #0088cc; color: white; text-decoration: none; font-weight: 600; border-radius: 20px; transition: transform 0.2s; cursor: pointer; border: none; } .join-btn:hover { transform: scale(1.05); }