/* Base Reset and Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #020b07;
  --bg-darker: #000000;
  --accent-yellow: #ffb800;
  --accent-yellow-hover: #ffa000;
  --accent-green: #00e676;
  --accent-green-glow: rgba(0, 230, 118, 0.4);
  --text-white: #ffffff;
  --text-grey: #a6a6a6;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

body {
  background-color: var(--bg-dark);
  background-image: 
    linear-gradient(180deg, rgba(2, 11, 7, 0.5) 0%, rgba(0, 0, 0, 0.95) 100%),
    url('stadium_bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-white);
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Floating Soccer Ball */
.floating-ball {
  position: absolute;
  top: 60px;
  left: 6%;
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.8)) blur(0.3px);
  animation: floatBall 8s ease-in-out infinite alternate;
  z-index: 10;
  opacity: 0.85;
  pointer-events: none;
}

@keyframes floatBall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-15px) rotate(10deg) scale(1.03);
  }
  100% {
    transform: translateY(-30px) rotate(-15deg) scale(0.98);
  }
}

/* Main Container Wrapper */
.main-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
}

.logo-container {
  font-size: 64px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -2px;
  display: inline-block;
  line-height: 1;
}

.logo-afro {
  color: var(--accent-yellow);
}

.logo-pari {
  color: var(--text-white);
}

.logo-i {
  position: relative;
}

.logo-i::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(15deg);
  width: 10px;
  height: 10px;
  background-color: var(--accent-yellow);
  border-radius: 50% 50% 0 50%;
  box-shadow: 0 0 8px var(--accent-yellow);
}

.slogan {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 3.5px;
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.download-text {
  font-size: 14px;
  color: var(--text-white);
  opacity: 0.8;
  font-weight: 500;
}

.play-badge-wrapper {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.play-badge-wrapper:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.google-play-badge {
  display: block;
}

/* Phones Section & perspective layout */
.phones-section {
  width: 100%;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}

.phones-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  height: 520px;
  position: relative;
  perspective: 1200px;
}

/* Phone Bezel Base */
.phone {
  position: absolute;
  height: 460px;
  width: 220px;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  transition: transform 0.5s ease, opacity 0.5s ease;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 16px;
  background: #000;
  border-radius: 0 0 10px 10px;
  z-index: 100;
}

.phone-home {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  z-index: 100;
}

/* White Phone (Center) */
.phone-center {
  height: 500px;
  width: 240px;
  background: #f0f0f0;
  border: 4px solid #ffffff;
  z-index: 5;
  transform: translateZ(50px);
}

.phone-center .phone-screen {
  background: #000000;
  border: 1.5px solid #dcdcdc;
  justify-content: center;
  padding: 20px;
}

.phone-center .phone-notch {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-top: none;
}

.phone-center .phone-home {
  border: 1.5px solid #dcdcdc;
  background: #fafafa;
}

/* Dark Phone (Sides) */
.phone-dark {
  background: #1e1e1e;
  border: 4px solid #2d2d2d;
  opacity: 0.8;
  z-index: 3;
}

.phone-dark .phone-screen {
  background: #0d0f0e;
  border: 1.5px solid #282828;
}

.phone-dark .phone-home {
  border: 1.5px solid #333333;
  background: #111111;
}

.phone-left {
  transform: rotateY(18deg) translateZ(-60px) translateX(-130px);
}

.phone-right {
  transform: rotateY(-18deg) translateZ(-60px) translateX(130px);
}

/* Center Phone Content styling */
.phone-offer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-green-headline {
  color: var(--accent-green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.phone-logo {
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1px;
  line-height: 1;
}

.phone-divider {
  width: 40px;
  height: 2px;
  background: var(--accent-green);
  margin: 15px 0;
}

.phone-sub-headline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-white);
  margin-bottom: 12px;
  opacity: 0.9;
}

.phone-large-amount {
  color: var(--accent-green);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 5px;
  text-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

.phone-plus-fs {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
}

/* Left Phone App Screen styling */
.app-header {
  display: flex;
  align-items: center;
  padding: 22px 12px 8px;
  background: #121614;
  border-bottom: 1px solid #1c221e;
  font-size: 11px;
}

.app-logo {
  font-weight: 800;
  font-style: italic;
  font-size: 12px;
}

.app-logo .yellow {
  color: var(--accent-yellow);
}

.app-menu-btn {
  margin-left: auto;
  font-size: 14px;
  color: var(--accent-yellow);
}

.app-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.app-card-green {
  background: linear-gradient(135deg, #0c2b1d 0%, #03150e 100%);
  border: 1px solid #144931;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.app-card-title {
  font-size: 8px;
  color: var(--text-white);
  opacity: 0.7;
  font-weight: 600;
}

.app-card-percent {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent-green);
  line-height: 1.1;
  margin: 2px 0;
}

.app-card-sub {
  font-size: 9px;
  color: var(--text-white);
  font-weight: 600;
}

.app-btn-yellow {
  background: var(--accent-yellow);
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 8px;
  width: 100%;
}

.app-grid-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.app-grid-item {
  background: #141816;
  border-radius: 6px;
  padding: 6px 2px;
  text-align: center;
  font-size: 10px;
}

.app-grid-item span {
  font-size: 7px;
  display: block;
  margin-top: 2px;
  color: var(--text-grey);
}

.app-section-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-grey);
  margin-top: 5px;
}

.app-list-simple {
  list-style: none;
  font-size: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-list-simple li {
  background: #141816;
  padding: 6px;
  border-radius: 4px;
  color: #ddd;
}

/* Right Phone App Screen styling */
.justify-between {
  justify-content: space-between;
}

.app-header-actions {
  display: flex;
  gap: 4px;
}

.app-badge-login {
  font-size: 7px;
  padding: 3px 6px;
  border: 1px solid #444;
  border-radius: 4px;
}

.app-badge-register {
  font-size: 7px;
  padding: 3px 6px;
  background: var(--accent-yellow);
  color: #000;
  font-weight: 700;
  border-radius: 4px;
}

.app-filter-tabs {
  display: flex;
  padding: 6px;
  background: #121614;
  gap: 4px;
}

.app-filter-tabs .tab {
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #19201c;
}

.app-filter-tabs .tab.active {
  background: var(--accent-yellow);
  color: #000;
  font-weight: 700;
}

.app-odds-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  flex: 1;
}

.match-item {
  background: #121614;
  border: 1px solid #1c221e;
  border-radius: 8px;
  padding: 8px;
}

.match-teams {
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.match-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.match-odds span {
  background: #19201c;
  font-size: 7px;
  padding: 4px 2px;
  border-radius: 4px;
  text-align: center;
  color: var(--text-grey);
}

.match-odds b {
  color: var(--accent-yellow);
}

/* Call to Action Section */
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
}

.arrow-title {
  color: var(--accent-yellow);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 184, 0, 0.3);
  margin-bottom: 10px;
  letter-spacing: -2px;
}

.cta-subtitle {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cta-small-text {
  font-size: 15px;
  color: var(--text-grey);
  margin-bottom: 15px;
  font-weight: 500;
}

.bonus-box-green {
  font-size: 34px;
  font-weight: 900;
  color: var(--accent-green);
  border: 2px solid var(--accent-green);
  border-radius: 12px;
  padding: 12px 30px;
  margin-bottom: 30px;
  display: inline-block;
  background: rgba(0, 230, 118, 0.05);
  box-shadow: 0 0 30px var(--accent-green-glow);
  text-shadow: 0 0 10px var(--accent-green-glow);
  letter-spacing: 0.5px;
}

/* Promo Container */
.promo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 35px;
}

.promo-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-grey);
  margin-bottom: 8px;
}

.promo-box {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  border: 2px dashed var(--accent-green);
  border-radius: 12px;
  padding: 4px 4px 4px 20px;
  min-width: 280px;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.promo-box:hover {
  border-color: #ffffff;
  transform: translateY(-2px);
}

.promo-code {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--text-white);
  flex-grow: 1;
  text-align: center;
}

.copy-btn {
  background: #0a331c;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--accent-green);
  color: #000000;
}

.copy-tooltip {
  position: absolute;
  bottom: 58px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  border: 1px solid #333;
  white-space: nowrap;
}

.copy-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #111 transparent transparent transparent;
}

.copy-btn:hover .copy-tooltip {
  opacity: 1;
  bottom: 54px;
}

.copy-tooltip.copied {
  background: var(--accent-green);
  color: #000;
  opacity: 1 !important;
  bottom: 54px !important;
}

.copy-tooltip.copied::after {
  border-color: var(--accent-green) transparent transparent transparent;
}

/* Main Registration CTA Button */
.btn-main-register {
  background: linear-gradient(180deg, #ffca28 0%, var(--accent-yellow) 100%);
  color: #000000;
  border: none;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 800;
  padding: 16px 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(255, 184, 0, 0.4);
  transition: all 0.3s ease;
  animation: pulseButton 2s infinite;
  max-width: 90%;
}

.btn-main-register:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 30px rgba(255, 184, 0, 0.6);
  background: linear-gradient(180deg, #ffd54f 0%, var(--accent-yellow-hover) 100%);
}

.arrow-right {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.btn-main-register:hover .arrow-right {
  transform: translateX(5px);
}

@keyframes pulseButton {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 184, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0);
  }
}

/* Benefits Section */
.benefits-section {
  width: 100%;
  margin-bottom: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.benefit-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 230, 118, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.benefit-icon {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

.benefit-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.benefit-desc {
  font-size: 13px;
  color: var(--text-grey);
}

/* Footer Section */
.footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.trust-indicators {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-grey);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.disclaimer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

.disclaimer-text {
  font-size: 12px;
  color: var(--text-grey);
  opacity: 0.8;
  text-align: center;
  line-height: 1.4;
}

.age-limit-badge {
  border: 1px solid var(--text-grey);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-grey);
  flex-shrink: 0;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .logo-container {
    font-size: 52px;
  }
  
  .floating-ball {
    width: 70px;
    height: 70px;
    top: 30px;
    left: 4%;
  }

  .phones-container {
    height: 440px;
    transform: scale(0.9);
  }

  .phone-center {
    height: 420px;
    width: 200px;
  }

  .phone-dark {
    height: 380px;
    width: 180px;
  }
  
  .phone-left {
    transform: rotateY(15deg) translateZ(-40px) translateX(-100px);
  }

  .phone-right {
    transform: rotateY(-15deg) translateZ(-40px) translateX(100px);
  }

  .arrow-title {
    font-size: 54px;
  }

  .cta-subtitle {
    font-size: 20px;
  }

  .bonus-box-green {
    font-size: 24px;
    padding: 10px 20px;
  }

  .btn-main-register {
    font-size: 18px;
    padding: 14px 30px;
  }
}

@media (max-width: 500px) {
  .floating-ball {
    display: none; /* Hide soccer ball on very small screens to avoid clutter */
  }

  .phones-container {
    height: 360px;
    transform: scale(0.75);
    margin: -30px 0;
  }
  
  .phone-left {
    transform: rotateY(12deg) translateZ(-30px) translateX(-85px);
  }

  .phone-right {
    transform: rotateY(-12deg) translateZ(-30px) translateX(85px);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .disclaimer-container {
    flex-direction: column;
    gap: 8px;
  }
}
