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

/* Reset CSS básico */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html, body {
  height: 100%;
  font-family: inherit;
  line-height: 1.5;
  background: transparent;
  color: inherit;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input[type="button"],
input[type="submit"] {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}


:root {
  --header-bg: linear-gradient(180deg, #0d1529, #090f1e);
  --bg-primary: #090f1e;
  --bg-secondary: #0d1426;
  --bg-secondary_: #121a31;
  --bg-tertiary: #121a30;
  --accent-green: #10b981;
  --accent-blue: #1b72f9;
  --accent-purple: #8b5cf6;
  --accent-orange: #f97316;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border-color: hsl(0deg 0% 100% / 6%);
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #06b6d4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'TT Norms Black', 'Montserrat', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  font-weight: 800;
}

/* Container */
.container,
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-actions {
  display: flex;
  align-items: center;
}

.balance-display span:first-child {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Page Layout */
.page-container {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.page-subtitle strong {
  color: var(--accent-green);
}

.main-content {
  min-height: calc(100vh - 80px);
  padding-bottom: 80px;
}

/* Dashboard Cards */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard-card {
  padding: 2rem;
  border-radius: 1rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.dashboard-card.available {
  background: linear-gradient(135deg, var(--accent-green), #059669);
}

.dashboard-card.blocked {
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
}

.dashboard-card.bets {
  background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
}

.dashboard-card.wins {
  background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
}

.dashboard-card-icon {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 4rem;
  opacity: 0.2;
}

.dashboard-card-label {
  margin-bottom: 0.5rem;
  opacity: 0.9;
  font-weight: 600;
}

.dashboard-card-value {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0;
}

/* Section Cards */
.section-card {
  background: var(--bg-secondary);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

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

.section-title {
  color: var(--text-primary);
  margin: 0;
  font-weight: 700;
}

.section-title i {
  color: var(--accent-green);
  margin-right: 0.5rem;
}

/* Quick Actions Grid */
.quick-actions-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-action-item {
  font-weight: 600;
}

.quick-action-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Loading States */
.loading-container {
  text-align: center;
  padding: 2rem;
}

.loading-spinner {
  font-size: 2rem;
  color: var(--accent-green);
}

.loading-text {
  margin-top: 1rem;
  color: var(--text-muted);
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 2rem;
}

.empty-state i {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--text-muted);
}

.empty-state .btn-casino {
  margin-top: 1rem;
}

/* Navbar Styles */
.casino-navbar {
  background: #111a33;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent-green) !important;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--accent-green) !important;
  filter: brightness(1.1);
}

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

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.navbar-actions {
  display: flex;
  align-items: center;
}

.user-bubble {
  position: relative;
  width: 45px;
  aspect-ratio: 1;          /* Mantém proporção quadrada */
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  flex-shrink: 0;
  box-sizing: border-box;
  border-color: var(--accent-green);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.user-bubble:hover {
  border-color: var(--accent-green);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.user-bubble i {
  color: white;
  font-size: 1.2rem;
}

.balance-display {
  background: var(--bg-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  border: 1px solid var(--border-color);
  margin-right: 1rem;
}

.balance-display span:first-child {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.balance-amount {
  font-weight: 700;
  color: var(--accent-green);
  font-size: 1.1rem;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.btn-casino {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.btn-casino.primary {
  background: linear-gradient(135deg, var(--accent-green), #059669);
  color: white;
}

.btn-casino.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-casino.secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-casino.secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-green);
}

.btn-casino.small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-casino.full-width {
  width: 100%;
}

.btn-casino.orange {
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
}

/* Mobile Menu Button Styles */
.mobile-menu-item {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

/*login*/

.login-bg{
    
}
/* Mobile Bottom Menu */
.mobile-bottom-menu {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom));
  z-index: 1000;
}

.mobile-menu-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #F0F8FF;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 0.5rem;
  min-width: 60px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-item.active,
.mobile-menu-item:hover {
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
}

.mobile-menu-item i {
  font-size: 1.25rem;
}

.mobile-menu-item span {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Modal Styles */
.casino-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.casino-modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-primary);
  border-radius: 1rem;
  border: 1px solid #ffffff03;
  overflow: hidden;
  max-height: 90vh;
  position: relative;
  animation: slideUp 0.3s ease;
  padding: 10px;
  height: auto;
}

.modal-content.large {
  width: min(700px, 95vw);
}

.modal-content.medium {
  width: min(450px, 95vw);
}

.modal-content.large {
  width: min(700px, 95vw);
}

.modal-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-primary);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.modal-tabs {
  display: flex;
  background: var(--bg-primary);
  overflow-x: auto;
  margin: auto;
  gap: 11px;
  padding-bottom: 16px;
}

.modal-tab {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  background: var(--bg-secondary_);
  border-radius: 9999px;
}

.modal-tab.active {
  color: #fff;
  background: var(--accent-green);
  border-radius: 9999px;
}

/* .modal-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-green);
  border-radius: 2px 2px 0 0;
} */

.modal-tab:hover:not(.active) {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
}

.modal-body {
  padding: 2rem 2rem 5rem;
  overflow-y: auto;
  max-height: calc(90vh - 140px);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Profile Tab */
.profile-section {
  margin-bottom: 2rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  font-weight: 700;
}

.profile-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.profile-email {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.balance-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.balance-card {
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  text-align: center;
}

.balance-card.primary {
  background: linear-gradient(135deg, var(--accent-green), #059669);
}

.balance-card.warning {
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
}

.balance-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.balance-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.balance-info {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-tertiary);
  border-radius: 0.5rem;
}

.balance-info span:first-child {
  color: var(--text-muted);
}

.balance-info strong {
  color: var(--accent-green);
  font-size: 1.2rem;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.quick-action {
  background: var(--bg-tertiary);
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
}

.quick-action:hover {
  transform: translateY(-2px);
  border-color: var(--accent-green);
  color: var(--text-primary);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
}

.quick-action i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-green);
}

/* Form Headers */
.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header.green {
  color: var(--accent-green);
}

.form-header.orange {
  color: var(--accent-orange);
}

/* Transactions */
.transactions-list {
  max-height: 400px;
  overflow-y: auto;
}

.transaction-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.transaction-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.transaction-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1rem;
}

.transaction-icon.deposit {
  background: rgba(34, 197, 94, 0.2);
  color: var(--success);
}

.transaction-icon.withdraw {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

.transaction-icon.bet {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.transaction-icon.win {
  background: rgba(34, 197, 94, 0.2);
  color: var(--success);
}

.transaction-info {
  flex: 1;
}

.transaction-type {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.transaction-date {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.transaction-amount {
  font-weight: 700;
  font-size: 1.1rem;
}

.transaction-amount.positive {
  color: var(--success);
}

.transaction-amount.negative {
  color: var(--danger);
}

/* Transaction Status */
.transaction-status {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

.status-processing {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.status-completed {
  background: rgba(34, 197, 94, 0.2);
  color: var(--success);
}

.status-failed {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.status-cancelled {
  background: rgba(107, 114, 128, 0.2);
  color: #6b7280;
}

.status-refunded {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

/* Forms */
.form-container {
  max-width: 400px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input[readonly] {
  background: var(--bg-secondary);
  opacity: 0.7;
}

.input-group {
  display: flex;
  align-items: center;
}

.input-prefix {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-right: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem 0 0 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.input-group .form-input {
  border-radius: 0 0.5rem 0.5rem 0;
  border-left: none;
}

/* Links and Buttons */
.link-button {
  background: none;
  border: none;
  color: var(--accent-green);
  font-weight: 600;
  margin-left: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.link-button:hover {
  color: #059669;
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
}

.auth-switch span {
  color: var(--text-muted);
}

/* Settings */
.settings-container {
  max-width: 400px;
  margin: 0 auto;
}

.settings-section {
  margin-bottom: 2rem;
}

.settings-section h4 {
  margin-bottom: 1rem;
}

.settings-section h4.green {
  color: var(--accent-green);
}

.settings-section h4.orange {
  color: var(--accent-orange);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pagination button {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
  background: var(--accent-green);
  border-color: var(--accent-green);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination button.active {
  background: var(--accent-green);
  border-color: var(--accent-green);
}

/* Alert Container */
.alert-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 3000;
  max-width: 400px;
}

/* Form Headers */
.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header.green {
  color: var(--accent-green);
}

.form-header.orange {
  color: var(--accent-orange);
}

/* Balance Info */
.balance-info {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-tertiary);
  border-radius: 0.5rem;
}

.balance-info span:first-child {
  color: var(--text-muted);
}

.balance-info strong {
  color: var(--accent-green);
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .casino-navbar .nav-menu {
    display: none;
  }
  
  .mobile-bottom-menu {
    display: block;
  }
  
  .modal-content {
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0;
    max-height: 100vh;
    padding: 10px;
  }
  
  .modal-body {
    max-height: calc(100vh - 140px);
    padding:  1.5rem  1.5rem 3rem;
  }
  
  .balance-cards {
    grid-template-columns: 1fr 1fr;
  }
  
  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-container {
    max-width: none;
  }
  
  .settings-container {
    max-width: none;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .modal-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  
  .modal-tab {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .dashboard-cards {
    grid-template-columns: 1fr 1fr;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-container {
    padding: 1.5rem 1rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .dashboard-cards {
    grid-template-columns: 1fr 1fr;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-container {
    padding: 1.5rem 1rem;
  }

  .page-title {
    font-size: 1.5rem;
  }
}

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

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 3px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #059669;
}



/*Home*/

.navbar-brand img{
    width: 40px;
}

.banner-slider{

}


.banner-slider .img-slide {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 1280 / 440;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.slots-main {
    container-type: inline-size;
    width: 100%;
    display: flex;
    justify-content: center;
}

.slots_content-main {
    width: 100%;
    max-width: 1200px;
}

.slots-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.slots-container>img {
    width: 200px;
    aspect-ratio: 200 / 250;
    background-color: rgba(67, 131, 255, .3);
    transition: all .3s, width 0s, height 0s;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 16px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  margin-bottom: 25px;
}

.section-title {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  gap: 8px;
}

.live-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 0 0;
}

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

.live-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
}

.live-title-text {
  font-weight: bold;
  font-size: 1rem;
}

.winners-carousel-wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  mask: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
  -webkit-mask: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
}

.winners-track {
  display: flex;
  width: max-content;
}

.winners-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.winners-track {
  display: flex;
  gap: 20px;
  
}

.winner-card {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  background: #eee;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
}



@media (min-width: 769px) {
  .winners-track {
    gap: 12px;
    
  }
}

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

.winner-card {
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.winner-card img {
    width: 4rem;
    height: 4rem;
}

@media (min-width: 769px) {
  .winner-card {
    padding: 0.75rem;
  }

  .winner-card img {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
  }
}

.prize-img {
  object-fit: contain;
  border-radius: 0.25rem;
}

.winner-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.winner-name {
  font-weight: 500;
  color: rgba(255, 191, 0, 0.75); /* amber-400/75 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winner-prize {
  font-size: 0.75rem;
  color: #d1d5db; /* gray-300 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winner-amount {
  font-weight: 600;
  font-size: 0.75rem;
}

.text-currency {
  color: #34d399; /* emerald-300 */
}


.stats-container {
    width: 100%;
    gap: 20px;
    display: flex;
}

.stat-card {
    width: 100%;
    height: 75px;
    background: linear-gradient(270deg, #111a33, #0d1426 50%, #111a33);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.stat-label {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #6f7d9d;
}

.stat-value {
    font-weight: 800;
    font-size: 24px;
    line-height: 28px;
    color: #fff;
}

@container (width <= 1250px) {
    .slots-container  img {
        border-radius: 12px;
        max-width: calc(16.666% - 8.5px);
    }
}


@media screen and (max-width: 799px) {

    .stats-container {
        flex-direction: column;
        gap: 10px;
    }

    .slots-container img {
        flex: 1 1;
        width: 100%;
        min-width: 30%;
        height: auto;
        aspect-ratio: 200 / 250;
        border-radius: 8px;
        max-width: 100%;
    }

    .slots-container{
        gap: 5px;
    }
}

@container (width <= 850px) {
     .slots-container{
         gap: 6px;
    }
}

@container (width <= 1250px) {
    .slots-container {
        gap: 10px;
    }
}

.footer {
  width: 100%;
  background: #0d1426;
  color: white;
  padding: 2rem 0;
  font-family: 'Montserrat';
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Logo Section */
.footer-top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo-large, .logo-small {
  display: inline-block;
}

/* Navigation */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.nav-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: color 0.2s;
}

.nav-link:hover {
  color: white;
}

/* Crypto & Partner Logos */
.crypto-logos, .partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 0;
}

.crypto-logos img, .partner-logos img {
  height: 30px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.crypto-logos img:hover, .partner-logos img:hover {
  opacity: 1;
}

/* Bottom Section */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
}

.footer-logo-small {
  height: 40px;
  margin-bottom: 1rem;
}

.copyright {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.legal-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.contact-links {
  font-size: 0.9rem;
}

.contact-links a {
  color: #4E95FF;
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 799px) {

    .footer {
        padding: 3rem 0 100px 0;
    }
}

.filter-bank {
  filter: brightness(0) saturate(100%) invert(13%) sepia(10%) saturate(390%) hue-rotate(189deg) brightness(90%) contrast(85%);
}

.about-us-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 190px;
  background-color: #0d1426;
  border-radius: 16px;
  background-image: url(/new/bgLines2.svg);
  background-blend-mode: soft-light;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0 35px;
  container-type: size;
}

.about-us-image {
  position: absolute;
  height: 100%;
  bottom: 0;
  right: 45px;
  pointer-events: none;
  transition-duration: 0.3s;
}

.about-us-title {
  font-weight: 800;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
}

.about-us-description {
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  color: #6f7d9d;
  margin-top: 15px;
  max-width: 500px;
}

/* Responsivo */
@media screen and (max-width: 1175px) {
  .about-us-section {
    height: 320px;
    justify-content: flex-start;
    align-items: center;
    padding-top: 25px;
  }

  .about-us-image {
    right: auto;
    left: auto;
  }
}

@container (width < 1275px) {
  .about-us-image {
    height: 85%;
  }
}

@container (width < 1095px) {
  .about-us-description {
    max-width: 600px;
  }

  .about-us-image {
    height: 60%;
  }
}

@container (width < 1010px) {
  .about-us-image {
    height: 55%;
  }
}


@media screen and (max-width: 799px) {
  .about-us-section {
    padding: 12px;
    height: 220px;
    border-radius: 12px;
  }

  .about-us-image {
    height: 105px !important;
  }

  .about-us-title {
    font-size: 14px;
  }

  .about-us-description {
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
  }
}


.game-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 1rem;
    min-height: calc(100vh - 80px);
}

/* Game Header */
.game-header {
    margin-bottom: 1.5rem;
    display: none;
}

.game-stats {
    display: flex;
    justify-content: space-around;
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Scratch Card */
.scratch-card-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.scratch-card {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #18375f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon fill='%23000' fill-opacity='.1' points='120 0 120 60 90 30 60 0 0 0 0 0 60 60 0 120 60 120 90 90 120 60 120 0'/%3E%3C/svg%3E");
    background-size: 10%;
    border: 3px solid var(--accent-green);
    box-shadow: var(--glow), var(--accent-green);
    transition: all 0.3s ease;
}

.scratch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-green), 0 8px 30px rgba(0, 0, 0, 0.4);
}

/*teste*/

/*// Glow Border Animation //*/

.animated-border-box-glow{
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1;
  border-radius: 1.5rem;
  position: absolute;
  overflow: hidden; 
  z-index: 0;
  /* Border Radius */
	border-radius: 10px;
}

.animated-border-box-glow{
  overflow: hidden;
  /* Glow Blur */
  filter: blur(20px);
}

.animated-border-box-glow:before {
  content: '';
  z-index: -2;
  text-align: center;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(0deg);
  position: absolute;
	width: 99999px;
	height: 99999px;
	background-repeat: no-repeat;
	background-position: 0 0;
  /*border color, change middle color*/
	background-image: conic-gradient(rgba(0,0,0,0), var(--accent-green), rgba(0,0,0,0) 25%);
  /* change speed here */
	animation: rotate 4s linear infinite;
}

.animated-border-box:after {
	content: '';
	position: absolute;
	z-index: -1;
  /* border width */
	left: 5px;
	top: 5px;
  /* double the px from the border width left */
	width: calc(100% - 10px);
	height: calc(100% - 10px);
  /*bg color*/
	background: #292a2e;
  /*box border radius*/
	border-radius: 7px;
}

@keyframes rotate {
	100% {
		transform: translate(-50%, -50%) rotate(1turn);
	}
}

/*// Border Animation END//*/



/*// Ignore This //*/
body {
  margin: 0px;
}

.center-box{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1D1E22;
}

/*teste*/

#scratchCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    border-radius: 1.5rem;
}

.scratch-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    padding: 20px;
}

.symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff1c;
    border-radius: 12px;
    font-size: 2.5rem;
    color: white;
    border: 2px solid rgb(255 255 255 / 21%);
    transition: all 0.3s ease;
    animation: symbolFloat 3s ease-in-out infinite;
}

.symbol:nth-child(odd) {
    animation-delay: -1.5s;
}

.symbol.winning {
    /* background: linear-gradient(135deg, var(--accent-green), #00cc6a); */
    border-color: rgba(0, 255, 136, 0.6);
    animation: winPulse 1s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

.scratch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
    border-radius: 1.5rem;
}

.scratch-instruction {
    text-align: center;
    color: var(--text-primary);
}

.scratch-instruction i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
    animation: bounce 2s infinite;
}

.scratch-instruction p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Game Controls */
.game-controls {
    margin-bottom: 1.5rem;
}

.game-cost {
    text-align: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.game-cost i {
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

.control-buttons {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-play {
    background: linear-gradient(135deg, var(--accent-green), #00cc6a);
    color: white;
    border: none;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
    font-family: "Montserrat", sans-serif;
}

.btn-play:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-play:active {
    transform: translateY(-1px);
}

.btn-play:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-auto {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: "Montserrat", sans-serif;
}

.btn-auto:hover:not(:disabled) {
    background: var(--bg-secondary);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.btn-auto.active {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* Auto Controls */
.auto-controls {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem;
    display: none;
}

.auto-controls.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.auto-settings {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    align-items: center;
}

.auto-settings input {
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-primary);
    text-align: center;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}

.btn-start-auto,
.btn-stop-auto {
    padding: 0.75rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-family: "Montserrat", sans-serif;
}

.btn-start-auto {
    background: linear-gradient(135deg, var(--accent-blue), #0284c7);
    color: white;
}

.btn-stop-auto {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
    display: none;
}

.btn-stop-auto.active {
    display: flex;
}

/* Prize Display */
.prize-display {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.prize-display.win {
    border-color: var(--accent-green);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
    animation: prizeGlow 2s ease-in-out infinite;
}

.prize-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.prize-amount {
    color: var(--accent-green);
    font-size: 1.5rem;
    font-weight: 800;
}

/* Results Section */
.results-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
}

.results-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.results-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.results-container {
    max-height: 300px;
    overflow-y: auto;
}

.empty-results {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.empty-results i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.result-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.result-item.win {
    background: rgba(34, 197, 94, 0.05);
    border-left: 3px solid var(--success);
}

.result-item.lose {
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid var(--danger);
}

.result-symbols {
    display: flex;
    gap: 0.25rem;
}

.result-symbols span {
    font-size: 1.2rem;
}

.result-prize {
    font-weight: 700;
    font-size: 1rem;
}

.result-prize.win {
    color: var(--success);
}

.result-prize.lose {
    color: var(--text-muted);
}

.winning-symbol {
    color: var(--accent-green);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.result-symbols .winning-symbol {
    animation: winPulse 1s ease-in-out infinite;
}

/* Win Modal */
.win-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.win-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.win-content {
    /* background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    border: 2px solid var(--accent-green); */
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
    max-width: 350px;
    width: 100%;
    /* box-shadow: 0 0 50px rgba(0, 255, 136, 0.3); */
}

.win-celebration {
    position: relative;
}

.win-fireworks {
    font-size: 4rem;
    animation: celebrate 2s ease-in-out infinite;
    margin-bottom: 1rem;
}

.win-celebration-image{
    width: 100%;
    height: auto;
    max-width: 200px;
    margin: 0 auto;
    display: block;
    animation: celebrate 2s ease-in-out infinite;
}

.win-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--accent-green);
    animation: winPulse 1.5s ease-in-out infinite;
}

.win-symbols {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.win-symbol {
    font-size: 2rem;
    padding: 0.75rem;
    border-radius: 1rem;
    color: white;
    animation: winSymbolBounce 0.6s ease-in-out infinite alternate;
}

.win-symbol:nth-child(2) {
    animation-delay: 0.2s;
}

.win-symbol:nth-child(3) {
    animation-delay: 0.4s;
}

.win-message {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.btn-collect {
    background: var(--accent-green);
    color: white;
    border: none;
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-family: "Montserrat", sans-serif;
}

.btn-collect:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    text-align: center;
    color: var(--text-primary);
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.loading-spinner p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* DESKTOP LAYOUT - 1024px+ */
@media (min-width: 1024px) {
    /* Container principal desktop */
    .game-container {
        max-width: 1200px;
        padding: 2rem;
        display: grid;
        grid-template-columns: 1fr 400px;
        gap: 3rem;
        align-items: start;
    }
    
    /* Painel de controles à esquerda */
    .game-controls-panel {
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: 1.5rem;
        padding: 2rem;
        position: sticky;
        top: 2rem;
        height: fit-content;
    }
    
    /* Header das estatísticas no painel */
    .game-header {
        margin-bottom: 2rem;
        display: block;
    }
    
    .game-stats {
        background: var(--bg-tertiary);
        padding: 1.5rem;
        border-radius: 1rem;
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
        text-align: center;
    }
    
    .stat-value {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Custo do jogo */
    .game-cost {
        background: var(--bg-tertiary);
        padding: 1.5rem;
        margin-bottom: 2rem;
        font-size: 1.1rem;
    }
    
    /* Botões de controle */
    .control-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-play {
        padding: 1.25rem;
        font-size: 1.2rem;
        border-radius: 1rem;
    }
    
    .btn-auto {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 1rem;
    }
    
    /* Auto controls */
    .auto-controls {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .auto-settings {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .auto-settings input {
        padding: 1rem;
        font-size: 1rem;
        text-align: center;
    }
    
    .btn-start-auto,
    .btn-stop-auto {
        padding: 1rem;
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    
    /* Prize display no painel */
    .prize-display {
        background: var(--bg-tertiary);
        padding: 1.5rem;
        margin-bottom: 0;
        border-radius: 1rem;
    }
    
    .prize-label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .prize-amount {
        font-size: 2rem;
    }
    
    /* Área principal à direita */
    .game-main-area {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Scratch card maior no desktop */
    .scratch-card-wrapper {
        margin-bottom: 0;
    }
    
    .scratch-card {
        width: 500px;
        height: 500px;
        max-width: none;
        border-radius: 2rem;
        border-width: 4px;
    }

    .animated-border-box-glow{
      width: 500px;
      height: 500px;
      max-width: none;
    }
    
    .scratch-symbols {
        padding: 30px;
        gap: 12px;
    }
    
    .symbol {
        font-size: 3.5rem;
        border-radius: 1rem;
    }
    
    .scratch-instruction i {
        font-size: 4rem;
    }
    
    .scratch-instruction p {
        font-size: 1.4rem;
    }
    
    /* Results section ocupa toda largura */
    .results-section {
        grid-column: 1 / -1;
        margin-top: 2rem;
    }
    
    .results-container {
        max-height: 400px;
    }
    
    .result-item {
        padding: 1.25rem;
        font-size: 1.1rem;
    }
    
    .result-symbols span {
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }
    
    .result-prize {
        font-size: 1.2rem;
    }
    
    /* Modal melhorado */
    .win-content {
        max-width: 500px;
        padding: 3rem;
    }
    
    .win-amount {
        font-size: 4rem;
    }
    
    .win-symbol {
        font-size: 2.5rem;
        padding: 1rem;
    }
    
    .btn-collect {
        padding: 1.25rem 2.5rem;
        font-size: 1.2rem;
    }
}


@media (min-width: 768px) and (max-width: 1023px) {
    .game-container {
        max-width: 600px;
        padding: 1.5rem;
    }
    
    .scratch-card {
        max-width: 400px;
    }
    
    .symbol {
        font-size: 3rem;
    }
    
    .control-buttons {
        grid-template-columns: 1fr 1fr;
    }
    
    .auto-settings {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .game-container {
        padding: 0.75rem;
    }
    
    .scratch-card {
        max-width: 320px;
    }
    
    .symbol {
        font-size: 2rem;
    }
    
    .win-amount {
        font-size: 2.5rem;
    }
    
    .control-buttons {
        /* grid-template-columns: 1fr; */
        gap: 0.5rem;
    }
    
    .auto-settings {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@keyframes symbolFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes winPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes prizeGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.6); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes celebrate {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.1); }
}

@keyframes winSymbolBounce {
    from { transform: translateY(0px); }
    to { transform: translateY(-10px); }
}

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

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 2px;
}

.prize-display{
	display:none;
}

input[type="color"]{
  height: 50px;
}

.images-grid .image-card {
  width: 100%;
  height: 100%;
  max-width: 150px;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
}

.game-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-guide,
.btn-sound {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
}

.btn-guide:hover,
.btn-sound:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.btn-sound.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.btn-sound.muted {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
    color: var(--danger);
}

/* Guide Modal Styles */
.guide-section {
    padding: 0;
}

.guide-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-steps {
    margin-bottom: 2rem;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.step-number {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--accent-green), #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-content h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.guide-tips {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.guide-tips h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-tips ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.guide-tips li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.guide-tips li::before {
    content: "•";
    color: var(--accent-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Prizes Section */
.prizes-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prizes-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-align: center;
}

.prizes-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.prize-category {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.prize-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prize-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.prize-item.jackpot {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.prize-item.high {
    border-color: var(--accent-purple);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
}

.prize-item.medium {
    border-color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
}

.prize-item.common {
    border-color: var(--accent-green);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
}

.prize-item.basic {
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.05));
}

.prize-symbols {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.prize-symbols img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
}

.prize-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.prize-mult {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.prize-rarity {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    text-transform: uppercase;
}

.prize-item.jackpot .prize-rarity {
    background: #ffd700;
    color: #000;
}

.prize-item.high .prize-rarity {
    background: var(--accent-purple);
    color: white;
}

.prize-item.medium .prize-rarity {
    background: var(--accent-blue);
    color: white;
}

.prize-item.common .prize-rarity {
    background: var(--accent-green);
    color: white;
}

.prize-item.basic .prize-rarity {
    background: var(--accent-orange);
    color: white;
}

/* Non-winning symbols */
.non-winning-info {
    text-align: center;
}

.non-winning-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.decorative-symbols {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.decorative-symbols img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    opacity: 0.7;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
}

/* RTP Info */
.rtp-info {
    margin-top: 2rem;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.rtp-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.rtp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.rtp-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.rtp-value {
    color: var(--accent-green);
    font-weight: 600;
}


@media (max-width: 768px) {

    .results-section{
        margin-top: 1.5rem;
    }

    .game-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    
    
    .btn-guide,
    .btn-sound {
        width: 100%;
        max-width: 40px;
        justify-content: center;
        flex: 1;
    }

    .btn-guide span,
    .btn-sound span {
        display: none;
        flex: 1;
    }

    .btn-guide i,
    .btn-sound i {
       font-size: small;
    }

    .game-controls-panel{
      margin-top: 20px;
    }
    
    .guide-step {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .prize-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .prize-info {
        align-items: center;
    }
    
    .decorative-symbols {
        gap: 0.5rem;
    }
    
    .decorative-symbols img {
        width: 30px;
        height: 30px;
    }
    
    .rtp-grid {
        grid-template-columns: 1fr;
    }
}

/* Desktop specific styles */
@media (min-width: 1024px) {
    .game-actions {
        margin-top: 2rem;
    }
    
    .prize-items {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1rem;
    }
}