@import url('https://fonts.cdnfonts.com/css/supercell-magic');

/* ==========================================================================
   #DESIGN SYSTEM
   ========================================================================== */
:root {
  /* -- Palette: Gold / Yellow -- */
  --color-gold-light: #FFD24A;
  --color-gold-medium: #F5B700;
  --color-gold-dark: #C99700;
  --color-gold-highlight: #FFCC33;

  /* -- Palette: Red -- */
  --color-red-main: #D62828;
  --color-red-dark: #9E1C1C;
  --color-red-bright: #E6392F;

  /* -- Palette: Metallic / Neutral -- */
  --color-silver-light: #E6E6E6;
  --color-silver-medium: #BFC3C7;
  --color-grey-contour: #6E6E6E;
  --color-black-pure: #1A1A1A;

  /* -- Semantic Mappings -- */
  --bg-main: var(--color-black-pure);
  --bg-panel: #111111;
  /* Slightly lighter than pure black for cards */
  --text-main: var(--color-silver-light);
  --text-muted: var(--color-silver-medium);
  --border-main: var(--color-grey-contour);

  --color-primary: var(--color-gold-medium);
  --color-secondary: var(--color-gold-dark);
  --color-accent: var(--color-red-main);

  /* -- Typography -- */
  --font-heading: 'Supercell-Magic', serif;
  --font-body: 'Roboto', 'Inter', sans-serif;

  /* -- Spacing -- */
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
  --container-width: 1200px;

  /* -- Effects -- */
  --shadow-gold: 0 0 15px rgba(245, 183, 0, 0.2);
  --shadow-glow: 0 0 25px rgba(245, 183, 0, 0.4);
  --glass-bg: rgba(26, 26, 26, 0.9);
  --glass-blur: blur(12px);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   #RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

/* ==========================================================================
   #TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-gold-medium);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

.text-glow {
  text-shadow: 0 0 12px rgba(245, 183, 0, 0.6);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   #LAYOUT
   ========================================================================== */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   #COMPONENTS
   ========================================================================== */

/* -- Buttons -- */
/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-black-pure);
  /* Contrast text on Gold */
  background: linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold-medium) 100%);
  border: 1px solid var(--color-gold-dark);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-base);
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-gold-highlight);
  color: var(--color-black-pure);
  background: linear-gradient(180deg, var(--color-gold-highlight) 0%, var(--color-gold-light) 100%);
}

.btn-secondary {
  /* New style for less aggressive buttons if needed, or keeping consistency */
  background: transparent;
  border: 1px solid var(--color-silver-medium);
  color: var(--color-silver-light);
}

.btn-secondary:hover {
  border-color: var(--color-gold-medium);
  color: var(--color-gold-medium);
  background: rgba(26, 26, 26, 0.5);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* ==========================================================================
   #NAVBAR (Professional Glassmorphism)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background: transparent;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--color-gold-dark);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 60px;
  width: auto;
  transition: transform 0.3s;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.nav-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold-medium);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold-medium);
}

.nav-link:hover::after {
  width: 100%;
}

/* Nav Toolbar (Audio/Lang) */
.nav-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--color-grey-contour);
}

.nav-item {
  display: flex;
  align-items: center;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.3s;
}

.nav-item:hover {
  color: var(--color-gold-primary);
}

/* Audio Player Compact */
.nav-player {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-btn {
  background: none;
  border: none;
  color: var(--color-gold-medium);
  cursor: pointer;
  font-size: 1rem;
}

.volume-slider-wrapper {
  width: 0;
  overflow: hidden;
  transition: width 0.3s;
  display: flex;
  align-items: center;
}

.nav-player:hover .volume-slider-wrapper {
  width: 80px;
}

input[type=range] {
  width: 100%;
  accent-color: var(--color-gold-medium);
  height: 4px;
}

/* Language Selector */
.lang-dropdown {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.lang-current img {
  width: 18px;
  border-radius: 2px;
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-dark-panel);
  border: 1px solid var(--color-gold-dark);
  border-radius: 4px;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  padding: 5px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-dropdown:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: background 0.2s;
}

.lang-option:hover {
  background: rgba(245, 183, 0, 0.1);
  color: var(--color-gold-medium);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-gold-medium);
  cursor: pointer;
}

/* ==========================================================================
   #HERO SECTION (Asymmetric Redesign)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: #050505;
  overflow: hidden;
  padding-top: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/hero-bg-new.png') no-repeat center center/cover;
  opacity: 0.6;
  z-index: 0;
}

.hero-atmosphere {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, #000 0%, transparent 100%);
  z-index: 1;
}

.asymmetric-layout {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1600px;
  /* Wider for immersion */
  margin: 0 auto;
  padding: 0 40px;
  height: 100vh;
}

/* Typography & Content (Left) */
.hero-text-area {
  flex: 1;
  max-width: 800px;
  padding-right: 50px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.badge-new,
.badge-ver {
  background: rgba(245, 183, 0, 0.1);
  border: 1px solid var(--color-gold-medium);
  color: var(--color-gold-medium);
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-new {
  background: var(--color-gold-medium);
  color: black;
}

.brutalist-title {
  font-size: 5.5rem;
  /* MASSIVE */
  line-height: 0.85;
  margin-bottom: 25px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  letter-spacing: -2px;
}

.brutalist-title.long-title {
  font-size: 3.5rem;
  /* Reduced from 5.5rem to fit longer text */
  line-height: 1.1;
}

.highlight-gold {
  color: var(--color-gold-medium);
  text-shadow: 0 0 40px rgba(245, 183, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #ccc;
  max-width: 500px;
  margin-bottom: 40px;
  border-left: 3px solid var(--color-gold-dark);
  padding-left: 20px;
}

/* Actions */
.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-xl {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-glow {
  box-shadow: 0 0 20px rgba(245, 183, 0, 0.3);
  animation: pulse-gold 2s infinite;
}

.btn-discord {
  background: #5865F2;
  border-color: #5865F2;
  color: white;
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

/* Status Mini */
.hero-footer-status {
  font-family: var(--font-heading);
  color: #666;
  font-size: 0.9rem;
}

.mini-countdown {
  color: var(--color-gold-medium);
  font-size: 1.2rem;
}

/* Visual Dominant (Right) */
.hero-visual-dominant {
  flex: 1;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  /* Click through to bg if needed */
}

.hero-visual-dominant img {
  height: 95vh;
  /* Occupy almost full height */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(-20px 0 50px rgba(0, 0, 0, 0.5));
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  /* Fade feet */
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  transform: translateX(50px);
}

@keyframes pulse-gold {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 183, 0, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(245, 183, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(245, 183, 0, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-visual-dominant img {
    height: 60vh;
  }

  .asymmetric-layout {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
  }

  .hero-text-area {
    padding-right: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    border-left: none;
    padding: 0;
  }

  .hero-visual-dominant {
    width: 100%;
    justify-content: center;
    height: auto;
  }

  .hero-visual-dominant img {
    height: 50vh;
    mask-image: none;
  }
}

.footer {
  background: url('../assets/rodape.png') no-repeat center center;
  background-size: cover;
  border-top: 1px solid #222;
  padding: 80px 0 30px;
  position: relative;
  color: #888;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  /* Overlay */
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-brand p {
  color: #666;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-gold-dark);
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #888;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--color-gold-medium);
  padding-left: 5px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ccc;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.footer-socials a:hover {
  background: var(--color-gold-medium);
  color: var(--color-black-pure);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #111;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #444;
}

/* ==========================================================================
   #Reused Sections from Original (Features, etc.) kept for layout
   ========================================================================== */
.section-features {
  background: url('../assets/features-bg.png') no-repeat center center/cover;
  position: relative;
  padding: 100px 0;
}

.section-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.section-features .container {
  position: relative;
  z-index: 2;
}

/* Carousel Styles Adapted */
/* Feature Grid (Replaces Carousel) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-panel);
  /* Double Border Technique: Outer Border (CSS) + Inner Border (Pseudo) */
  border: 1px solid #333;
  /* Outer dark border */
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  /* Ensure content is above ::before */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* The Inner Frame (Gold-ish thin line inset) */
.feature-card::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Subtle inner line */
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 0;
}

/* Corner Glow Effect (Top Right) */
.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 183, 0, 0.1) 0%, transparent 60%);
  transition: all 0.5s ease;
  opacity: 0;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #555;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.feature-card:hover::after {
  border-color: var(--color-gold-dark);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
  opacity: 1;
  top: -20%;
  right: -20%;
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--color-gold-light);
  margin-bottom: 20px;
}

.feature-list {
  text-align: left;
}

.feature-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 0;
  color: #aaa;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.feature-list li span:last-child {
  color: var(--color-text-main);
  font-weight: bold;
}

/* ==========================================================================
   #INSTALL PIPELINE (Step-by-Step Flow)
   ========================================================================== */
.section-play {
  background: linear-gradient(180deg, #101010 0%, #050505 100%);
  padding: 100px 0;
  border-top: 1px solid #222;
}

.brutalist-header {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.install-pipeline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.install-step {
  position: relative;
  width: 300px;
  text-align: center;
}

.step-marker {
  width: 40px;
  height: 40px;
  background: #222;
  color: #555;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 20px;
  z-index: 2;
  position: relative;
  border: 1px solid #333;
}

.step-highlight .step-marker {
  background: var(--color-gold-medium);
  color: black;
  box-shadow: 0 0 15px rgba(245, 183, 0, 0.5);
}

/* Step Card (Download Section) - Applied Same Premium Style */
.step-card {
  background: #111;
  border: 1px solid #333;
  padding: 30px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

.step-card::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  transition: border-color 0.3s;
}

.install-step:hover .step-card,
.step-highlight .step-card {
  border-color: #555;
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.install-step:hover .step-card::after,
.step-highlight .step-card::after {
  border-color: var(--color-gold-medium);
}

.step-icon {
  font-size: 2rem;
  color: #555;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.install-step:hover .step-icon {
  color: var(--color-gold-light);
}

.step-highlight .step-icon {
  color: var(--color-gold-medium);
}

.step-card h3 {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 5px;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: #222;
  max-width: 100px;
  min-width: 30px;
  margin-top: -80px;
  /* Align with markers */
}

/* Specific Buttons */
.btn-block {
  width: 100%;
}

.btn-gold-pulse {
  width: 100%;
  display: inline-block;
  padding: 12px 0;
  background: var(--color-gold-medium);
  color: black;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  animation: pulse-gold 2s infinite;
}

.btn-outline {
  width: 100%;
  display: inline-block;
  padding: 12px 0;
  border: 1px solid #444;
  color: #ccc;
  text-transform: uppercase;
  font-weight: bold;
}

.btn-outline:hover {
  border-color: var(--color-gold-medium);
  color: var(--color-gold-medium);
}

@media (max-width: 768px) {
  .install-pipeline {
    flex-direction: column;
    gap: 40px;
  }

  .step-connector {
    width: 2px;
    height: 30px;
    margin: 0;
  }
}

/* Donate Section */
/* Donate Section */
.section-donate {
  background: url('../assets/donate-banner-final.png') no-repeat center center;
  background-size: cover;
  position: relative;
  text-align: center;
  padding: 150px 0;
  margin-top: 0;
  border-top: 1px solid #222;
}

.section-donate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.4);
  /* Reduced opacity by ~50% (was 0.85) */
  z-index: 1;
}

.section-donate .container {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 60px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  max-width: 800px;
  /* Constrain width for better reading */
}

.section-donate h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-gold-light);
}

.donate-actions {
  margin-top: 40px;
}

/* Footer */
.footer {
  background: url('../assets/rodape.png') no-repeat center bottom;
  background-size: cover;
  /* Reverted to cover as requested */
  border-top: 1px solid #222;
  padding: 120px 0 40px;
  /* Reverted padding */
  position: relative;
  color: #e0e0e0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  /* Very subtle overlay to let cats shine */
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
  /* Bring text above overlay */
}

/* ==========================================================================
   #RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-height: 300px;
    margin: 0 auto;
  }

  .nav-menu {
    display: none;
    /* Mobile menu needed */
  }

  .mobile-toggle {
    display: block;
  }

  /* Mobile Menu Active State would go here */
  .navbar.mobile-active .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-panel);
    padding: 20px;
    border-bottom: 1px solid var(--color-gold-primary);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .countdown-timer {
    gap: 10px;
  }

  .timer-val {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   #INFO / UPDATES PAGE STYLES
   ========================================================================== */

/* Page Header (Info Page) */
.page-header {
  padding: 120px 0 40px;
  background: linear-gradient(to bottom, #000 0%, #0a0a0a 100%);
  border-bottom: 1px solid #222;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-gold-medium);
  margin-bottom: 10px;
}

.page-subtitle {
  color: #888;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Update Filters */
.update-filters {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid #333;
  color: #888;
  padding: 10px 25px;
  cursor: pointer;
  font-family: var(--font-main);
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(245, 183, 0, 0.1);
  border-color: var(--color-gold-medium);
  color: var(--color-gold-medium);
}

/* Updates Layout */
.updates-section {
  background: #050505;
  min-height: 80vh;
}

.update-card {
  background: #0e0e0e;
  border: 1px solid #1a1a1a;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
  /* For corners */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Gold Corners (L-Shapes) */
.corner-L {
  position: absolute;
  width: 15px;
  height: 15px;
  border-color: var(--color-gold-medium);
  border-style: solid;
  pointer-events: none;
  opacity: 0.8;
}

.top-left {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.top-right {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.bottom-left {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}

.bottom-right {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.update-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid #222;
  padding-bottom: 15px;
}

.update-date {
  font-family: var(--font-heading);
  color: var(--color-gold-light);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.update-server {
  font-size: 0.9rem;
  color: var(--color-gold-dark);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.change-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  line-height: 1.6;
}

.change-tag {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 2px 0;
  margin-right: 20px;
  min-width: 80px;
  text-align: right;
  letter-spacing: 0.5px;
}

.tag-improvement {
  color: #00d2aa;
  /* Cyan/Green from image */
}

.tag-new {
  color: var(--color-gold-light);
}

.tag-fix {
  color: #ff4d4d;
}

.change-text {
  color: #ccc;
  font-size: 1rem;
}

/* Navbar Scrolled Override for Info Page */
.page-header+.updates-section {
  padding-top: 50px;
}

/* ==========================================================================
   #SUPPORT SECTION (Discord)
   ========================================================================== */
.support-container {
  padding: 40px;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Column */
.support-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.discord-icon-box {
  width: 60px;
  height: 60px;
  background: #5865F2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

.support-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
}

.support-subtitle {
  color: #888;
  font-size: 0.9rem;
  margin-top: 5px;
}

.support-text {
  color: #bbb;
  margin-bottom: 30px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.how-works-title {
  color: var(--color-gold-medium);
  font-size: 1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.support-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.support-steps li {
  color: var(--color-gold-light);
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.btn-discord-cta {
  background: #FFD24A;
  /* Yellow/Gold to match image */
  color: #000;
  border: none;
  font-size: 1rem;
  width: 100%;
  text-align: center;
  font-weight: bold;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-discord-cta:hover {
  background: #ffdb70;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 210, 74, 0.3);
}

/* Right Column */
.support-categories {
  border-left: 1px solid #222;
  padding-left: 60px;
}

.categories-title {
  color: var(--color-gold-medium);
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cat-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.cat-icon {
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  font-size: 1rem;
  flex-shrink: 0;
}

.cat-details h5 {
  font-family: var(--font-body);
  /* Use simple font for these headers */
  font-size: 1rem;
  color: #fff;
  margin: 0 0 5px 0;
  font-weight: bold;
}

.cat-details p {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
  .support-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .support-categories {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #222;
    padding-top: 40px;
  }
}


/* ==========================================================================
   #DONATION SECTION (Fair Play)
   ========================================================================== */
.donate-item-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid #333;
  padding: 15px 25px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: default;
}

.donate-item-card:hover {
  border-color: var(--color-gold-medium);
  background: rgba(245, 183, 0, 0.05);
  transform: translateY(-2px);
}

.donate-icon {
  font-size: 1.5rem;
  color: var(--color-gold-medium);
}

.donate-item-card span {
  font-family: var(--font-heading);
  color: #ccc;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* New Countdown Styles (Boxed) */
.hero-countdown-new {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 20px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.c-box {
  width: 80px;
  height: 80px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--color-gold-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.8);
  position: relative;
}

/* Inner Glow/Border Effect */
.c-box::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid rgba(245, 183, 0, 0.2);
  border-radius: 4px;
}

.c-box span {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-gold-highlight);
  text-shadow: 0 2px 10px rgba(245, 183, 0, 0.4);
}

.c-label {
  font-size: 0.75rem;
  font-weight: bold;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.c-sep {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #666;
  margin-top: 20px;
  /* Align with numbers */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-countdown-new {
    gap: 8px;
    justify-content: center;
  }

  .c-box {
    width: 60px;
    height: 60px;
  }

  .c-box span {
    font-size: 1.8rem;
  }

  .c-sep {
    font-size: 1.5rem;
    margin-top: 15px;
  }
}

/* ==========================================================================
   #FLOATING EVENTS WIDGET (Compact / Mini)
   ========================================================================== */
.events-widget {
  position: fixed;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  /* Reduced from 280px */
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid #333;
  border-radius: 4px;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
  font-family: var(--font-body);
  transition: transform 0.3s ease, opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

/* Double Border Effect */
.events-widget::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid rgba(245, 183, 0, 0.15);
  pointer-events: none;
  z-index: 0;
}

.widget-header {
  background: linear-gradient(to right, rgba(20, 20, 20, 0.9), transparent);
  padding: 10px;
  /* Reduced padding */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.widget-header i {
  color: var(--color-gold-medium);
  font-size: 0.8rem;
  /* Smaller icon */
}

.widget-header span {
  font-family: var(--font-heading);
  color: var(--color-gold-medium);
  font-size: 0.7rem;
  /* Smaller title */
  letter-spacing: 0.5px;
}

.widget-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.widget-close:hover {
  color: var(--color-red-main);
}

.widget-body {
  padding: 5px;
  position: relative;
  z-index: 1;
}

.event-group {
  display: flex;
  justify-content: space-between;
  /* Push icon to right */
  align-items: center;
  /* Vertical center */
  gap: 8px;
  padding: 8px;
  margin-bottom: 3px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.event-group:last-child {
  margin-bottom: 0;
}

.event-icon img {
  width: 24px;
  /* Reduced from 32px */
  height: 24px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.event-info h4 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  /* Smaller text */
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1.1;
}

.event-info p {
  margin: 1px 0 0 0;
  font-size: 0.65rem;
  /* Smaller text */
  color: #888;
}

/* --- ACTIVE STATE (Dynamic Highlighting) --- */
.event-group.active {
  background: rgba(245, 183, 0, 0.05);
  border: 1px solid rgba(245, 183, 0, 0.4);
  box-shadow: 0 0 10px rgba(245, 183, 0, 0.05) inset;
}

.event-group.active h4 {
  color: var(--color-gold-highlight);
  text-shadow: 0 0 5px rgba(245, 183, 0, 0.3);
}

.event-group.active p {
  color: #ddd;
}

/* Minimized State */
.events-widget.minimized {
  transform: translateX(calc(100% + 20px));
}

/* Responsive Hide */
@media (max-width: 1024px) {
  .events-widget {
    display: none;
  }
}

/* ==========================================================================
   #MOBILE RESPONSIVE (< 480px)
   ========================================================================== */
@media (max-width: 480px) {

  /* Typo Adjustments */
  .brutalist-title,
  .brutalist-title.long-title {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }

  /* Stack actions vertically */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
    gap: 15px;
  }

  .btn-xl {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
  }

  /* Reduce spacing */
  .section,
  .section-features,
  .section-updates,
  .section-play,
  .section-donate,
  .section-support,
  .footer {
    padding: 50px 0;
  }

  /* Updates Card */
  .update-card {
    padding: 20px;
  }

  /* Container */
  .container {
    width: 95%;
    padding: 0 15px;
  }

  /* Countdown fits smaller screens */
  .hero-countdown-new {
    gap: 5px;
  }

  .c-box {
    width: 50px;
    height: 50px;
  }

  .c-box span {
    font-size: 1.4rem;
  }

  .c-label {
    font-size: 0.65rem;
  }

  .c-sep {
    font-size: 1.2rem;
    margin-top: 10px;
  }

  /* Support Section */
  .discord-icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}