/* Design System Variables */
:root {
  --bg-main: #F4F6F9;
  --bg-surface: #FFFFFF;
  --bg-subtle: #EBF0F5;
  --accent-primary: #D4AF37;
  --accent-primary-hover: #B89528;
  --accent-secondary: #10B981;
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --border-color: #E2E8F0;
  --error: #EF4444;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --shadow-card: 0px 10px 30px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0px 15px 35px rgba(15, 23, 42, 0.08);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

/* Typography Styles */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 24px;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 20px;
}

h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 16px;
}

h4 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

h5, h6 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.accent-gold {
  color: var(--accent-primary);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #C59B27 100%);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 600;
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: #CBD5E1;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 18px;
  font-weight: 600;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 8px;
}

/* Badges */
.badge-gold {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent-primary-hover);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.logo:hover .logo-icon {
  transform: rotate(180deg);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--accent-primary);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-arrow {
  font-size: 10px;
  color: var(--text-secondary);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  list-style: none;
  width: 180px;
  display: none;
  overflow: hidden;
  z-index: 100;
}

.lang-dropdown.active {
  display: block;
}

.lang-dropdown li {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s ease;
}

.lang-dropdown li:hover, .lang-dropdown li.active {
  background: var(--bg-subtle);
  color: var(--accent-primary-hover);
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* Hero Slider */
.hero-section {
  margin-top: 32px;
}

.hero-slider {
  position: relative;
  background: linear-gradient(135deg, #FFFFFF 0%, #EBF0F5 100%);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-slides {
  position: relative;
}

.hero-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 48px;
}

.hero-slide.active {
  display: grid;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.06));
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 48px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent-primary);
  width: 32px;
  border-radius: 6px;
}

/* Slots Carousel Section */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.carousel-controls {
  display: flex;
  gap: 12px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--accent-primary);
  color: #FFFFFF;
  border-color: var(--accent-primary);
}

.slots-carousel-wrapper {
  overflow: hidden;
  margin: 0 -10px;
  padding: 10px;
}

.slots-carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.slot-card {
  flex: 0 0 calc(25% - 15px);
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.slot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.slot-thumb {
  position: relative;
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
}

.slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.slot-card:hover .slot-thumb img {
  transform: scale(1.05);
}

.slot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.slot-info {
  padding: 16px;
}

.slot-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.slot-info span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Crypto Ecosystem */
.header-block {
  margin-bottom: 40px;
}

.crypto-grid {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.crypto-card {
  background: #FFFFFF;
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.crypto-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.crypto-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.crypto-meta {
  display: flex;
  flex-direction: column;
}

.crypto-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.crypto-tag {
  font-size: 12px;
  color: var(--text-secondary);
}

/* SEO Section */
.article-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.toc-container {
  background: var(--bg-subtle);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  border-left: 4px solid var(--accent-primary);
}

.toc-container h4 {
  margin-bottom: 12px;
}

.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--accent-primary);
  transition: var(--transition);
}

.toc-list a:hover {
  color: var(--accent-primary-hover);
  border-bottom-style: solid;
  background: rgba(212, 175, 55, 0.08);
  padding: 0 4px;
  border-radius: 2px;
}

/* SEO Lists */
.article-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.article-card ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.article-card ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-primary);
  font-size: 12px;
}

.article-card ol {
  counter-reset: custom-counter;
  padding-left: 0;
  margin-bottom: 24px;
  list-style: none;
}

.article-card ol li {
  counter-increment: custom-counter;
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.article-card ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--border-color);
  color: var(--text-primary);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Images & Tables in Article */
.article-card figure {
  margin: 32px 0;
  width: 100%;
}

.article-card img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  display: block;
}

.article-card figcaption {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #FFFFFF;
}

th {
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-weight: 700;
  padding: 14px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}

td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14px;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background: #FAFAFA;
}

/* Contact Form Section */
.contact-card {
  max-width: 600px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #F8F9FA;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

/* Footer */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-desc {
  font-size: 14px;
  margin-top: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-divider {
  height: 1px;
  background: var(--border-color);
  margin: 40px 0 30px;
}

.footer-compliance {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-main);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.badge-18 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--error);
  color: var(--error);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.compliance-info {
  font-size: 13px;
  line-height: 1.5;
}

.compliance-info p {
  margin-bottom: 6px;
  font-size: 13px;
}

.compliance-info p:last-child {
  margin-bottom: 0;
}

.license-seal-img {
  height: 48px;
  object-fit: contain;
}

.copyright {
  text-align: center;
  color: #94A3B8;
  font-size: 13px;
  margin-top: 24px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 380px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner p {
  font-size: 13px;
  margin-bottom: 0;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Scroll Reveal Effect */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .slot-card {
    flex: 0 0 calc(33.333% - 14px);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hero-slide {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .hero-image-wrap {
    order: -1;
  }
  .hero-image {
    max-height: 220px;
  }
  .slot-card {
    flex: 0 0 calc(50% - 10px);
  }
  .article-card {
    padding: 24px;
  }
  .footer-compliance {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner {
    left: 16px;
    right: 16px;
    max-width: none;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .slot-card {
    flex: 0 0 100%;
  }
  .header-actions .btn-outline {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #d9e0e8;
  border-radius: 12px;
  background: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #253247;
  cursor: pointer;
  transition:
          border-color 0.2s ease,
          background-color 0.2s ease,
          color 0.2s ease;
}

.lang-btn:hover {
  border-color: #d8aa24;
  color: #c69200;
}

.lang-current {
  display: block;
  white-space: nowrap;
}

.dropdown-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  color: #607089;
  transition: transform 0.2s ease;
}

.lang-btn[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1000;
  display: none;
  min-width: 180px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce3ea;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(27, 39, 55, 0.14);
  list-style: none;
}

.lang-dropdown.active {
  display: block;
}

.lang-dropdown li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #253247;
  cursor: pointer;
  transition:
          background-color 0.2s ease,
          color 0.2s ease;
}

.lang-dropdown li + li {
  border-top: 1px solid rgba(217, 224, 232, 0.55);
}

.lang-dropdown li > a {
  display: block;
  width: 100%;
  padding: 13px 16px;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

.lang-dropdown li > a:link,
.lang-dropdown li > a:visited,
.lang-dropdown li > a:hover,
.lang-dropdown li > a:active,
.lang-dropdown li > a:focus {
  color: inherit;
  text-decoration: none;
}

.lang-dropdown li:hover {
  background: #f7f8fa;
  color: #c69200;
}

.lang-dropdown li.active {
  padding: 13px 16px;
  background: #eef2f6;
  color: #d3a51d;
  font-weight: 600;
  box-sizing: border-box;
}

.lang-dropdown li.active:hover {
  background: #eef2f6;
  color: #d3a51d;
}

@media (max-width: 768px) {
  .lang-btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .lang-dropdown {
    min-width: 165px;
  }

  .lang-dropdown li {
    font-size: 13px;
  }

  .lang-dropdown li > a,
  .lang-dropdown li.active {
    padding: 12px 14px;
  }
}