
:root {
  --gamania-orange: #ff5500;
  --gamania-gradient: linear-gradient(135deg, #ff5500 0%, #ff9900 100%);
  --bg-dark: #0a0a0c;
  --card-bg: #141418;
  --card-border: #26262e;
  --text-main: #f0f0f5;
  --text-muted: #9a9ab0;
  --header-bg: rgba(10, 10, 12, 0.95);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

/* HEADER NAV */
header.gamania-header {
  background-color: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.brand-container svg {
  width: 42px;
  height: 42px;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--gamania-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

nav.nav-links a:hover {
  color: var(--gamania-orange);
}

.btn-cta {
  background: var(--gamania-gradient);
  color: #ffffff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  text-decoration: none !important;
  font-weight: 700 !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 85, 0, 0.4);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 5rem 2rem;
  text-align: center;
  background: radial-gradient(circle at center, rgba(255, 85, 0, 0.12) 0%, rgba(10, 10, 12, 1) 70%);
  border-bottom: 1px solid var(--card-border);
}

.hero-section h1 {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  line-height: 1.15;
}

.hero-section h1 span {
  background: var(--gamania-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2rem auto;
}

/* CONTENT GRID */
.main-container {
  max-width: 1240px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 28px;
  background: var(--gamania-gradient);
  border-radius: 3px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 85, 0, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gamania-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.card-title:hover {
  color: var(--gamania-orange);
}

.card-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-excerpt {
  font-size: 0.95rem;
  color: #b0b0c5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  color: var(--gamania-orange);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  text-decoration: underline;
}

/* POST PAGE STYLES */
.post-wrapper {
  max-width: 860px;
  margin: 3rem auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 3rem;
}

.post-wrapper h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.post-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 2rem;
}

.post-body p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #d0d0e0;
}

.post-body h2 {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 2rem 0 1rem 0;
  border-left: 3px solid var(--gamania-orange);
  padding-left: 12px;
}

.post-body ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #d0d0e0;
}

.post-body li {
  margin-bottom: 0.5rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--gamania-orange);
  text-decoration: none;
  font-weight: 700;
}

/* FOOTER */
footer.gamania-footer {
  background-color: #050507;
  border-top: 1px solid var(--card-border);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 5rem;
}

footer.gamania-footer a {
  color: var(--gamania-orange);
  text-decoration: none;
}

@media (max-width: 768px) {
  header.gamania-header { padding: 1rem; flex-direction: column; gap: 1rem; }
  .hero-section h1 { font-size: 2.2rem; }
  .post-wrapper { padding: 1.5rem; }
}
