/* Simple Unified Blue Background for Homepage */
#main-page {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  min-height: 100vh;
  position: relative;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  background: transparent; /* Remove individual background */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Hero background handled by main-page wrapper */

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: slideInLeft 1s ease-out;
}

.hero-text p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  animation: slideInLeft 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideInLeft 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: var(--primary-light);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

.hero-image {
  animation: slideInRight 1s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Phone Mockup */
.phone-mockup {
  width: 300px;
  height: 600px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: rotate(5deg);
  animation: float 6s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: url('/images/IceBackground.png') center/cover no-repeat;
  background-color: #87CEEB;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.phone-screen .playercard-mockup {
  width: 240px;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  flex-shrink: 0;
  transform: translateX(-10px);
}

.phone-screen .logo-mockup {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: auto;
  object-fit: contain;
}

.phone-screen .fake-button {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 71, 171, 0.3);
  white-space: nowrap;
}

/* Features Section */
.features {
  padding: 5rem 2rem;
  background: var(--light);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.8;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: rotate(5deg) translateY(0px);
  }
  50% {
    transform: rotate(5deg) translateY(-20px);
  }
}

/* Account Deletion Section */
.account-page {
  min-height: 100vh;
  padding-top: 100px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: none;
}

.account-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
}

.account-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.account-card h1 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.subtitle {
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Player Showcase Section */
.player-showcase-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.player-showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.player-showcase-container h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 900;
}

.showcase-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

.showcase-info {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* Total Shots Counter Section */
.total-shots-section {
  padding: 3rem 2rem;
  background: transparent; /* Remove separate background */
  position: relative;
  overflow: visible;
  min-height: 200px;
}


.total-shots-container {
  max-width: 800px;
  margin: 0 auto;
}

.total-shots-card {
  background: white;
  border-radius: 20px;
  padding: 2rem 3rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

.total-shots-card h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.shots-counter-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 120px;
  overflow: visible;
}

/* Simple Counter */
.simple-counter {
  display: inline-block;
  background: linear-gradient(145deg, #1e293b, #334155);
  padding: 1.5rem 3rem;
  border-radius: 16px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.counter-number {
  font-size: 3rem;
  font-weight: 900;
  color: #60a5fa;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
  font-family: 'Inter', monospace;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.counter-number.updating {
  transform: scale(1.05);
  color: #3b82f6;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .hero {
    margin-top: 80px;
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-image {
    max-width: 280px;
  }
  
  /* Features section */
  .features {
    padding: 3rem 1rem;
  }
  
  .features-container {
    padding: 0;
  }
  
  .features h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
  }
  
  .feature-card p {
    font-size: 0.95rem;
  }
  
  /* Total shots section */
  .total-shots-section {
    padding: 3rem 1rem;
  }
  
  .total-shots-card {
    padding: 2rem 1.5rem;
  }
  
  .total-shots-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .simple-counter {
    padding: 1rem 2rem;
  }
  
  .counter-number {
    font-size: 2.5rem;
  }
  
  /* Why Choose section */
  .why-choose {
    padding: 3rem 1rem;
  }
  
  .why-choose h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .reason-card {
    padding: 2rem 1.5rem;
  }
  
  .reason-card h3 {
    font-size: 1.25rem;
  }
  
  .reason-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 0;
  }
  
  .hero-content {
    padding: 0.75rem;
    gap: 1.5rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-buttons .btn {
    max-width: 250px;
    padding: 0.875rem 1.5rem;
  }
  
  .hero-image {
    max-width: 240px;
  }
  
  /* Features section */
  .features {
    padding: 2.5rem 0.75rem;
  }
  
  .features h2 {
    font-size: 1.75rem;
  }
  
  .features-grid {
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem 1rem;
  }
  
  .feature-card h3 {
    font-size: 1.125rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
  
  /* Total shots section */
  .total-shots-section {
    padding: 2.5rem 0.75rem;
  }
  
  .total-shots-card {
    padding: 1.5rem 1rem;
  }
  
  .total-shots-card h2 {
    font-size: 1.75rem;
  }
  
  .simple-counter {
    padding: 0.8rem 1.5rem;
  }
  
  .counter-number {
    font-size: 2rem;
  }
  
  /* Why Choose section */
  .why-choose {
    padding: 2.5rem 0.75rem;
  }
  
  .why-choose h2 {
    font-size: 1.75rem;
  }
  
  .reasons-grid {
    gap: 1.5rem;
  }
  
  .reason-card {
    padding: 1.5rem 1rem;
  }
  
  .reason-card h3 {
    font-size: 1.125rem;
  }
  
  .reason-card p {
    font-size: 0.9rem;
  }
}

.refresh-shots-btn {
  background: var(--primary);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.refresh-shots-btn:hover {
  transform: rotate(180deg);
  background: var(--primary-dark);
}

.refresh-shots-btn:active {
  transform: rotate(180deg) scale(0.95);
}

.shots-loading {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Removed pulse animation - using flip clock instead */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Icons */
.btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* Make icons white */
}

/* Feature Icons */
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
  transition: all 0.3s ease;
}

.feature-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1); /* Make icons white */
}

.feature-card:hover .feature-icon {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.4);
}

/* Enhanced Total Shots Section */
.total-shots-section.featured-stat {
  background: transparent; /* Remove overlay - use main background */
  border-top: none; /* Remove border */
  position: relative;
  z-index: 2;
}

.total-shots-section.featured-stat .total-shots-card {
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: none;
}

.total-shots-section.featured-stat .total-shots-card::before {
  display: none;
}

/* Remove refresh button styles since it's removed */
.refresh-shots-btn {
  display: none !important;
}

/* Download CTA Section - blend with unified background */
#main-page .download-cta-section {
  background: transparent !important; /* Fully transparent - use main background */
  margin-top: 0 !important; /* Remove margin to create seamless flow */
  position: relative;
  z-index: 2;
}

/* Global icon styling for consistency across pages */
.reason-icon,
.card-icon,
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
  transition: all 0.3s ease;
}

.reason-icon img,
.card-icon img,
.value-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1); /* Make icons white */
}

.reason-card:hover .reason-icon,
.contest-card:hover .card-icon,
.value-card:hover .value-icon {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.4);
}
