/* ===== MELLSTROY CASINO - OFFICIAL STYLE ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Dark Theme Colors - Mellstroy Style */
  --bg-body: #0a0a12;
  --bg-main: #0d0d15;
  --bg-card: #151520;
  --bg-card-hover: #1a1a28;
  --bg-input: #12121c;
  --bg-aside: #08080e;
  
  /* Accent Colors */
  --accent-primary: #7c3aed;
  --accent-primary-light: #a78bfa;
  --accent-secondary: #8b5cf6;
  --accent-gold: #fbbf24;
  --accent-red: #ef4444;
  --accent-green: #22c55e;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  --gradient-green: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --gradient-banner: linear-gradient(90deg, rgba(124, 58, 237, 0.4) 0%, transparent 100%);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);
  
  /* Border & Shadow */
  --border-color: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.3);
  
  /* Sizing */
  --header-height: 0px;
  --aside-width: 220px;
  --container-max: 1600px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ===== UTILITY CLASSES ===== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.mellstroy-header {
  position: fixed;
  top: 0;
  left: 240px;
  right: 0;
  z-index: 1000;
  background: rgba(12, 12, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: 64px;
  display: flex;
  align-items: center;
  max-width: 100%;
}

.mellstroy-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 24px;
}

.mellstroy-header__left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.mellstroy-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mellstroy-header__logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.mellstroy-header__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}

.mellstroy-header__logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mellstroy-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mellstroy-header__nav-item {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mellstroy-header__nav-item:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.mellstroy-header__nav-item.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.mellstroy-header__nav-item svg {
  width: 18px;
  height: 18px;
}

.mellstroy-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mellstroy-header__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.mellstroy-header__burger:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
}

.mellstroy-header__burger svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

/* ===== BUTTONS ===== */
.mellstroy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mellstroy-btn.primary {
  background: var(--gradient-green);
  color: #0a0a0a;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.mellstroy-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
}

.mellstroy-btn.simple {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.mellstroy-btn.simple:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-light);
}

.mellstroy-btn.purple {
  background: var(--gradient-primary);
  color: white;
}

.mellstroy-btn.gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000;
}

/* ===== MAIN LAYOUT ===== */
.mellstroy-main {
  padding-top: 84px;
  padding-left: var(--aside-width);
  min-height: 100vh;
  transition: padding-left 0.3s ease;
  width: 100%;
  overflow-x: hidden;
}

/* ===== BANNER SLIDER - 3 IN ROW ===== */
.mellstroy-banner {
  position: relative;
  margin-bottom: 24px;
  overflow: hidden;
}

.mellstroy-banner__slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 100%;
}

.mellstroy-banner__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1.6/1;
  cursor: pointer;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
}

.mellstroy-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
}

.mellstroy-banner__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 20, 0.9) 0%, rgba(10, 10, 20, 0.5) 40%, transparent 100%);
  z-index: 1;
}

.mellstroy-banner__item::after {
  content: none;
  right: -20%;
  top: -20%;
  width: 80%;
  height: 140%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(124,58,237,0.1)"/></svg>') center/contain no-repeat;
  z-index: 0;
}

.mellstroy-banner__content {
  position: absolute;
  left: 32px;
  right: 40%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.mellstroy-banner__title {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.mellstroy-banner__title span {
  color: var(--accent-gold);
}

.mellstroy-banner__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--accent-primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.mellstroy-banner__btn:hover {
  background: var(--accent-primary-light);
  transform: translateY(-2px);
}

.mellstroy-banner__controls {
  display: none;
}

.mellstroy-banner__dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.mellstroy-banner__dot.active {
  background: var(--accent-primary);
}

.mellstroy-banner__nav {
  display: none;
}

.mellstroy-banner__nav:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.mellstroy-banner__nav.prev { left: 8px; }
.mellstroy-banner__nav.next { right: 8px; }

.mellstroy-banner__nav svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.mellstroy-banner__nav.prev svg {
  transform: rotate(180deg);
}

/* ===== CATEGORY NAV - VERTICAL CARDS ===== */
.mellstroy-category {
  margin-bottom: 24px;
  margin-left: -24px;
  margin-right: -24px;
  padding-left: 24px;
  padding-right: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.mellstroy-category::-webkit-scrollbar {
  display: none;
}

.mellstroy-category__flex {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
}

.mellstroy-category .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.688rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.mellstroy-category .item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  color: var(--text-primary);
}

.mellstroy-category .item.active {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.mellstroy-category .item svg {
  width: 24px;
  height: 24px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.mellstroy-category .item:hover svg,
.mellstroy-category .item.active svg {
  opacity: 1;
}

/* ===== SLOTS SECTION ===== */
.mellstroy-slots {
  margin-bottom: 32px;
}

.mellstroy-section__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mellstroy-section__title .title__wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 600;
}

.mellstroy-section__title .title__wrap svg {
  display: none;
}

.mellstroy-slots__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mellstroy-slots__controls .mellstroy-btn {
  padding: 8px 16px;
  font-size: 0.75rem;
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
}

.mellstroy-slots__controls .mellstroy-btn:hover {
  background: var(--accent-primary);
  color: white;
}

.mellstroy-control {
  width: 36px;
  height: 36px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.mellstroy-control:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

.mellstroy-control svg {
  width: 14px;
  height: 14px;
  fill: var(--text-muted);
}

.mellstroy-control:hover svg {
  fill: var(--text-primary);
}

.mellstroy-control.prev svg {
  transform: rotate(180deg);
}

/* ===== SLOTS GRID ===== */
.mellstroy-slots__slider {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  max-width: 100%;
}

/* Скрыть 8-ю карточку на ПК */
.mellstroy-slots__slider .slot:nth-child(n+8) {
  display: none;
}

.slot {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slot:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.25);
}

.slot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.slot .wrap {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.25s;
}

.slot:hover .wrap {
  opacity: 1;
}

.slot .play {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.2s;
}

.slot .play:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: scale(1.1);
}

.slot .play svg {
  width: 18px;
  height: 18px;
  fill: white;
  margin-left: 2px;
}

.slot .demo {
  padding: 6px 14px;
  background: var(--accent-primary);
  border-radius: var(--radius-sm);
  font-size: 0.688rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.slot .demo:hover {
  background: var(--accent-primary-light);
}

.slot .title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  font-size: 0.688rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.slot:hover .title {
  opacity: 0;
}

/* ===== PROVIDERS ===== */
.mellstroy-providers {
  margin-bottom: 32px;
}

.mellstroy-providers__slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.mellstroy-providers .item {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.mellstroy-providers .item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  color: var(--text-primary);
}

.mellstroy-providers .item img {
  max-height: 32px;
  width: auto;
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.2s;
}

.mellstroy-providers .item:hover img {
  filter: grayscale(0%) brightness(1);
}

/* ===== TEXT SECTION ===== */
.mellstroy-text {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
}

.mellstroy-text h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.mellstroy-text h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 32px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.mellstroy-text h2:first-of-type {
  margin-top: 24px;
  padding-top: 0;
  border-top: none;
}

.mellstroy-text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 24px 0 12px;
}

.mellstroy-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.938rem;
  line-height: 1.7;
}

.mellstroy-text ul,
.mellstroy-text ol {
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-left: 24px;
}

.mellstroy-text ul { list-style: disc; }
.mellstroy-text ol { list-style: decimal; }

.mellstroy-text li {
  margin-bottom: 8px;
  font-size: 0.938rem;
}

.mellstroy-text a {
  color: var(--accent-primary);
}

.mellstroy-text a:hover {
  text-decoration: underline;
}

.mellstroy-text figure {
  margin: 24px 0;
}

.mellstroy-text figure img {
  border-radius: var(--radius-md);
}

.mellstroy-text figure.alignright {
  float: right;
  margin: 0 0 20px 32px;
  max-width: 50%;
}

.mellstroy-text figure.alignleft {
  float: left;
  margin: 0 32px 20px 0;
  max-width: 50%;
}

.mellstroy-text figure.aligncenter {
  text-align: center;
}

.mellstroy-text figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mellstroy-text figcaption {
  font-size: 0.813rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

.mellstroy-text .table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: var(--radius-md);
}

.mellstroy-text .table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.mellstroy-text .table-wrapper::-webkit-scrollbar-track {
  background: var(--bg-input);
  border-radius: 3px;
}

.mellstroy-text .table-wrapper::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 3px;
}

.mellstroy-text table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.mellstroy-text table th,
.mellstroy-text table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

.mellstroy-text table th {
  background: var(--bg-input);
  font-weight: 600;
  color: var(--text-primary);
}

.mellstroy-text table td {
  color: var(--text-secondary);
}

.mellstroy-text table tr:hover td {
  background: rgba(108, 92, 231, 0.05);
}

/* ===== FAQ ===== */
.mellstroy-faq {
  margin-bottom: 48px;
}

.mellstroy-faq h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.mellstroy-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mellstroy-faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}

.mellstroy-faq__item:hover {
  border-color: var(--border-light);
}

.mellstroy-faq__item.open {
  border-color: var(--accent-primary);
}

.mellstroy-faq__item .question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.mellstroy-faq__item .question:hover {
  background: var(--bg-card-hover);
}

.mellstroy-faq__item .question__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.mellstroy-faq__item.open .question__icon {
  transform: rotate(180deg);
}

.mellstroy-faq__item .question__icon svg {
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
}

.mellstroy-faq__item .answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.938rem;
  line-height: 1.7;
}

.mellstroy-faq__item.open .answer {
  display: block;
}

/* ===== FOOTER ===== */
.mellstroy-footer {
  background: linear-gradient(180deg, var(--bg-main) 0%, #060610 100%);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  margin-left: 240px;
  position: relative;
}

.mellstroy-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.mellstroy-footer .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.mellstroy-footer__social-row {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.mellstroy-footer__socials {
  display: flex;
  gap: 16px;
}

.mellstroy-footer__socials .item {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.mellstroy-footer__socials .item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s;
}

.mellstroy-footer__socials .item:hover::before {
  opacity: 1;
}

.mellstroy-footer__socials .item svg {
  width: 26px;
  height: 26px;
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.mellstroy-footer__socials .item:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.mellstroy-footer__socials .item:hover svg {
  transform: scale(1.1);
}

/* Instagram - gradient */
.mellstroy-footer__socials .item.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.mellstroy-footer__socials .item.instagram:hover {
  box-shadow: 0 8px 30px rgba(225, 48, 108, 0.5);
}

/* Telegram - blue */
.mellstroy-footer__socials .item.telegram {
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  box-shadow: 0 4px 15px rgba(42, 171, 238, 0.3);
}

.mellstroy-footer__socials .item.telegram:hover {
  box-shadow: 0 8px 30px rgba(42, 171, 238, 0.5);
}

/* X (Twitter) - dark */
.mellstroy-footer__socials .item.twitter {
  background: linear-gradient(135deg, #14171a 0%, #000000 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mellstroy-footer__socials .item.twitter:hover {
  background: linear-gradient(135deg, #1a1f23 0%, #0a0a0a 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Facebook - blue */
.mellstroy-footer__socials .item.facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.mellstroy-footer__socials .item.facebook:hover {
  box-shadow: 0 8px 30px rgba(24, 119, 242, 0.5);
}

/* Footer menu columns */
.mellstroy-footer__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.mellstroy-footer__col {
  text-align: left;
}

.mellstroy-footer__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: none;
  letter-spacing: 0;
}

.mellstroy-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mellstroy-footer__nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all 0.2s;
  text-decoration: none;
}

.mellstroy-footer__nav a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.mellstroy-footer__menus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
  text-align: center;
}

.mellstroy-footer__menus .column .title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  display: inline-block;
}

.mellstroy-footer__menus .column .title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
}

.mellstroy-footer__menus .column .item {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: all 0.2s;
  position: relative;
}

.mellstroy-footer__menus .column .item:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.mellstroy-footer hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: 32px 0;
}

.mellstroy-footer__copy,
.mellstroy-footer__copyright {
  text-align: center;
  font-size: 0.813rem;
  color: var(--text-muted);
  opacity: 0.7;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  margin-top: 48px;
}

.mellstroy-footer__copy strong,
.mellstroy-footer__copyright strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ===== LEFT ASIDE (SIDEBAR) ===== */
.mellstroy-aside {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--aside-width);
  height: 100vh;
  background: var(--bg-aside);
  border-right: 1px solid var(--border-color);
  z-index: 100;
  overflow-y: auto;
  padding: 20px 12px;
  scrollbar-width: thin;
}

.mellstroy-aside::-webkit-scrollbar {
  width: 4px;
}

.mellstroy-aside::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 2px;
}

.mellstroy-aside__close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mellstroy-aside__close svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
}

.mellstroy-aside__nav {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.mellstroy-aside__nav:first-of-type {
  margin-top: 0;
}

.mellstroy-aside__nav .item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.mellstroy-aside__nav .item:hover {
  background: rgba(124, 58, 237, 0.1);
  color: var(--text-primary);
}

.mellstroy-aside__nav .item.active {
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-primary);
}

.mellstroy-aside__nav .item img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.mellstroy-aside__nav .item_special {
  background: transparent;
  color: var(--text-primary);
  border: none;
  padding-left: 0;
}

.mellstroy-aside__nav .item_special svg {
  opacity: 1;
}

/* Casino/Sport Tabs */
.mellstroy-aside__tabs {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.mellstroy-aside__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.mellstroy-aside__tab:hover {
  color: var(--text-primary);
}

.mellstroy-aside__tab.active {
  background: var(--accent-primary);
  color: white;
}

.mellstroy-aside__tab svg {
  width: 16px;
  height: 16px;
}

/* Language Selector */
.mellstroy-aside__lang {
  position: relative;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.mellstroy-aside__lang .current {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.mellstroy-aside__lang .current:hover {
  border-color: var(--accent-primary);
}

.mellstroy-aside__lang .current img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.mellstroy-aside__lang .list {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 10;
}

.mellstroy-aside__lang .list.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mellstroy-aside__lang .list .item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.mellstroy-aside__lang .list .item:hover {
  background: rgba(124, 58, 237, 0.1);
  color: var(--text-primary);
}

.mellstroy-aside__lang .list .item img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: all 0.3s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1350px) {
  .container {
    max-width: 100%;
  }
  
  .mellstroy-slots__slider {
    grid-template-columns: repeat(7, 1fr);
  }
}

@media (max-width: 1400px) {
  .mellstroy-banner__slider {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mellstroy-banner__item:nth-child(3) {
    display: none;
  }
}

@media (max-width: 1024px) {
  .mellstroy-banner__slider {
    grid-template-columns: 1fr;
  }
  
  /* Баннеры управляются JavaScript для слайдера */
  .mellstroy-banner__item:nth-child(2),
  .mellstroy-banner__item:nth-child(3) {
    display: none;
  }
}

@media (max-width: 1200px) {
  :root {
    --aside-width: 200px;
  }
  
  .mellstroy-category__flex {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .mellstroy-slots__slider {
    grid-template-columns: repeat(7, 1fr);
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 18px;
    max-width: 100%;
  }
  
  .mellstroy-header {
    left: 0;
    right: 0;
    height: 60px;
    width: 100vw;
    max-width: 100%;
  }
  
  .mellstroy-header__container {
    padding: 0 18px;
    max-width: 100%;
  }
  
  .mellstroy-header__nav {
    display: none;
  }
  
  .mellstroy-header__burger {
    display: flex;
  }
  
  .mellstroy-header__logo-text {
    display: block;
  }
  
  /* Hide sidebar on tablet/mobile */
  .mellstroy-aside {
    left: -300px;
    top: 0;
    height: 100vh;
    width: 280px;
    z-index: 1001;
    padding-top: 20px;
    transition: left 0.3s ease;
  }
  
  .mellstroy-aside.open {
    left: 0;
  }
  
  .mellstroy-aside__close {
    display: flex;
  }
  
  .mellstroy-main {
    padding-left: 0;
    padding-top: 76px;
    max-width: 100%;
    width: 100vw;
  }
  
  .mellstroy-banner {
    margin-bottom: 20px;
    width: 100%;
  }
  
  .mellstroy-banner__slider {
    display: block;
    width: 100%;
  }
  
  .mellstroy-banner__item {
    aspect-ratio: 16/9;
    width: 100%;
    display: block;
  }
  
  .mellstroy-banner__bg {
    object-position: center center;
  }
  
  .mellstroy-banner__item::before {
    background: linear-gradient(180deg, rgba(10, 10, 20, 0.3) 0%, rgba(10, 10, 20, 0.7) 100%);
  }
  
  .mellstroy-banner__content {
    left: 50%;
    right: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: none;
    padding: 0;
  }
  
  .mellstroy-banner__title {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
  
  .mellstroy-banner__btn {
    padding: 12px 28px;
    font-size: 0.875rem;
  }
  
  /* Баннеры управляются JavaScript для слайдера */
  
  .mellstroy-category {
    margin-bottom: 20px;
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
  
  .mellstroy-category__flex {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  
  .mellstroy-category__flex::-webkit-scrollbar {
    display: none;
  }
  
  .mellstroy-category .item {
    min-width: calc((100vw - 36px - 56px) / 8);
    max-width: 110px;
    flex-shrink: 0;
    padding: 12px 10px;
  }
  
  .mellstroy-slots {
    margin-bottom: 32px;
  }
  
  .mellstroy-slots__slider {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
  }
  
  /* На планшетах показываем только 6 карточек */
  .mellstroy-slots__slider .slot:nth-child(n+7) {
    display: none;
  }
  
  .mellstroy-footer {
    margin-left: 0;
  }
  
  .mellstroy-footer__menus {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .mellstroy-footer__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .mellstroy-text figure.alignright,
  .mellstroy-text figure.alignleft {
    float: none;
    max-width: 100%;
    margin: 24px 0;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 16px;
  }
  
  .mellstroy-banner__slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  /* Баннеры управляются JavaScript для слайдера */
  
  .mellstroy-slots__slider {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  /* На планшетах показываем только 6 карточек */
  .mellstroy-slots__slider .slot:nth-child(n+7) {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }
  
  .mellstroy-header {
    height: 58px;
  }
  
  .mellstroy-header__container {
    padding: 0 14px;
  }
  
  .mellstroy-main {
    padding-top: 74px;
  }
  
  .mellstroy-banner__item {
    aspect-ratio: 16/9;
  }
  
  .mellstroy-banner__title {
    font-size: 1.375rem;
    margin-bottom: 14px;
  }
  
  .mellstroy-banner__btn {
    padding: 11px 24px;
    font-size: 0.875rem;
  }
  
  .mellstroy-category {
    margin-bottom: 18px;
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }
  
  .mellstroy-category__flex {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    scrollbar-width: none;
  }
  
  .mellstroy-category__flex::-webkit-scrollbar {
    display: none;
  }
  
  .mellstroy-category .item {
    min-width: calc((100vw - 28px - 36px) / 6);
    max-width: 120px;
    flex-shrink: 0;
    padding: 10px 8px;
  }
  
  .mellstroy-slots {
    margin-bottom: 28px;
  }
  
  .mellstroy-slots__slider {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  /* На планшетах показываем только 6 карточек */
  .mellstroy-slots__slider .slot:nth-child(n+7) {
    display: none;
  }
  
  .mellstroy-providers {
    margin-bottom: 28px;
  }
  
  .mellstroy-providers__slider {
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
    gap: 8px;
  }
  
  .mellstroy-providers .item {
    height: 48px;
    padding: 10px 12px;
    font-size: 0.75rem;
  }
  
  .mellstroy-text {
    padding: 18px;
    margin-bottom: 28px;
  }
  
  .mellstroy-text h1 {
    font-size: 1.5rem;
  }
  
  .mellstroy-faq {
    margin-bottom: 28px;
  }
  
  .mellstroy-faq__item .question {
    padding: 16px 18px;
    font-size: 0.938rem;
  }
  
  .mellstroy-faq__item .answer {
    padding: 16px 18px;
  }
  
  .mellstroy-footer {
    padding: 40px 0 32px;
  }
  
  .mellstroy-footer .container {
    padding: 0 14px;
  }
  
  .mellstroy-footer__social-row {
    margin-bottom: 36px;
  }
  
  .mellstroy-footer__socials {
    gap: 12px;
  }
  
  .mellstroy-footer__socials .item {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }
  
  .mellstroy-footer__socials .item svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 12px;
    max-width: 100%;
    width: calc(100vw - 24px);
  }
  
  .mellstroy-header {
    height: 56px;
  }
  
  .mellstroy-header__container {
    padding: 0 12px;
  }
  
  .mellstroy-header__right {
    gap: 6px;
  }
  
  .mellstroy-header__right .mellstroy-btn {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  
  .mellstroy-header__right .mellstroy-btn span {
    display: inline;
  }
  
  .mellstroy-header__logo-img {
    width: 32px;
    height: 32px;
  }
  
  .mellstroy-header__logo-text {
    font-size: 1rem;
  }
  
  .mellstroy-main {
    padding-top: 68px;
  }
  
  .mellstroy-banner {
    margin-bottom: 16px;
    width: 100%;
  }
  
  .mellstroy-banner__slider {
    display: block;
    width: 100%;
  }
  
  .mellstroy-banner__item {
    aspect-ratio: 16/10;
    width: 100%;
    display: block;
  }
  
  .mellstroy-banner__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  
  .mellstroy-banner__btn {
    padding: 10px 22px;
    font-size: 0.813rem;
  }
  
  .mellstroy-banner__item::before {
    background: linear-gradient(180deg, rgba(10, 10, 20, 0.2) 0%, rgba(10, 10, 20, 0.75) 100%);
  }
  
  .mellstroy-banner__bg {
    object-position: center center;
    opacity: 0.85;
  }
  
  .mellstroy-banner__content {
    left: 50%;
    right: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: none;
    padding: 0;
  }
  
  .mellstroy-banner__title {
    font-size: 1.25rem;
    margin-bottom: 14px;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  }
  
  .mellstroy-banner__btn {
    padding: 10px 22px;
    font-size: 0.813rem;
  }
  
  .mellstroy-category {
    display: none;
  }
  
  .mellstroy-slots {
    margin-bottom: 24px;
  }
  
  .mellstroy-slots__slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 100%;
  }
  
  /* На мобильных показываем только 6 карточек */
  .mellstroy-slots__slider .slot:nth-child(n+7) {
    display: none;
  }
  
  .mellstroy-section__title {
    margin-bottom: 12px;
  }
  
  .mellstroy-section__title .title__wrap {
    font-size: 1rem;
  }
  
  .mellstroy-providers__slider {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  
  .mellstroy-providers .item {
    height: 44px;
    padding: 8px 10px;
    font-size: 0.688rem;
    border-radius: var(--radius-sm);
  }
  
  .mellstroy-text {
    padding: 16px;
  }
  
  .mellstroy-text h1 {
    font-size: 1.375rem;
  }
  
  .mellstroy-text h2 {
    font-size: 1.125rem;
  }
  
  .mellstroy-text p {
    font-size: 0.875rem;
  }
  
  .mellstroy-faq {
    margin-bottom: 24px;
  }
  
  .mellstroy-faq__item {
    margin-bottom: 10px;
  }
  
  .mellstroy-faq__item .question {
    padding: 14px 16px;
    font-size: 0.875rem;
  }
  
  .mellstroy-faq__item .answer {
    padding: 14px 16px;
    font-size: 0.875rem;
  }
  
  .mellstroy-footer {
    padding: 32px 0 24px;
  }
  
  .mellstroy-footer .container {
    padding: 0 12px;
  }
  
  .mellstroy-footer__social-row {
    margin-bottom: 28px;
  }
  
  .mellstroy-footer__socials {
    gap: 10px;
  }
  
  .mellstroy-footer__socials .item {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  
  .mellstroy-footer__socials .item svg {
    width: 20px;
    height: 20px;
  }
  
  .mellstroy-footer__menus {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  
  .mellstroy-footer__row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  
  .mellstroy-footer__menus .column .title {
    margin-bottom: 14px;
  }
  
  .mellstroy-footer__menus .column .item {
    margin-bottom: 10px;
    font-size: 0.813rem;
  }
  
  .mellstroy-footer__copy,
  .mellstroy-footer__copyright {
    font-size: 0.75rem;
    line-height: 1.5;
  }
  
  .mellstroy-text .table-wrapper {
    margin: 16px -12px;
    width: calc(100% + 24px);
    border-radius: 0;
  }
  
  .mellstroy-text table {
    min-width: 450px;
    font-size: 0.813rem;
  }
  
  .mellstroy-text table th,
  .mellstroy-text table td {
    padding: 10px 12px;
  }
}

@media (max-width: 420px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 10px;
    max-width: 100%;
    width: calc(100vw - 20px);
  }
  
  .mellstroy-header {
    height: 54px;
  }
  
  .mellstroy-header__container {
    padding: 0 10px;
  }
  
  .mellstroy-header__right {
    gap: 5px;
  }
  
  .mellstroy-header__right .mellstroy-btn {
    padding: 7px 10px;
    font-size: 0.688rem;
    border-radius: 6px;
  }
  
  .mellstroy-header__logo-img {
    width: 28px;
    height: 28px;
  }
  
  .mellstroy-header__logo-text {
    font-size: 0.875rem;
  }
  
  .mellstroy-main {
    padding-top: 66px;
  }
  
  .mellstroy-banner {
    margin-bottom: 14px;
    width: 100%;
  }
  
  .mellstroy-banner__slider {
    display: block;
    width: 100%;
  }
  
  .mellstroy-banner__item {
    aspect-ratio: 16/10;
    width: 100%;
    display: block;
  }
  
  .mellstroy-banner__title {
    font-size: 1.125rem;
    margin-bottom: 10px;
  }
  
  .mellstroy-banner__btn {
    padding: 9px 18px;
    font-size: 0.75rem;
  }
  
  .mellstroy-banner__item::before {
    background: linear-gradient(180deg, rgba(10, 10, 20, 0.2) 0%, rgba(10, 10, 20, 0.8) 100%);
  }

  .mellstroy-banner__bg {
    object-position: center center;
    opacity: 0.85;
  }
  
  .mellstroy-banner__content {
    left: 50%;
    right: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: none;
    padding: 0;
  }
  
  .mellstroy-banner__title {
    font-size: 1.125rem;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  }
  
  .mellstroy-banner__btn {
    padding: 9px 20px;
    font-size: 0.75rem;
  }
  
  .mellstroy-category {
    display: none;
  }
  
  .mellstroy-slots {
    margin-bottom: 20px;
  }
  
  .mellstroy-slots__slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    max-width: 100%;
  }
  
  /* На мобильных показываем только 6 карточек */
  .mellstroy-slots__slider .slot:nth-child(n+7) {
    display: none;
  }
  
  .mellstroy-section__title {
    margin-bottom: 10px;
  }
  
  .mellstroy-section__title .title__wrap {
    font-size: 0.938rem;
  }
  
  .mellstroy-section__title .mellstroy-btn {
    padding: 6px 12px;
    font-size: 0.688rem;
  }
  
  .mellstroy-providers {
    margin-bottom: 20px;
  }
  
  .mellstroy-providers__slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .mellstroy-providers .item {
    height: 40px;
    padding: 6px 8px;
    font-size: 0.625rem;
  }
  
  .mellstroy-text {
    padding: 12px;
  }
  
  .mellstroy-text h1 {
    font-size: 1.125rem;
  }
  
  .mellstroy-text h2 {
    font-size: 0.938rem;
  }
  
  .mellstroy-text p {
    font-size: 0.813rem;
  }
  
  .mellstroy-text .table-wrapper {
    margin: 14px -10px;
    width: calc(100% + 20px);
  }
  
  .mellstroy-text table {
    min-width: 420px;
    font-size: 0.75rem;
  }
  
  .mellstroy-text table th,
  .mellstroy-text table td {
    padding: 8px 10px;
  }
  
  .mellstroy-faq {
    margin-bottom: 20px;
  }
  
  .mellstroy-faq__item {
    margin-bottom: 8px;
  }
  
  .mellstroy-faq__item .question {
    padding: 12px 14px;
    font-size: 0.813rem;
  }
  
  .mellstroy-faq__item .answer {
    padding: 12px 14px;
    font-size: 0.813rem;
  }
  
  .mellstroy-footer {
    padding: 24px 0 20px;
  }
  
  .mellstroy-footer .container {
    padding: 0 10px;
  }
  
  .mellstroy-footer__social-row {
    margin-bottom: 24px;
  }
  
  .mellstroy-footer__socials {
    gap: 8px;
  }
  
  .mellstroy-footer__socials .item {
    width: 40px;
    height: 40px;
  }
  
  .mellstroy-footer__socials .item svg {
    width: 18px;
    height: 18px;
  }
  
  .mellstroy-footer__menus {
    gap: 20px;
    margin-bottom: 24px;
  }
  
  .mellstroy-footer__row {
    gap: 20px;
    margin-bottom: 24px;
  }
  
  .mellstroy-footer__menus .column .title {
    font-size: 0.688rem;
    margin-bottom: 12px;
  }
  
  .mellstroy-footer__menus .column .item {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }
  
  .mellstroy-footer__copy,
  .mellstroy-footer__copyright {
    font-size: 0.688rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-fadeIn { animation: fadeIn 0.5s ease; }
.animate-slideUp { animation: slideUp 0.5s ease; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(108, 92, 231, 0.3);
  color: white;
}

/* ===== LOADING SKELETON ===== */
.is-loading {
  position: relative;
  overflow: hidden;
}

.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ===== GRS HOVER ===== */
.grs {
  transition: all 0.2s ease;
}

.grs:hover {
  background: var(--bg-card-hover);
}

/* ===== LANGS DROPDOWN ===== */
.mellstroy-langs {
  position: relative;
}

.mellstroy-langs .current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
}

.mellstroy-langs .current img {
  width: 20px;
  height: 20px;
  border-radius: 2px;
}

.mellstroy-langs .dd {
  position: absolute;
  bottom: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-width: 120px;
  display: none;
  margin-bottom: 8px;
}

.mellstroy-langs.open .dd {
  display: block;
}

.mellstroy-langs .lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
}

.mellstroy-langs .lang img {
  width: 20px;
  height: 20px;
  border-radius: 2px;
}

/* Langs in Aside */
.mellstroy-aside .mellstroy-langs {
  margin-top: auto;
}

.mellstroy-aside .mellstroy-langs .current {
  width: 100%;
  justify-content: space-between;
}

.mellstroy-aside .mellstroy-langs .dd {
  bottom: auto;
  top: 100%;
  margin-top: 8px;
  margin-bottom: 0;
  width: 100%;
}
