/* Tailwind cuidará do grid e largura dos cards; removendo guardas específicos para evitar conflitos */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Orbitron:wght@500;700&display=swap');

/* 1.2. Global Variables */
:root {
  /* Core palette */
  --color-bg: #000000;
  --color-surface: #1a1a1a;
  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.7);

  --color-brand-1: #03bb04; /* primary green */
  --color-brand-2: #02b705; /* hover/secondary green */
  --color-brand-3: #0e9a24; /* darker green */
  --color-success: #22c55e;
  --color-accent: rgb(3, 187, 4);

  /* Neutral grays */
  --color-gray-100: #f5f5f5;
  --color-gray-300: #9ca3af;
  --color-gray-400: #6b7280;
  --color-gray-600: #374151;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--color-brand-2), var(--color-brand-1));
  --gradient-success: linear-gradient(135deg, #22c55e, #16a34a);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Spacing/Layout */
  --spacing-unit: 8px;
  --container-max-width: 1280px;
}

/* 1.3. Base Styles & Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-secondary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* 1.4. Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary-text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

p, span, label, td, th {
  font-family: var(--font-secondary);
  color: var(--secondary-text);
  line-height: 1.6;
}

a {
  color: var(--primary-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-gradient-to);
}

/* 1.5. Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 0.5rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 100%;
  padding: 0 1rem;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  min-width: 60px;
  position: relative;
}

.mobile-nav-item:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.mobile-nav-item.active {
  color: var(--color-text-primary);
}

.mobile-nav-item.active .nav-icon {
  background: linear-gradient(135deg, var(--accent-gradient-from), var(--accent-gradient-to));
  box-shadow: 0 4px 15px rgba(3, 187, 4, 0.3);
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-icon i {
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.mobile-nav-item:hover .nav-icon {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.mobile-nav-item.active .nav-icon i {
  color: var(--primary-text);
}

.nav-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.mobile-nav-item:hover .nav-label {
  color: rgba(255, 255, 255, 0.8);
}

.mobile-nav-item.active .nav-label {
  color: var(--primary-text);
  font-weight: 600;
}

/* Wallet icon special styling */
.wallet-icon {
  background: linear-gradient(135deg, var(--accent-gradient-from), var(--accent-gradient-to));
  box-shadow: 0 4px 15px rgba(3, 187, 4, 0.3);
}

.mobile-nav-item.active .wallet-icon {
  background: linear-gradient(135deg, var(--accent-gradient-from), var(--accent-gradient-to));
  box-shadow: 0 6px 20px rgba(3, 187, 4, 0.4);
  transform: scale(1.1);
}

/* Add bottom padding to main content when mobile nav is visible */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
  
  .mobile-bottom-nav {
    display: block;
  }
  
  /* Hide desktop navigation on mobile */
  .desktop-nav {
    display: none;
  }
  
  /* Adjust header for mobile */
  .main-header {
    padding: 0.5rem 0;
  }
  
  .main-header .container {
    padding: 0 1rem;
  }
}

/* 1.6. Add to Home Screen Banner */
.add-to-home-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--accent-gradient-from), var(--accent-gradient-to));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1001;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 20px rgba(3, 187, 4, 0.3);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  gap: 1rem;
}

.banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

.banner-icon i {
  font-size: 1.2rem;
  color: white;
}

.banner-text {
  flex: 1;
  min-width: 0;
}

.banner-text h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.banner-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.3;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.install-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.install-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.install-btn i {
  font-size: 0.9rem;
}

.close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: scale(1.1);
}

.close-btn i {
  font-size: 1rem;
}

/* Install Instructions Modal */
.install-instructions {
  margin: 1.5rem 0;
}

.instruction-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.instruction-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.instruction-item h3 i {
  color: var(--accent-gradient-to);
}

.instruction-item ol {
  margin: 0;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.instruction-item li {
  margin-bottom: 0.5rem;
}

.instruction-item strong {
  color: white;
  font-weight: 600;
}

.instruction-item i {
  color: var(--accent-gradient-to);
  margin: 0 0.25rem;
}

.modal-description {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.modal-footer {
  margin-top: 2rem;
  text-align: center;
}

/* Adjust header when banner is visible */
.add-to-home-banner + .main-header {
  margin-top: 80px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .banner-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .install-btn {
    flex: 1;
    justify-content: center;
  }
  
  .banner-text h3 {
    font-size: 0.85rem;
  }
  
  .banner-text p {
    font-size: 0.75rem;
  }
}

/* 3. COMPONENTS */

/* 3.1. Embla Carousel */




/* 3.2. Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  padding: 16px 0;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-image {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
    z-index: 1000;
}

.user-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.user-btn:hover {
    background: rgba(2, 183, 5, 0.12);
    border-color: var(--color-brand-2);
    transform: translateY(-1px);
}

.user-btn:active {
    transform: translateY(0);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    background-color: #000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-brand-2);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(2, 183, 5, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
    pointer-events: none;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-brand-2), var(--color-brand-1), transparent);
}

.user-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(2, 183, 5, 0.12);
    border-color: var(--color-brand-2);
    transform: translateX(5px);
}

.dropdown-item i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    width: 16px;
    text-align: center;
}

.dropdown-item:hover i {
    color: var(--color-brand-2);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.dropdown-item.logout {
    color: #ef4444;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dropdown-item.logout i {
    color: #ef4444;
}

/* Balance Display */
.balance-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(2, 183, 5, 0.10);
    border: 1px solid rgba(2, 183, 5, 0.20);
    border-radius: 12px;
    color: var(--color-brand-2);
    font-weight: 600;
    font-size: 0.9rem;
}

.balance-display i {
    color: var(--color-brand-2);
}

/* 3.2. Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: all 0.5s ease;
  padding: calc(var(--spacing-unit) * 3);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

/* 3.3. Buttons */
.btn {
  border: none;
  cursor: pointer;
  font-family: var(--font-secondary);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-brand-1), var(--color-brand-3));
    color: var(--primary-text);
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 12px 24px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--primary-text);
}

/* 3.4. Inputs */
.glass-input,
select.glass-input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--primary-text);
  padding: 12px 16px;
  font-family: var(--font-secondary);
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.glass-input:focus,
select.glass-input:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

/* 3.5. Tables */
.glass-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 calc(var(--spacing-unit) * 2);
}

.glass-table th {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  text-align: left;
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
}

.glass-table tr {
    transition: background 0.3s ease;
}

.glass-table tbody tr {
    background: rgba(255, 255, 255, 0.03);
}

.glass-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.07);
}


.glass-table td {
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
  color: var(--primary-text);
}

.glass-table tr td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.glass-table tr td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* 4. UTILITIES & HELPERS */

/* 4.1. Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 calc(var(--spacing-unit) * 2);
}

/* 4.2. On-Scroll Reveal Animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 4.3. Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary-background);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Carrossel */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    margin: calc(var(--spacing-unit) * 4) auto 0;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    transform: translateX(100%);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transform: translateX(0);
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(34, 197, 94, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-nav.prev {
    left: 2rem;
}

.carousel-nav.next {
    right: 2rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.indicator.active {
    background: var(--color-success);
    border-color: var(--color-success);
}

.winners-section {
    padding: 3rem 0;
    margin-top: calc(var(--spacing-unit) * 4);
    overflow: hidden;
}

.winners-container {
    width: 100%;
}

.winners-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.winners-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.total-distributed {
    text-align: right;
}

.distributed-label {
    display: block;
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.distributed-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-success);
    display: block;
}

.winners-carousel {
    position: relative;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.winners-track {
    display: flex;
    gap: 1rem;
    animation: scroll-winners 60s linear infinite;
    width: fit-content;
}

@keyframes scroll-winners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.winner-item {
    flex-shrink: 0;
    width: 280px;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.winner-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.1));
    border: 2px solid rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.winner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-info {
    flex: 1;
    min-width: 0;
}

.winner-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.winner-time {
    font-size: 0.8rem;
    color: #9ca3af;
}

.winner-prize {
    text-align: right;
    flex-shrink: 0;
}

.prize-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-success);
    margin-bottom: 0.25rem;
}

.raspadinhas-showcase {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.raspadinhas-grid {
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1200px) {
  .raspadinhas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .raspadinhas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .raspadinhas-grid { grid-template-columns: 1fr; }
}

.card-banner {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.card-description {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Modal Styles */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.modal-wrapper {
    width: 100%;
}

.modal-card {
    background: #000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(240, 0, 184, 0.1), transparent);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-brand-1), var(--color-brand-3));
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

.modal-close:hover {
    background: rgba(40, 20, 80, 0.9);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.modal-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-icon i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--color-brand-1), var(--color-brand-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-title {
    font-family: 'inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0 0 2rem 0;
    background: linear-gradient(135deg, var(--color-brand-1), var(--color-brand-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    z-index: 2;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(20, 10, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    outline: none;
    border-color: rgba(240, 0, 184, 0.5);
    box-shadow: 0 0 0 3px rgba(240, 0, 184, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-group:focus-within .input-icon {
    color: var(--color-brand-1);
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
}

.quick-amount,
.quick-withdraw {
    padding: 0.75rem 1rem;
    background: rgba(20, 10, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.quick-amount:hover,
.quick-withdraw:hover {
    background: rgba(240, 0, 184, 0.2);
    border-color: rgba(240, 0, 184, 0.3);
    color: white;
    transform: translateY(-2px);
}

.quick-amount.active,
.quick-withdraw.active {
    background: linear-gradient(135deg, rgba(240, 0, 184, 0.3), rgba(0, 240, 255, 0.2));
    border-color: rgba(240, 0, 184, 0.5);
    color: white;
}

/* Submit Button Styles */
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-brand-1), var(--color-brand-3));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(240, 0, 184, 0.3);
    margin-top: 1rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(240, 0, 184, 0.2), rgba(0, 240, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 0, 184, 0.5);
}

.submit-btn:hover::before {
    opacity: 1;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Withdraw Notice */
.withdraw-notice {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.notice-title {
    color: #FFC107;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.notice-text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Balance Card */
.balance-card {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.balance-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.balance-amount {
    color: var(--color-success);
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* QR Code Area */
.qr-area {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-align: center;
}

.qr-area.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.qr-title {
    color: var(--color-success);
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin: 0 0 0.75rem 0;
    text-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

.qr-description {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 0 0 2rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.qr-image {
    width: 250px;
    height: 250px;
    border-radius: 16px;
    border: 3px solid rgba(34, 197, 94, 0.3);
    background: white;
    padding: 15px;
    margin: 1.5rem auto;
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
    display: block;
}

.qr-image:hover {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.2);
}

.qr-input-container {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 400px;
}

.qr-input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: rgba(20, 10, 40, 0.9);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 50px;
}

.qr-input:focus {
    outline: none;
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.copy-btn {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
    background: var(--gradient-success);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 50px;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-backdrop {
        padding: 0.5rem;
    }
    
    .modal-card {
        padding: 2rem 1.5rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .quick-amounts {
        grid-template-columns: 1fr;
    }
    
    .qr-input-container {
        flex-direction: column;
    }
    
    .copy-btn {
        width: 100%;
    }
    
    .qr-image {
        width: 200px;
        height: 200px;
        padding: 10px;
    }
    
    .qr-title {
        font-size: 1.3rem;
    }
    
    .qr-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modal-card {
        padding: 1.5rem 1rem;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }
    
    .modal-icon i {
        font-size: 2.5rem;
    }
}

.footer {
    background-color: #000000;
    margin-top: 6rem;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(1.1);
}

.footer-logo-icon {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

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

.logo-accent {
    background: linear-gradient(45deg, var(--accent-gradient-from), var(--accent-gradient-to));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-copyright {
    color: var(--primary-text);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.footer-disclaimer {
    color: var(--secondary-text);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.footer-social {
    margin-top: 1rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--secondary-text);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gradient-to);
    color: var(--primary-text);
    transform: translateY(-2px);
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-section-title {
    color: var(--primary-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(34, 197, 94, 0.3);
    position: relative;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gradient-from), var(--accent-gradient-to));
}

.footer-section-title i {
    color: var(--accent-gradient-to);
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-text);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 0.75rem;
    transform: translateX(5px);
}

.footer-link::before {
    content: '›';
    color: var(--accent-gradient-to);
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal,
.footer-payment {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-text,
.payment-text {
    color: var(--secondary-text);
    font-size: 0.85rem;
    font-weight: 500;
}

.legal-text::before {
    content: '🛡️';
    margin-right: 0.5rem;
}

.payment-text::before {
    content: '💳';
    margin-right: 0.5rem;
}

/* Perfil Page Styles */
.perfil-section {
    padding: calc(var(--spacing-unit) * 6) 0;
    margin-top: calc(var(--spacing-unit) * 4);
}

.page-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 6);
    padding: calc(var(--spacing-unit) * 4);
}

.user-avatar {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.avatar-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-gradient-from), var(--accent-gradient-to));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(240, 0, 184, 0.3);
}

.avatar-circle::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--accent-gradient-from), var(--accent-gradient-to));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.avatar-text {
    color: var(--primary-text);
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-primary);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: calc(var(--spacing-unit) * 2);
    background: linear-gradient(135deg, var(--primary-text), var(--secondary-text));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-text);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.stat-card {
    padding: calc(var(--spacing-unit) * 3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient-to);
}

.stat-card.saldo::before { 
    background: linear-gradient(180deg, var(--color-success), #16a34a); 
}

.stat-card.depositos::before { 
    background: linear-gradient(180deg, #3b82f6, #2563eb); 
}

.stat-card.saques::before { 
    background: linear-gradient(180deg, #f59e0b, #d97706); 
}

.stat-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: calc(var(--spacing-unit) * 1);
    gap: calc(var(--spacing-unit) * 2);
}

.stat-info {
    flex: 1;
    min-width: 0;
}

.stat-label {
    color: var(--secondary-text);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: calc(var(--spacing-unit) * 2);
    line-height: 1.2;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-text);
    line-height: 1.1;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.stat-icon.saldo { 
    background: rgba(34, 197, 94, 0.15); 
    color: var(--color-success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.stat-icon.depositos { 
    background: rgba(59, 130, 246, 0.15); 
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-icon.saques { 
    background: rgba(245, 158, 11, 0.15); 
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.stat-footer {
    color: var(--secondary-text);
    font-size: 0.8rem;
    margin-top: auto;
    padding-top: calc(var(--spacing-unit) * 1.5);
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
}

/* Form Card */
.form-card {
    padding: calc(var(--spacing-unit) * 6);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), transparent);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.form-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 6);
    position: relative;
    z-index: 2;
}

.form-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-success);
    border-radius: 16px;
    margin: 0 auto calc(var(--spacing-unit) * 3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-text);
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.form-description {
    color: var(--secondary-text);
    font-size: 1rem;
}

/* Form Styles */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 3);
    position: relative;
    z-index: 2;
}

.form-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: calc(var(--spacing-unit) * 2);
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-text);
    font-size: 1rem;
    transition: color 0.3s ease;
    z-index: 2;
}

.form-group:focus-within .input-icon {
    color: var(--accent-gradient-to);
}

/* Password Toggle */
.password-toggle {
    margin: calc(var(--spacing-unit) * 2) 0;
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--accent-gradient-to);
}

.password-fields {
    display: none;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 3);
    margin: calc(var(--spacing-unit) * 3) 0;
    padding: calc(var(--spacing-unit) * 3);
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.1);
    border-radius: 16px;
}

.password-fields.active {
    display: flex;
}

.password-fields-title {
    color: var(--color-success);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: calc(var(--spacing-unit) * 2);
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
}

/* Responsive */
@media (max-width: 768px) {
    .perfil-section {
        padding: calc(var(--spacing-unit) * 4) 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .form-card {
        padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 3);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 2);
    }
    
    .stat-card {
        padding: calc(var(--spacing-unit) * 3);
    }
    
    .stat-header {
        align-items: flex-start;
        gap: calc(var(--spacing-unit) * 1.5);
    }
    
    .stat-value {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .avatar-circle {
        width: 80px;
        height: 80px;
    }
    
    .avatar-text {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .form-card {
        padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2);
    }
    
    .glass-input {
        padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 4);
    }
    
    .input-icon {
        left: calc(var(--spacing-unit) * 1.5);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn:hover .hamburger-line {
    background: var(--gradient-brand);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateY(0);
}

/* Mobile Nav Header */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.2rem;
}

.mobile-close-btn:hover {
    background: rgba(240, 0, 184, 0.2);
    border-color: rgba(240, 0, 184, 0.4);
    transform: scale(1.1);
}

/* Mobile Navigation */
.mobile-nav {
    margin-bottom: 2rem;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.1rem;
}

.mobile-nav-link:hover {
    background: rgba(240, 0, 184, 0.15);
    color: white;
    transform: translateX(5px);
}

/* Mobile Auth Buttons */
.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Mobile User Section */
.mobile-user-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.mobile-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.mobile-user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-user-name {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.mobile-user-balance {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.mobile-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
}

.mobile-menu-item:hover {
    background: rgba(240, 0, 184, 0.15);
    color: white;
    transform: translateX(5px);
}

.mobile-menu-item i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    width: 20px;
    text-align: center;
}

.mobile-menu-item:hover i {
    color: var(--color-brand-2);
}

.mobile-menu-item.logout {
    color: #ef4444;
}

.mobile-menu-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.mobile-menu-item.logout i {
    color: #ef4444;
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .deposit-text,
    .register-text,
    .login-text {
        display: none;
    }
    
    .user-name {
        display: none;
    }
    
    /* Hide desktop user dropdown on mobile */
    .user-dropdown {
        display: none;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .user-btn {
        padding: 0.5rem 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-header .container {
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .mobile-nav-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .mobile-actions {
        flex-direction: column;
    }
    
    .mobile-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   CARTELAS PAGE STYLES
   ======================================== */

.cartelas-section {
    min-height: calc(100vh - 200px);
    position: relative;
    overflow: hidden;
}

.cartelas-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 0, 184, 0.3);
    box-shadow: 0 8px 25px rgba(240, 0, 184, 0.2);
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Enhanced Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1.25rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-brand);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn:hover {
    color: #ffffff;
    border-color: rgba(240, 0, 184, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 0, 184, 0.2);
}

.filter-btn:hover::before {
    left: 0;
}

.filter-btn.active {
    background: var(--gradient-brand);
    
    color: #ffffff;
    transform: translateY(-2px);
}

.filter-btn.active::before {
    left: 0;
}

.filter-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.filter-btn:hover i,
.filter-btn.active i {
    transform: scale(1.1);
}

/* Filter button animations */
.filter-btn.low {
    --hover-color: var(--color-brand-2);
}

.filter-btn.medium {
    --hover-color: var(--color-brand-1);
}

.filter-btn.high {
    --hover-color: var(--color-brand-2);
}

.filter-btn.medium::before {
    background: var(--gradient-brand);
}

.filter-btn.high::before {
    background: var(--gradient-brand);
}

.filter-btn.medium.active {
    background: var(--gradient-brand);
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
}

.filter-btn.high.active {
    background: var(--gradient-brand);
    border-color: rgba(240, 0, 184, 0.5);
    box-shadow: 0 8px 25px rgba(240, 0, 184, 0.4);
}

/* Layout das grades agora feito com Tailwind utility classes (grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 ...) */

.cartela-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(20px);
}

.cartela-card:hover {
    transform: translateY(-8px);
    border-color: rgba(240, 0, 184, 0.3);
    box-shadow: 0 20px 60px rgba(240, 0, 184, 0.2);
}

.cartela-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cartela-card:hover .cartela-image {
    transform: scale(1.05);
}

.cartela-content {
    padding: 1.5rem;
    position: relative;
}

.price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-brand);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(240, 0, 184, 0.3);
}

.cartela-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cartela-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.prize-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid color-mix(in srgb, var(--color-accent), transparent 80%);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.prize-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.prize-value {
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 1.1rem;
}

.play-button {
    width: 100%;
    background: var(--gradient-brand);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-button:hover {
    background: var(--gradient-brand);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 0, 184, 0.4);
}

.cartela-features {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: var(--gradient-brand);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--gradient-brand);
    border-radius: 6px;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loading-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #02b705, #03bb04);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 40%;
    right: 15%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(4) {
    bottom: 20%;
    right: 25%;
    animation-delay: 3s;
}

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

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

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

.stagger-animation .cartela-card {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.stagger-animation .cartela-card:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation .cartela-card:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation .cartela-card:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation .cartela-card:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation .cartela-card:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation .cartela-card:nth-child(6) { animation-delay: 0.6s; }

/* Sparkle animation for premium buttons */
@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.05) rotate(2deg); opacity: 0.9; }
}

.filter-btn.high.active {
    animation: sparkle 2s ease-in-out infinite;
}

/* Responsive for Cartelas */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .stats-bar {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .cartelas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cartela-content {
        padding: 1rem;
    }
    
    .filter-bar {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .cartelas-container {
        padding: 0 1rem;
    }
    
    .cartelas-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        display: none;
    }

    /* Embla carousel mobile styles */
    .embla__button {
        width: 40px;
        height: 40px;
    }

    .embla__button--prev {
        left: 10px;
    }

    .embla__button--next {
        right: 10px;
    }

    .embla__dots {
        bottom: 10px;
    }

    .embla__dot {
        width: 10px;
        height: 10px;
    }

    .nav-arrow {
        font-size: 20px;
    }
}