/* style.css */
:root {
  --bg-dark: #0A1F44;
  --bg-darker: #000000;
  --bg-card: #122A55;
  --text-light: #FFFFFF;
  --text-gray: #CCCCCC;
  --accent: #007BFF;
  --accent-hover: #66B2FF;
  --danger: #ff4d4d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.logo {
  height: 50px;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent-hover);
}

/* === HERO === */
.hero {
  text-align: center;
  padding: 4rem 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* === FORMS === */
.form-container {
  max-width: 500px;
  margin: 3rem auto;
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.form-container h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #334466;
  background: #0C2350;
  color: white;
  border-radius: 6px;
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.alert {
  padding: 12px;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  text-align: center;
}

.alert-error {
  background: rgba(255, 77, 77, 0.2);
  color: #ff9999;
  border: 1px solid var(--danger);
}

.alert-success {
  background: rgba(40, 167, 69, 0.2);
  color: #a0e0b0;
  border: 1px solid #28a745;
}

/* === SETTINGS === */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 10px;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--accent);
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* === UTILITIES === */
.text-center {
  text-align: center;
}

.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }