/* Minecraft Style with Polish Flag Colors */
/* Colors: White (#FFFFFF) and Red (#DC143C / #C41E3A) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --polish-white: #FFFFFF;
  --polish-red: #DC143C;
  --polish-red-dark: #C41E3A;
  --minecraft-dark: #1a1a1a;
  --minecraft-gray: #2d2d2d;
  --minecraft-border: #4a4a4a;
  --text-light: #f0f0f0;
  --text-dark: #1a1a1a;
}

body {
  font-family: 'Courier New', monospace;
  background: linear-gradient(135deg, var(--minecraft-dark) 0%, #2a2a2a 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
.main-header {
  background: linear-gradient(180deg, var(--polish-red) 0%, var(--polish-red-dark) 100%);
  border-bottom: 4px solid var(--polish-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: block;
  transition: transform 0.2s;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 50px;
  width: auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Navigation */
.main-nav {
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: 2px solid var(--polish-white);
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--polish-white);
  display: block;
  transition: all 0.3s;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
}

.nav-link {
  color: var(--polish-white);
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.1);
  display: block;
  transition: all 0.3s;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--polish-white);
  transition: left 0.3s;
  z-index: -1;
}

.nav-link:hover {
  color: var(--polish-red);
  border-color: var(--polish-white);
  background: var(--polish-white);
}

.nav-link:hover::before {
  left: 0;
}

/* Main Content */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
}

section {
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid var(--polish-white);
  border-radius: 0;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 
    0 0 0 2px var(--polish-red),
    inset 0 0 20px rgba(220, 20, 60, 0.1);
  position: relative;
}

section::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, var(--polish-red), var(--polish-white), var(--polish-red));
  z-index: -1;
  opacity: 0.3;
}

h1, h2 {
  color: var(--polish-white);
  margin-bottom: 20px;
  text-shadow: 
    2px 2px 0 var(--polish-red),
    4px 4px 0 rgba(0, 0, 0, 0.5);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1 {
  font-size: 2.5em;
  border-bottom: 4px solid var(--polish-white);
  padding-bottom: 15px;
  margin-bottom: 25px;
}

h2 {
  font-size: 2em;
  border-left: 6px solid var(--polish-red);
  padding-left: 15px;
  margin-top: 30px;
}

p {
  margin-bottom: 15px;
  font-size: 16px;
  text-align: justify;
}

ul, ol {
  margin: 20px 0;
  padding-left: 30px;
}

.main-nav ul, ol {
  margin: 0;
  padding-left: 0;
}

li {
  margin-bottom: 10px;
}

.nav-menu li {
  margin-bottom: 0;
}

strong {
  color: var(--polish-white);
  font-weight: bold;
}

/* Internal Links (перелинковка) */
.internal-link {
  color: var(--polish-white);
  text-decoration: underline;
  text-decoration-color: var(--polish-red);
  text-underline-offset: 3px;
  transition: all 0.3s;
  font-weight: bold;
}

.internal-link:hover {
  color: var(--polish-red);
  text-decoration-color: var(--polish-white);
  background: rgba(220, 20, 60, 0.2);
  padding: 2px 4px;
  margin: -2px -4px;
  border-radius: 2px;
}

/* Banner Styles */
.banner-container {
  margin: 30px 0;
  text-align: center;
  border: 4px solid var(--polish-white);
  box-shadow: 
    0 0 0 3px var(--polish-red),
    0 8px 16px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.banner-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(220, 20, 60, 0.1) 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(220, 20, 60, 0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

.banner-container a {
  display: block;
  width: 100%;
  text-decoration: none;
  transition: opacity 0.3s;
}

.banner-container a:hover {
  opacity: 0.9;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  position: relative;
  z-index: 0;
}

/* FAQ Accordion Styles */
dl {
  margin: 20px 0;
}

dt {
  color: var(--polish-white);
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.3) 0%, rgba(220, 20, 60, 0.1) 100%);
  border: 3px solid var(--polish-white);
  border-bottom: none;
  text-transform: uppercase;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  user-select: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

dt::before {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: bold;
  color: var(--polish-white);
  transition: transform 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 20, 60, 0.5);
  border: 2px solid var(--polish-white);
  border-radius: 0;
}

dt:hover {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.5) 0%, rgba(220, 20, 60, 0.3) 100%);
  transform: translateX(5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

dt.active {
  background: linear-gradient(135deg, var(--polish-red) 0%, var(--polish-red-dark) 100%);
  border-bottom: 3px solid var(--polish-white);
}

dt.active::before {
  content: '−';
  transform: translateY(-50%) rotate(0deg);
  background: var(--polish-white);
  color: var(--polish-red);
}

dd {
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid var(--polish-white);
  border-top: none;
  transition: max-height 0.4s ease, padding 0.4s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

dd.active {
  max-height: 500px;
  padding: 20px;
  margin-bottom: 15px;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
}

dd p,
dd {
  margin: 0;
  color: var(--text-light);
  line-height: 1.8;
}

dd.active p {
  margin: 0;
}

/* Footer Styles */
.main-footer {
  background: 
    linear-gradient(180deg, var(--polish-red-dark) 0%, #8B0000 30%, var(--minecraft-dark) 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 20px,
      rgba(255, 255, 255, 0.03) 20px,
      rgba(255, 255, 255, 0.03) 21px
    );
  border-top: 6px solid var(--polish-white);
  margin-top: 60px;
  padding: 50px 0 25px;
  box-shadow: 
    0 -4px 8px rgba(0, 0, 0, 0.5),
    inset 0 10px 30px rgba(220, 20, 60, 0.2);
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--polish-red) 0%, 
    var(--polish-white) 25%, 
    var(--polish-red) 50%, 
    var(--polish-white) 75%, 
    var(--polish-red) 100%);
  background-size: 200% 100%;
  animation: footerGradient 3s linear infinite;
}

@keyframes footerGradient {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.main-footer::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 15px,
      rgba(255, 255, 255, 0.02) 15px,
      rgba(255, 255, 255, 0.02) 16px
    );
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.3);
  border: 3px solid var(--polish-white);
  box-shadow: 
    0 0 0 2px var(--polish-red),
    inset 0 0 30px rgba(220, 20, 60, 0.1);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section:first-child {
  border-right: 2px solid rgba(255, 255, 255, 0.2);
  padding-right: 30px;
}

.footer-logo {
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--polish-white);
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.footer-logo-img {
  height: 50px;
  width: auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.footer-title {
  color: var(--polish-white);
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--polish-red) 0%, var(--polish-red-dark) 100%);
  border: 3px solid var(--polish-white);
  box-shadow: 
    0 0 0 2px var(--polish-red),
    0 4px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--polish-white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.footer-link {
  color: var(--text-light);
  text-decoration: none;
  display: block;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: all 0.3s;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.footer-link::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s;
  color: var(--polish-red);
  font-weight: bold;
}

.footer-link:hover {
  color: var(--polish-white);
  border-color: var(--polish-white);
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.3) 0%, rgba(220, 20, 60, 0.1) 100%);
  transform: translateX(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  padding-left: 30px;
}

.footer-link:hover::before {
  opacity: 1;
  left: 10px;
}

/* Footer Logos */
.footer-logos {
  margin: 30px 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  max-width: 100%;
}

.footer-logo-item {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s;
  opacity: 0.8;
}

.footer-logo-item:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: drop-shadow(2px 2px 6px rgba(220, 20, 60, 0.5));
}

.footer-bottom {
  border-top: 4px solid var(--polish-white);
  padding-top: 25px;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  padding-bottom: 20px;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--polish-red);
}

.footer-copyright {
  color: var(--text-light);
  font-size: 14px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.footer-disclaimer {
  color: var(--text-light);
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--polish-red) 0%, var(--polish-red-dark) 100%);
  border: 3px solid var(--polish-white);
  color: var(--polish-white);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 
    0 0 0 2px var(--polish-red),
    0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
  border-radius: 0;
}

.scroll-to-top:hover {
  background: var(--polish-white);
  color: var(--polish-red);
  transform: translateY(-5px);
  box-shadow: 
    0 0 0 2px var(--polish-red),
    0 6px 16px rgba(0, 0, 0, 0.6);
}

.scroll-to-top:active {
  transform: translateY(-3px);
}

.scroll-to-top.visible {
  display: flex;
}

/* Promo Banner Styles */
.promo-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--polish-red) 0%, var(--polish-red-dark) 100%);
  border-top: 4px solid var(--polish-white);
  box-shadow: 
    0 -4px 12px rgba(0, 0, 0, 0.5),
    0 0 0 2px var(--polish-red);
  z-index: 998;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  padding: 0;
  margin: 0;
  display: none;
}

.promo-banner.promo-banner-visible {
  transform: translateY(0);
  display: block;
}

.promo-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.promo-banner-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 250px;
}

.promo-text-main {
  color: var(--polish-white);
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}

.promo-text-sub {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.4;
}

.promo-banner-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background: var(--polish-white);
  border: 3px solid var(--polish-white);
  color: var(--polish-red);
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 
    0 0 0 2px var(--polish-red),
    0 4px 8px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.promo-banner-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--polish-red);
  transition: left 0.3s;
  z-index: 0;
}

.promo-banner-button:hover {
  color: var(--polish-white);
  transform: translateY(-2px);
  box-shadow: 
    0 0 0 2px var(--polish-red),
    0 6px 12px rgba(0, 0, 0, 0.4);
}

.promo-banner-button:hover::before {
  left: 0;
}

.promo-banner-button .promo-button-text,
.promo-banner-button .promo-button-arrow {
  position: relative;
  z-index: 1;
}

.promo-button-arrow {
  font-size: 18px;
  transition: transform 0.3s;
}

.promo-banner-button:hover .promo-button-arrow {
  transform: translateX(5px);
}

/* Support Button Styles */
.support-button-wrapper {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
}

.support-button {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--polish-red) 0%, var(--polish-red-dark) 100%);
  border: 3px solid var(--polish-white);
  color: var(--polish-white);
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 0 2px var(--polish-red),
    0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
  border-radius: 0;
  position: relative;
  padding: 0;
}

.support-button:hover {
  background: var(--polish-white);
  color: var(--polish-red);
  transform: translateY(-5px);
  box-shadow: 
    0 0 0 2px var(--polish-red),
    0 6px 16px rgba(0, 0, 0, 0.6);
}

.support-button:active {
  transform: translateY(-3px);
}

.support-button.has-notification {
  animation: supportPulse 2s infinite;
}

@keyframes supportPulse {
  0%, 100% {
    box-shadow: 
      0 0 0 2px var(--polish-red),
      0 4px 12px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow: 
      0 0 0 2px var(--polish-red),
      0 4px 12px rgba(0, 0, 0, 0.5),
      0 0 20px rgba(220, 20, 60, 0.8);
  }
}

.support-button.support-button-active {
  background: var(--polish-white);
  color: var(--polish-red);
}

.support-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 24px;
  height: 24px;
  background: var(--polish-white);
  color: var(--polish-red);
  border: 2px solid var(--polish-red);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.support-chat {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 320px;
  max-height: 400px;
  background: linear-gradient(135deg, var(--minecraft-dark) 0%, #2a2a2a 100%);
  border: 3px solid var(--polish-white);
  box-shadow: 
    0 0 0 2px var(--polish-red),
    0 8px 16px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.support-chat.support-chat-open {
  display: flex;
  animation: supportChatSlide 0.3s ease;
}

@keyframes supportChatSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.support-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: linear-gradient(135deg, var(--polish-red) 0%, var(--polish-red-dark) 100%);
  border-bottom: 2px solid var(--polish-white);
}

.support-chat-title {
  color: var(--polish-white);
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.support-chat-close {
  background: transparent;
  border: 2px solid var(--polish-white);
  color: var(--polish-white);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 18px;
  padding: 0;
}

.support-chat-close:hover {
  background: var(--polish-white);
  color: var(--polish-red);
}

.support-chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  max-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-message {
  padding: 12px 15px;
  border-radius: 0;
  border: 2px solid var(--polish-white);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.5;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.support-message-consultant {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(220, 20, 60, 0.1) 100%);
  border-color: var(--polish-red);
}

.support-chat-footer {
  padding: 15px;
  border-top: 2px solid var(--polish-white);
  background: rgba(0, 0, 0, 0.2);
}

.support-chat-button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--polish-red) 0%, var(--polish-red-dark) 100%);
  border: 3px solid var(--polish-white);
  color: var(--polish-white);
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.support-chat-button:hover {
  background: var(--polish-white);
  color: var(--polish-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    position: relative;
  }

  .nav-toggle {
    display: flex;
    order: 2;
    z-index: 1001;
    position: relative;
  }

  .nav-toggle.active {
    z-index: 1002;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--polish-red) 0%, var(--polish-red-dark) 100%);
    border: none;
    padding: 80px 20px 20px 20px !important;
    box-shadow: none;
    margin: 0 !important;
    z-index: 1000;
    overflow-y: auto;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
    list-style: none !important;
  }

  .nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
  }

  .nav-menu.active {
    display: flex;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-menu li {
    width: auto;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
    align-self: stretch;
  }

  .nav-link {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin: 0 0 15px 0;
    margin-left: 0;
    padding: 20px;
    font-size: 18px;
    border: 3px solid var(--polish-white);
    background: rgba(255, 255, 255, 0.1);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .nav-link:hover {
    background: var(--polish-white);
    color: var(--polish-red);
    transform: scale(1.02);
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.5em;
  }

  section {
    padding: 20px;
  }

  main {
    padding: 20px 15px;
  }

  .main-footer {
    padding: 30px 0 20px;
    overflow-x: hidden;
  }

  .footer-container {
    padding: 0 15px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 20px 15px;
    margin-bottom: 25px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    text-align: center;
    justify-items: center;
  }

  .footer-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-section:first-child {
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-right: 0;
    padding-bottom: 25px;
    margin-bottom: 0;
  }

  .footer-logo {
    padding: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-logo-img {
    height: 40px;
    max-width: 100%;
  }

  .footer-title {
    font-size: 16px;
    padding: 10px 15px;
    margin-bottom: 15px;
    width: auto;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-link {
    padding: 10px 12px;
    margin-bottom: 6px;
    font-size: 14px;
    box-sizing: border-box;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .footer-link:hover {
    transform: translateX(5px);
    padding-left: 20px;
  }

  .footer-logos {
    margin: 20px 0;
    padding: 15px;
    text-align: center;
  }

  .footer-logos-container {
    justify-content: center;
    gap: 12px;
  }

  .footer-logo-item {
    height: 40px;
    max-width: 120px;
  }

  .footer-bottom {
    padding: 20px 15px;
    margin-top: 15px;
  }

  .footer-copyright {
    font-size: 12px;
    word-wrap: break-word;
    padding: 0 10px;
    text-align: center;
  }

  .banner-container {
    margin: 20px 0;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 40px;
  }

  .header-container {
    padding: 10px 15px;
  }

  .nav-menu {
    padding: 70px 15px 15px 15px;
  }

  .nav-link {
    padding: 18px;
    font-size: 16px;
    min-height: 55px;
  }

  h1 {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.3em;
  }

  section {
    padding: 15px;
    margin-bottom: 20px;
  }

  p {
    font-size: 14px;
  }

  .main-footer {
    padding: 25px 0 15px;
  }

  .footer-container {
    padding: 0 10px;
  }

  .footer-content {
    padding: 15px 10px;
    gap: 20px;
    text-align: center;
  }

  .footer-section {
    align-items: center;
  }

  .footer-section:first-child {
    padding-bottom: 20px;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-title {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-link {
    max-width: 100%;
  }

  .footer-logos {
    margin: 15px 0;
    padding: 12px;
  }

  .footer-logos-container {
    gap: 10px;
  }

  .footer-logo-item {
    height: 35px;
    max-width: 100px;
  }

  .footer-logo {
    padding: 10px;
    margin-bottom: 15px;
  }

  .footer-logo-img {
    height: 35px;
  }

  .footer-title {
    font-size: 14px;
    padding: 8px 12px;
    margin-bottom: 12px;
  }

  .footer-link {
    padding: 8px 10px;
    font-size: 13px;
  }

  .footer-bottom {
    padding: 15px 10px;
  }

  .footer-copyright {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-align: center;
  }

  .footer-disclaimer {
    font-size: 10px;
    padding: 0 5px;
  }

  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .support-button-wrapper {
    bottom: 15px;
    left: 15px;
  }

  .support-button {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .support-chat {
    width: calc(100vw - 30px);
    max-width: 320px;
    bottom: 65px;
  }

  .promo-banner-content {
    padding: 12px 15px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .promo-banner-text {
    min-width: 100%;
    text-align: center;
  }

  .promo-text-main {
    font-size: 14px;
  }

  .promo-text-sub {
    font-size: 12px;
  }

  .promo-banner-button {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
  }

}

@media (max-width: 480px) {
  .promo-banner-content {
    padding: 10px 12px;
  }

  .promo-text-main {
    font-size: 13px;
  }

  .promo-text-sub {
    font-size: 11px;
  }

  .promo-banner-button {
    padding: 10px 15px;
    font-size: 13px;
  }
}

/* Minecraft pixelated effect */
@supports (image-rendering: pixelated) {
  .logo-img,
  .footer-logo-img,
  .banner-img {
    image-rendering: pixelated;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: var(--polish-red);
  color: var(--polish-white);
}

::-moz-selection {
  background: var(--polish-red);
  color: var(--polish-white);
}

/* Breadcrumbs Styles */
.breadcrumbs {
  margin: 20px 0;
  padding: 0;
}

.breadcrumbs-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.breadcrumbs-item:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--polish-white);
  font-weight: bold;
}

.breadcrumbs-link {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s;
  padding: 5px 10px;
  border: 2px solid transparent;
}

.breadcrumbs-link:hover {
  color: var(--polish-white);
  background: rgba(220, 20, 60, 0.2);
  border-color: var(--polish-red);
}

.breadcrumbs-current {
  color: var(--polish-white);
  font-weight: bold;
  padding: 5px 10px;
  background: rgba(220, 20, 60, 0.3);
  border: 2px solid var(--polish-red);
}

/* Casino Banner Styles */
.casino-banner {
  margin: 30px 0;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(196, 30, 58, 0.2) 100%);
  border: 3px solid var(--polish-white);
  box-shadow: 
    0 0 0 2px var(--polish-red),
    0 4px 12px rgba(0, 0, 0, 0.4);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.casino-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.03) 20px
  );
  pointer-events: none;
}

.casino-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.casino-banner-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 200px;
}

.casino-logo-wrapper {
  width: 60px;
  height: 60px;
  border: 3px solid var(--polish-white);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.casino-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.casino-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.casino-title-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.casino-name {
  color: var(--polish-white);
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-stars {
  color: #FFD700;
  font-size: 14px;
  letter-spacing: 2px;
}

.rating-value {
  color: var(--text-light);
  font-size: 14px;
  font-weight: bold;
}

.casino-banner-center {
  flex: 2;
  min-width: 250px;
}

.casino-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.casino-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 14px;
}

.feature-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.feature-text {
  flex: 1;
}

.casino-banner-right {
  flex-shrink: 0;
}

.casino-play-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--polish-red) 0%, var(--polish-red-dark) 100%);
  border: 3px solid var(--polish-white);
  color: var(--polish-white);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 
    0 0 0 2px var(--polish-red),
    0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.casino-play-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--polish-white);
  transition: left 0.3s;
  z-index: 0;
}

.casino-play-button:hover {
  color: var(--polish-red);
  transform: translateY(-2px);
  box-shadow: 
    0 0 0 2px var(--polish-red),
    0 6px 12px rgba(0, 0, 0, 0.4);
}

.casino-play-button:hover::before {
  left: 0;
}

.casino-play-button .button-text,
.casino-play-button .button-arrow {
  position: relative;
  z-index: 1;
}

.button-arrow {
  font-size: 20px;
  transition: transform 0.3s;
}

.casino-play-button:hover .button-arrow {
  transform: translateX(5px);
}

/* Table of Contents Styles */
.table-of-contents-wrapper {
  margin: 30px 0;
  background: rgba(0, 0, 0, 0.3);
  border: 3px solid var(--polish-white);
  box-shadow: 
    0 0 0 2px var(--polish-red),
    inset 0 0 20px rgba(220, 20, 60, 0.1);
  position: relative;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.3) 0%, rgba(220, 20, 60, 0.1) 100%);
  border-bottom: 2px solid var(--polish-white);
  cursor: pointer;
  user-select: none;
}

.toc-title {
  color: var(--polish-white);
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.toc-toggle {
  background: transparent;
  border: 2px solid var(--polish-white);
  color: var(--polish-white);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 16px;
  padding: 0;
}

.toc-toggle:hover {
  background: var(--polish-white);
  color: var(--polish-red);
}

.table-of-contents {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.table-of-contents.toc-expanded {
  max-height: 800px;
}

.toc-list {
  list-style: none;
  padding: 15px 20px;
  margin: 0;
}

.toc-item {
  margin-bottom: 8px;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 12px;
  border-left: 3px solid transparent;
  transition: all 0.3s;
  font-size: 14px;
}

.toc-link:hover {
  color: var(--polish-white);
  border-left-color: var(--polish-red);
  background: rgba(220, 20, 60, 0.2);
  transform: translateX(5px);
}

.toc-link.toc-active {
  color: var(--polish-white);
  border-left-color: var(--polish-red);
  background: rgba(220, 20, 60, 0.3);
  font-weight: bold;
}

.toc-number {
  color: var(--polish-red);
  font-weight: bold;
  min-width: 30px;
}

.toc-text {
  flex: 1;
}

.toc-sublist {
  list-style: none;
  padding-left: 20px;
  margin-top: 5px;
}

.toc-sublist .toc-link {
  font-size: 13px;
  padding: 6px 10px;
}

/* Responsive Styles for Components */
@media (max-width: 768px) {
  .breadcrumbs {
    margin: 15px 0;
  }

  .breadcrumbs-item {
    font-size: 12px;
  }

  .casino-banner {
    padding: 15px;
  }

  .casino-banner-content {
    flex-direction: column;
    align-items: stretch;
  }

  .casino-banner-left {
    justify-content: center;
    min-width: 100%;
  }

  .casino-banner-center {
    min-width: 100%;
  }

  .casino-banner-right {
    width: 100%;
  }

  .casino-play-button {
    width: 100%;
    justify-content: center;
  }

  .toc-header {
    padding: 12px 15px;
  }

  .toc-title {
    font-size: 16px;
  }

  .toc-list {
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .breadcrumbs-item {
    font-size: 11px;
  }

  .casino-logo-wrapper {
    width: 50px;
    height: 50px;
  }

  .casino-name {
    font-size: 16px;
  }

  .casino-feature {
    font-size: 12px;
  }

  .casino-play-button {
    padding: 12px 20px;
    font-size: 14px;
  }

  .toc-title {
    font-size: 14px;
  }

  .toc-link {
    font-size: 13px;
    padding: 6px 10px;
  }
}

