/* Reset */
* { margin:0; padding:0; box-sizing:border-box; }

/* Body */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #0d0d0d;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Navigation */
nav {
  background: linear-gradient(90deg, #1a1a1a, #333);
  padding: 15px;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}
nav ul li { margin: 0 20px; }
nav ul li a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
nav ul li a:hover { color: #ffcc00; }

/* Hero section */
.hero {
  height: 100vh;
  background: url('/assets/images/banner.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}




.hero .overlay {
  background: rgba(0,0,0,0.6);
  padding: 40px;
  text-align: center;
  border-radius: 8px;
}
.hero h1 {
  font-size: 3em;
  color: #ffcc00;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.7);
  opacity: 0;
  animation: fadeInGlow 3s ease forwards, pulseGlow 4s ease-in-out infinite;
}

@keyframes fadeInGlow {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%   { text-shadow: 0 0 10px rgba(255, 204, 0, 0.7); }
  50%  { text-shadow: 0 0 20px rgba(255, 204, 0, 1); }
  100% { text-shadow: 0 0 10px rgba(255, 204, 0, 0.7); }
}




.hero p {
  font-size: 1.5em;
  color: #eee;
}

/* Sections */
section {
  padding: 40px;
  max-width: 900px;
  margin: auto;
  border-bottom: 1px solid #333;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #999;
  text-align: center;
  padding: 20px;
}

/* Glyph container overlay */
.glyphs {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none; /* keeps it non-interactive */
  z-index: 0;
}

.glyph {
  position: absolute;
  font-family: monospace;
  font-size: 14px;
  color: rgba(255, 204, 0, 0.3);
  animation: scrollGlyphs 10s linear infinite;
}

@keyframes scrollGlyphs {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100%); }
}

/* Fancy section header */
.section-header {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  color: #ffcc00;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.6);
}

/* Accordion container spacing */
.accordion-section {
  padding-top: 40px;
}

/* Alternating backgrounds for each accordion item */
.fancy-accordion:nth-child(odd) {
  background: rgba(20, 20, 20, 0.7);
}

.fancy-accordion:nth-child(even) {
  background: rgba(30, 30, 30, 0.7);
}

/* Shared accordion styling */
.fancy-accordion {
  border: 1px solid #333;
  padding: 18px 22px;
  margin-bottom: 25px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

/* Gold accent bar on the left */
.fancy-accordion::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(#ffcc00, #b38a00);
  opacity: 0.4;
  transition: 0.3s;
}

/* Glow on hover */
.fancy-accordion:hover {
  border-color: #ffcc00;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.25);
  transform: translateY(-3px);
}

.fancy-accordion:hover::before {
  opacity: 1;
}

/* Summary styling */
.fancy-accordion summary {
  cursor: pointer;
  font-size: 1.25em;
  color: #ffcc00;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.4);
  outline: none;
  list-style: none;
}

/* Smooth open animation */
.fancy-accordion[open] p {
  animation: accordionFade 0.4s ease;
}

@keyframes accordionFade {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Paragraph styling */
.fancy-accordion p {
  margin-top: 15px;
  color: #ddd;
  line-height: 1.5;
}

/* Extra spacing between accordion items */
.fancy-accordion {
  margin-bottom: 30px;
  padding: 18px 22px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

/* Divider line below each item */
.fancy-accordion::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(to right, #ffcc00, transparent);
  margin-top: 25px;
  opacity: 0.3;
}

/* When open, add glow and spacing */
.fancy-accordion[open] {
  border-color: #ffcc00;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.25);
  background: rgba(40, 40, 40, 0.8);
}

.fancy-accordion[open] p {
  margin-top: 15px;
  padding-bottom: 10px;
  animation: accordionFade 0.4s ease;
}

@keyframes accordionFade {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fix spacing between expanded content and next summary */
.fancy-accordion[open] {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-color: #ffcc00;
  background: rgba(40, 40, 40, 0.8);
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.25);
}

/* Add a visible divider line */
.fancy-accordion::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(to right, #ffcc00, transparent);
  margin-top: 20px;
  opacity: 0.5;
}

/* Ensure paragraph spacing inside expanded block */
.fancy-accordion p {
  margin-top: 15px;
  margin-bottom: 10px;
  color: #ddd;
  line-height: 1.6;
}

.fancy-accordion::after {
  content: "— — — — — — — — —";
  display: block;
  text-align: center;
  color: #ffcc00;
  margin-top: 20px;
  font-size: 0.9em;
  opacity: 0.6;
}
