
:root {
  --berry:#c2185b;
  --berry-dark:#9f104b;
  --pink:#f3b3cb;
  --pink-soft:#ffe8f0;
  --ink:#35434a;
  --green:#28a745;
}

* {
  box-sizing:border-box;
}

html {
  min-height:100%;
  background:#f8c8dc;
}

body {
  min-height:100vh;
  margin:0;
  color:var(--ink);
  font-family:Nunito,Arial,sans-serif;
  background:linear-gradient(118deg,#f9d9e6 0%,#f7c5d9 55%,#f6bfd5 100%);
  display:flex;
  flex-direction:column;
}

/* TOP BAR */

.top-bar {
  height:52px;
  flex:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:5px 13px;
  color:#fff;
  background:var(--berry);
  box-shadow:0 2px 6px #8d164333;
}

.server-status {
  display:flex;
  flex-direction:column;
  gap:1px;
  font-size:12px;
  line-height:1.1;
  font-weight:900;
}

.server-status>div {
  color:#43e277;
}

.status-dot {
  display:inline-block;
  width:8px;
  height:8px;
  margin-right:5px;
  border-radius:50%;
  background:#43e277;
  box-shadow:0 0 7px #43e277;
}

.user-count {
  color:#fff;
}

.sound-toggle {
  display:flex;
  align-items:center;
  gap:8px;
  border:0;
  padding:8px 10px;
  color:#fff;
  background:transparent;
  font:900 12px Nunito,Arial,sans-serif;
  cursor:pointer;
}

.sound-toggle i {
  font-size:19px;
}

/* MAIN CONTAINER */

.container {
  width:min(370px,calc(100% - 28px));
  margin:auto;
  padding:18px 15px 15px;
  border:4px solid var(--berry);
  border-radius:21px;
  background:#fff;
  box-shadow:0 12px 24px #a82a5a26,inset 0 0 0 3px #fff0f5;
  text-align:center;
}

.step-content[hidden],
[hidden] {
  display:none!important;
}

/* APP ICON - IMAGE SIZE FIXED */

.app-icon {
  position:relative;
  width:98px;
  height:98px;
  margin:2px auto 18px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:25px;
  border:3px solid #fff;
  background:radial-gradient(circle at 28% 25%,#fff57a 0 16%,transparent 17%),linear-gradient(145deg,#7bd2a3,#f7e66b 50%,#f7acc5);
  box-shadow:0 5px 12px #43554238;
  font-size:55px;
}

.app-icon-image {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:21px;
  z-index:1;
}

.app-icon .icon-sparkle {
  position:absolute;
  top:8px;
  right:10px;
  z-index:2;
  color:#fff;
  font-size:22px;
  text-shadow:0 1px 4px #c2185b;
}

/* HEADINGS */

.title-text {
  margin:15px 0 4px;
  color:var(--berry);
  font:700 27px/1.12 Fredoka,Nunito,sans-serif;
}

.subtitle {
  margin:5px 0 16px;
  color:#506b77;
  font-size:13px;
  font-weight:900;
  line-height:1.35;
}

/* USERNAME INPUT */

.input-group {
  height:48px;
  display:flex;
  align-items:center;
  margin:0 0 14px;
  padding:0 14px;
  border:2px solid #f783aa;
  border-radius:12px;
  background:#f4b8ce;
  text-align:left;
}

.input-icon {
  margin-right:10px;
  color:var(--berry);
  font-size:17px;
}

input {
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  color:#334b55;
  background:transparent;
  font:900 16px Nunito,Arial,sans-serif;
}

input::placeholder {
  color:#bb4875;
  opacity:1;
}

/* DEVICE SELECTOR */

.device-selector,
.reward-tabs {
  display:flex;
  gap:8px;
  margin:0 0 17px;
}

.device-btn,
.tab {
  flex:1;
  min-height:43px;
  border:0;
  border-radius:11px;
  color:var(--berry);
  background:#f4b8ce;
  font:900 14px Nunito,Arial,sans-serif;
  cursor:pointer;
}

.device-btn.selected,
.tab.active {
  color:#fff;
  background:#ed5b91;
  box-shadow:0 4px 0 #b21653;
}

/* CONTINUE BUTTON */

.cta-btn {
  width:100%;
  min-height:55px;
  border:0;
  border-radius:12px;
  color:#fff;
  background:var(--berry);
  box-shadow:0 5px 0 #901044;
  cursor:pointer;
  font:900 18px Nunito,Arial,sans-serif;
}

.cta-btn:disabled {
  cursor:wait;
  opacity:.7;
  animation:none;
}

.pulse-anim {
  animation:soft-pulse 2s ease-in-out infinite;
}

@keyframes soft-pulse {
  50% {
    filter:brightness(1.08);
  }
}

/* LOADING */

.loading-container {
  padding:17px 0 0;
  color:#111;
  font-weight:900;
}

.search-anim {
  margin:0 auto 4px;
  color:#222;
  font-size:17px;
}

.loading-text {
  margin-bottom:12px;
}

.progress-bar-bg {
  height:16px;
  margin-top:16px;
  overflow:hidden;
  border:2px solid #f783aa;
  border-radius:20px;
  background:#fde5ed;
}

.progress-bar-fill {
  width:0;
  height:100%;
  border-radius:inherit;
  background:var(--berry);
  transition:width .12s linear;
}

/* COMMUNITY FEED */

.comments-section {
  margin-top:17px;
  padding:10px 11px 8px;
  border:2px solid #ffb6cd;
  border-radius:12px;
  background:#fffafb;
  text-align:left;
}

.comments-header {
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 1px 7px;
  border-bottom:1px solid #ffb6cd;
  color:var(--berry);
  font-size:14px;
  font-weight:900;
}

.sample-tag {
  margin-left:auto;
  padding:2px 5px;
  border-radius:5px;
  color:#fff;
  background:#d95c88;
  font-size:8px;
  letter-spacing:.4px;
}

.comment-list {
  display:flex;
  flex-direction:column;
  max-height:100px;
  overflow:hidden;
}

.comment {
  display:flex;
  align-items:center;
  gap:8px;
  min-height:49px;
  border-bottom:1px dashed #ffb6cd;
  color:#435e68;
  font-size:12px;
  line-height:1.25;
}

.comment:last-child {
  border-bottom:0;
}

.comment>div {
  display:flex;
  flex-direction:column;
}

.comment strong {
  color:#a5164e;
  font-size:12px;
}

.comment small {
  margin-left:5px;
  color:#9cacb2;
  font-size:9px;
  font-weight:700;
}

/* AVATARS */

.avatar {
  width:31px;
  height:31px;
  flex:none;
  display:grid;
  place-items:center;
  border:2px solid #f4c800;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(145deg,#34495e,#8aafbb);
  font-size:14px;
  font-weight:900;
}

.avatar-two {
  background:linear-gradient(145deg,#283b31,#b87d67);
}

.avatar-three {
  background:linear-gradient(145deg,#824f9e,#eca5bd);
}

.avatar-four {
  background:linear-gradient(145deg,#345d89,#73b8bd);
}

.avatar-five {
  background:linear-gradient(145deg,#b96a39,#efc178);
}

.avatar-six {
  background:linear-gradient(145deg,#596c41,#acc77b);
}

/* USER BADGE */

.user-badge {
  display:inline-block;
  margin:2px auto 4px;
  padding:5px 12px;
  border:2px solid #ffd500;
  border-radius:18px;
  color:#fff;
  background:#34434a;
  font-size:13px;
  font-weight:900;
}

.user-badge span {
  color:#ffd500;
}

/* REWARD TABS */

.reward-tabs {
  gap:8px;
  margin:8px 0 14px;
}

.tab {
  border:2px solid #f783aa;
}

.tab.active {
  border-color:var(--berry);
  background:var(--berry);
  box-shadow:none;
}

/* REWARD GRID */

.reward-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.reward-card {
  position:relative;
  min-height:140px;
  padding:11px 8px 9px;
  border:2px solid #ffe0eb;
  border-radius:15px;
  background:#fffafb;
  box-shadow:0 4px 0 #ffc8da;
}

.reward-card.popular {
  border-color:#ffd000;
  background:#fffdf0;
  box-shadow:0 4px 0 #edc300;
}

.reward-amount {
  color:var(--berry);
  font:700 21px Fredoka,Nunito,sans-serif;
}

.popular .reward-amount {
  color:#f2bf00;
}

.reward-name {
  color:#73858b;
  font-size:10px;
  font-weight:900;
}

.reward-icon {
  display:block;
  height:33px;
  margin:5px 0;
  color:#ffd000;
  font-size:27px;
  filter:drop-shadow(0 2px #e9b800);
}

.claim-btn {
  width:100%;
  min-height:35px;
  border:0;
  border-radius:8px;
  color:#fff;
  background:var(--green);
  box-shadow:0 4px 0 #187a35;
  cursor:pointer;
  font:900 13px Nunito,Arial,sans-serif;
}

/* REWARD BADGES */

.badge-best {
  position:absolute;
  z-index:1;
  top:-10px;
  left:50%;
  transform:translateX(-50%);
  white-space:nowrap;
  padding:3px 8px;
  border-radius:7px;
  color:#fff;
  background:var(--berry);
  font-size:9px;
  font-weight:900;
}

.badge-best.jackpot {
  background:#d32f2f;
}

/* LOADING SCREEN */

.loading-screen {
  padding:18px 0 8px;
}

.sync-icon,
.alert-icon {
  color:var(--berry);
  font-size:65px;
}

.loading-screen .title-text {
  margin-top:8px;
}

.console-text {
  margin-top:12px;
  color:#a5164e;
  font-weight:900;
}

/* DEMO PREVIEW */

.demo-message {
  margin:15px 4px 20px;
  color:#35434a;
  font-size:15px;
  font-weight:900;
  line-height:1.55;
}

.demo-message strong {
  color:var(--berry);
}

.locker-note {
  margin:20px 4px 8px;
  color:#52656c;
  font-size:13px;
  font-weight:900;
  line-height:1.5;
}

.verify-btn {
  width:100%;
  min-height:57px;
  margin-top:6px;
  border:0;
  border-radius:12px;
  color:#fff;
  background:#28a745;
  box-shadow:0 5px 0 #187a35;
  cursor:pointer;
  font:900 18px Nunito,Arial,sans-serif;
}

/* LIVE NOTIFICATION */

.live-notification {
  position:fixed;
  left:50%;
  bottom:18px;
  z-index:5;
  display:flex;
  align-items:center;
  gap:10px;
  width:min(318px,calc(100% - 40px));
  min-height:48px;
  padding:8px 15px;
  transform:translateX(-50%);
  border-radius:26px;
  color:#fff;
  background:var(--berry);
  box-shadow:0 5px 15px #8d164366;
  font-size:12px;
}

.notification-gift {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#ffd500;
  font-size:18px;
}

/* FOOTER */

.pro-footer {
  width:min(600px,calc(100% - 24px));
  margin:16px auto 9px;
  color:var(--berry);
  text-align:center;
  font-size:12px;
  font-weight:900;
}

.footer-links {
  display:flex;
  justify-content:center;
  gap:8px;
}

.footer-copyright {
  margin:7px 0 0;
  font-size:11px;
}

/* DESKTOP */

@media (min-width:700px) {
  .container {
    margin-top:20px;
    margin-bottom:30px;
  }

  body {
    min-height:100vh;
  }
}

/* MOBILE */

@media (max-width:430px) {
  .container {
    padding:14px 12px 12px;
  }

  .title-text {
    font-size:25px;
  }

  .comments-section {
    margin-top:14px;
  }

  .pro-footer {
    font-size:10px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
  }
}
