/* style.css - Tema escuro minimalista para Talisman Friends Of War (com animações suaves) */

:root {
  --bg: #0d0d0d;
  --bg-alt: #1a1a1a;
  --text: #e5e5e5;
  --accent: #6a5acd;
  --accent-hover: #7b6bf0;
  --error: #ff4d4d;
  --success: #22c55e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 13, 13, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  backdrop-filter: blur(6px);
  transition: background 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo span {
  color: var(--text);
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s, transform 0.3s;
  position: relative;
}

nav a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  animation: fadeIn 1.5s ease-in-out;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: slideUp 1.2s ease-out;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #d1d5db;
  margin-bottom: 20px;
}

.btn {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

.main-content {
  padding-top: 100px;
  padding-bottom: 60px;
}

section {
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

section:nth-child(2) { animation-delay: 0.3s; }
section:nth-child(3) { animation-delay: 0.6s; }
section:nth-child(4) { animation-delay: 0.9s; }

h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--accent);
}

p {
  color: #ccc;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-alt);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.card h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 500px;
}

input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #1f1f1f;
  color: var(--text);
  transition: border 0.3s, background 0.3s;
}

input:focus, textarea:focus {
  border: 1px solid var(--accent);
  background: #252525;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.alert {
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  animation: fadeIn 0.8s ease;
}

.alert.error {
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid var(--error);
  color: var(--error);
}

.alert.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

footer {
  background: var(--bg-alt);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeIn 1.5s ease;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
