:root {
   --bg: #0f0f0f;
   --card: #151515;
   --muted: #bfbfbf;
   --accent: #d4af37;
   --error: #ff6b6b;
   --success: #51cf66;
}

* {
   box-sizing: border-box;
}

body {
   margin: 0;
   font-family: system-ui, -apple-system, 'Segoe UI', Roboto, "Helvetica Neue", Arial;
   background: var(--bg);
   color: #fff;
   display: flex;
   align-items: center;
   justify-content: center;
   min-height: 100vh;
   padding: 20px;
}

.card {
   width: 100%;
   max-width: 420px;
   background: var(--card);
   padding: 28px 24px;
   border-radius: 16px;
   border: 1px solid #222;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

h1 {
   font-size: clamp(1.1rem, 2.5vw, 1.25rem);
   margin-bottom: 16px;
   text-align: center;
}

label {
   display: block;
   font-size: 0.9rem;
   color: var(--muted);
   margin-bottom: 6px;
   font-weight: 500;
}

input[type=text],
input[type=email],
input[type=password] {
   width: 100%;
   padding: 12px;
   border-radius: 8px;
   border: 1px solid #2a2a2a;
   background: #0b0b0b;
   color: #fff;
   font-size: 14px;
   transition: all 0.25s ease;
   min-height: 44px;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus {
   border-color: var(--accent);
   box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
   outline: none;
}

.field {
   margin-bottom: 14px;
   position: relative;
}

.row {
   display: flex;
   gap: 8px;
   align-items: center;
}

.small {
   font-size: 0.85rem;
   color: var(--muted);
}

.btn {
   width: 100%;
   padding: 12px;
   border-radius: 8px;
   border: none;
   background: var(--accent);
   color: #000;
   font-weight: 600;
   cursor: pointer;
   margin-top: 14px;
   font-size: 15px;
   transition: all 0.25s ease;
   min-height: 44px;
}

.btn:hover {
   background: #e0be4a;
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.error {
   color: var(--error);
   font-size: 0.85rem;
   margin-top: 6px;
   display: none;
}

.success {
   color: var(--success);
   background: #071708;
   padding: 10px;
   border-radius: 8px;
   margin-top: 12px;
   display: none;
   font-size: 0.95rem;
}

.toggle-btn {
   background: none;
   border: 1px solid #2a2a2a;
   color: var(--muted);
   padding: 8px 10px;
   border-radius: 6px;
   cursor: pointer;
   font-size: 0.8rem;
   transition: all 0.2s ease;
   min-height: 36px;
}

.toggle-btn:hover {
   border-color: var(--accent);
   color: #fff;
}

.google-btn {
   display: block;
   width: 100%;
   padding: 12px;
   border-radius: 8px;
   border: 1px solid #2a2a2a;
   background: #fff;
   color: #000;
   font-weight: 600;
   cursor: pointer;
   text-align: center;
   margin-top: 16px;
   text-decoration: none;
   transition: all 0.25s ease;
   min-height: 44px;
}

.google-btn:hover {
   background: #f5f5f5;
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 480px) {
   .card {
      padding: 20px 16px;
      border-radius: 12px;
   }

   .row {
      flex-direction: column;
      gap: 0;
   }
}