/*
Theme Name: Telegram Age Check
Theme URI: https://telegram-age-check.lovable.app
Author: Telegram
Author URI: https://telegram-age-check.lovable.app
Description: Tema minimalista para verificação de idade com estilo Telegram
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: telegram-age-check
*/

/* Reset e Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(210, 40%, 10%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(210, 40%, 10%);
  --primary: hsl(199, 100%, 40%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(199, 30%, 95%);
  --secondary-foreground: hsl(199, 100%, 30%);
  --muted: hsl(210, 20%, 96%);
  --muted-foreground: hsl(210, 15%, 45%);
  --accent: hsl(199, 100%, 45%);
  --accent-foreground: hsl(0, 0%, 100%);
  --success: hsl(142, 70%, 45%);
  --success-foreground: hsl(0, 0%, 100%);
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --border: hsl(210, 20%, 90%);
  --input: hsl(210, 20%, 90%);
  --ring: hsl(199, 100%, 40%);
  --radius: 0.75rem;
  --telegram-gradient: linear-gradient(135deg, hsl(199, 100%, 45%) 0%, hsl(199, 100%, 35%) 100%);
  --shadow-card: 0 4px 24px -4px hsla(199, 100%, 40%, 0.15);
  --shadow-button: 0 4px 12px -2px hsla(199, 100%, 40%, 0.3);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout Principal */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

/* Decoração de Fundo */
.background-decoration {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.background-decoration::before,
.background-decoration::after {
  content: '';
  position: absolute;
  width: 20rem;
  height: 20rem;
  background: hsla(199, 100%, 40%, 0.05);
  border-radius: 50%;
  filter: blur(3rem);
}

.background-decoration::before {
  top: -10rem;
  right: -10rem;
}

.background-decoration::after {
  bottom: -10rem;
  left: -10rem;
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 28rem;
}

.card-content {
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}

.card-content > * + * {
  margin-top: 1.5rem;
}

/* Telegram Logo Container */
.logo-container {
  display: flex;
  justify-content: center;
}

.logo-wrapper {
  position: relative;
}

.telegram-logo {
  width: 6rem;
  height: 6rem;
}

.verified-badge {
  position: absolute;
  bottom: -0.25rem;
  right: -0.25rem;
  width: 2rem;
  height: 2rem;
  color: var(--success);
  background: var(--card);
  border-radius: 50%;
}

/* Tipografia */
.heading-primary {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.text-muted {
  color: var(--muted-foreground);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btn-primary {
  background: var(--telegram-gradient);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background: hsl(199, 30%, 90%);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--muted);
}

/* Verificação de Idade */
.age-verification-box {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  text-align: center;
}

.age-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Formulários */
.form-group {
  margin-bottom: 1rem;
}

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

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px hsla(199, 100%, 40%, 0.1);
}

/* Utilitários */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

/* Responsivo */
@media (max-width: 640px) {
  .card-content {
    padding: 1.5rem 1rem 1rem;
  }
  
  .heading-primary {
    font-size: 1.25rem;
  }
}
