:root{
  --color-accent: #2ecc71; /* можно поменять на твой фирменный */
  --color-text: #000;
  --color-bg: #f5f5f5;
  --color-border: #e0e0e0;
  --color-link: #22c55e;
}

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

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;    
    background: #f5f5f5;
    color: #000;
}

/* Header */
.header {
    background: #000;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #2ecc71;
}

.header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: "Inter", sans-serif;
}

.btn-login {
    background: transparent;
    color: white;
    border: 1px solid #444;
}
.btn-login a {
    color: white;
    text-decoration: none;
}
.btn-register a {
    color: white;
    text-decoration: none;
}

.btn-register {
    background: #2ecc71;
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar-close {
    background: none;
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.sidebar-close:hover {
    color: #2ecc71;
    transform: rotate(90deg);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 7px 15px;
    color: #000;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
}

.sidebar-link:hover {
    color: #2ecc71;
}

.sidebar-icon {
    font-size: 20px;
    margin-right: 18px;
    width: 30px;
    text-align: center;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    display: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
}

/* Navigation Tabs */
.nav-tabs {
    background: #e0e0e0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 20px;
}

.nav-tab {
    padding: 7px 30px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-weight: 600;
    color: #666;
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-tab.active {
    color: #1a1a1a;
    border-bottom-color: #f8333c;
    background: #ffe6e2cc;
}

.nav-tab:hover {
    color: #1a1a1a;
}

.nav-tab a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Loyalty Program Banner */
.loyalty-banner {
    background: radial-gradient(104.27% 245.79% at -23.28% -82.35%, #6300a0, #4600a000), 
                radial-gradient(253.76% 173.64% at 126.09% 147.48%, #0136bf, #0136bf00 99%), #000;
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.loyalty-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.coin-icon img {
    width: 80px;
    height: auto;
}

.loyalty-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.loyalty-btn {
    background: #2ecc71;
    color: #fff;
    padding: 12px 35px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.loyalty-btn:hover {
    background: #00dd77;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.4);
}

/* Slider Container */
.slider-container {
    margin: 20px;
    border-radius: 20px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 40px 60px;
    position: relative;
    z-index: 2;
}

.slide-text {
    max-width: 60%;
    z-index: 2;
}

.slide-text h2 {
    color: white;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-btn {
    background: #2ecc71;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.slide-btn a {
    color: white;
    text-decoration: none;
}

.slide-btn:hover {
    background: #00dd77;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #2ecc71;
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Category Filter */
.category-filter {
    display: flex;
    gap: 5px;
    padding: 20px 0;
    overflow-x: auto;
    white-space: nowrap;
}

.category-btn {
    padding: 6px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-btn span img {
    width: 24px;
}

.category-btn.active,
.category-btn:hover {
    background: #2ecc71;
    color: #1a1a1a;
    border-color: #2ecc71;
}

/* Section */
.section {
    margin: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
}

.section-controls {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2ecc71;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.arrow-btn:hover {
    background: #00dd77;
    transform: scale(1.1);
}

.view-all-btn {
    background: #2ecc71;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

/* Games Grid */
.games-section .container {
    padding: 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s ease-out forwards;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.game-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-image {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-play-btn {
    background: #4DD486;
    color: #1a1a1a;
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.game-play-btn a {
    color: white;
    text-decoration: none;
}

.game-play-btn:hover {
    background: #00dd77;
    transform: scale(1.05);
}

.game-demo-btn {
    background: transparent;
    color: #4DD486;
    padding: 10px 30px;
    border: 2px solid #4DD486;
    border-radius: 25px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.game-demo-btn a {
    color: #fff;
    text-decoration: none;
}

.game-demo-btn:hover {
    background: #4DD486;
    color: #1a1a1a;
}

.game-info {
    padding: 15px;
}

.game-provider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.provider-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.game-provider span {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.game-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card:nth-child(1) { animation-delay: 0.05s; }
.game-card:nth-child(2) { animation-delay: 0.1s; }
.game-card:nth-child(3) { animation-delay: 0.15s; }
.game-card:nth-child(4) { animation-delay: 0.2s; }
.game-card:nth-child(5) { animation-delay: 0.25s; }
.game-card:nth-child(6) { animation-delay: 0.3s; }
.game-card:nth-child(7) { animation-delay: 0.35s; }
.game-card:nth-child(8) { animation-delay: 0.4s; }
.game-card:nth-child(9) { animation-delay: 0.45s; }
.game-card:nth-child(10) { animation-delay: 0.5s; }

/* Promotional Cards */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.promo-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.promo-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.promo-btn {
    background: #2ECC71;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}

.promo-btn a {
    color: white;
    text-decoration: none;
}

/* Section Text */
.section-text {
    background: white;
    padding: 24px;
    border-radius: 12px;
}

.section-text h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #000;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    padding: 10px 0 20px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-item:hover,
.nav-item.active {
    color: #2ecc71;
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 1px;
    transition: all 0.3s;
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
}

.nav-label {
    font-size: 11px;
    font-weight: 500;
}

.nav-item-center {
    position: relative;
    margin-top: -60px;
}

.nav-item-center img {
    width: 80px;
    height: 80px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #2ecc71;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #2ecc71;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .logo img {
        width: 80%;
    }

    .btn-register {
        font-size: 14px;
        font-weight: 400;
        padding: 6px 12px;
    }

    .header-buttons .btn-login {
        display: none;
    }

    .menu-toggle {
        display: none;
    }

    .nav-tabs {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .nav-tab {
        padding: 15px 20px;
        font-size: 14px;
    }

    .loyalty-banner {
        padding: 12px 20px;
        border-radius: 40px;
        margin: 15px;
    }

    .loyalty-text {
        font-size: 14px;
    }

    .loyalty-btn {
        padding: 10px 25px;
        font-size: 13px;
    }

    .slider-container {
        margin: 15px;
    }

    .slider-wrapper {
        height: 280px;
    }

    .slide-content {
        padding: 25px 30px;
        justify-content: center;
    }

    .slide-text {
        max-width: 100%;
        text-align: center;
    }

    .slide-text h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .slide-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .game-image {
        height: 160px;
    }

    .game-info {
        padding: 12px;
    }

    .game-title {
        font-size: 13px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 18px;
    }

    .category-filter {
        padding: 15px 0;
    }

    .mobile-bottom-nav {
        display: grid;
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .loyalty-banner {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        border-radius: 25px;
    }

    .loyalty-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .loyalty-text {
        font-size: 13px;
    }

    .loyalty-btn {
        width: 100%;
    }

    .slider-wrapper {
        height: 250px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-text h2 {
        font-size: 22px;
    }

    .slide-btn {
        padding: 10px 25px;
        font-size: 13px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 25px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-image {
        height: 140px;
    }

    .game-info {
        padding: 10px;
    }

    .game-provider {
        gap: 6px;
    }

    .provider-icon {
        width: 16px;
        height: 16px;
    }

    .game-provider span {
        font-size: 11px;
    }

    .game-title {
        font-size: 12px;
    }

    .game-play-btn {
        padding: 8px 25px;
        font-size: 12px;
    }

    .game-demo-btn {
        padding: 6px 20px;
        font-size: 11px;
    }

    .sidebar {
        width: 280px;
        right: -280px;
    }
}

.sidebar-link.active {
  background: var(--color-accent);
  color: #fff;
}
.sidebar-link.active .sidebar-icon img {
  filter: brightness(0) invert(1);

}
/* УБРАТЬ ЛЮБЫЕ ЛИНИИ у category-кнопок */
.category-filter .category-btn,
.category-filter .category-btn:link,
.category-filter .category-btn:visited,
.category-filter .category-btn:hover,
.category-filter .category-btn:active{
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none; /* на случай если "линия" это тень */
}
/* убрать любые декорации у ссылок внутри шапки */
.header-buttons a,
.header-buttons a:link,
.header-buttons a:visited,
.header-buttons a:hover,
.header-buttons a:active{
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
/* убрать подчеркивание у ссылки в кнопке "Активировать" */
.btn a,
.btn a:link,
.btn a:visited,
.btn a:hover,
.btn a:active,
a.btn,
a.btn:link,
a.btn:visited,
a.btn:hover,
a.btn:active,
game-play-btn 
{
  text-decoration: none !important;
  border-bottom: none !important;
}
/* GAME OVERLAY: кнопки-ссылки без подчеркивания */
.game-overlay .game-play-btn,
.game-overlay .game-play-btn:link,
.game-overlay .game-play-btn:visited,
.game-overlay .game-play-btn:hover,
.game-overlay .game-play-btn:active{
  text-decoration: none !important;
  border-bottom: none !important; /* если линия была через border */
}
/* =========================
   OLD-MONEY / FELT v4 (centered H2 + premium tables + FAQ accordion)
   Target: .section-text (your markup)
   ========================= */

.section-text{
  --felt:  #102723;         /* тёплый тёмно-зелёный */
  --felt2: #0b1c18;
  --gold:  #c9a14a;
  --gold2: #f2d27a;
  --ivory: rgba(248,244,234,.92);
  --text:  rgba(235,229,214,.84);
  --muted: rgba(235,229,214,.66);
  --stroke: rgba(255,255,255,.10);

  color-scheme: dark;
  color: var(--text);

  background:
    radial-gradient(1100px 560px at 16% 0%, rgba(242,210,122,.12), transparent 62%),
    radial-gradient(900px 520px at 88% 18%, rgba(44,92,79,.22), transparent 62%),
    radial-gradient(900px 620px at 52% 108%, rgba(0,0,0,.35), transparent 62%),
    linear-gradient(180deg, var(--felt) 0%, var(--felt2) 100%);
  border: 1px solid rgba(201,161,74,.16);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  position: relative;
  overflow: hidden;

  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: .18px;
}

/* текстура сукна */
.section-text::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.10;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(201,161,74,.22) 1px, transparent 1.7px),
    radial-gradient(circle at 2px 2px, rgba(44,92,79,.22) 1px, transparent 1.7px);
  background-size: 12px 12px, 16px 16px;
  mix-blend-mode: overlay;
}

/* базовые элементы */
.section-text p,
.section-text li,
.section-text span{ color: inherit; }

.section-text p{
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  line-height: 1.82;
  max-width: 76ch;
}

.section-text a{
  color: rgba(242,210,122,.98);
  text-decoration-color: rgba(242,210,122,.55);
  text-underline-offset: 3px;
}
.section-text a:hover{
  color: rgba(242,210,122,1);
  text-decoration-color: rgba(242,210,122,.85);
}

.section-text strong{ color: var(--ivory); font-weight: 900; }

/* =========================
   Секции: каждая <section> = карточка
   ========================= */
.section-text > section,
.section-text > section > section{
  position: relative;
  z-index: 1;

  margin: 16px 0;
  padding: 18px 18px;

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(360px 180px at 14% 10%, rgba(201,161,74,.10), transparent 62%),
    radial-gradient(360px 200px at 88% 92%, rgba(44,92,79,.16), transparent 62%),
    rgba(10,14,13,.52);

  box-shadow: 0 18px 55px rgba(0,0,0,.55);
}

.section-text > section + section{ margin-top: 18px; }

/* =========================
   Заголовки
   ========================= */
.section-text h1{
  margin: 0 0 14px;
  padding: 16px 18px 16px 22px;

  border-radius: 18px;
  border: 1px solid rgba(201,161,74,.30);
  background:
    radial-gradient(520px 120px at 18% 0%, rgba(201,161,74,.16), transparent 62%),
    linear-gradient(180deg, rgba(18,26,24,.92), rgba(10,14,13,.76));

  color: rgba(248, 244, 234, .97);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: .35px;
  font-size: clamp(26px, 3.8vw, 46px);
  text-shadow: 0 10px 30px rgba(0,0,0,.45);

  position: relative;
}

.section-text h1::before{
  content:"";
  position:absolute;
  left: 12px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(242,210,122,.98), rgba(44,92,79,.35));
  box-shadow: 0 0 18px rgba(201,161,74,.18);
}

/* ===== H2: центр + эстетика ===== */
.section-text h2{
  position: relative;
  margin: 16px auto 12px;
  padding: 16px 56px;              /* больше воздуха, чтобы текст “жил” по центру */
  max-width: 62ch;                 /* визуально ближе к центру, как просил */
  text-align: center;

  border-radius: 18px;
  border: 1px solid rgba(201,161,74,.26);
  background:
    radial-gradient(640px 140px at 50% 0%, rgba(201,161,74,.16), transparent 62%),
    linear-gradient(180deg, rgba(18,26,24,.92), rgba(10,14,13,.78));

  color: rgba(248, 244, 234, .975);
  font-weight: 930;
  line-height: 1.22;
  letter-spacing: .26px;

  box-shadow:
    0 16px 46px rgba(0,0,0,.54),
    inset 0 1px 0 rgba(255,255,255,.08);

  overflow: hidden;
}

/* две тонкие “нити” по бокам (дороже, чем полоса слева) */
.section-text h2::before,
.section-text h2::after{
  content:"";
  position:absolute;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(242,210,122,.98), rgba(201,161,74,.18));
  opacity: .85;
  pointer-events:none;
}
.section-text h2::before{ left: 18px; }
.section-text h2::after{ right: 18px; }

.section-text h3{
  margin: 14px 0 8px;
  color: rgba(245,238,221,.90);
  font-weight: 850;
  letter-spacing: .20px;
  line-height: 1.25;
}

/* =========================
   Списки
   ========================= */
.section-text ul,
.section-text ol{
  margin: 10px 0 14px;
  padding-left: 18px;
  max-width: 76ch;
}
.section-text li{
  margin: 7px 0;
  color: var(--muted);
}

/* =========================
   Таблицы: премиум “gallery rows”
   ========================= */
.section-text table{
  display:block;
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;

  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(201,161,74,.22);
  background:
    radial-gradient(560px 200px at 12% 0%, rgba(201,161,74,.12), transparent 60%),
    radial-gradient(560px 240px at 88% 100%, rgba(44,92,79,.18), transparent 60%),
    rgba(10,14,13,.56);
  box-shadow: 0 18px 55px rgba(0,0,0,.60);

  border-collapse: separate;
  border-spacing: 0 10px;

  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

/* сбить HTML-атрибут border="1" */
.section-text table,
.section-text th,
.section-text td{
  border: 0 !important;
}

.section-text table thead,
.section-text table tbody{
  display: table;
  width: 100%;
  table-layout: fixed;
}

.section-text table th{
  padding: 14px 14px;
  text-align: left;
  color: rgba(248, 244, 234, .96);
  background: linear-gradient(180deg, rgba(44,92,79,.78), rgba(31,63,53,.78));
  font-weight: 900;
  letter-spacing: .25px;
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 10px 24px rgba(0,0,0,.28);
}

.section-text table td{
  padding: 14px 14px;
  vertical-align: top;
  color: var(--text);
}

/* строка как карточка */
.section-text table tbody tr{
  position: relative;
  background:
    radial-gradient(520px 220px at 16% 0%, rgba(201,161,74,.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  box-shadow: 0 14px 40px rgba(0,0,0,.50);
  overflow: hidden;
}

/* “золотая нить” слева у строки */
.section-text table tbody tr::before{
  content:"";
  position:absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(242,210,122,.95), rgba(201,161,74,.18));
  opacity: .9;
}

/* легкое разделение колонок */
.section-text table tbody tr td + td{
  border-left: 1px solid rgba(255,255,255,.06) !important;
}

.section-text table tbody tr:hover{
  transform: translateY(-1px);
  background:
    radial-gradient(620px 240px at 18% 0%, rgba(201,161,74,.18), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  transition: transform .15s ease, background .15s ease;
}

/* =========================
   FAQ: красивый аккордеон по клику (через <details><summary>)
   Как использовать:
   <div class="faq">
     <details><summary>Вопрос</summary><div class="faq-a">Ответ</div></details>
   </div>
   ========================= */
.section-text .faq{ margin-top: 12px; }

.section-text .faq details{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,14,13,.50);
  border-radius: 16px;
  padding: 10px 12px;
  margin: 10px 0;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}

.section-text .faq summary{
  cursor: pointer;
  user-select: none;
  list-style: none;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  font-weight: 850;
  letter-spacing: .18px;
  color: rgba(245,238,221,.92);
}

.section-text .faq summary::-webkit-details-marker{ display:none; }

.section-text .faq summary::after{
  content: "＋";
  color: rgba(242,210,122,.98);
  font-weight: 900;
  flex: 0 0 auto;
}
.section-text .faq details[open] summary::after{ content: "—"; }

.section-text .faq .faq-a{
  margin-top: 8px;
  color: rgba(235,229,214,.74);
  line-height: 1.75;
  padding-right: 18px;
}

.section-text .faq summary:focus-visible{
  outline: 2px solid rgba(242,210,122,.55);
  outline-offset: 3px;
  border-radius: 12px;
}
