@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@400;500;600;700;800&family=SF+Pro+Text:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   PHONE CONTAINER
========================= */
.phone {
  width: 100%;
  max-width: 430px;
  min-height: 95vh;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* =========================
   HEADER
========================= */
.header {
  height: 220px;
  background: linear-gradient(
    135deg,
    #6fd4ff 0%,
    #4299e1 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  border-bottom-right-radius: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 12px 40px rgba(111, 212, 255, 0.4);
  flex-shrink: 0;
}

.logo {
  width: 115px;
  height: 115px;
  object-fit: contain;
  margin: auto;
  position: relative;
  top: 10px;
  right: 8px;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8))
    drop-shadow(0 6px 24px rgba(255, 255, 255, 0.6));
  animation: logoGlow 2.5s infinite ease-in-out;
}

@keyframes logoGlow {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
  }

  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1));
  }
}

/* =========================
   STEPS
========================= */
.step {
  display: none;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  scroll-behavior: smooth;
  animation: slideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step.active {
  display: flex;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content {
  padding: 48px 32px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =========================
   TITLE
========================= */
.title {
  margin-bottom: 8px;
  color: #1e293b;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

/* =========================
   INPUT
========================= */
.input-group {
  position: relative;
  margin-bottom: 45px;
}

input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #d1d5db;
  padding: 20px 0 8px;
  font-size: 18px;
  outline: none;
  background: transparent;
  transition: all 0.3s ease;
}

input:focus {
  border-bottom-color: #3b82f6;
  padding-bottom: 12px;
}

/* =========================
   LOGIN INFO
========================= */
.login-info {
  font-size: 13px;
  color: #ef4444;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-weight: 500;
}

.login-info.show {
  opacity: 1 !important;
  visibility: visible !important;
}

/* =========================
   BUTTONS
========================= */
.forgot {
  display: block;
  margin-bottom: 32px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.forgot:hover {
  color: #1d4ed8;
}

.btn,
.btn-claim {
  width: 100%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn {
  height: 56px;
  border-radius: 28px;
  background: linear-gradient(145deg, #f1f5f9, #f8fafc);
  color: #64748b;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn:hover {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-claim {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-top: 25px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

.btn-claim:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.35);
}

.btn-claim:active {
  transform: scale(0.98);
}

/* =========================
   REGISTER
========================= */
.register {
  margin-top: auto;
  text-align: center;
  padding: 16px 0;
  font-size: 14px;
}

.register a {
  color: #3b82f6;
  font-weight: 700;
  text-decoration: none;
}

/* =========================
   SERVICES
========================= */
.services-title {
  margin: 24px 0 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

.services {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.service {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.service:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

/* =========================
   SLIDER
========================= */
.slider {
  margin-top: 24px;
  height: 180px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active-slide {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 24px 20px 20px;
}

.caption h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.caption p {
  font-size: 13px;
  opacity: 0.9;
}

/* =========================
   CLAIM
========================= */
.claim-container {
  text-align: center;
  padding: 40px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.claim-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

.claim-container h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
}

.claim-container p {
  color: #64748b;
  font-size: 16px;
}

.claim-amount {
  font-size: 42px;
  font-weight: 900;
  color: #10b981;
  margin: 12px 0;
}

/* =========================
   OVERLAY
========================= */
.overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
}

.loading-box,
.success-box {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 48px 32px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(16, 185, 129, 0.4);
  max-width: 90%;
}

.spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   MODAL
========================= */
.modal-approve {
  background: white;
  padding: 36px 28px;
  border-radius: 24px;
  text-align: center;
  max-width: 340px;
  width: 90%;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
}

.modal-approve img {
  width: 100%;
  max-width: 260px;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 16px;
  border-radius: 14px;
}

.timer {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 16px 24px;
  border-radius: 32px;
  font-weight: 800;
  font-size: 22px;
  margin-top: 24px;
}

/* =========================
   TESTIMONIAL
========================= */
.testimonial-section {
  margin-top: 25px;
  padding: 18px 15px;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.15),
    rgba(0, 0, 0, 0.5)
  );
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 15px;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 10px;
  color: #fff;
  height: 100%;
}

.testimonial-slide.active {
  display: block;
}

.winner-photo {
  width: 55px;
  height: 55px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 3px solid #ffd700;
}

.stars {
  color: #ffd700;
  font-size: 16px;
  margin-bottom: 10px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 480px) {
  .phone {
    margin: 10px;
    border-radius: 24px;
  }

  .content {
    padding: 36px 24px 32px;
  }

  .claim-amount {
    font-size: 36px;
  }

  .input-group {
    margin-bottom: 55px;
  }

  .login-info.show {
    font-size: 16px;
    font-weight: 700;
    color: #dc2626;
    background: #fee2e2;
    padding: 12px 15px;
    border-radius: 10px;
    border-left: 5px solid #dc2626;
    margin-top: 10px;
    line-height: 1.4;
  }
}

/* =========================
   SCROLLBAR
========================= */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}