* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Реалистичная медь */
  --copper: #b87333;
  --copper-light: #da8a4a;
  --copper-bright: #e8a66b;
  --copper-dark: #8b4513;
  --copper-deep: #6b3410;
  --copper-shine: #f4c794;
  --gold: #b87333;
  --gold-dark: #8b4513;
  --accent: #cd7f32;
  --accent-light: #da9147;
  --bg-dark: #0a0a14;
  --bg-card: #12121f;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
}

body, body * {
  cursor: none !important;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
}

/* Custom cursor - dice */
.cursor {
  position: fixed;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.cursor svg {
  width: 32px;
  height: 32px;
}

.cursor.clicking {
  animation: dice-spin 0.5s ease-out;
}

@keyframes dice-spin {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(360deg) scale(1.3); }
  100% { transform: translate(-50%, -50%) rotate(720deg) scale(1); }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 50px;
  background: linear-gradient(to bottom, rgba(10, 10, 20, 0.95), transparent);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 4px;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 25px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--copper-light);
  background: rgba(184, 115, 51, 0.1);
  border-color: rgba(184, 115, 51, 0.3);
}

.nav-links a.active {
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
  color: #fff;
}

.discord-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--copper-shine) 0%, var(--copper) 50%, var(--copper-dark) 100%);
  color: #1a1a2e !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  box-shadow: 0 4px 15px rgba(184, 115, 51, 0.3);
}

.discord-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(184, 115, 51, 0.5);
  color: #1a1a2e !important;
  background: linear-gradient(135deg, var(--copper-shine) 0%, var(--copper-light) 50%, var(--copper) 100%);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 100px 20px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at center top, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
}

.hero-logo {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.5));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero h1 {
  font-size: 80px;
  font-weight: 900;
  letter-spacing: 15px;
  background: linear-gradient(
    135deg, 
    var(--copper-deep) 0%, 
    var(--copper-dark) 15%,
    var(--copper) 30%, 
    var(--copper-light) 45%,
    var(--copper-shine) 50%, 
    var(--copper-light) 55%,
    var(--copper) 70%, 
    var(--copper-dark) 85%,
    var(--copper-deep) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(184, 115, 51, 0.3);
}

.hero-subtitle {
  font-size: 24px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(
    145deg, 
    var(--copper-shine) 0%,
    var(--copper-light) 20%,
    var(--copper) 40%, 
    var(--copper-dark) 80%,
    var(--copper-deep) 100%
  );
  color: var(--bg-dark);
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 
    0 4px 15px rgba(184, 115, 51, 0.4),
    inset 0 1px 0 rgba(244, 199, 148, 0.5),
    inset 0 -2px 5px rgba(107, 52, 16, 0.3);
}

.btn-download:hover {
  transform: scale(1.05);
  box-shadow: 
    0 10px 40px rgba(184, 115, 51, 0.5),
    inset 0 1px 0 rgba(244, 199, 148, 0.6),
    inset 0 -2px 5px rgba(107, 52, 16, 0.3);
}

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 60px;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(
    180deg,
    var(--copper-shine) 0%,
    var(--copper-light) 30%,
    var(--copper) 60%,
    var(--copper-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Section Title */
.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(
    135deg,
    var(--copper-dark) 0%,
    var(--copper) 25%,
    var(--copper-shine) 50%,
    var(--copper) 75%,
    var(--copper-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Features Section */
.features {
  padding: 100px 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(184, 115, 51, 0.2);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(184, 115, 51, 0.5);
  box-shadow: 0 10px 30px rgba(184, 115, 51, 0.15);
}

.feature-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--copper-light) 0%, var(--copper) 50%, var(--copper-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
  padding: 80px 0;
  background: linear-gradient(to bottom, transparent, rgba(184, 115, 51, 0.03), transparent);
  overflow: hidden;
}

.screenshots .section-title {
  padding: 0 20px;
}

.screenshots-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.screenshots-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 10px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.screenshots-slider:active {
  cursor: grabbing;
}

.screenshots-slider::-webkit-scrollbar {
  display: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--copper-light) 0%, var(--copper-dark) 100%);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 20px rgba(184, 115, 51, 0.5);
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.screenshot-item {
  flex: 0 0 500px;
  scroll-snap-align: center;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(184, 115, 51, 0.15);
  transition: all 0.4s ease;
  cursor: pointer;
}

.screenshot-item:hover {
  transform: scale(1.03);
  border-color: var(--copper);
  box-shadow: 0 10px 30px rgba(184, 115, 51, 0.3);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  pointer-events: none;
}

.screenshot-item:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox img {
  max-width: 95%;
  max-height: 95vh;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(184, 115, 51, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: var(--copper);
  cursor: pointer;
  transition: transform 0.3s;
}

.lightbox-close:hover {
  transform: scale(1.2) rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: var(--copper);
  cursor: pointer;
  padding: 20px;
  transition: all 0.3s;
  user-select: none;
}

.lightbox-nav:hover {
  color: var(--copper-light);
  transform: translateY(-50%) scale(1.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .screenshot-item {
    flex: 0 0 300px;
  }
  .lightbox-nav { font-size: 30px; }
}

/* Download Section */
.download {
  padding: 100px 50px;
  text-align: center;
}

.download-content {
  max-width: 600px;
  margin: 0 auto;
}

.download h2 {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    var(--copper-dark) 0%,
    var(--copper) 25%,
    var(--copper-shine) 50%,
    var(--copper) 75%,
    var(--copper-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download > p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.btn-download-big {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(
    145deg, 
    var(--copper-shine) 0%,
    var(--copper-light) 15%,
    var(--copper) 35%, 
    var(--copper-dark) 75%,
    var(--copper-deep) 100%
  );
  color: var(--bg-dark);
  padding: 25px 50px;
  border-radius: 15px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 
    0 6px 20px rgba(184, 115, 51, 0.4),
    inset 0 2px 0 rgba(244, 199, 148, 0.5),
    inset 0 -3px 8px rgba(107, 52, 16, 0.3);
}

.btn-download-big:hover {
  transform: scale(1.05);
  box-shadow: 
    0 15px 50px rgba(184, 115, 51, 0.5),
    inset 0 2px 0 rgba(244, 199, 148, 0.6),
    inset 0 -3px 8px rgba(107, 52, 16, 0.3);
}

.btn-download-alt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
}

.btn-download-alt:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 215, 0, 0.05);
}

.btn-main {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.btn-sub {
  display: block;
  font-size: 14px;
  opacity: 0.8;
}

.system-req {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 30px;
  text-align: left;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.system-req h4 {
  color: var(--gold);
  margin-bottom: 15px;
}

.system-req ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.system-req li {
  color: var(--text-muted);
  padding: 8px 0;
  padding-left: 5px;
  position: relative;
  list-style: none;
}

.system-req li::before {
  display: none;
}

/* Footer */
.footer {
  background: var(--bg-card);
  padding: 50px;
  text-align: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.footer-logo a {
  color: var(--copper);
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.footer-logo a:hover {
  color: var(--copper-light);
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(184, 115, 51, 0.5);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.copyright {
  color: var(--text-muted);
  font-size: 14px;
}

.disclaimer {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  max-width: 600px;
  margin: 15px auto;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 40px;
    letter-spacing: 5px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .features, .screenshots, .download {
    padding: 60px 20px;
  }
  
  .screenshot-item {
    flex: 0 0 300px;
  }
}


/* About Section */
.about {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f1a 100%);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-text strong {
  color: var(--gold);
}

.about-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text);
}

.about-icon {
  font-size: 1.5rem;
}

/* System Requirements Columns */
.req-columns {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: nowrap;
  justify-content: center;
}

.req-column {
  flex: 1;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.req-column h5 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.req-column ul {
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0;
}

.req-column li {
  padding: 8px 0;
  padding-left: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
  list-style: none;
}

.req-column li:last-child {
  border-bottom: none;
}

.req-column li strong {
  color: var(--text);
}

.system-req h4 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* Feature icons SVG */
.feature-icon svg {
  width: 48px;
  height: 48px;
}


/* Alpha Badge */
.alpha-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 15px;
  animation: pulse-badge 2s infinite;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(239, 68, 68, 0.7); }
}

/* Bug Report Section */
.bug-report {
  padding: 80px 20px;
  background: linear-gradient(180deg, #0f0f1a 0%, var(--bg-dark) 100%);
}

.bug-report-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.bug-subtitle {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.bug-form {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(184, 115, 51, 0.2);
  text-align: left;
}

.bug-form .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.bug-form input,
.bug-form select,
.bug-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 15px;
  transition: border-color 0.3s;
}

.bug-form input:focus,
.bug-form select:focus,
.bug-form textarea:focus {
  outline: none;
  border-color: var(--copper);
}

.bug-form textarea {
  min-height: 120px;
  resize: vertical;
}

.bug-form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23b87333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.bug-form select option {
  background: #12121f;
  color: #ffffff;
  padding: 10px;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(145deg, var(--copper-light) 0%, var(--copper) 50%, var(--copper-dark) 100%);
  color: var(--bg-dark);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 20px rgba(184, 115, 51, 0.4);
}

.bug-status {
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  display: none;
}

.bug-status.success {
  display: block;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.bug-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

@media (max-width: 768px) {
  .bug-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}


/* Page styles for rules/faq */
.header-solid {
  background: rgba(10, 10, 20, 0.98) !important;
}

.nav-links a.active {
  color: var(--copper);
}

.page-content {
  padding: 120px 20px 60px;
  min-height: 100vh;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--copper-light) 0%, var(--copper) 50%, var(--copper-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Rules page */
.rules-article {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(184, 115, 51, 0.15);
}

.rule-section {
  margin-bottom: 35px;
}

.rule-section:last-child {
  margin-bottom: 0;
}

.rule-section h2 {
  color: var(--copper);
  font-size: 1.4rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rule-section p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.rule-section ul,
.rule-section ol {
  color: var(--text-muted);
  padding-left: 25px;
  line-height: 1.8;
}

.rule-section li {
  margin-bottom: 8px;
}

.rule-section strong {
  color: var(--text);
}

/* FAQ page */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 15px;
  border: 1px solid rgba(184, 115, 51, 0.15);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(184, 115, 51, 0.4);
}

.faq-item summary {
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--copper);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--copper);
}

.faq-answer {
  padding: 0 25px 20px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 10px;
}

.faq-answer ul,
.faq-answer ol {
  padding-left: 25px;
  margin: 10px 0;
}

.faq-answer li {
  margin-bottom: 5px;
}

.faq-answer a {
  color: var(--copper);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* CTA box */
.cta-box {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(184, 115, 51, 0.1) 0%, rgba(184, 115, 51, 0.05) 100%);
  border: 1px solid rgba(184, 115, 51, 0.3);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}

.cta-box h3 {
  color: var(--copper);
  margin-bottom: 10px;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 1.8rem;
  }
  
  .rules-article {
    padding: 25px;
  }
  
  .faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }
}


/* News Section */

/* News Toggle Button */
.news-toggle {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
  border: none;
  border-radius: 0 10px 10px 0;
  padding: 15px 12px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 3px 0 15px rgba(0, 0, 0, 0.3);
}

.news-toggle:hover {
  padding-right: 18px;
  box-shadow: 5px 0 20px rgba(184, 115, 51, 0.4);
}

.hero-news-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-news-icon svg {
  flex-shrink: 0;
}

.news-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-toggle-icon svg {
  display: block;
}

.news-toggle-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
}

/* Hero News Sidebar */
.hero-news {
  position: fixed;
  left: -320px;
  top: 0;
  width: 320px;
  height: 100vh;
  background: rgba(18, 18, 31, 0.98);
  border-right: 1px solid rgba(184, 115, 51, 0.3);
  z-index: 1001;
  transition: left 0.4s ease;
  display: flex;
  flex-direction: column;
}

.hero-news.open {
  left: 0;
}

.hero-news-header {
  background: linear-gradient(135deg, var(--copper-dark) 0%, var(--copper) 100%);
  color: #fff;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-news-close {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 5px;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.hero-news-close:hover {
  opacity: 1;
  transform: scale(1.2);
}

.hero-news-list {
  padding: 15px;
  flex: 1;
  overflow-y: auto;
}

.hero-news-list::-webkit-scrollbar {
  width: 5px;
}

.hero-news-list::-webkit-scrollbar-thumb {
  background: var(--copper);
  border-radius: 5px;
}

.hero-news-item {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(184, 115, 51, 0.1);
  transition: all 0.3s;
}

.hero-news-item:hover {
  background: rgba(184, 115, 51, 0.1);
  border-color: rgba(184, 115, 51, 0.3);
}

.hero-news-title {
  color: var(--copper-light);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
}

.hero-news-date {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.hero-news-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.hero-news-loading,
.hero-news-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.95rem;
}

/* Overlay when news open */
.news-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.news-overlay.open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 480px) {
  .hero-news {
    width: 100%;
    left: -100%;
  }
}

/* ===== НОВОГОДНЕЕ ОФОРМЛЕНИЕ (удалить после праздников) ===== */

/* Снежинки */
.snowflakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  top: -20px;
  color: #fff;
  font-size: 1rem;
  opacity: 0.8;
  animation: snowfall linear infinite;
  text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

@keyframes snowfall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}

/* Гирлянда реалистичная */
.garland-realistic {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 99;
  pointer-events: none;
  overflow: hidden;
}

.garland-realistic svg {
  width: 100%;
  height: 100%;
}

.fir-branch {
  fill: #1a472a;
}

.fir-branch-light {
  fill: #2d5a27;
}

.fir-branch-dark {
  fill: #0f2d1a;
}

.garland-light-bulb {
  animation: warm-glow 2.5s ease-in-out infinite;
}

@keyframes warm-glow {
  0%, 100% { 
    opacity: 0.7;
    filter: drop-shadow(0 0 4px #ffd54f);
  }
  50% { 
    opacity: 1;
    filter: drop-shadow(0 0 8px #ffd54f) drop-shadow(0 0 15px #ff9800);
  }
}

/* ===== КОНЕЦ НОВОГОДНЕГО ОФОРМЛЕНИЯ ===== */
