:root{--ref-maroon:#804;--ref-dark:#57002e;--ref-text:#1f171b;--ref-muted:#6f6469;--ref-border:#eadfd9;--ref-cream:#fffaf7}*{box-sizing:border-box}.referralPage{position:relative;min-height:100vh;color:var(--ref-text);background:#fffaf7}.referralHeader{position:relative;z-index:5;width:calc(100% - 40px);min-height:66px;margin:15px auto 0;padding:10px 26px 10px 30px;justify-content:space-between;border:1px solid rgba(106,0,55,.1);border-radius:20px;background:hsla(0,0%,100%,.9);box-shadow:0 10px 30px rgba(94,30,51,.05);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.referralBrand,.referralHeader{display:flex;align-items:center}.referralBrand{gap:12px;color:#7f003f;font-size:17px;font-weight:900;text-decoration:none;letter-spacing:.03em}.referralLogo{width:39px;height:39px;display:block;object-fit:contain;border-radius:11px}.brandText{display:flex;align-items:baseline;gap:4px;font-family:var(--font-sora),"Sora",sans-serif;font-weight:800;font-size:1.1rem;color:#7a0042;letter-spacing:-.02em}.brandText small{font-family:inherit;font-weight:inherit;font-size:1.1rem;color:inherit;letter-spacing:inherit}.referralNavigation{display:flex;align-items:center;gap:12px}.referralNavigation a{min-width:100px;height:42px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;font-size:14px;font-weight:700;text-decoration:none}.loginButton{color:#730039;border:1px solid rgba(136,0,68,.23);background:#fff}.getAppButton{color:#fff;border:1px solid #804;background:linear-gradient(135deg,#97004c,#700038);box-shadow:0 8px 18px rgba(112,0,56,.18)}.referralMain{position:relative;z-index:2;width:min(1180px,calc(100% - 40px));margin:0 auto;padding:34px 0 70px}.heroBanner{min-height:345px;padding:48px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);align-items:center;grid-gap:44px;gap:44px;overflow:hidden;border-radius:24px;background:linear-gradient(135deg,#7a0040,#5a002f);box-shadow:0 24px 60px rgba(90,0,47,.18)}.heroCopy{position:relative;z-index:1}.heroBadge{width:-moz-fit-content;width:fit-content;min-height:36px;padding:0 16px;display:inline-flex;align-items:center;gap:8px;border:1px solid hsla(0,0%,100%,.38);border-radius:999px;color:#fff;background:hsla(0,0%,100%,.12);font-size:13px;font-weight:800}.heroBadge svg{width:15px;height:15px}.heroTitle{margin:22px 0 0;color:#fff;font-size:44px;font-weight:800;line-height:1.08;letter-spacing:0}.heroSub{max-width:560px;margin:18px 0 0;color:hsla(0,0%,100%,.8);font-size:15px;line-height:1.7}.ctaBanner button,.heroCta{min-height:46px;margin-top:26px;padding:0 24px;border:0;border-radius:999px;color:var(--ref-maroon);background:#fff;font:inherit;font-size:14px;font-weight:900;cursor:pointer}.heroArt{min-height:245px;align-self:stretch;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;margin-bottom:-48px}.heroArtImg{width:100%;max-width:480px;height:auto;max-height:calc(100% + 48px);object-fit:contain;object-position:bottom;display:block}.progressRow,.statsRow{margin-top:20px;display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}.codeCard,.earnedCard,.historyCard,.howCard,.progressCard{border:1px solid var(--ref-border);background:#fff;box-shadow:0 18px 50px rgba(92,27,50,.06)}.earnedCard{min-height:245px;padding:30px;display:flex;align-items:center;justify-content:center;gap:28px;border-radius:18px;text-align:left}.earnedImg{width:150px;height:auto;flex:0 0 auto}.earnedInfo{align-items:flex-start}.codeCard,.earnedInfo{display:flex;flex-direction:column}.codeCard{min-height:245px;padding:30px;align-items:center;justify-content:center;border-radius:18px;text-align:center}.codeCard p,.earnedCard p{margin:15px 0 0;color:var(--ref-muted);font-size:13px;font-weight:800}.earnedAmount{margin-top:8px;color:var(--ref-maroon);font-size:32px;line-height:1}.earnedCard small{margin-top:8px;color:var(--ref-muted);font-size:12px}.earnedCard button,.shareBtn,.shareInputRow button{min-height:44px;padding:0 20px;border:0;border-radius:999px;color:#fff;background:linear-gradient(135deg,#97004c,#700038);font:inherit;font-size:13px;font-weight:900;cursor:pointer}.earnedCard button{margin-top:20px}button:disabled{cursor:not-allowed;opacity:.48}.codeBox{width:min(360px,100%);margin:19px 0 18px;padding:19px;color:var(--ref-maroon);border:1px solid #e7cdd9;border-radius:14px;background:#fffaf7;font-size:22px;font-weight:900;letter-spacing:.12em;text-align:center}.codeActions{display:flex;justify-content:center;gap:12px}.copyBtn,.milestoneToggle{min-height:44px;padding:0 20px;border:1px solid rgba(136,0,68,.28);border-radius:999px;color:var(--ref-maroon);background:#fff;font:inherit;font-size:13px;font-weight:900;cursor:pointer}.howSection{margin-top:36px}.howSection h2{margin:0 0 18px;text-align:center;font-size:28px;line-height:1.2}.howCard{padding:34px;border-radius:18px}.howSteps{display:grid;grid-template-columns:1fr 34px 1fr 34px 1fr;align-items:start;grid-gap:18px;gap:18px}.howStep{min-width:0;text-align:center}.howIcon{position:relative;width:72px;height:72px;margin:0 auto;display:grid;place-items:center;color:var(--ref-maroon);border-radius:50%;background:#f8e8ea;font-size:28px}.howIcon svg{width:30px;height:30px}.howIcon span{position:absolute;left:0;bottom:-2px;width:24px;height:24px;display:grid;place-items:center;color:#fff;border:2px solid #fff;border-radius:50%;background:var(--ref-maroon);font-size:12px;font-weight:900}.howStep h3{margin:19px 0 0;font-size:16px}.howStep p{max-width:230px;margin:8px auto 0;color:var(--ref-muted);font-size:13px;line-height:1.55}.stepArrow{margin-top:24px;color:var(--ref-maroon);font-size:28px;font-weight:900;text-align:center}.historyCard,.progressCard{border-radius:18px;padding:24px}.cardHeading,.historyHeading{display:flex;align-items:center}.cardHeading{gap:12px}.cardHeading span,.ctaIcon,.headingIcon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;color:var(--ref-maroon);border-radius:50%;background:#f8e8ea;font-size:19px}.cardHeading span svg,.ctaIcon svg,.headingIcon svg{width:20px;height:20px}.cardHeading h2,.historyHeading h2{margin:0;font-size:18px}.segmentSummary{margin-top:30px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:18px;gap:18px}.segmentBar{display:flex;gap:4px}.segmentBar span{height:14px;flex:1 1;border-radius:4px;background:#ddd}.segmentBar span.filled{background:var(--ref-maroon)}.segmentSummary strong{color:var(--ref-maroon);font-size:18px}.bonusCaption{margin:17px 0 0;color:var(--ref-muted);font-size:13px;text-align:right}.bonusCaption strong{color:var(--ref-maroon)}.milestoneToggle{margin-top:24px}.milestonePanel{margin-top:18px;padding-top:18px;border-top:1px solid #eee2dd}.historyHeading{justify-content:space-between;gap:16px}.historyHeading a{color:var(--ref-maroon);font-size:13px;font-weight:900;text-decoration:none;white-space:nowrap}.historyTable{width:100%;margin-top:24px;border-collapse:collapse}.historyTable td,.historyTable th{padding:14px 8px;border-bottom:1px solid #f0e6e1;font-size:13px;text-align:left}.historyTable th{color:var(--ref-muted);font-size:11px;font-weight:900;text-transform:uppercase}.pillCompleted,.pillPending{min-height:26px;padding:0 10px;display:inline-flex;align-items:center;border-radius:999px;font-size:11px;font-weight:900}.pillPending{color:#8a6a1f;background:#f3e2c7}.pillCompleted{color:#1d7a43;background:#d9f2e0}.rewardValue{color:var(--ref-maroon);font-weight:900}.ctaBanner{margin-top:20px;padding:28px 40px;justify-content:space-between;gap:24px;border-radius:20px;background:linear-gradient(135deg,#7a0040,#5a002f)}.ctaBanner,.ctaBanner>div{display:flex;align-items:center}.ctaBanner>div{gap:16px}.ctaIcon{color:#fff;background:hsla(0,0%,100%,.14)}.ctaBanner h2{margin:0;color:#fff;font-size:20px}.ctaBanner p{margin:6px 0 0;color:hsla(0,0%,100%,.72);font-size:13px}.ctaBanner button{flex:0 0 auto;margin-top:0}.shareInputRow{display:flex;gap:9px}.shareInputRow input,.shareInputRow select{width:100%;min-width:0;height:46px;padding:0 14px;border:1px solid #e7dbd5;border-radius:10px;outline:none;background:#fff;font:inherit}.shareInputRow input:focus,.shareInputRow select:focus{border-color:#97004c;box-shadow:0 0 0 3px rgba(151,0,76,.08)}.shareInputRow button{min-width:126px;border-radius:10px;white-space:nowrap}.sectionHeading{display:flex;align-items:center;gap:14px}.sectionHeading h2{margin:0;font-size:22px}.sectionHeading p{margin:5px 0 0;color:var(--ref-muted);font-size:12px}.meterScroller{margin-top:20px;overflow-x:auto;padding:10px 0}.meter{min-width:910px;padding:0 10px}.meterTrack{position:relative;height:5px;margin:11px 7.1% 0;border-radius:100px;background:#e5e1df}.meterFill{height:100%;max-width:100%;border-radius:inherit;background:linear-gradient(90deg,#7e003f,#a80056);transition:width .45s ease}.meterMilestones{position:relative;margin-top:-14px;display:grid;grid-template-columns:repeat(9,1fr)}.milestone{text-align:center}.milestoneDot{width:24px;height:24px;margin:0 auto 13px;display:grid;place-items:center;color:#fff;border:3px solid #ddd8d6;border-radius:50%;background:#fff;font-size:12px;font-weight:900}.milestone.reached .milestoneDot{border-color:#850043;background:#850043;box-shadow:0 0 0 4px #fff}.milestone b,.milestone em,.milestone small,.milestone strong{display:block}.milestone strong{font-size:16px}.milestone small{margin-top:3px;color:#655b60;font-size:10px}.milestone b{margin-top:22px;color:#820041;font-size:14px}.milestone em{min-height:14px;margin-top:4px;color:#51464b;font-size:9px;font-style:normal}.currentProgress{width:-moz-fit-content;width:fit-content;margin:19px auto 22px;padding:10px 19px;display:flex;align-items:center;gap:9px;border:1px solid #eaded8;border-radius:10px;background:#fffaf7}.currentProgress span,.currentProgress strong{color:#850043}.currentProgress span svg{width:16px;height:16px;display:block}.currentProgress p{margin:0;font-size:12px}.rewardsSection{padding:20px 16px 15px;border:1px solid #ebdfd9;border-radius:19px}.compactHeading .headingIcon{width:45px;height:45px;flex-basis:45px;font-size:19px}.compactHeading h2{font-size:18px}.rewardGrid{margin-top:22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.rewardCard{min-width:0;padding:17px 10px 11px;text-align:center;border:1px solid #eadfd9;border-radius:14px;background:linear-gradient(155deg,#fff,#fffaf7)}.rewardCard.unlocked{border-color:rgba(136,0,68,.32)}.rewardCard h3{margin:0;color:#850043;font-size:14px}.rewardCard>p{margin:5px 0 0;font-size:11px}.rewardCoins{margin-top:19px;display:flex;align-items:center;justify-content:center;gap:7px}.rewardCoins span{width:17px;height:17px;display:grid;place-items:center;color:#fff;border-radius:50%;background:#efaa27;font-size:9px}.rewardCoins strong{font-size:12px}.rewardCard>small{min-height:34px;margin-top:15px;display:block;color:#62575c;font-size:9.5px;line-height:1.5}.rewardCard button{width:100%;min-height:35px;margin-top:10px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;color:#850043;border:1px solid #ead7dc;border-radius:9px;background:#fff9f8;font-size:9px;font-weight:800}.errorMessage{margin:12px 0 0;color:#a01840;font-size:12px;line-height:1.45}.referralFooter{padding:48px 30px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;grid-gap:32px;gap:32px;border-top:1px solid #eadfd9;background:#fff}.footerBrand{color:var(--ref-maroon);font-size:18px;font-weight:400;text-decoration:none}.footerBrand strong{font-weight:900}.referralFooter p{max-width:360px;margin:18px 0 22px;color:var(--ref-muted);font-size:13px;line-height:1.7}.referralFooter small{color:var(--ref-muted);font-size:12px}.referralFooter nav{display:flex;flex-direction:column;gap:11px}.referralFooter h3{margin:0 0 6px;font-size:14px}.referralFooter a{color:#6f6469;font-size:13px;text-decoration:none}.referralFooter a:hover{color:var(--ref-maroon)}@media (max-width:1050px){.heroBanner{grid-template-columns:1fr .7fr}.rewardGrid{grid-template-columns:repeat(2,1fr)}.referralFooter{grid-template-columns:1.4fr 1fr 1fr}}@media (max-width:700px){.referralHeader{width:calc(100% - 20px);min-height:58px;padding:8px 10px;gap:8px}.referralBrand{flex:1 1;min-width:0;gap:6px;overflow:hidden}.referralLogo{width:32px;height:32px;flex-shrink:0}.brandText{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.03em}.brandText,.brandText small{font-size:14px}.referralNavigation{flex-shrink:0;display:flex;align-items:center;gap:4px}.referralNavigation a{min-width:0!important;width:auto;height:32px;padding:0 8px!important;display:inline-flex;align-items:center;justify-content:center;font-size:10px;white-space:nowrap;border-radius:9px}.referralNavigation a.getAppButton{display:inline-flex!important;height:32px!important;padding:0 8px!important}.referralNavigation a svg{width:13px;height:13px;flex-shrink:0}.referralMain{width:calc(100% - 20px);padding-top:24px}.heroBanner{padding:30px 22px;grid-template-columns:1fr}.heroTitle{font-size:36px}.heroArt{display:none}.progressRow,.statsRow{grid-template-columns:1fr}.codeCard,.earnedCard,.historyCard,.progressCard{padding:20px 14px}.earnedCard{flex-direction:column;text-align:center}.earnedInfo{align-items:center}.codeActions,.ctaBanner,.ctaBanner>div,.shareInputRow{flex-direction:column;align-items:stretch}.codeActions button,.ctaBanner button,.shareInputRow button{width:100%}.howCard{padding:24px 16px}.howSteps{grid-template-columns:1fr;gap:28px}.stepArrow{display:none}.segmentSummary{grid-template-columns:1fr;gap:10px}.bonusCaption,.segmentSummary strong{text-align:right}.referralFooter{padding:36px 20px}.referralFooter,.rewardGrid{grid-template-columns:1fr}}