
:root {
  --primary: #3b82f6;
  --primary-dark: #1e3a8a;
  --text: #ffffff;
  --frost: rgba(255, 255, 255, 0.15);
  --border: rgba(255, 255, 255, 0.25);
  --shadow: rgba(0, 0, 0, 0.2);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  color: var(--text);
}

.glass-container {
  backdrop-filter: blur(20px);
  text-align: center;
  background: var(--frost);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px var(--shadow);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  padding: 40px;
  margin-bottom: 40px;
}

h1, h2, .description, .word-count, th, td, p, a {
  color: white;
}

.description {
  text-align: center;
  font-size: 18px;
  margin-bottom: 25px;
}

textarea {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border-radius: 12px;
  border: none;
  outline: none;
  resize: vertical;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  margin-bottom: 15px;
}

.word-count {
  text-align: right;
  font-size: 14px;
  margin-bottom: 20px;
}

.buttons {
  text-align: center;
  margin-bottom: 30px;
}

button {
  padding: 12px 26px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  margin: 0 10px;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transition: all 0.2s ease;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  color: white;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  background: rgba(255, 255, 255, 0.1);
}

tr:hover td {
  background-color: rgba(255, 255, 255, 0.05);
}

.no-results {
  text-align: center;
  font-style: italic;
  color: #dbeafe;
  margin-top: 20px;
}

.ad-space {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 14px;
  text-align: center;
}

footer {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  color: #e0e0e0;
}

footer nav a {
  margin: 0 8px;
  color: #ffffff;
  text-decoration: underline;
}

section {
  margin-top: 40px;
}

@media (max-width: 640px) {
  .glass-container {
    padding: 25px;
  }

  h1 {
    font-size: 28px;
  }

  .description {
    font-size: 16px;
  }

  button {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .ad-space {
    height: 70px;
    font-size: 12px;
  }
}
