/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   EASY CUSTOMIZATION AREA
   Change these variables to update your server's look and feel
   ========================================================================== */

:root {
  /* Colors */
  --bg-color: #0a0a0a;
  --bg-alt: #121212;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --accent-color: #00b7ff; /* Primary accent (Blue) */
  --accent-gold: #00b7ff;
  --stone-950: #0a0a0a;
  --stone-900: #121212;
  --stone-800: #1c1c1c;

  /* Fonts */
  --font-serif: "Oswald", sans-serif;
  --font-sans: "Montserrat", sans-serif;

  /* UI Elements */
  --btn-radius: 4px;
  --section-padding: 8rem;
  --container-width: 1200px;

  /* Animations */
  --transition-speed: 0.3s;
  --transition-curve: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

.theme-rounded {
  --btn-radius: 4px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Texture Overlay */
.overlay-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
}

canvas#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: transparent;
}

/* Navigation Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 32px; /* adjust as needed */
  width: auto;
  display: block;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px; /* controls spacing cleanly */
  text-decoration: none;
  color: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.nav-links a.active, .nav-links a:hover {
  color: var(--accent-gold);
}

.nav-highlight {
  border: 1px solid var(--accent-gold);
  padding: 0.5rem 1rem;
  border-radius: var(--btn-radius);
  background: rgba(212, 175, 55, 0.1);
}

.nav-btn {
  background: var(--accent-gold);
  color: #000 !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--btn-radius);
  font-size: 0.75rem !important;
}

.nav-btn:hover {
  opacity: 0.9;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 10vw, 6.5rem);
  letter-spacing: 0.02em;
  animation: fadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo img {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

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

h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 60ch;
}

.label {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.accent-text {
  color: var(--accent-color);
  font-style: normal;
}

/* Server IP Box */
.server-ip-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border-radius: var(--btn-radius);
}

.ip-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.copy-btn {
  background: var(--accent-color);
  border: none;
  color: #000;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
  border-radius: 2px;
}

.copy-btn:hover {
  opacity: 0.9;
}

/* Sections */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

body.home-page {
  overflow: hidden;
}

body.home-page footer {
  position: absolute;
  bottom: 0;
  background: transparent;
  border-top: none;
  padding: 1rem 0;
}

body.home-page .footer-bottom {
  justify-content: center;
}

body.home-page .social-links {
  display: none;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.9)), url('../img/background.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.1);
  animation: slowZoom 20s infinite alternate;
  filter: blur(5px);
  display: block;
  opacity: 1;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-top: 1rem;
  line-height: 1;
}

.hero .label {
  color: var(--accent-gold);
  font-weight: 700;
}

/* Features Highlight */
.features-highlight {
  padding: 6rem 0;
  background-color: var(--stone-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  text-align: center;
}

.highlight-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.highlight-item p {
  font-size: 0.95rem;
  margin: 0 auto;
}

/* Pillars Section */
.pillars-section {
  background-color: var(--stone-900);
}

.pillar-card {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: all 0.4s var(--transition-curve);
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent-gold);
  transform: translateY(-10px);
}

.pillar-card h3 {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
  background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 10rem 0;
}

/* Buttons */
.btn-gold {
  background-color: var(--accent-gold);
  color: #000;
  font-weight: 700;
}

.btn-gold:hover {
  background-color: #fff;
  transform: translateY(-2px);
}

.btn-black {
  background-color: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-black:hover {
  background-color: var(--stone-800);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.content-section {
  padding: var(--section-padding) 0;
  position: relative;
  scroll-margin-top: 80px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 2.5rem;
  background-color: var(--bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all var(--transition-speed) var(--transition-curve);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.gallery-item {
  aspect-ratio: 16 / 9;
  background-color: #1a1a1a;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-curve);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-card {
  padding: 2rem;
  border-left: 2px solid var(--accent-color);
  background: rgba(255, 255, 255, 0.02);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--stone-800);
}

.author-info span {
  display: block;
  font-size: 0.875rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.author-title {
  color: var(--text-secondary);
}

.alt-bg {
  background-color: var(--bg-alt);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  animation: fadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all var(--transition-speed) var(--transition-curve);
  text-transform: uppercase;
  border-radius: var(--btn-radius);
}

.btn-primary {
  background-color: var(--accent-color);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
  border-bottom: 1px solid var(--accent-color);
  color: var(--text-primary);
  padding: 0.5rem 0;
  margin-top: 1rem;
}

.btn-outline:hover {
  border-bottom-color: #fff;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  animation: fadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.scroll-indicator .line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-secondary), transparent);
}

/* Grid Layouts */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-left: 2px solid var(--stone-600);
  padding-left: 1.5rem;
}

.pillar p {
  padding-left: 1.5rem;
}

.center-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Footer */
footer {
  width: 100%;
  padding: 4rem 0 2rem;
  background-color: var(--stone-950);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 50;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.nav-group h4 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.nav-group a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.nav-group a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  padding-top: 0;
  border-top: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  margin: 0;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--text-primary);
}

/* Bubbles Animation */
.bubbles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -100px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.1;
  animation: bubble-up 10s infinite ease-in;
}

@keyframes bubble-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.1;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-120vh) scale(1.5);
    opacity: 0;
  }
}

.rules-category, .vote-card, .package-card, .store-info-section, .hero {
  position: relative;
  overflow: hidden;
}

/* Ensure content stays above bubbles */
.hero-content, .rules-category > *, .vote-card > *, .package-card > *, .store-info-section > * {
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 420px) {
  :root {
    --section-padding: 6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 420px) {
  .header {
    padding: 60px 40px;   /* reduce vertical space */
  }

  .header h1 {
    font-size: 18px;      /* scale down text */
  }

  .header p {
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    text-align: center;
  }

  .grid, .pillars-grid, .features-grid, .gallery-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 6rem 0;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/* Page Header (for subpages) */
.page-header {
  padding: 10rem 0 4rem;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/background.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin: 2rem auto 0;
  max-width: 1400px;
  align-items: start;
}

.rules-category {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--btn-radius);
  transition: border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (max-width: 980px) {
  .rules-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }
}

.rules-category:hover {
  border-color: var(--accent-gold);
}

.rules-category h2 {
  color: var(--accent-gold);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 0.75rem;
  text-align: center;
}

.category-rules {
  list-style: none;
  padding: 0;
}

.category-rules li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.category-rules li::before {
  content: '•';
  color: var(--accent-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1rem;
}

.category-rules p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  color: var(--text-secondary);
}

.page-header .container, .page-header p {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  padding: 6rem 0;
  min-height: 60vh;
}

.rules-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.rule-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: var(--btn-radius);
  transition: transform 0.3s var(--transition-curve);
  text-align: center;
}

.rule-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.rules-list p {
  margin-left: auto;
  margin-right: auto;
}

.rule-number {
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

/* Vote Grid */
.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  justify-content: center;
  align-items: start;
}

.vote-card {
  background: var(--stone-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: var(--btn-radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vote-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
}

.vote-card p {
  margin-left: auto;
  margin-right: auto;
}

/* Top Voter Box */
.top-voter-box {
  margin: 5rem auto 0;
  text-align: center;
  background: rgba(0, 86, 255, 0.05);
  padding: 2rem;
  border: 1px dashed var(--accent-gold);
  max-width: 600px;
  border-radius: var(--btn-radius);
}

.top-voter-box h3 {
  margin-bottom: 0.5rem;
  color: var(--accent-gold);
}

.top-voter-box p {
  margin: 0 auto;
}

/* Store Styles */
.store-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: start;
}

.store-sidebar {
  background: var(--stone-900);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--btn-radius);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.sidebar-group {
  margin-bottom: 2rem;
}

.sidebar-group h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.sidebar-link {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  text-align: left;
  padding: 0.75rem 1rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.sidebar-link:hover, .sidebar-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  border-left-color: var(--accent-gold);
}

.store-info-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--btn-radius);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.info-text {
  max-width: 700px;
}

.info-text h3 {
  color: var(--accent-gold);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.info-text p {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
}

.payment-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-methods-img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: var(--btn-radius);
  transition: transform 0.3s ease;
}

.payment-methods-img:hover {
  transform: scale(1.02);
}

.small-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.category-content {
  display: none;
}

.category-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.store-category-title {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 3rem;
  border-bottom: 2px solid rgba(0, 86, 255, 0.3);
  padding-bottom: 1rem;
  text-align: center;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.package-card {
  background: var(--stone-800);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--btn-radius);
  overflow: hidden;
  transition: all 0.3s var(--transition-curve);
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.package-image {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.package-image img {
  width: 100%;
  max-width: 60%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.package-card:hover .package-image img {
  transform: scale(1.05);
}

.package-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.package-price {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  color: var(--text-primary);
  margin: 1rem 0;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  width: 100%;
}

.package-features li {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.package-features li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .store-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .store-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    overflow: visible;
    padding: 1.25rem;
    margin-bottom: 0.5rem;
    display: block;
  }

  .sidebar-group {
    margin-bottom: 1.25rem;
  }

  .sidebar-group:last-child {
    margin-bottom: 0;
  }

  .sidebar-group h4 {
    margin-bottom: 0.5rem;
  }

  .sidebar-link {
    display: block;
    width: 100%;
    font-size: 1rem;
    border-left: 2px solid transparent;
    border-bottom: none;
    white-space: normal;
  }

  .sidebar-link:hover, .sidebar-link.active {
    border-left-color: var(--accent-gold);
    border-bottom-color: transparent;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .store-info-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .payment-info {
    order: -1;
  }

  .payment-methods-img {
    margin: 0 auto 1rem;
  }
}

@media (max-width: 768px) {
  body.home-page {
    overflow-y: auto;
  }

  body.home-page .hero {
    min-height: 100vh;
    height: auto;
    padding: 7rem 0 5rem;
  }

  body.home-page .hero .hero-logo img {
    width: 86px !important;
    height: 86px !important;
    margin-bottom: 12px !important;
  }

  body.home-page .hero .hero-logo h2 {
    font-size: 1.5rem !important;
  }

  body.home-page .hero .label {
    margin-top: 1rem !important;
    font-size: 0.75rem;
  }

  body.home-page .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem) !important;
    line-height: 1.05;
    margin: 0.75rem 0 0.5rem;
  }

  body.home-page .hero-actions {
    margin-top: 0.75rem;
    gap: 0.75rem;
  }

  body.home-page .hero .btn {
    padding: 0.75rem 1.1rem;
    font-size: 0.78rem;
  }

  body.home-page footer {
    position: static;
    padding: 1rem 0 1.25rem;
  }

  body.home-page .footer-bottom p {
    font-size: 0.72rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo span {
    display: none;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.7rem;
  }
}

/* Media Queries Update */
@media (max-width: 420px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 0.75rem;
  }
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
