@font-face {
  font-family: '403DegradMono';
  src: url('fonts/403degrad/403DegradMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: '403DegradMono';
  src: url('fonts/403degrad/403DegradMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: '403DegradMono';
  src: url('fonts/403degrad/403DegradMono-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TBJInterval';
  src: url('fonts/interval/TBJInterval-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TBJInterval';
  src: url('fonts/interval/TBJInterval-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TBJInterval';
  src: url('fonts/interval/TBJInterval-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #0a0a0a;
  --text: #f5f5f5;
  --accent: #cb0001;
  --accent-hover: #e61a1a;
  --input-bg: #1a1a1a;
  --input-border: #333;
  --input-focus: #cb0001;
  --font-heading: '403DegradMono', monospace;
  --font-body: 'TBJInterval', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.logo {
  width: 250px;
  max-width: 60vw;
  height: auto;
  margin-bottom: 1.5rem;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.highlight {
  color: var(--accent);
}

.subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.2;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

input::placeholder {
  color: #888;
}

input:focus {
  border-color: var(--input-focus);
}

button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.5px;
}

button:hover {
  background: var(--accent-hover);
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-message.error {
  color: #ff4d4d;
}

.form-message.success {
  color: #4dff88;
}

.footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: #666;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .logo {
    width: 180px;
    margin-bottom: 1rem;
  }
}
