/**
 * 🎮 TEMA MODERNO - Palavra Premiada
 * 
 * Visual moderno e gamificado
 * USA AS CORES DO SYSTEM SETTINGS (var(--cor-*))
 * 
 * Quando ativado (classe .theme-modern no body):
 * - Bordas mais grossas e arredondadas
 * - Fontes maiores e mais pesadas
 * - Espaçamentos generosos
 * - Layout mais limpo e respirável
 */

.theme-modern {
  /* Bordas mais arredondadas */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  
  /* Espaçamentos maiores */
  --espaco-md: 1.5rem;
  --espaco-lg: 2rem;
  --espaco-xl: 2.5rem;
}

/* ========================================
   TIPOGRAFIA MODERNA
   ======================================== */

.theme-modern h1,
.theme-modern .home-title,
.theme-modern .login-title,
.theme-modern .register-title,
.theme-modern .perfil-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.theme-modern h2 {
  font-size: 2rem;
  font-weight: 700;
}

.theme-modern h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* ========================================
   CARDS MODERNOS - SEM BORDAS CINZAS
   ======================================== */

.theme-modern .login-card,
.theme-modern .register-card,
.theme-modern .perfil-card,
.theme-modern .scratch-card,
.theme-modern .card {
  border-radius: 24px;
  border-width: 0 !important;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* REMOVER TODAS AS BORDAS CINZAS NO TEMA MODERNO */
.theme-modern .winner-item,
.theme-modern .winners-container,
.theme-modern .banner-carousel,
.theme-modern .banner-content,
.theme-modern .banner-promo,
.theme-modern .home-winners-section .winners-container,
.theme-modern .game-rules,
.theme-modern .play-wrapper,
.theme-modern .balance-options-container,
.theme-modern .filled-item,
.theme-modern .letter-option,
.theme-modern .home-btn--secondary,
.theme-modern .button--primary,
.theme-modern .selectable-button,
.theme-modern .balance-option,
.theme-modern .header-menu,
.theme-modern .header-balance,
.theme-modern .modal-content,
.theme-modern .product-item,
.theme-modern .game-container,
.theme-modern .form-input,
.theme-modern input,
.theme-modern textarea,
.theme-modern select {
  border: none !important;
}

/* Hover state mantém apenas o efeito visual, sem bordas */
.theme-modern .winner-item:hover {
  border: none !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.theme-modern .selectable-button:hover,
.theme-modern .selectable-button.selected {
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ========================================
   INPUTS MODERNOS - SEM BORDAS
   ======================================== */

.theme-modern input[type="text"],
.theme-modern input[type="email"],
.theme-modern input[type="password"],
.theme-modern input[type="number"],
.theme-modern input[type="tel"],
.theme-modern input[type="date"],
.theme-modern textarea,
.theme-modern select,
.theme-modern .form-input {
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 1.05rem;
  border: none !important;
  font-weight: 500;
  background-color: var(--cor-fundo-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.theme-modern input:focus,
.theme-modern textarea:focus,
.theme-modern select:focus,
.theme-modern .form-input:focus {
  outline: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-modern .input-wrapper .form-input {
  padding-right: 50px;
}

/* ========================================
   LABELS MODERNOS
   ======================================== */

.theme-modern .form-label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.theme-modern .form-label i {
  font-size: 1.1rem;
}

/* ========================================
   BOTÕES MODERNOS - SEM BORDAS
   ======================================== */

.theme-modern .button--secondary,
.theme-modern .button--main,
.theme-modern .btn-login,
.theme-modern .btn-register,
.theme-modern .btn-primary,
.theme-modern .scratch-card__button,
.theme-modern .home-btn--primary {
  border-radius: 16px;
  padding: 18px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.theme-modern .button--secondary:hover,
.theme-modern .button--main:hover,
.theme-modern .btn-login:hover,
.theme-modern .btn-register:hover,
.theme-modern .btn-primary:hover,
.theme-modern .scratch-card__button:hover,
.theme-modern .home-btn--primary:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.theme-modern .button--primary,
.theme-modern .btn-secondary,
.theme-modern .home-btn--secondary {
  border: none !important;
  border-radius: 16px;
  padding: 18px 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--cor-fundo-card);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.theme-modern .button--primary:hover,
.theme-modern .btn-secondary:hover,
.theme-modern .home-btn--secondary:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Botões maiores (lg, xl) */
.theme-modern .lg,
.theme-modern .xl {
  font-weight: 800;
  letter-spacing: 2px;
  padding: 16px 24px;
  border: none !important;
}

/* ========================================
   ESPAÇAMENTOS E GAPS
   ======================================== */

.theme-modern .form-group {
  margin-bottom: 24px;
}

.theme-modern .login-card,
.theme-modern .register-card {
  padding: 40px 36px;
}

.theme-modern .scratch-card__body {
  padding: 32px;
  gap: 24px;
}

/* ========================================
   RESPONSIVIDADE MODERNA
   ======================================== */

@media (max-width: 768px) {
  .theme-modern h1,
  .theme-modern .home-title,
  .theme-modern .login-title,
  .theme-modern .register-title {
    font-size: 2rem;
  }
  
  .theme-modern .login-card,
  .theme-modern .register-card {
    padding: 28px 20px;
    border-radius: 20px;
  }
  
  .theme-modern .scratch-card {
    border-radius: 16px;
  }
  
  .theme-modern .scratch-card__body {
    padding: 20px;
  }
  
  .theme-modern input,
  .theme-modern textarea,
  .theme-modern select,
  .theme-modern .form-input {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 12px;
  }
  
  .theme-modern .button--secondary,
  .theme-modern .button--main,
  .theme-modern .btn-login,
  .theme-modern .btn-register,
  .theme-modern .btn-primary,
  .theme-modern .scratch-card__button {
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: 14px;
  }
  
  .theme-modern .form-label {
    font-size: 0.85rem;
  }
  
  .theme-modern .home-winners-container,
  .theme-modern .home-carousel-container,
  .theme-modern .home-scratch-container {
    padding: 0 16px;
  }
  
  .theme-modern .home-winners-section .winners-container {
    border-radius: 16px;
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .theme-modern h1,
  .theme-modern .home-title,
  .theme-modern .login-title,
  .theme-modern .register-title {
    font-size: 1.6rem;
  }
  
  .theme-modern .login-card,
  .theme-modern .register-card {
    padding: 24px 16px;
    border-radius: 16px;
    border-width: 2px;
  }
  
  .theme-modern .scratch-card {
    border-radius: 14px;
    border-width: 2px;
  }
  
  .theme-modern .scratch-card__body {
    padding: 16px;
    gap: 16px;
  }
  
  .theme-modern input,
  .theme-modern textarea,
  .theme-modern select,
  .theme-modern .form-input {
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: 10px;
  }
  
  .theme-modern .button--secondary,
  .theme-modern .button--main,
  .theme-modern .btn-login,
  .theme-modern .btn-register,
  .theme-modern .btn-primary,
  .theme-modern .scratch-card__button {
    padding: 14px 20px;
    font-size: 0.95rem;
    border-radius: 12px;
  }
  
  .theme-modern .form-label {
    font-size: 0.8rem;
  }
  
  .theme-modern .home-winners-container,
  .theme-modern .home-carousel-container,
  .theme-modern .home-scratch-container {
    padding: 0 12px;
  }
  
  .theme-modern .home-winners-section .winners-container {
    border-radius: 14px;
    padding: 16px 12px;
  }
  
  .theme-modern .scratch-card__title {
    font-size: 1.4rem;
  }
  
  .theme-modern .scratch-card__subtitle {
    font-size: 0.9rem;
  }
  
  .theme-modern .scratch-card__button-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 360px) {
  .theme-modern h1,
  .theme-modern .home-title,
  .theme-modern .login-title,
  .theme-modern .register-title {
    font-size: 1.4rem;
  }
  
  .theme-modern .login-card,
  .theme-modern .register-card {
    padding: 20px 14px;
  }
  
  .theme-modern .scratch-card__body {
    padding: 14px;
  }
  
  .theme-modern input,
  .theme-modern textarea,
  .theme-modern select,
  .theme-modern .form-input {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .theme-modern .button--secondary,
  .theme-modern .button--main,
  .theme-modern .btn-login,
  .theme-modern .btn-register,
  .theme-modern .btn-primary,
  .theme-modern .scratch-card__button {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .theme-modern .scratch-card__title {
    font-size: 1.2rem;
  }
  
  .theme-modern .scratch-card__subtitle {
    font-size: 0.85rem;
  }
}
