/* ==========================================================================
   Pinco Casino — Стили сайта
   Версия: 1.0 | 2026
   Дизайн: классический gambling-стиль (красный/золото/чёрный)
   ========================================================================== */

:root {
        --bg-dark: #0a0606;
        --bg-darker: #050303;
        --bg-card: #160a0a;
        --red-primary: #c8102e;
        --red-bright: #e31837;
        --red-deep: #8b0000;
        --gold: #d4af37;
        --gold-bright: #ffd700;
        --gold-light: #f5d76e;
        --cream: #f5f5dc;
        --text: #e8e0d5;
        --text-muted: #a89888;
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      html {
        scroll-behavior: smooth;
        font-size: 16px;
      }
      body {
        background: radial-gradient(circle at top center, var(--bg-dark), var(--bg-darker) 100%);
        color: var(--text);
        font-family: 'Inter', sans-serif;
        line-height: 1.6;
        overflow-x: hidden;
      }

      ::-webkit-scrollbar {
        width: 8px;
      }
      ::-webkit-scrollbar-track {
        background: var(--bg-darker);
      }
      ::-webkit-scrollbar-thumb {
        background: var(--gold);
        border-radius: 4px;
      }

      h1,
      h2,
      h3,
      .cinzel {
        font-family: 'Cinzel', serif;
      }
      h1 {
        font-size: 3rem;
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 1.5rem;
      }
      h2 {
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 2rem;
        color: var(--gold-light);
        text-align: center;
      }
      h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--gold);
      }

      a {
        color: var(--gold);
        text-decoration: none;
        transition: 0.3s;
      }
      a:hover {
        color: var(--gold-bright);
        text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
      }
      ul {
        list-style: none;
      }

      .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
      }
      section {
        padding: 80px 0;
        scroll-margin-top: 80px;
      }

      /* Buttons */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 24px;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        text-decoration: none;
      }
      .btn-gold {
        background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
        color: var(--bg-darker);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        padding: 16px 32px;
        font-size: 1.125rem;
      }
      .btn-gold:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
      }
      .btn-outline {
        background: transparent;
        border: 2px solid var(--gold);
        color: var(--gold);
      }
      .btn-outline:hover {
        background: rgba(212, 175, 55, 0.1);
      }
      .btn-pulse {
        animation: pulseGold 2s infinite;
      }

      @keyframes pulseGold {
        0% {
          box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
        }
        70% {
          box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
        }
        100% {
          box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
        }
      }

      /* Cards */
      .card {
        background: var(--bg-card);
        border: 1px solid var(--gold);
        border-radius: 12px;
        padding: 24px;
        transition:
          transform 0.3s,
          box-shadow 0.3s;
        position: relative;
        overflow: hidden;
      }
      .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
      }
      .card-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
      }

      /* Sticky Header */
      header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(10, 6, 6, 0.85);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        z-index: 1000;
        transition: background 0.3s;
      }
      header.scrolled {
        background: rgba(5, 3, 3, 0.95);
        border-bottom-color: var(--gold);
      }
      .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
      }
      .logo {
        font-size: 1.75rem;
        font-weight: 900;
        color: var(--gold-bright);
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .nav-links {
        display: flex;
        gap: 24px;
      }
      .nav-links a {
        color: var(--text);
        font-weight: 500;
      }
      .nav-links a:hover {
        color: var(--gold);
      }
      .header-actions {
        display: flex;
        gap: 16px;
        align-items: center;
      }
      .menu-toggle {
        display: none;
        background: none;
        border: none;
        color: var(--gold);
        font-size: 2rem;
        cursor: pointer;
      }

      /* Hero */
      .hero {
        padding: 160px 0 100px;
        background: radial-gradient(circle at 50% 30%, var(--red-deep) 0%, var(--bg-dark) 70%);
        text-align: center;
        position: relative;
      }
      .hero::before,
      .hero::after {
        content: '♠ ♥';
        position: absolute;
        font-size: 10rem;
        color: rgba(212, 175, 55, 0.03);
        z-index: 0;
      }
      .hero::before {
        top: 10%;
        left: 5%;
      }
      .hero::after {
        content: '♦ ♣';
        bottom: 10%;
        right: 5%;
      }
      .hero-content {
        position: relative;
        z-index: 1;
        max-width: 900px;
        margin: 0 auto;
      }
      .hero h1 {
        background: -webkit-linear-gradient(135deg, #ffd700, #d4af37, #f5d76e);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
      }
      .hero-subtitle {
        font-size: 1.25rem;
        color: var(--cream);
        margin-bottom: 2rem;
        font-weight: 500;
      }
      .badge {
        display: inline-block;
        padding: 6px 16px;
        border: 1px solid var(--gold);
        border-radius: 20px;
        color: var(--gold-bright);
        font-weight: 700;
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
        background: rgba(212, 175, 55, 0.1);
      }
      .hero-actions {
        display: flex;
        justify-content: center;
        gap: 24px;
        margin: 2.5rem 0;
      }

      .stats-bar {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        margin-top: 4rem;
        background: var(--bg-card);
        padding: 32px;
        border-radius: 12px;
        border: 1px solid rgba(212, 175, 55, 0.2);
      }
      .stat-item h4 {
        font-size: 2rem;
        color: var(--gold-bright);
        margin-bottom: 8px;
      }
      .stat-item p {
        color: var(--text-muted);
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 1px;
      }

      /* Sections */
      .grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
      }
      .grid-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
      }
      .grid-4 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
      }

      .divider {
        text-align: center;
        color: var(--gold);
        margin: 60px 0;
        font-size: 1.5rem;
      }
      .divider::before,
      .divider::after {
        content: '';
        display: inline-block;
        width: 150px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        vertical-align: middle;
        margin: 0 20px;
      }

      /* About */
      .about-text p {
        margin-bottom: 1.5rem;
        font-size: 1.125rem;
        color: var(--cream);
      }
      .facts-list li {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }
      .facts-list li:last-child {
        border: none;
      }
      .facts-list span.key {
        color: var(--text-muted);
      }
      .facts-list span.val {
        color: var(--gold-light);
        font-weight: 600;
      }

      /* Games */
      .providers {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
        margin-top: 40px;
      }
      .provider-tag {
        padding: 8px 16px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 4px;
        color: var(--text-muted);
        transition: 0.3s;
      }
      .provider-tag:hover {
        border-color: var(--gold);
        color: var(--gold);
        background: rgba(212, 175, 55, 0.05);
      }

      /* Bonuses */
      .ribbon {
        position: absolute;
        top: 12px;
        right: -30px;
        background: var(--red-primary);
        color: #fff;
        padding: 4px 40px;
        font-weight: bold;
        font-size: 0.75rem;
        transform: rotate(45deg);
        letter-spacing: 1px;
      }
      .bonus-amount {
        font-size: 1.75rem;
        color: var(--gold-bright);
        font-weight: 700;
        margin: 16px 0;
        display: block;
      }
      .promo-box {
        margin-top: 40px;
        padding: 24px;
        background: rgba(200, 16, 46, 0.1);
        border: 1px dashed var(--red-bright);
        border-radius: 8px;
        text-align: center;
      }
      .promo-code {
        font-family: monospace;
        font-size: 1.5rem;
        color: var(--gold-bright);
        background: #000;
        padding: 8px 16px;
        border-radius: 4px;
        margin: 0 16px;
      }

      /* VIP */
      .vip-levels {
        display: flex;
        justify-content: space-between;
        margin-top: 40px;
        position: relative;
      }
      .vip-levels::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 0;
        right: 0;
        height: 2px;
        background: rgba(212, 175, 55, 0.2);
        z-index: 0;
      }
      .vip-card {
        position: relative;
        z-index: 1;
        text-align: center;
        flex: 1;
        padding: 0 10px;
      }
      .vip-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 16px;
        background: var(--bg-dark);
        border: 2px solid var(--gold);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
      }
      .vip-card h4 {
        color: var(--gold-light);
        margin-bottom: 8px;
      }
      .vip-card p {
        font-size: 0.875rem;
        color: var(--text-muted);
      }

      /* Payments */
      .payment-methods {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 40px;
        justify-content: center;
      }
      .payment-tag {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        background: var(--bg-card);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        font-weight: 600;
      }
      table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 24px;
      }
      th,
      td {
        padding: 16px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }
      th {
        color: var(--gold);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.875rem;
      }
      td {
        color: var(--cream);
      }

      /* Mobile App */
      .mobile-features li {
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 1.125rem;
      }
      .mobile-features li::before {
        content: '✓';
        color: var(--gold-bright);
        font-weight: bold;
      }
      .phone-mockup {
        width: 300px;
        height: 600px;
        margin: 0 auto;
        border: 4px solid var(--gold);
        border-radius: 36px;
        background: var(--bg-darker);
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
      }
      .phone-notch {
        position: absolute;
        top: 0;
        width: 120px;
        height: 24px;
        background: var(--gold);
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
      }

      /* Security */
      .partners {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-top: 40px;
        opacity: 0.6;
      }

      /* Reviews */
      .rating-summary {
        text-align: center;
        margin-bottom: 40px;
      }
      .stars {
        color: var(--gold-bright);
        font-size: 1.5rem;
        letter-spacing: 2px;
      }
      .review-header {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 16px;
      }
      .avatar {
        width: 48px;
        height: 48px;
        background: rgba(212, 175, 55, 0.1);
        border: 1px solid var(--gold);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: var(--gold);
      }

      /* FAQ */
      .faq-container {
        max-width: 800px;
        margin: 0 auto;
      }
      details {
        background: var(--bg-card);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 8px;
        margin-bottom: 16px;
        overflow: hidden;
      }
      summary {
        padding: 20px 24px;
        font-weight: 600;
        color: var(--cream);
        cursor: pointer;
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      summary::-webkit-details-marker {
        display: none;
      }
      summary::after {
        content: '+';
        color: var(--gold);
        font-size: 1.5rem;
        transition: 0.3s;
      }
      details[open] summary::after {
        transform: rotate(45deg);
      }
      .faq-content {
        padding: 0 24px 20px;
        color: var(--text-muted);
      }

      /* Footer */
      footer {
        background: var(--bg-darker);
        border-top: 1px solid rgba(212, 175, 55, 0.3);
        padding: 80px 0 40px;
        margin-top: 80px;
      }
      .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
        margin-bottom: 60px;
      }
      .footer-col h4 {
        color: var(--gold);
        margin-bottom: 24px;
        font-size: 1.125rem;
      }
      .footer-col ul li {
        margin-bottom: 12px;
      }
      .footer-col a {
        color: var(--text-muted);
      }
      .footer-col a:hover {
        color: var(--cream);
      }
      .social-links {
        display: flex;
        gap: 16px;
        margin-top: 24px;
      }
      .social-links a {
        font-size: 1.5rem;
        opacity: 0.8;
        transition: 0.3s;
      }
      .social-links a:hover {
        opacity: 1;
        transform: translateY(-2px);
      }
      .badges {
        display: flex;
        justify-content: center;
        gap: 24px;
        margin-bottom: 40px;
        flex-wrap: wrap;
      }
      .badge-icon {
        padding: 8px 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        color: #888;
        font-size: 0.875rem;
      }
      .disclaimer {
        text-align: center;
        color: var(--text-muted);
        font-size: 0.875rem;
        max-width: 800px;
        margin: 0 auto;
        padding-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
      }
      .disclaimer strong {
        color: #fff;
        display: block;
        margin-bottom: 10px;
        font-size: 1rem;
      }

      /* Responsive */
      @media (max-width: 1024px) {
        .grid-4,
        .grid-3 {
          grid-template-columns: repeat(2, 1fr);
        }
        .stats-bar {
          grid-template-columns: repeat(2, 1fr);
        }
        .vip-levels {
          flex-direction: column;
          gap: 24px;
        }
        .vip-levels::before {
          display: none;
        }
        .vip-card {
          display: flex;
          align-items: center;
          text-align: left;
          gap: 16px;
          background: rgba(255, 255, 255, 0.02);
          padding: 16px;
          border-radius: 8px;
        }
        .vip-icon {
          margin: 0;
        }
      }
      @media (max-width: 768px) {
        h1 {
          font-size: 2rem;
        }
        h2 {
          font-size: 1.75rem;
        }
        .nav-links {
          display: none;
          position: absolute;
          top: 80px;
          left: 0;
          right: 0;
          background: var(--bg-darker);
          flex-direction: column;
          padding: 24px;
          border-bottom: 1px solid var(--gold);
          text-align: center;
        }
        .nav-links.active {
          display: flex;
        }
        .menu-toggle {
          display: block;
        }
        .header-actions {
          display: none;
        }
        .grid-2,
        .grid-4,
        .grid-3 {
          grid-template-columns: 1fr;
        }
        .footer-grid {
          grid-template-columns: 1fr;
        }
        .hero-actions {
          flex-direction: column;
        }
        .stats-bar {
          grid-template-columns: 1fr;
          text-align: center;
        }
      }

/* ==========================================================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ИНТЕРАКТИВНОСТИ И ФУТЕРА (v1.1)
   ========================================================================== */

/* --- Активный пункт навигации --- */
.nav-links a.active {
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

/* --- Sticky header при скролле --- */
header.scrolled {
  box-shadow: 0 4px 20px rgba(200, 16, 46, 0.4), 0 0 30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

/* --- Открытое мобильное меню --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: linear-gradient(180deg, #1a0505 0%, #0a0a0a 100%);
    border-top: 2px solid #d4af37;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  }
  .nav-links.open {
    display: flex;
  }
}

/* --- Кнопка "Скопировано" --- */
.copy-btn.copied {
  background: linear-gradient(135deg, #2e8b2e 0%, #4caf50 100%) !important;
  color: #fff !important;
  border-color: #4caf50 !important;
  transform: scale(1.05);
}

/* --- Анимация появления карточек --- */
.game-card,
.bonus-card,
.vip-card,
.feature-card,
.review-card,
.payment-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.game-card.in-view,
.bonus-card.in-view,
.vip-card.in-view,
.feature-card.in-view,
.review-card.in-view,
.payment-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a0505 100%);
  border-top: 3px solid #d4af37;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  color: #c0c0c0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.footer-col .footer-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1rem;
  letter-spacing: 2px;
}

.footer-col .footer-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: #ffd700;
  margin: 0 0 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-text {
  line-height: 1.65;
  font-size: 0.95rem;
  color: #b0b0b0;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: 0.6rem;
}
.footer-list a {
  color: #c0c0c0;
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
  font-size: 0.95rem;
}
.footer-list a::before {
  content: '♦ ';
  color: #c8102e;
  font-size: 0.7em;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.footer-list a:hover {
  color: #ffd700;
  padding-left: 4px;
}
.footer-list a:hover::before {
  opacity: 1;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-badges span {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(26, 5, 5, 0.6);
  color: #d4af37;
}
.footer-badges .badge-18 {
  background: linear-gradient(135deg, #c8102e 0%, #8b0000 100%);
  color: #fff;
  border-color: #ffd700;
  font-weight: 900;
}

.footer-disclaimer {
  max-width: 820px;
  margin: 0 auto 1rem;
  font-size: 0.85rem;
  color: #999;
  line-height: 1.6;
  font-style: italic;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #777;
  margin: 0;
}

@media (max-width: 600px) {
  .site-footer {
    padding: 3rem 1.25rem 1.5rem;
  }
  .footer-grid {
    gap: 2rem;
    text-align: center;
  }
  .footer-list a::before {
    display: none;
  }
}

/* --- skip-to-content для a11y --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #c8102e;
  color: #ffd700;
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus {
  top: 0;
}
