/* Page layouts and specialist widgets. Shared EVAC components: evac-internal.css. */
@layer evac-pages {
.hero {
  background-color: var(--bg-primary);
}
.section {
  background-color: var(--bg-primary);
}
.button {
  position: relative;
  overflow: hidden;
}
a {
  text-decoration: none;
}
.accordion-item .button.is-dark {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
.accordion-item .button.is-dark:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-orange);
}
.accordion-content .box {
  border: 1px solid var(--border-color);
}
.has-background-dark {
  background-color: var(--bg-primary);
}
.has-background-darker {
  background-color: var(--bg-secondary);
}
section.hero.is-large {
  background-color: var(--bg-primary);
  background-image: url('/static/images/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
section.hero.is-large::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: var(--bg-secondary);
  pointer-events: none;
  z-index: 2;
}
section.hero.is-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-secondary);
  z-index: 1;
}
.hero-body {
  position: relative;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-secondary);
  z-index: 1;
}
.voidline-gradient {
  background-image: none;
  background-size: 300% 100%;
  color: var(--accent-orange);
  display: inline-block;
}
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
}
.scroll-text {
  font-size: 5rem;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.arrow-down {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(181, 147, 107, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-orange);
}
.arrow-down i {
  color: var(--accent-orange);
  font-size: 1.2rem;
}
.main-carousel {
  margin-bottom: 1rem;
}
.gallery-wrapper-box {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.carousel-cell {
  width: 100%;
  margin-right: 1rem;
}
.carousel-cell .card {
  height: 100%;
  background: var(--bg-secondary);
  border: none;
  border-radius: 8px;
  transform: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}
.carousel-cell .card-image figure {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.flickity-button {
  display: none;
}
.main-carousel .flickity-page-dots {
  display: none;
}
.accordion-slide-down {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.5rem;
}
.accordion-content:not(.is-hidden) .accordion-slide-down {
  max-height: 500px;
  padding: 1.5rem;
}
.accordion-content {
  transition: all 0.3s ease;
}
.accordion-content.is-hidden {
  max-height: 0;
  overflow: hidden;
}
.accordion-content:not(.is-hidden) {
  max-height: 500px;
  overflow: visible;
}
.carousel-cell .card {
  border-radius: 12px;
  overflow: hidden;
  transform: none;
}
.carousel-cell .card-image img {
  transition: none;
}
.carousel-cell .card-content {
  padding: 1.25rem 1rem;
  border-radius: 0 0 12px 12px;
  min-height: 80px;
}
.carousel-cell .card-content .content {
  margin: 0;
}
.carousel-cell .card-content h4.title {
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.3;
}
.carousel-cell .card-content p {
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 0.75rem;
  opacity: 0.85;
}
.carousel-cell .title.is-5 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.scroll-indicator:hover .arrow-down {
  background: rgba(181, 147, 107, 0.4);
  transition: all 0.3s ease;
}
.scroll-arrow {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.scroll-text {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.arrow-down {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(181, 147, 107, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.arrow-down i {
  color: white;
  font-size: 1.2rem;
}
.lore-section {
  max-height: 150px;
  overflow: hidden;
  transition: max-height 0.5s ease;
  position: relative;
}
.lore-section.collapsed {
  max-height: 700px;
}
.lore-section.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-secondary);
  pointer-events: none;
}
.lore-section:not(.collapsed) {
  max-height: none;
  overflow: visible;
}
.lore-section:not(.collapsed) .box {
  overflow: visible;
}
.lore-timeline-container {
  position: relative;
  overflow: visible;
  min-height: 400px;
}
.lore-full-container {
  display: none;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.lore-full-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.connection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(232, 231, 223, 0.1);
}
.connection-tag {
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  background: rgba(27, 30, 25, 0.8);
  color: #e8e7df;
  border: 1px solid rgba(232, 231, 223, 0.15);
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
}
.connection-tag:hover {
  background: rgba(181, 147, 107, 0.15);
  border-color: rgba(181, 147, 107, 0.4);
  color: #b5936b;
}
.connection-tooltip {
  position: fixed;
  background: var(--bg-secondary);
  border: 1px solid rgba(181, 147, 107, 0.3);
  border-radius: 12px;
  padding: 1rem;
  max-width: 600px;
  min-width: 400px;
  max-height: 80vh;
  z-index: 10000;
  pointer-events: none;
  backdrop-filter: blur(10px);
  overflow-y: auto;
  overflow-x: hidden;
}
.connection-tooltip::-webkit-scrollbar {
  width: 6px;
}
.connection-tooltip::-webkit-scrollbar-track {
  background: rgba(27, 30, 25, 0.2);
  border-radius: 3px;
}
.connection-tooltip::-webkit-scrollbar-thumb {
  background: rgba(181, 147, 107, 0.4);
  border-radius: 3px;
}
.connection-tooltip::-webkit-scrollbar-thumb:hover {
  background: rgba(181, 147, 107, 0.6);
}
.connection-tooltip .tooltip-header {
  color: #b5936b;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(181, 147, 107, 0.2);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 1;
}
.connection-tooltip .tooltip-header strong {
  color: #b5936b;
  font-weight: 700;
}
.connection-tooltip .tooltip-content {
  color: #e8e7df;
  font-size: 0.85rem;
  line-height: 1.5;
  word-wrap: break-word;
}
.connection-tooltip * {
  color: inherit;
}
.lore-full-column .lore-item {
  background: rgba(27, 30, 25, 0.7);
  border-left: 4px solid var(--faction-green);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}
.lore-full-column .lore-item:hover {
  background: rgba(27, 30, 25, 0.9);
}
.lore-full-column .lore-item .timeline-content {
  margin-top: 1rem;
  word-wrap: normal;
  overflow-wrap: normal;
  word-break: keep-all;
}
.lore-full-column .lore-item .timeline-content p {
  word-wrap: normal;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}
.lore-full-column[data-faction="ns"] .lore-item,
.lore-full-column .lore-item[data-id^="ns-"] {
  border-left-color: var(--faction-green);
}
.lore-full-column[data-faction="spr"] .lore-item,
.lore-full-column .lore-item[data-id^="spr-"] {
  border-left-color: var(--faction-yellow);
}
.lore-full-column[data-faction="kp"] .lore-item,
.lore-full-column .lore-item[data-id^="kp-"] {
  border-left-color: var(--faction-red);
}
.lore-full-column[data-faction="contraband"] .lore-item,
.lore-full-column .lore-item[data-id^="contraband-"] {
  border-left-color: var(--faction-orange);
}
.lore-timeline-container .columns {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
}
.lore-timeline-container .columns .column {
  flex: 0 0 25%;
  max-width: 25%;
  width: 25%;
  padding: 0 0.75rem;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
  isolation: isolate;
  position: relative;
}
.lore-column {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
}
.lore-column-general .lore-item {
  border-left: 3px solid var(--accent-orange);
}
.lore-column-general .lore-item:hover {
  border-left-color: var(--accent-orange-light);
  background: var(--bg-secondary);
  z-index: 2;
}
.lore-column-ns .lore-item {
  border-left: 3px solid var(--faction-green);
}
.lore-column-ns .lore-item:hover {
  border-left-color: var(--faction-green-light);
  background: var(--bg-secondary);
  z-index: 2;
}
.lore-column-ns .timeline-year {
  color: var(--text-primary);
}
.lore-column-spr .lore-item {
  border-left: 3px solid var(--faction-yellow);
}
.lore-column-spr .lore-item:hover {
  border-left-color: var(--faction-yellow-light);
  background: var(--bg-secondary);
  z-index: 2;
}
.lore-column-spr .timeline-year {
  color: var(--text-primary);
}
.lore-column-kp .lore-item {
  border-left: 3px solid var(--faction-red);
}
.lore-column-kp .lore-item:hover {
  border-left-color: var(--faction-red-light);
  background: var(--bg-secondary);
  z-index: 2;
}
.lore-column-kp .timeline-year {
  color: var(--text-primary);
}
.lore-column-contraband .lore-item {
  border-left: 3px solid var(--faction-orange);
}
.lore-column-contraband .lore-item:hover {
  border-left-color: var(--faction-orange-light);
  background: var(--bg-secondary);
  z-index: 2;
}
.lore-column-contraband .timeline-year {
  color: var(--text-primary);
}
.lore-column-kp .timeline-year {
  color: var(--faction-red);
}
.lore-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  max-height: none;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: normal;
  overflow-wrap: normal;
  word-break: keep-all;
}
.lore-item:last-child {
  margin-bottom: 0;
  padding-bottom: 1rem;
}
.lore-item::after {
  content: none;
}
.lore-item:hover {
  max-height: none;
}
.lore-item:hover::after {
  opacity: 1;
}
.timeline-year {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.timeline-content {
  margin-top: 0.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: normal;
  overflow-wrap: normal;
  word-break: keep-all;
}
.timeline-content p {
  word-wrap: normal;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  max-width: 100%;
}
.faction-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid transparent;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.columns > .column:nth-child(1) .faction-header .title,
.columns > .column:nth-child(2) .faction-header .title,
.columns > .column:nth-child(3) .faction-header .title,
.columns > .column:nth-child(4) .faction-header .title {
  color: var(--text-primary);
}
.faction-header .title {
  margin-bottom: 0.3rem;
}
.lore-column-ns + .faction-header,
.faction-header:has(+ .lore-column-ns) {
  border-bottom: 2px solid var(--faction-green);
}
.lore-column-spr + .faction-header,
.faction-header:has(+ .lore-column-spr) {
  border-bottom: 2px solid var(--faction-yellow);
}
.lore-column-kp + .faction-header,
.faction-header:has(+ .lore-column-kp) {
  border-bottom: 2px solid var(--faction-red);
}
.lore-column-contraband + .faction-header,
.faction-header:has(+ .lore-column-contraband) {
  border-bottom: 2px solid var(--faction-orange);
}
.columns > .column:nth-child(1) .faction-header {
  border-bottom: 2px solid var(--faction-green);
}
.columns > .column:nth-child(2) .faction-header {
  border-bottom: 2px solid var(--faction-yellow);
}
.columns > .column:nth-child(3) .faction-header {
  border-bottom: 2px solid var(--faction-red);
}
.columns > .column:nth-child(4) .faction-header {
  border-bottom: 2px solid var(--faction-orange);
}
.lore-header {
  text-align: center;
}
.lore-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.lore-controls > .button {
  min-width: 300px;
  max-width: 400px;
  width: 100%;
  padding: 0.5rem 1.5rem;
  font-size: 0.95rem;
  height: auto;
}
.lore-actions {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.lore-actions {
  transition: opacity 0.3s ease, max-height 0.3s ease;
}
.lore-actions.is-hidden {
  display: none;
}
.lore-actions .buttons.has-addons {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.lore-actions .buttons.has-addons .button {
  margin: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.lore-actions .buttons.has-addons .button:not(:last-child) {
  border-right: 2px solid var(--border-color);
  margin-right: 0.75rem;
}
.lore-actions .buttons.has-addons .button {
  border-radius: 6px;
}
.lore-actions .buttons.has-addons .button.is-primary {
  border-left: none;
}
.faction-btn, .lore-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: all 0.3s ease;
}
.faction-btn:hover, .lore-toggle:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-orange);
}
.faction-btn.is-primary, .lore-toggle.is-primary,
.faction-btn.active {
  background: var(--bg-secondary);
  border-color: var(--accent-orange);
}
.faction-btn.is-primary:hover, .lore-toggle.is-primary:hover {
  background: var(--bg-secondary);
}
.faction-selector {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(27, 30, 25, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(181, 147, 107, 0.2);
}
.faction-selector .buttons {
  justify-content: center;
  gap: 0.5rem;
}
.faction-selector-btn {
  background: rgba(27, 30, 25, 0.8);
  border: 2px solid rgba(232, 231, 223, 0.1);
  color: #e8e7df;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 120px;
  position: relative;
  overflow: hidden;
}
.faction-selector-btn:hover {
  background: rgba(27, 30, 25, 0.9);
  border-color: rgba(181, 147, 107, 0.5);
  color: #b5936b;
}
.faction-selector-btn.is-primary {
  background: var(--bg-secondary);
  border-color: #b5936b;
  color: #b5936b;
  font-weight: 700;
}
.faction-selector-btn.is-primary:hover {
  background: var(--bg-secondary);
}
.button.disabled,
.button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.lore-column-general .lore-item.connected-hover {
  background: var(--bg-secondary);
}
.lore-column-general .lore-item.connected-target,
.lore-column-general .lore-item.connected-source {
  background: var(--bg-secondary);
}
.lore-column-ns .lore-item.connected-hover {
  background: var(--bg-secondary);
}
.lore-column-ns .lore-item.connected-target,
.lore-column-ns .lore-item.connected-source {
  background: var(--bg-secondary);
}
.lore-column-kpr .lore-item.connected-hover {
  background: var(--bg-secondary);
}
.lore-column-kpr .lore-item.connected-target,
.lore-column-kpr .lore-item.connected-source {
  background: var(--bg-secondary);
}
.lore-column-kp .lore-item.connected-hover {
  background: var(--bg-secondary);
}
.lore-column-kp .lore-item.connected-target,
.lore-column-kp .lore-item.connected-source {
  background: var(--bg-secondary);
}
.lore-column-spr .lore-item.connected-hover {
  background: var(--bg-secondary);
}
.lore-column-spr .lore-item.connected-target,
.lore-column-spr .lore-item.connected-source {
  background: var(--bg-secondary);
}
.lore-column-contraband .lore-item.connected-hover {
  background: var(--bg-secondary);
}
.lore-column-contraband .lore-item.connected-target,
.lore-column-contraband .lore-item.connected-source {
  background: var(--bg-secondary);
}
.lore-item.connected-hover {
  opacity: 1;
  max-height: 1000px;
  transform: none;
  transition: all 0.3s ease;
  z-index: 2;
}
.lore-item.connected-hover::after {
  opacity: 0;
}
.lore-item.connected-target {
  opacity: 1;
  max-height: none;
}
.lore-item.connected-target::after {
  opacity: 0;
}
.lore-item.connected-source {
  opacity: 1;
  max-height: none;
}
.lore-item.connected-source::after {
  opacity: 0;
}
@media (max-width: 1024px) {
.lore-timeline-container .columns {
  flex-direction: column;
  flex-wrap: wrap;
}
.lore-timeline-container .columns .column {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  margin-bottom: 2rem;
}
.lore-timeline-container .column.is-3,
    .lore-timeline-container .column.is-4 {
  width: 100%;
  max-width: 100%;
  margin-bottom: 2rem;
}
}
@media (max-width: 768px) {
.lore-item {
  padding: 0.75rem;
}
.timeline-year {
  font-size: 1.3rem;
}
.faction-header .title {
  font-size: 1.5rem;
}
}
.server-card {
  border: 1px solid #22271e;
  border-radius: 8px;
  overflow: hidden;
  background: #1b1e19;
}
.server-card .card-content {
  border-top: 1px solid #22271e;
}
.players-row {
  display: flex;
  align-items: center;
  font-weight: 500;
}
.players-count {
  color: #e8e7df;
}
.player-slider {
  width: 100%;
  height: 14px;
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid rgba(232, 231, 223, 0.15);
  border-radius: 999px;
  overflow: hidden;
}
.player-slider-bar {
  height: 100%;
  width: 0%;
  position: relative;
  background: var(--bg-secondary);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.player-slider-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-secondary);
  background-size: 200% 100%;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.player-slider-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e8e7df;
}
.server-card.offline .player-slider-bar {
  background: var(--bg-secondary);
}
.server-card.offline .player-slider-bar::before {
  background: #e8e7df;
}
@media (max-width: 768px) {
#serverCards .column {
  width: 100%;
}
}
.start-instruction-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
.instruction-steps {
  position: relative;
}
.instruction-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  position: relative;
  padding-left: 0.5rem;
}
.instruction-step::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 2.5rem;
  bottom: -0.75rem;
  width: 2px;
  background: var(--bg-secondary);
  opacity: 0.3;
}
.instruction-step:last-child::before {
  display: none;
}
.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}
.step-content {
  flex: 1;
  padding-top: 0.25rem;
}
.step-content .title.is-5 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.step-content p {
  font-size: 0.9rem;
  line-height: 1.5;
}
.step-content h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.community-slider-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}
.community-carousel {
  width: 100%;
  height: 100%;
  min-height: 400px;
}
.community-carousel .carousel-cell {
  width: 100%;
  height: 100%;
  min-height: 400px;
  margin-right: 0;
}
.community-slide {
  width: 100%;
  height: 100%;
  min-height: 400px;
  top: 1rem;
  padding: 1.5rem 2rem 2rem 2rem;
}
.community-slide .content {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.community-icon-wrapper {
  margin-bottom: 0rem;
  margin-top: 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.community-icon-large {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid rgba(181, 147, 107, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.community-icon-large:hover {
  border-color: rgba(181, 147, 107, 0.7);
}
.community-icon-large i {
  font-size: 1.75rem;
  color: var(--accent-orange);
}
.community-slide .title.is-3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}
.community-slide p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.community-carousel .flickity-page-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  gap: 6px;
  margin: 0;
}
.community-carousel .flickity-page-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(232, 231, 223, 0.3);
  border: none;
  opacity: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 0;
}
.community-carousel .flickity-page-dots .dot.is-selected {
  background: var(--accent-orange);
  width: 24px;
  border-radius: 4px;
}
.community-carousel .flickity-page-dots .dot:hover {
  background: rgba(181, 147, 107, 0.6);
}
.server-card-combined {
  transition: all 0.3s ease;
}
.server-card-combined .server-item {
  padding: 0.4rem 0;
}
.server-card-combined .server-item:first-child {
  padding-top: 0;
}
.server-card-combined .server-item:last-child {
  padding-bottom: 0;
}
.server-card-combined .server-divider {
  height: 1px;
  background: var(--bg-secondary);
  margin: 0.4rem 0;
  position: relative;
}
.server-card-combined .server-divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: var(--accent-orange);
  border-radius: 50%;
}
.server-card-combined .server-title-group {
  flex: 1;
  display: flex;
  align-items: center;
  margin-right: 0.75rem;
}
.server-card-combined .server-divider-dot {
  font-size: 0.6rem;
  opacity: 0.5;
}
.server-card-combined .players-count {
  font-size: 0.75rem;
  opacity: 0.7;
}
.server-card-combined .player-slider {
  height: 12px;
  margin-top: 0.75rem;
  background: rgba(232, 231, 223, 0.1);
  border-radius: 6px;
  overflow: hidden;
}
.server-card-combined .button {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  margin-top: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.server-card-combined .server-header {
  margin-bottom: 0;
}
@media (max-width: 768px) {
.server-card-combined .server-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.server-card-combined .server-title-group {
  margin-right: 0;
  margin-bottom: 0.5rem;
}
.server-card-combined .server-header .button {
  width: 100%;
}
.community-slider-box {
  height: auto;
  min-height: auto;
}
.community-carousel {
  height: auto;
  min-height: auto;
}
.community-carousel .carousel-cell {
  height: auto;
  min-height: auto;
}
.community-slide {
  padding: 1.5rem 1.5rem 3rem 1.5rem;
  height: auto;
  min-height: auto;
  top: 0;
}
.community-slide .content {
  padding-bottom: 0.5rem;
}
.community-icon-large {
  width: 4rem;
  height: 4rem;
}
.community-icon-large i {
  font-size: 1.5rem;
}
.community-slide .title.is-3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.community-slide p {
  font-size: 0.9rem;
  line-height: 1.6;
}
}
.server-card-combined .button.is-disabled,
.server-card-combined .button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.server-card-combined .server-item.offline .player-slider-bar {
  background: var(--bg-secondary);
}
.server-card-combined .server-item.offline .player-slider-bar::before {
  background: #e8e7df;
}
.server-card-mini {
  height: 100%;
  transition: all 0.3s ease;
  margin-bottom: 0;
}
.server-card-mini .card-content {
  padding: 1rem;
}
.server-card-mini .card-image {
  overflow: hidden;
}
.server-card-mini .card-image figure {
  margin-bottom: 0;
}
.server-card-mini .card-image img {
  transition: transform 0.3s ease;
}
.server-card-mini .players-row {
  font-size: 0.875rem;
}
.server-card-mini .player-slider {
  height: 10px;
  margin-top: 0.5rem;
}
.server-card-mini .button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}
.server-card-mini .button.is-disabled,
.server-card-mini .button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.equal-height-columns {
  display: flex;
  align-items: stretch;
}
.equal-height-columns .column.is-6 {
  display: flex;
  flex-direction: column;
}
.column-content-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1.25rem;
}
.column-left .start-instruction-box {
  flex-shrink: 0;
}
.column-left .community-slider-box {
  flex: 1 1 auto;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}
.column-right .gallery-wrapper-box {
  flex-shrink: 0;
}
.column-right #serverCards {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.column-right #serverCards .server-card-combined {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.column-right #serverCards .server-card-combined .card-content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
}
.start-instruction-box {
  padding: 1.5rem;
  margin-bottom: 0;
}
.start-instruction-box .title.is-3 {
  margin-bottom: 1.25rem;
}
.start-instruction-box .instruction-step {
  margin-bottom: 0.75rem;
}
.start-instruction-box .instruction-step:last-child {
  margin-bottom: 0;
}
.gallery-wrapper-box {
  padding: 1.5rem;
  margin-bottom: 0;
}
.column-right #serverCards .server-card-combined {
  margin-bottom: 0;
}
.column-right #serverCards .server-item {
  margin-bottom: 0;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
}
.column-right #serverCards .server-item:first-child {
  flex: 1 1 auto;
}
.column-right #serverCards .server-item:last-child {
  flex: 1 1 auto;
}
.column-right #serverCards .server-item .content {
  padding: 0;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1023px) {
.equal-height-columns {
  flex-direction: column;
}
.equal-height-columns .column.is-6 {
  width: 100%;
  margin-bottom: 2rem;
}
.column-content-wrapper {
  height: auto;
}
.column-left .community-slider-box,
    .column-right #serverCards {
  flex: none;
  height: auto;
}
.start-instruction-box,
    .community-slider-box,
    .gallery-wrapper-box {
  margin-bottom: 2rem;
}
#serverCards {
  margin-top: 0;
}
.server-card-combined {
  margin-bottom: 1rem;
}
}
@media (max-width: 768px) {
.instruction-step {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 0;
}
.instruction-step::before {
  display: none;
}
.step-number {
  margin-bottom: 1rem;
}
.community-slider-box {
  padding: 1.5rem;
}
.column-left .community-slider-box {
  height: auto;
  min-height: auto;
}
.server-card-mini {
  margin-bottom: 1rem;
}
#serverCards .columns.is-mobile .column.is-6 {
  width: 100%;
}
.start-instruction-box {
  padding: 1.5rem;
}
.lore-header {
  padding: 0 0.5rem;
}
.lore-header h1.title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.lore-controls {
  gap: 1rem;
}
.lore-controls > .button {
  min-width: auto;
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}
.lore-actions {
  padding-top: 1rem;
  margin-top: 1rem;
  max-width: 100%;
}
.lore-actions .buttons.has-addons {
  flex-direction: column;
  width: 100%;
  gap: 0.5rem;
}
.lore-actions .buttons.has-addons .button {
  width: 100%;
  border-radius: 6px;
  margin-right: 0;
  border-right: none;
  padding-left: 1rem;
  padding-right: 1rem;
}
section.hero.is-large .hero-body h1.title.is-1.voidline-gradient {
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
section.hero.is-large .hero-body h2.subtitle.is-3 {
  font-size: 1.1rem;
  padding: 0 1rem;
}
section.hero.is-large {
  min-height: 70vh;
}
section.hero.is-large::after {
  height: 200px;
}
.scroll-indicator {
  bottom: 100px;
}
.scroll-indicator i {
  font-size: 1.8rem;
}
}
@media (max-width: 480px) {
section.hero.is-large .hero-body h1.title.is-1.voidline-gradient {
  font-size: 2.2rem;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
section.hero.is-large .hero-body h2.subtitle.is-3 {
  font-size: 0.95rem;
  padding: 0 0.75rem;
}
section.hero.is-large {
  min-height: 60vh;
}
.scroll-indicator {
  bottom: 80px;
}
.scroll-indicator i {
  font-size: 1.5rem;
}
}
.lore-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lore-modal.active {
  opacity: 1;
  visibility: visible;
}
.lore-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 30, 25, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}
.lore-modal-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  z-index: 10001;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.lore-modal.active .lore-modal-container {
  transform: scale(1);
}
.lore-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-tertiary);
  flex-shrink: 0;
}
.lore-modal-header h2 {
  margin: 0;
  color: var(--text-primary);
}
.lore-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lore-modal-close:hover {
  color: var(--accent-orange);
}
.lore-modal-content {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  color: var(--text-primary);
}
.lore-modal-content::-webkit-scrollbar {
  width: 8px;
}
.lore-modal-content::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
.lore-modal-content::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
.lore-modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}
.lore-modal-footer {
  padding: 1rem 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  background: var(--bg-tertiary);
  flex-shrink: 0;
}
.lore-timeline-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.lore-timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.lore-timeline-item-year {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
}
.lore-timeline-item-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: justify;
}
.lore-loading {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
.lore-modal-container {
  width: 95%;
  max-height: 90vh;
}
.lore-modal-header,
    .lore-modal-content,
    .lore-modal-footer {
  padding: 1rem 1.5rem;
}
.lore-timeline-item-year {
  font-size: 1.25rem;
}
.lore-timeline-item-text {
  font-size: 0.95rem;
}
}
.payment-methods-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}
.payment-logo-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(232, 231, 223, 0.03);
  border: 1px solid rgba(232, 231, 223, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 70px;
}
.payment-logo-compact:hover {
  background: rgba(232, 231, 223, 0.05);
  border-color: var(--accent-orange);
}
.payment-logo-compact img {
  height: 24px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.payment-logo-compact:hover img {
  opacity: 1;
}
.payment-logo-compact span {
  color: var(--text-secondary);
  font-size: 0.75rem;
}
.payment-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.payment-logos img {
  height: 14px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-right: 6px;
  margin-bottom: 4px;
}
.payment-logos img:hover {
  opacity: 1;
}
@media (max-width: 768px) {
.payment-methods-compact {
  gap: 0.75rem;
}
.payment-logo-compact {
  min-width: 60px;
  padding: 0.5rem;
}
.payment-logo-compact img {
  height: 20px;
}
.payment-logos img {
  height: 18px;
}
}
}
