:root {
  --primary-color: #FFC107; /* Strong Yellow Accent */
  --gradient-start: #FFFDE7; /* Light Creamy Yellow */
  --gradient-end: #FFFFFF;   /* White */
  --text-light: #f5f5f5;
  --text-dark: #1c1e21;  /* Primary Text Color (Soft Black) */
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(0, 0, 0, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --font-family: 'Poppins', sans-serif;
}

/* Popup/Modal Styles */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.popup-container {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
  position: relative;
}

.popup-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.popup-container.success .popup-icon {
  color: #28a745;
}

.popup-container.error .popup-icon {
  color: #dc3545;
}

.popup-container h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.popup-container.success h3 {
  color: #28a745;
}

.popup-container.error h3 {
  color: #dc3545;
}

.popup-container p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.popup-container p a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.popup-container p a:hover {
  text-decoration: underline;
}

.popup-container .btn {
  margin-top: 1rem;
  min-width: 120px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Enhanced styles for earning methods cards */
.feature-card ul {
  list-style: none;
  padding: 0;
}

.feature-card ul li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.feature-card ul li::before {
  content: '';
  margin-right: 8px;
}

/* Steps container enhancement */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 3rem;
  justify-items: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.step-box {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.step-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.step-icon {
  font-size: 3.5rem;
  color: #667eea;
  margin-bottom: 20px;
  margin-top: 10px;
}

.step-box h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 600;
}

.step-box p {
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
  text-align: center;
  margin: 0;
}

/* Earnings calculator table styling */
table {
  border-collapse: collapse;
  width: 100%;
}

table thead tr {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

table th {
  padding: 15px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

table tbody tr {
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

table tbody tr:hover {
  background-color: #f8f9fa;
}

table td {
  padding: 15px;
  color: #333;
}

/* CTA Section enhancement */
.cta {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  color: white;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: white;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Hero section earning stats boxes */
.hero-content > div {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-content > div > div {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.hero-content > div > div:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.3);
}

/* Reset default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  font-size: 2rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  line-height: 1.2;
}

.tagline {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(28, 30, 33, 0.7);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav a:hover::after, .nav a.active::after {
  width: 100%;
}

.nav a:hover, .nav a.active {
  color: var(--text-dark);
}

.nav-auth-desktop {
  display: flex;
  gap: 0.75rem;
}

.nav-auth-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1rem;
}

.nav-auth-mobile .btn {
  width: 100%;
  text-align: center;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.mobile-nav-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Main Content */
main {
  flex-grow: 1;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 0;
  position: relative;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(28, 30, 33, 0.8);
}

.hero-bonus-highlight {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
}

.hero-bonus-highlight span {
  color: var(--primary-color);
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
}

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

.btn-primary {
  background-color: var(--primary-color);
  color: black;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

.btn-accent {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-accent:hover {
  transform: translateY(-3px);
  background-color: var(--primary-color);
  color: black;
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--card-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 6s ease-in-out infinite;
  color: var(--text-dark);
  z-index: 1;
}
.floating-badge i { color: var(--primary-color); }
.badge-1 { top: 20%; left: 15%; animation-delay: 0s; }
.badge-2 { top: 30%; right: 10%; animation-delay: -2s; }
.badge-3 { bottom: 25%; left: 20%; animation-delay: -4s; }
.badge-4 { bottom: 40%; right: 18%; animation-delay: -6s; }

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

/* Sections */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

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

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* How It Works Section */
.how-it-works {
  background: transparent;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
}

.step-box {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.step-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

.step-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 2;
}

.step-box:hover::before {
  transform: scaleX(1);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--primary-color);
  color: #000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 3;
  border: 2px solid #ffffff;
}

.step-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: 1.5rem 0 1rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.1);
  z-index: 2;
}

.step-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  z-index: 2;
}

.step-box p {
  color: rgba(28, 30, 33, 0.8);
  line-height: 1.6;
  margin-bottom: 0;
  z-index: 2;
}

/* CTA Section */
.cta {
  text-align: center;
}
.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Auth Pages (Login/Signup/Forgot) */
.auth-page {
  display: flex;
  align-items: center;
  padding: 4rem 1rem;
  flex-grow: 1;
  min-height: calc(100vh - 200px);
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-color);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.auth-info {
  background: var(--gradient-start);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text-dark);
  text-align: left;
}

.auth-info .logo-container {
  margin-bottom: 3rem;
  justify-content: flex-start;
}

.auth-info h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.auth-info p {
  margin-bottom: 2rem;
  color: rgba(28, 30, 33, 0.8);
}

.auth-info ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.auth-info ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.auth-info ul li i {
  color: var(--primary-color);
  min-width: 20px;
  text-align: center;
}

.auth-form-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.auth-form-container {
  box-shadow: none;
  border: none;
  padding: 0;
  width: 100%;
  max-width: 400px;
}

.auth-form-container h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 1rem;
  background-color: #f8f9fa;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #6c757d;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -0.75rem;
  left: 0.75rem;
  font-size: 0.8rem;
  color: var(--primary-color);
  background-color: #ffffff;
  padding: 0 0.25rem;
}

.auth-form-container .btn {
  width: 100%;
  margin-top: 1rem;
}

.auth-form-container .form-text {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.auth-form-container .form-text a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.form-options {
  text-align: right;
  margin-bottom: 1rem;
}

.form-options a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: #ffffff;
  padding: 4rem 5% 0;
  border-top: 1px solid var(--card-border);
  color: var(--text-dark);
  margin-top: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.footer-about .logo-container {
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 0.9rem;
  color: rgba(28, 30, 33, 0.7);
  line-height: 1.7;
}

.footer-links-col h4, .footer-social h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 0.75rem;
}

.footer-links-col ul li a {
  color: rgba(28, 30, 33, 0.8);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: black;
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid var(--card-border);
  font-size: 0.9rem;
  color: rgba(28, 30, 33, 0.7);
}

/* Legal and Contact Pages */
.legal-page, .contact-page {
  padding: 4rem 0;
}

.legal-page h1, .contact-page h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: var(--text-dark);
}

.legal-content, .contact-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--card-border);
}

.legal-content h2, .contact-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.legal-content p, .legal-content ul, .contact-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: rgba(28, 30, 33, 0.8);
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-back {
  text-align: center;
  margin-top: 2rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-methods {
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.contact-method h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.2rem;
}

.contact-method p {
  margin: 0;
}

.contact-form-container {
  background: white;
  padding: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    width: 95%;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .cta h2 {
    font-size: 2.2rem;
  }
  
  .auth-container {
    max-width: 95%;
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta h2 {
    font-size: 2rem;
  }
  
  .auth-container {
    max-width: 90%;
  }
  
  .auth-info {
    text-align: center;
  }
  
  .auth-info .logo-container {
    justify-content: center;
  }
  
  .auth-info ul {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1.25rem 4%;
    min-height: 70px;
  }
  
  .logo {
    font-size: 1.4rem;
  }
  
  .tagline {
    font-size: 0.7rem;
  }
  
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 4%;
    gap: 1rem;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav a {
    padding: 0.75rem 0;
    width: 100%;
  }
  
  .nav a::after {
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
  }
  
  .nav-auth-desktop {
    display: none;
  }
  
  .nav-auth-mobile {
    display: flex;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-bonus-highlight {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-bonus-highlight span {
    padding: 0.2rem 0.6rem;
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-card .icon {
    font-size: 2.5rem;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
  }
  
  .steps-container {
    flex-direction: column;
    gap: 2rem;
    grid-template-columns: 1fr;
  }
  
  .step-box {
    padding: 1.5rem;
    max-width: 100%;
  }
  
  .step-number {
    left: 50%;
    transform: translateX(-50%);
    top: -15px;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
    margin-top: 10px;
  }
  
  .step-box h3 {
    font-size: 1.2rem;
  }
  
  .cta h2 {
    font-size: 1.8rem;
  }
  
  .auth-page {
    padding: 2rem 1rem;
    min-height: auto;
  }
  
  .auth-container {
    grid-template-columns: 1fr;
    border-radius: 15px;
    max-width: 100%;
    margin: 0 1rem;
  }
  
  .auth-info {
    padding: 2rem 1.5rem;
    text-align: center;
  }
  
  .auth-info .logo-container {
    margin-bottom: 2rem;
    justify-content: center;
  }
  
  .auth-info h2 {
    font-size: 1.5rem;
  }
  
  .auth-form-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .auth-form-container h1 {
    font-size: 1.5rem;
  }
  
  .form-group input {
    padding: 0.9rem;
  }
  
  .form-group label {
    top: 0.9rem;
    left: 0.9rem;
  }
  
  .auth-info ul {
    align-items: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-about {
    grid-column: span 2;
  }
  
  .footer-links-col {
    grid-column: span 1;
  }
  
  .footer-social {
    grid-column: span 2;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .legal-page h1, .contact-page h1 {
    font-size: 2rem;
  }
  
  .floating-badge {
    display: none;
  }
}

@media (max-width: 576px) {
  .header {
    padding: 1rem 3%;
    min-height: 65px;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  .tagline {
    font-size: 0.65rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.7rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .hero-bonus-highlight {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .cta h2 {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .auth-page {
    padding: 1.5rem 0.75rem;
  }
  
  .auth-container {
    border-radius: 12px;
    margin: 0 0.75rem;
  }
  
  .auth-info {
    padding: 1.5rem 1rem;
    text-align: center;
  }
  
  .auth-info h2 {
    font-size: 1.3rem;
  }
  
  .auth-info p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .auth-info ul li {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  
  .auth-form-wrapper {
    padding: 1.5rem 1rem;
  }
  
  .auth-form-container h1 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1.25rem;
  }
  
  .form-group input {
    padding: 0.8rem;
    font-size: 0.95rem;
  }
  
  .form-group label {
    top: 0.8rem;
    left: 0.8rem;
    font-size: 0.95rem;
  }
  
  .form-group input:focus + label,
  .form-group input:not(:placeholder-shown) + label {
    top: -0.7rem;
    left: 0.6rem;
    font-size: 0.75rem;
  }
  
  .auth-form-container .form-text {
    font-size: 0.85rem;
  }
  
  .auth-info ul {
    align-items: center;
  }
  
  .site-footer {
    padding: 2rem 3% 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-about {
    grid-column: auto;
    text-align: center;
  }
  
  .footer-about .logo-container {
    justify-content: center;
  }
  
  .footer-about p {
    text-align: center;
    padding: 0 1rem;
  }
  
  /* Quick Links and Legal in one row for mobile */
  .footer-links-wrapper {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
  }
  
  .footer-links-col {
    flex: 1;
    text-align: center;
    grid-column: auto;
  }
  
  .footer-links-col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links-col ul li a {
    display: block;
    padding: 0.5rem;
  }
  
  .footer-social {
    grid-column: auto;
    text-align: center;
  }
  
  .footer-links-col h4, .footer-social h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .social-icons {
    gap: 0.75rem;
    justify-content: center;
  }
  
  .social-icons a {
    width: 35px;
    height: 35px;
    font-size: 0.85rem;
  }
  
  .footer-bottom {
    padding: 1rem 0;
    font-size: 0.8rem;
  }
  
  .legal-page h1, .contact-page h1 {
    font-size: 1.5rem;
  }
  
  .legal-content, .contact-content {
    padding: 1.5rem;
  }
  
  .legal-content h2, .contact-content h2 {
    font-size: 1.3rem;
  }
  
  .step-box {
    padding: 1.25rem;
  }
  
  .step-number {
    width: 25px;
    height: 25px;
    font-size: 0.9rem;
    top: -12px;
    left: 15px;
  }
  
  .step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.75rem;
  }
  
  .step-box h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 90%;
    padding: 1.5rem 0;
  }
  
  .header {
    padding: 0.85rem 2%;
    min-height: 60px;
  }
  
  .logo-container {
    gap: 0.5rem;
  }
  
  .logo-icon {
    font-size: 1.5rem;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .tagline {
    font-size: 0.6rem;
  }
  
  .mobile-nav-toggle {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }
  
  .hero {
    padding: 2.5rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-content p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-bonus-highlight {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-bonus-highlight span {
    padding: 0.15rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 30px;
  }
  
  .section-title {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
  }
  
  .features-grid {
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.25rem;
  }
  
  .feature-card .icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
  
  .step-box {
    padding: 1rem;
  }
  
  .step-number {
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
    top: -11px;
    left: 12px;
  }
  
  .step-icon {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .step-box h3 {
    font-size: 1rem;
  }
  
  .step-box p {
    font-size: 0.85rem;
  }
  
  .cta h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .cta p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .auth-page {
    padding: 1rem 0.5rem;
  }
  
  .auth-container {
    border-radius: 10px;
    margin: 0 0.5rem;
  }
  
  .auth-info {
    padding: 1.25rem 0.75rem;
  }
  
  .auth-info .logo-container {
    margin-bottom: 1.5rem;
  }
  
  .auth-info h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  
  .auth-info p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }
  
  .auth-info ul li {
    gap: 0.4rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
  }
  
  .auth-form-wrapper {
    padding: 1.25rem 0.75rem;
  }
  
  .auth-form-container h1 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
  }
  
  .auth-form-container .btn {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group input {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .form-group label {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.9rem;
  }
  
  .form-group input:focus + label,
  .form-group input:not(:placeholder-shown) + label {
    top: -0.65rem;
    left: 0.55rem;
    font-size: 0.7rem;
  }
  
  .auth-form-container .form-text {
    font-size: 0.8rem;
    margin-top: 1rem;
  }
  
  .form-options {
    margin-bottom: 0.75rem;
  }
  
  .form-options a {
    font-size: 0.8rem;
  }
  
  .auth-info ul {
    align-items: center;
  }
  
  .site-footer {
    padding: 1.5rem 2% 0;
  }
  
  .footer-container {
    gap: 1.25rem;
  }
  
  .footer-about p {
    font-size: 0.85rem;
    padding: 0 0.5rem;
  }
  
  /* Adjust Quick Links and Legal for smaller screens */
  .footer-links-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-links-col h4, .footer-social h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  
  .footer-links-col ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-links-col ul li a {
    font-size: 0.85rem;
    padding: 0.4rem;
  }
  
  .social-icons {
    gap: 0.75rem;
    justify-content: center;
  }
  
  .social-icons a {
    width: 35px;
    height: 35px;
    font-size: 0.85rem;
  }
  
  .footer-bottom {
    padding: 1rem 0;
    font-size: 0.8rem;
  }
  
  .legal-page h1, .contact-page h1 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  
  .legal-content, .contact-content {
    padding: 1.25rem;
  }
  
  .legal-content h2, .contact-content h2 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .legal-content h3 {
    font-size: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
  }
  
  .legal-content p, .legal-content ul, .contact-content p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  
  .legal-content ul {
    padding-left: 1.25rem;
  }
  
  .legal-content li {
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
  }
  
  .legal-back .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .contact-content {
    gap: 1.5rem;
  }
  
  .contact-method {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-method i {
    font-size: 1.25rem;
  }
  
  .contact-method h3 {
    font-size: 1rem;
  }
  
  .contact-method p {
    font-size: 0.85rem;
  }
  
  .contact-form-container {
    padding: 1.25rem;
  }
}

@media (max-width: 360px) {
  .header {
    padding: 0.75rem 1.5%;
    min-height: 55px;
  }
  
  .logo-container {
    gap: 0.4rem;
  }
  
  .logo-icon {
    font-size: 1.3rem;
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .tagline {
    font-size: 0.55rem;
  }
  
  .mobile-nav-toggle {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.3rem;
  }
  
  .hero-content p {
    font-size: 0.8rem;
  }
  
  .hero-bonus-highlight {
    font-size: 0.8rem;
  }
  
  .hero-bonus-highlight span {
    padding: 0.1rem 0.4rem;
    font-size: 0.7rem;
  }
  
  .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .feature-card {
    padding: 1rem;
  }
  
  .feature-card .icon {
    font-size: 1.75rem;
    width: 50px;
    height: 50px;
  }
  
  .feature-card h3 {
    font-size: 1rem;
  }
  
  .feature-card p {
    font-size: 0.8rem;
  }
  
  .step-box {
    padding: 0.8rem;
    max-width: 100%;
  }
  
  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .step-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    margin-top: 8px;
  }
  
  .step-box h3 {
    font-size: 0.95rem;
  }
  
  .step-box p {
    font-size: 0.8rem;
  }
  
  .auth-container {
    margin: 0 0.25rem;
  }
  
  .auth-info {
    padding: 1rem 0.5rem;
    text-align: center;
  }
  
  .auth-info h2 {
    font-size: 1.1rem;
  }
  
  .auth-info p {
    font-size: 0.8rem;
  }
  
  .auth-info ul li {
    font-size: 0.8rem;
  }
  
  .auth-form-wrapper {
    padding: 1rem 0.5rem;
  }
  
  .auth-form-container h1 {
    font-size: 1.1rem;
  }
  
  .form-group input {
    padding: 0.65rem;
    font-size: 0.85rem;
  }
  
  .form-group label {
    top: 0.65rem;
    left: 0.65rem;
    font-size: 0.85rem;
  }
  
  .form-group input:focus + label,
  .form-group input:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.5rem;
    font-size: 0.65rem;
  }
  
  .auth-form-container .btn {
    padding: 0.65rem;
    font-size: 0.85rem;
  }
  
  .auth-form-container .form-text {
    font-size: 0.75rem;
  }
  
  .auth-info ul {
    align-items: center;
  }
  
  .footer-links-col h4, .footer-social h4 {
    font-size: 0.9rem;
  }
  
  .footer-links-col ul li a {
    font-size: 0.8rem;
  }
  
  .social-icons a {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  .footer-bottom {
    font-size: 0.75rem;
  }
}
