:root {
  --color1: #ff36b0;
  --color2: #ff7f64;
  --color3: #ffce72;
  --color4: #e9ffc8;
  --color5: #f2ffff;
  --bg-dark: #1b1b22;
  --text-main: #222;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.18);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: radial-gradient(circle at top, var(--color4), var(--bg-dark));
  color: var(--text-main);
}

/* Header */

.gt-header {
  background: linear-gradient(90deg, var(--color1), var(--color2));
  color: white;
  padding: 0.6rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.gt-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gt-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gt-logo {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(0,0,0,.25);
}

.gt-app-name {
  font-weight: 700;
  letter-spacing: .05em;
}

/* Layout */

.gt-main {
  max-width: 1100px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1rem;
}

/* Buttons */

.gt-btn-primary,
.gt-btn-secondary,
.gt-btn-outline {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .1s ease, box-shadow .1s ease, background .1s ease, color .1s ease;
}

.gt-btn-primary {
  background: linear-gradient(135deg, var(--color1), var(--color2));
  color: white;
  box-shadow: var(--shadow-soft);
}

.gt-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(0,0,0,.25);
}

.gt-btn-secondary {
  background: white;
  color: var(--color1);
  border-color: var(--color1);
}

.gt-btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.8);
}

.gt-btn-outline:hover {
  background: rgba(255,255,255,.12);
}

/* Hero */

.gt-hero {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1.4fr);
  gap: 1.5rem;
  align-items: center;
}

.gt-hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 0.6rem;
}

.gt-hero-text p {
  max-width: 34rem;
  line-height: 1.5;
}

.gt-hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.gt-hero-card {
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

/* Sections & cards */

.gt-section {
  margin-top: 2rem;
}

.gt-section h2 {
  margin-bottom: 1rem;
}

.gt-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1rem;
}

.gt-card {
  background: rgba(242,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.gt-card-focus {
  border-left: 5px solid var(--color1);
}

.gt-card-warning {
  background: #fff3cd;
  border-left: 5px solid #ffc107;
}

/* Auth */

.gt-auth {
  display: flex;
  justify-content: center;
}

.gt-auth-card {
  max-width: 420px;
  width: 100%;
}

.gt-auth-card form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.gt-auth-card input,
.gt-form input,
.gt-form textarea,
.gt-auth-card textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 0.5rem 0.6rem;
  margin-top: 0.2rem;
  font-family: inherit;
}

input[type="text"], input[type="password"], textarea {
  font-size: 1rem;
  line-height: 1.5;
}

/* Form - Registration Page */

.gt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gt-form input,
.gt-form textarea {
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.gt-form input:focus,
.gt-form textarea:focus {
  border-color: var(--color1);
  outline: none;
}

.gt-section h2 {
  font-size: 1.8rem;
  color: var(--color1);
  text-align: center;
  margin-bottom: 1rem;
}

button[type="submit"] {
  margin-top: 1rem;
  align-self: center;
  background: var(--color1);
  color: white;
  padding: 0.8rem 2rem;
  font-size: 1.2rem;
  border-radius: 8px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--color2);
}

/* Panel */

.gt-panel-actions {
  margin: 0.6rem 0 1rem;
}

.gt-table-wrap {
  overflow-x: auto;
}

.gt-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}

.gt-table th,
.gt-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.gt-table th {
  text-align: left;
  background: rgba(255,255,255,0.6);
}

/* Utilities */

.gt-small {
  font-size: 0.8rem;
}

.gt-error {
  background: #ffdddd;
  border-left: 4px solid #ff3b3b;
  padding: 0.5rem 0.6rem;
}

.gt-success {
  background: #e0ffe5;
  border-left: 4px solid #28a745;
  padding: 0.5rem 0.6rem;
}

.gt-info {
  background: #e7f3ff;
  border-left: 4px solid #2196f3;
  padding: 0.5rem 0.6rem;
}

/* Footer */

.gt-footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.85);
}

/* Responsive */

@media (max-width: 768px) {
  .gt-hero {
    grid-template-columns: 1fr;
  }

  .gt-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gt-nav {
    display: flex;
    flex-wrap: wrap;
  }
}

