
:root {
  --bg-light: #f0f2f5;
  --wa-teal-dark: #008069;
  --wa-teal-light: #00a884;
  --wa-green-btn: #25d366;
  --text-main: #111b21;
  --text-secondary: #54656f;
  --card-white: #ffffff;
  --border-soft: #e9edef;
}

body {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

header {
  background: var(--wa-teal-dark);
  padding: 0.8rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 1px;
}

.auth-nav {
  display: flex;
  align-items: center;
}

.auth-nav .btn-login {
  color: #ffffff;
  text-decoration: none;
  margin-right: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 480px) {

  .auth-nav .btn-login { display: none; } 
  
  .section-header h2 { font-size: 1.2rem; }
  
  .btn-cta {
    width: 100%;
    text-align: center;
  }
}

.hero {
  background: #ffffff;
  padding: 100px 10% 80px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--wa-teal-dark);
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 40px;
}


.btn-cta {
  background-color: var(--wa-green-btn);
  color: white;
  padding: 16px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  transform: translateY(-2px);
  background-color: #20bd5a;
}

.market-preview {
  padding: 60px 10%;
  max-width: 1200px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.card {
  background: var(--card-white);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: 0.3s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: #e7f5f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--wa-teal-dark);
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 15px;
  color: var(--wa-teal-dark);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}


.live-odds-section {
  padding: 40px 10%;
  background-color: var(--bg-light);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap; 
  gap: 10px;
}

.section-header h2 {
  color: var(--wa-teal-dark);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.view-all {
  color: var(--wa-teal-light);
  text-decoration: none;
  font-weight: 600;
}

.pulse {
  width: 10px;
  height: 10px;
  background-color: #ff4b4b;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}


.odds-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.odds-card {
  background: var(--card-white);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-soft);
}

.league {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
  text-align: left;
}

.match-teams {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  text-align: left;
}

.odds-grid {
  display: flex;
  gap: 10px;
}

.odd-box {
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  padding: 10px 20px;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  min-width: 70px;
  transition: 0.2s;
}

.odd-box:hover {
  border-color: var(--wa-teal-light);
  background: #e7f5f2;
}

.odd-box .label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.odd-box .price {
  font-weight: 800;
  color: var(--wa-teal-dark);
}

/* Active State (JS Toggles This) */
.odd-box.active {
  background: var(--wa-teal-dark);
  border-color: var(--wa-teal-dark);
}

.odd-box.active .price,
.odd-box.active .label {
  color: white;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 20, 26, 0.7); 
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.modal-card {
  background: white;
  width: 90%;
  max-width: 450px;
  padding: 40px;
  border-radius: 20px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.bonus-badge {
  background: #e7f5f2;
  color: var(--wa-teal-dark);
  display: inline-block;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.modal-card h2 {
  font-size: 2rem;
  color: var(--wa-teal-dark);
  margin-bottom: 15px;
}

.modal-card .highlight {
  color: var(--wa-green-btn);
}

.modal-card p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.btn-cta-popup {
  background-color: var(--wa-green-btn);
  color: white;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  display: block;
  transition: 0.3s;
}

.btn-cta-popup:hover {
  background-color: #1ebc56;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #ccc;
  cursor: pointer;
}

.modal-card .terms {
  font-size: 0.7rem;
  margin-top: 20px;
  opacity: 0.6;
}

footer {
  padding: 60px 10% 40px;
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  max-width: 700px;
  margin: 20px auto;
}


@media (max-width: 768px) {

  .hero h1 {
    font-size: 2.5rem;
  }


  .odds-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .odds-grid {
    width: 100%;
  }

  .odd-box {
    flex: 1; 
  }
}

.app-download {
  background: var(--wa-teal-dark);
  color: white;
  padding: 80px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden; 
}

.app-content {
  max-width: 500px;
}

.app-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.app-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.app-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-store {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-store .small-text {
  font-size: 0.6rem;
  text-transform: uppercase;
}

.btn-store .big-text {
  font-size: 1.1rem;
  font-weight: 700;
}

.app-visual {
  position: relative;
}

/* .phone-mockup {
  width: 200px;
  height: 380px;
  background: var(--text-main);
  border-radius: 30px;
  border: 4px solid #444;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;

  background-image: linear-gradient(135deg, var(--wa-teal-dark) 0%, var(--wa-teal-light) 100%);
} */


.phone-mockup {
  width: 200px;
  height: 380px;
  background: var(--text-main);
  border-radius: 30px;
  border: 4px solid #444;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden; /* Ensures the background doesn't bleed out */

  /* Combined gradients and the Taruma logo */
  background-image: 
    url('https://i.postimg.cc/wMHkwtDD/IMG01-K5-RAHQC4-KC4-M8-CFZE8-SHEJ1-G.webp'), 
    linear-gradient(135deg, var(--wa-teal-dark) 0%, var(--wa-teal-light) 100%);
  
  /* Positioning the logo in the center of the "screen" */
  background-repeat: no-repeat;
  background-position: center 30%; /* Positioned slightly higher like a splash screen */
  background-size: 140px auto, cover; /* Scale logo to fit while keeping gradient cover */
}

/* Optional: Add a "Screen Shine" effect for extra realism */
.phone-mockup::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    105deg, 
    transparent 40%, 
    rgba(255, 255, 255, 0.1) 45%, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent 55%
  );
  pointer-events: none;
}
@media (max-width: 768px) {
  .app-download {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .auth-nav .btn-login { display: none; } 
  
  .app-buttons {
    justify-content: center;
  }

  .logos{
    flex-wrap: wrap;
  padding: 0px 20px;
  justify-content: center;
  }
}

.trust-strip {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 10%;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.logos {
  display: flex;
  gap: 25px;
  align-items: center;
  opacity: 0.6;
}

.logo-item {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-secondary);
  /* If using images, add: filter: grayscale(100%); */
}

/* =========================================
   NEW TECH FOOTER STYLES
   ========================================= */
.main-footer {
  background: #ffffff; /* Matches your current footer background */
  border-top: 1px solid var(--border-soft);
  padding: 60px 10% 40px;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
}

/* Brand Section Styling */
.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.5s;
}

.footer-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-title {
  color: var(--text-main);
  font-weight: 800;
  font-size: 11px;
  margin: 0 0 5px 0;
}

.brand-sub {
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1px;
}

/* Links Columns */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.column-title {
  color: var(--wa-teal-dark);
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 8px;
  margin-bottom: 5px;
  display: inline-block;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 10px;
  letter-spacing: 1px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--wa-teal-light);
  transform: translateX(5px);
}

/* Bottom Tech Bar */
.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-size: 10px;
  color: #cccccc;
  font-family: monospace;
}

.tech-tag {
  margin: 0 10px;
}

/* Responsive Fix for Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
  }
  
  .footer-brand {
    grid-column: span 2;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .column-title {
    width: 100%;
  }
}

/* =========================================
   INTEGRATED TECH FOOTER (READABILITY UPDATE)
   ========================================= */
.main-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
  padding: 80px 10% 60px; /* Slightly more breathing room */
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
}

.footer-logo {
  height: 70px; /* Slightly larger logo */
  margin-bottom: 25px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.5s ease-in-out;
}

.footer-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-title {
  color: var(--text-main);
  font-weight: 800;
  font-size: 14px; /* Increased from 11px */
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.brand-sub {
  color: var(--text-secondary);
  font-size: 12px; /* Increased from 10px */
  line-height: 1.8;
}

.column-title {
  color: var(--wa-teal-dark);
  font-size: 13px; /* Increased from 11px */
  font-weight: 700;
  letter-spacing: 2px;
  border-bottom: 2px solid var(--wa-teal-light); /* Stronger indicator */
  padding-bottom: 10px;
  margin-bottom: 15px;
  display: block;
}

.link-item {
  display: block;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px; /* Increased from 10px */
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  transition: 0.3s;
}

.link-item:hover {
  color: var(--wa-teal-light);
  transform: translateX(8px); /* More noticeable hover */
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-size: 12px; /* Increased from 10px */
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 1px;
}

.tech-tag {
  margin: 0 8px;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-brand {
    grid-column: span 2;
    text-align: center;
    margin-bottom: 30px;
  }
  .brand-title { font-size: 16px; }
  .link-item { font-size: 14px; } /* Larger links on touch devices */
}