/* Custom formatting for the Rule page - New Figma Style */ :root { --primary-blue: #0062FF; --dark-blue: #004ecc; --bg-light: #ffffff; --text-dark: #1A1A1A; --text-muted: #666666; } .millions-rule-page { background-color: var(--primary-blue); min-height: 100vh; display: flex; flex-direction: column; position: relative; max-width: 430px; margin: 0 auto; font-family: 'Bricolage Grotesque', sans-serif; } /* Header with Chevron Pattern */ .millions-rule-page .header { background-color: var(--primary-blue); background-image: url("data:image/svg+xml,%3Csvg width='60' height='30' viewBox='0 0 60 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 15 L15 0 L30 15 L45 0 L60 15 L60 30 L45 15 L30 30 L15 15 L0 30 Z' fill='%23004ecc' fill-opacity='0.4'/%3E%3C/svg%3E"); height: 64px; display: flex; align-items: center; padding: 0 16px; color: #fff; position: sticky; top: 0; z-index: 100; } .millions-rule-page .back-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-size: 18px; } .millions-rule-page .header-title { flex: 1; text-align: center; font-size: 20px; font-weight: 800; margin-right: 32px; /* balance back button */ } /* Content Card */ .millions-rule-page .content-card { background-color: #ffffff; flex: 1; border-radius: 40px 40px 0 0; padding: 24px 20px; overflow-y: auto; padding-bottom: 100px; /* space for navbar */ box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1); position: relative; } .millions-rule-page .content-inner { max-width: 100%; } /* Mega Millions Banner */ .millions-rule-page .banner { background: linear-gradient(135deg, #0052D4 0%, #4364F7 50%, #6FB1FC 100%); border-radius: 20px; height: 110px; position: relative; overflow: visible; /* allow ball to float */ display: flex; align-items: center; justify-content: center; margin-bottom: 32px; box-shadow: 0 8px 16px rgba(0, 98, 255, 0.2); } .millions-rule-page .banner-content { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } .millions-rule-page .banner-text { color: white; font-size: 2.25rem; font-weight: 800; font-family: 'UTM Futura Extra', sans-serif; text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25); text-transform: uppercase; letter-spacing: -1px; line-height: 1; } .millions-rule-page .banner-ball { position: absolute; right: 80px; /* Moved further left as requested */ top: 50%; transform: translateY(-50%); width: 65px; height: 65px; display: flex; align-items: center; justify-content: center; z-index: 10; } .millions-rule-page .banner-ball img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); } .millions-rule-page .banner-ball .crown { position: absolute; top: -5px; right: 2px; font-size: 18px; color: #FFD700; transform: rotate(25deg); text-shadow: 0 2px 4px rgba(0,0,0,0.3); } /* Rule Sections */ .millions-rule-page .rule-section { margin-bottom: 28px; } .millions-rule-page .section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .millions-rule-page .section-emoji { font-size: 24px; } .millions-rule-page .section-title { font-size: 22px; font-weight: 800; color: var(--text-dark); } .millions-rule-page .rule-list { list-style: none; padding: 0; margin: 0; } .millions-rule-page .rule-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 14px; color: #333333; line-height: 1.4; position: relative; padding-left: 15px; } .millions-rule-page .rule-item::before { content: '•'; position: absolute; left: 0; color: #333333; font-weight: bold; } .millions-rule-page .rule-subitem { padding-left: 30px; } /* Prize Structure */ .millions-rule-page .prize-header-labels { display: flex; gap: 10px; margin-bottom: 15px; } .millions-rule-page .prize-label { flex: 1; background-color: var(--primary-blue); color: white; padding: 12px; border-radius: 8px; text-align: center; font-weight: 800; font-size: 16px; box-shadow: 0 4px 8px rgba(0, 98, 255, 0.2); } .millions-rule-page .prize-rows { display: flex; flex-direction: column; gap: 12px; } .millions-rule-page .prize-row { display: flex; justify-content: space-between; padding: 2px 0; } .millions-rule-page .match-col { font-size: 15px; color: #333; font-weight: 600; } .millions-rule-page .prize-col { font-size: 15px; color: #000; font-weight: 800; text-align: right; } .millions-rule-page .prize-col.jackpot { color: #000; } /* Custom Styled Scrollbar */ .custom-scrollbar::-webkit-scrollbar { width: 4px; } .custom-scrollbar::-webkit-scrollbar-track { background: transparent; } .custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.1); border-radius: 10px; } /* Bottom Navbar Positioning */ .millions-rule-page .millions-bottom-navbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; z-index: 200; }