* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: hsl(280, 65%, 55%);
    --secondary-color: hsl(220, 90%, 56%);
    --accent-color: hsl(330, 75%, 60%);
    --background-color: hsl(0, 0%, 100%);
    --foreground-color: hsl(220, 15%, 20%);
    --card-color: hsl(0, 0%, 100%);
    --muted-color: hsl(220, 15%, 96%);
    --muted-foreground: hsl(220, 10%, 45%);
    --border-color: hsl(220, 15%, 90%);
    
    --gradient-primary: linear-gradient(135deg, hsl(280, 65%, 55%), hsl(330, 75%, 60%));
    --gradient-secondary: linear-gradient(135deg, hsl(220, 90%, 56%), hsl(280, 65%, 55%));
    --shadow-glow: 0 10px 40px -10px hsla(280, 65%, 55%, 0.4);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--foreground-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1rem 0;
    background: transparent; /* Make header transparent by default */
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgb(165, 66, 215);
    text-decoration: none;
    transition: var(--transition-smooth);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card);
    min-width: 200px;
    margin-top: 0.5rem;
    padding: 0.5rem;
    display: none;
    z-index: 100;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--foreground-color);
    text-decoration: none;
    border-radius: 0.25rem;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    background: var(--muted-color);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgb(165, 66, 215);
}

.menu-icon {
    width: 24px;
    height: 24px;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    color: rgb(165, 66, 215);
    text-decoration: none;
    transition: var(--transition-smooth);
    text-align: left;
}

.nav-link-mobile:hover {
    color: var(--primary-color);
}

/* CTA Buttons */
.cta-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.cta-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.cta-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.cta-header {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 900px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    width: 20px;
    height: 20px;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.section-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* CSS - place in your stylesheet or inside <style> */
.trending-now {
  position: absolute;
  top: 60px;            /* adjust to match your hero */
  right: 28px;          /* adjust spacing from right edge */
  width: 350px;   /* change if you want wider/narrower */
  background: rgba(0,0,0,0.45);
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  font-family: "Inter", "Helvetica", Arial, sans-serif;
}

.trending-title {
  padding: 10px 12px;
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-list {
  height: calc(100vh - 110px); /* Adjust height to fill the hero section */
  overflow: hidden;
  position: relative;
}

.scrolling-content {
  display: flex;
  flex-direction: column;
  /* duration: increase for slower scroll, decrease for faster */
  animation: scroll-up 80s linear infinite;
}

.items {
  display: flex;
  flex-direction: column;
}

/* Each user item */
.user-item {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
  color: #fff;
  display: block;
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0));
}

/* top row: name + count */
.user-item .left {
  display: inline-block;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.user-item .right {
  float: right;
  font-weight: 700;
  color: #ffd166;
}

/* small location text under the name */
.user-item .loc {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  clear: both;
}

/* small green dot for online */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.dot.online { background: #2ecc71; box-shadow: 0 0 6px rgba(46,204,113,0.35); }

@keyframes scroll-up {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-50%); /* because we duplicated items, -50% cycles perfectly */
  }
}

/* small responsive tweak */
@media (max-width: 1024px) {
  .hero-section .trending-now { display: none; } /* hide on small screens */
}

/* Mobile Sidebar Toggle Button */
.mobile-sidebar-toggle {
    display: none; /* Hidden by default, shown in media query */
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 1rem 0.5rem;
    cursor: pointer;
    z-index: 1003;
    box-shadow: var(--shadow-glow);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.mobile-sidebar-toggle:hover {
    opacity: 0.9;
}

@media (max-width: 1200px) {
  .hero-section .trending-now {
    display: none;
  }
  .mobile-only-sidebar {
    display: block;
  }
  .mobile-sidebar-toggle {
    display: flex;
  }
}

/* About Section */
.about-section {
    background: var(--muted-color);
}

.about-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    background: var(--muted-color);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.feature-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-card {
    background: var(--card-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    text-align: center;
}

.feature-card:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    margin: 0 auto 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--muted-foreground);
}

.feature-center {
    display: flex;
    justify-content: center;
}

.feature-image {
    width: 100%;
    max-width: 400px;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    position: relative;
    background: var(--card-color);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition-smooth);
}

.step-card:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
}

.step-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin: 1rem auto 1rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--muted-foreground);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--muted-color);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--card-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    animation: fadeIn 0.6s ease-out;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-glow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    font-size: 2.5rem;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    width: 16px;
    height: 16px;
    fill: #fbbf24;
    color: #fbbf24;
}

.testimonial-text {
    color: var(--muted-foreground);
    font-style: italic;
}

/* Global Community Section */
.global-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.map-container {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin: 3rem 0;
}

.map-image {
    width: 100%;
    height: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--muted-foreground);
}

/* Comparison Section */
.comparison-section {
    background: var(--muted-color);
}

.table-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-weight: 600;
    background: var(--muted-color);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

.highlight-row {
    background: var(--gradient-primary);
    color: white;
}

.highlight-row td {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.best-badge {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: var(--muted-color);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    color: var(--muted-foreground);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* Bottom CTA Section */
.bottom-cta-section {
    background: var(--gradient-primary);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--card-color);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* Footer Social Icons */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* 24px */
    margin: 2rem 0;
}

.footer-social-link {
    color: var(--muted-foreground);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-separator {
    color: var(--muted-foreground);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Mobile CTA */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

.mobile-cta.visible {
    display: block;
}

.cta-mobile {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

/* Language Switcher Dropdown */
.language-dropdown {
    position: relative;
    margin-top: 1.5rem;
    display: inline-block;
}

.language-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--muted-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: var(--transition-smooth);
}

.language-dropdown-toggle:hover {
    background-color: var(--border-color);
    color: var(--foreground-color);
}

.language-dropdown-toggle svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.language-dropdown-menu {
    position: absolute;
    bottom: 100%; /* Position it above the button */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    min-width: 150px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    z-index: 1010;
    display: none; /* Hidden by default */
}

.language-dropdown-menu.active {
    display: block;
}

.language-dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--foreground-color);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.language-dropdown-item:hover {
    background-color: var(--muted-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-toggle { display: block; }    
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
}
/* Giveaway Popup Styles */
:root {
    --popup-overlay-bg: rgba(0, 0, 0, 0.7);
    --popup-content-bg: hsl(0, 0%, 100%);
    --popup-border-radius: 12px;
    --popup-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --popup-title-color: var(--foreground-color);
    --popup-subtitle-color: var(--muted-foreground);
    --popup-input-bg: var(--muted-color);
    --popup-input-border: var(--border-color);
    --popup-input-focus-border: var(--primary-color);
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--popup-overlay-bg);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    position: relative;
    background-color: var(--popup-content-bg);
    border-radius: var(--popup-border-radius);
    box-shadow: var(--popup-box-shadow);
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.75rem;
    color: var(--muted-foreground);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.popup-close:hover {
    color: var(--foreground-color);
}

.popup-timer {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.popup-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--popup-title-color);
    margin-bottom: 0.5rem;
}

.popup-subtitle {
    font-size: 1rem;
    color: var(--popup-subtitle-color);
    margin-bottom: 1.5rem;
}

.popup-step {
    display: none;
}

.popup-step.active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

.form-group {
    text-align: left;
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--popup-input-border);
    background-color: var(--popup-input-bg);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--popup-input-focus-border);
    box-shadow: 0 0 0 3px hsla(280, 65%, 55%, 0.2);
}

.btn-block {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.popup-or-separator {
    margin: 1.5rem 0;
    color: var(--muted-foreground);
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-outline {
    width: 100%;
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
}

.btn-outline:hover {
    background: var(--muted-color);
}

#popup-thank-you {
    padding: 2rem 0;
}

.loader {
    border: 4px solid var(--muted-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 1.5rem auto 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for mobile devices */
@media (max-width: 480px) {
    .popup-content {
        padding: 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .popup-title {
        font-size: 1.5rem; /* 24px */
    }

    .popup-subtitle {
        font-size: 0.9rem; /* 14.4px */
        margin-bottom: 1.25rem;
    }
}