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

body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #ffb900;
}

a {
    color: #ffb900;
    text-decoration: none;
}

button {
    background-color: #ffb900;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

button:hover {
    background-color: #e09d00;
}

/* Header */
header {
    background-color: #121212;
    padding: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo h1 {
    font-size: 2rem;
}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

/* Hero Section */
.hero {
    background: url('hero-bg.jpg') no-repeat center center/cover;
    padding: 100px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Section Styles */
.section {
    padding: 60px 20px;
    text-align: center;
}

.shop-items {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.item {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
}

.decklist {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
}

/* Footer */
footer {
    background-color: #121212;
    padding: 20px;
    text-align: center;
}

.socials a {
    margin: 0 10px;
}
.centered-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

.ccentered-content ul {
  display: inline-block;
  text-align: center;
  padding-left: 20px;
  margin: 0 auto;
}
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 300px;
    margin: 0 auto;
}
/* Reset & Base Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0e0e0e;
  color: #e0e0e0;
}

a {
  color: #ffcc00;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  background: linear-gradient(to bottom, #1a1a1a, #0e0e0e);
  text-align: center;
  padding: 2rem;
  border-bottom: 2px solid #333;
}

header h1 {
  font-size: 3rem;
  color: #ffcc00;
  margin: 0;
}

header p {
  font-style: italic;
  color: #aaa;
}

/* Story Grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.story-card {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 1.5rem;
  border-radius: 6px;
  transition: transform 0.2s;
}

.story-card:hover {
  transform: translateY(-5px);
  border-color: #ffcc00;
}

.story-card h2 {
  margin-top: 0;
  color: #ffffff;
}

.story-card p {
  color: #ccc;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #111;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #666;
}
body {
  margin: 0;
  background-color: #121212;
  color: #eaeaea;
  font-family: 'Georgia', serif;
  line-height: 1.6;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #1a1a1a;
  box-shadow: 0 0 10px #000;
  border-left: 4px solid #444;
}

header {
  text-align: center;
  border-bottom: 1px solid #444;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

header h1 {
  color: #ffcc00;
  font-size: 2.5rem;
  margin-bottom: 0.2rem;
}

header h2 {
  font-size: 1.5rem;
  color: #ccc;
}

.turn {
  margin-bottom: 1.5rem;
}

.turn h3 {
  color: #88ccff;
  border-bottom: 1px solid #333;
  padding-bottom: 0.3rem;
}

.turn p {
  margin-left: 1rem;
}

.result {
  background-color: #222;
  padding: 1rem;
  border-top: 2px solid #ffcc00;
  margin-top: 2rem;
  text-align: center;
}

.result h2 {
  color: #ffcc00;
}

footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}
body {
  font-family: 'DynaPuff', serif;
  color: #e0e0e0;
  background-color: #121212; /* Optional: dark theme */
  line-height: 1.6;
}
header {
  font-family: 'Nova Square', serif;
  color: #e0e0e0;
  background-color: #121212; /* Optional: dark theme */
  line-height: 1.6;
}


section h2 {
    font-family: 'Nova Square', serif;
  color: #ffcc00;
  background-color: #121212; /* Optional: dark theme */
  line-height: 1.6;
  }



    body {
      font-family: 'DynaPuff', cursive;
      background-color: #1a1a1a;
      color: #f5f1d0;
      margin: 0;
      padding: 0;
      line-height: 1.6;
    }
    header {
      background-color: #222000;
      padding: 1rem 2rem;
      text-align: center;
      border-bottom: 3px solid #ffcc00;
    }
    header h1 {
      font-family: 'Nova Square', cursive;
      font-size: 2.8rem;
      margin: 0;
      color: #ffcc00;
      text-shadow: 0 0 5px #ffcc00aa;
    }
    nav ul {
      list-style: none;
      display: flex;
      justify-content: center;
      padding: 0;
      margin: 0.5rem 0 0 0;
      gap: 1.5rem;
    }
    nav ul li a {
      color: #f5f1d0;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1rem;
      transition: color 0.3s ease;
    }
    nav ul li a:hover,
    nav ul li a[aria-current="page"] {
      color: #ffcc00;
      text-shadow: 0 0 10px #ffcc00bb;
    }
    main {
      max-width: 1100px;
      margin: 2rem auto;
      padding: 0 1rem;
    }
    h2 {
      font-family: 'Nova Square', cursive;
      font-size: 2.5rem;
      margin-bottom: 2rem;
      text-align: center;
      color: #ffcc00;
      text-shadow: 0 0 8px #ffcc00bb;
    }
    .faction-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2.5rem;
    }
    .faction-card {
      background-color: #222200;
      padding: 1.5rem 1rem;
      border-radius: 10px;
      box-shadow: 0 0 12px #ffcc00cc;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .faction-card:hover {
      transform: scale(1.07);
      box-shadow: 0 0 20px #ffd633dd;
    }
    .faction-card img {
      max-width: 120px;
      border-radius: 8px;
      margin-bottom: 1rem;
      border: 2px solid #ffcc00;
      filter: drop-shadow(0 0 2px #ffcc00);
    }
    .faction-card h3 {
      margin-top: 0;
      margin-bottom: 0.7rem;
      color: #ffcc00;
      text-shadow: 0 0 5px #ffcc00aa;
      font-size: 1.4rem;
      text-align: center;
    }
    .faction-card p {
      font-size: 1rem;
      text-align: center;
      color: #f5f1d0cc;
      line-height: 1.4;
      min-height: 90px;
    }
    footer {
      background-color: #222000;
      color: #bbb876;
      text-align: center;
      padding: 1rem;
      margin-top: 3rem;
      font-size: 0.95rem;
      border-top: 1px solid #444400;
      font-family: 'DynaPuff', cursive;
    }
    
    
    
   
    .category-buttons {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 2rem;
    }
    .category-buttons button {
      background-color: #ffcc00;
      color: #121212;
      border: none;
      padding: 0.75rem 1.5rem;
      font-weight: bold;
      border-radius: 6px;
      cursor: pointer;
      font-size: 1rem;
      transition: background-color 0.3s ease;
    }
    .category-buttons button:hover,
    .category-buttons button.active {
      background-color: #e6b800;
    }
    .shop-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 2rem;
      max-width: 1000px;
      margin: 0 auto 3rem;
    }
    .shop-item {
      background-color: #1f1f1f;
      border: 1px solid #333;
      padding: 1rem;
      border-radius: 8px;
      text-align: center;
      position: relative;
    }
    .shop-item img {
      width: 100%;
      height: auto;
      border-radius: 4px;
    }
    .shop-item h3 {
      margin: 0.5rem 0;
    }
    .shop-item p {
      font-size: 1rem;
      margin-bottom: 1rem;
    }
    .button {
      background-color: #ffcc00;
      color: #121212;
      border: none;
      padding: 0.75rem 1.25rem;
      font-weight: bold;
      border-radius: 6px;
      cursor: pointer;
      font-size: 1rem;
      transition: background-color 0.3s ease;
    }
    .button:hover {
      background-color: #e6b800;
    }
    /* Message shown after add */
    .added-message {
      position: absolute;
      top: 10px;
      right: 10px;
      background-color: #4caf50;
      color: white;
      padding: 0.3rem 0.6rem;
      font-size: 0.9rem;
      border-radius: 4px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .added-message.show {
      opacity: 1;
      pointer-events: auto;
    }
  







