/* Legjobb Casinok – royal purple & gold theme */
:root {
  --bg-brand-dark: #0f051a;
  --bg-brand-purple: #1a0d2b;
  --bg-brand-card: #2e1a47;
  --accent-gold: #d4af37;
  --accent-gold-light: #ffd700;
  --accent-gold-dark: #b8860b;
  --accent-purple: #6a0dad;
  --text-light: #f5e6c8;
  --text-muted: #c4b5d4;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --border-premium: 1px solid rgba(212, 175, 55, 0.35);
}

html {
  font-size: 10px;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text-light);
  background: var(--bg-brand-dark);
}

/* Layout */
.page-shell {
  flex: 1 0 auto;
  padding-top: 8.5rem;
}

.layout-wrap {
  width: 100%;
  max-width: 117.5rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 99;
  min-width: 36rem;
  height: 8.5rem;
  background: linear-gradient(180deg, #1a0d2b 0%, #0f051a 100%);
  border-bottom: var(--border-premium);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.site-header .layout-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand-mark {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin-right: auto;
  width: 13rem;
  height: 7.5rem;
}

.brand-mark__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: contain;
}

.icon-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  width: 4.4rem;
  height: 4.4rem;
}

.icon-search-btn svg {
  fill: var(--accent-gold);
  width: 1.8rem;
  height: 1.8rem;
  transition: fill 0.2s;
}

.icon-search-btn:hover svg {
  fill: var(--accent-gold-light);
}

.bonus-badge {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
}

.bonus-badge svg {
  display: block;
  width: 4.2rem;
  height: 3.8rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.bonus-badge__count {
  position: absolute;
  top: 0;
  right: -0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #1a0d2b;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--accent-gold-light);
  border-radius: 50%;
  border: 0.15rem solid var(--accent-gold-dark);
  width: 1.9rem;
  height: 1.9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.site-header__toggle {
  position: relative;
  margin: 0 0 0 3rem;
  padding: 0;
  background: none;
  border: 0;
  border-top: 0.2rem solid var(--accent-gold);
  border-bottom: 0.2rem solid var(--accent-gold);
  cursor: pointer;
  width: 1.8rem;
  height: 1.4rem;
}

.site-header__toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: inherit;
  height: 0.2rem;
  background: var(--accent-gold);
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}

.site-header__toggle--active {
  border-color: transparent;
}

.site-header__toggle--active span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header__toggle--active span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Hero */
.hero-block {
  padding: 3rem 0 4rem;
  text-align: center;
  color: var(--text-light);
  font-size: 1.8rem;
  font-weight: 500;
  background: linear-gradient(135deg, #1a0d2b 0%, #2e1a47 45%, #0f051a 100%);
  border-bottom: var(--border-premium);
}

.hero-block__title {
  margin: 0 0 1.5rem;
  color: var(--accent-gold-light);
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(212, 175, 55, 0.25);
}

.hero-block__text {
  margin: 0 auto;
  max-width: 90rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Article meta */
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 1.5rem;
  background: var(--bg-brand-card);
  border: var(--border-premium);
  border-radius: var(--radius-md);
  font-size: 14px;
}

.article-meta__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.article-meta__author {
  font-weight: 600;
  color: var(--text-light);
}

.article-meta__sep {
  color: var(--text-muted);
}

.article-meta__verified {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-gold);
  font-weight: 600;
}

.article-meta__icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.article-meta__right {
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.article-meta__right time {
  font-weight: 700;
  color: var(--accent-gold-light);
}

/* Content */
.article-body {
  padding: 2rem 0 5rem;
  font-size: 1.8rem;
  line-height: 1.7;
}

.article-body p {
  margin: 0 0 2rem;
  color: var(--text-muted);
}

.section-head {
  margin: 0 0 1rem;
  color: var(--accent-gold);
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1.25;
}

.article-body h3.section-head {
  font-size: 2.2rem;
  margin-top: 2.5rem;
}

.article-body h4.section-head {
  font-size: 1.9rem;
  margin-top: 1.5rem;
}

.article-body a:not([class]) {
  color: var(--accent-gold-light);
  text-decoration: underline;
}

.article-body a:not([class]):hover {
  color: var(--accent-gold);
}

.article-body ul {
  margin: 0 0 2rem;
  padding-left: 2rem;
  color: var(--text-muted);
}

.article-body ul li {
  margin-bottom: 0.8rem;
}

/* Tables */
.data-table {
  width: 100%;
  margin: 0 0 2.5rem;
  border-collapse: collapse;
  font-size: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-premium);
}

.data-table th,
.data-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.data-table th {
  background: var(--bg-brand-card);
  color: var(--accent-gold-light);
  font-weight: 600;
}

.data-table td {
  background: rgba(26, 13, 43, 0.6);
  color: var(--text-muted);
}

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

/* Panels */
.info-panel {
  display: flex;
  padding: 2rem 2.2rem;
  margin: 0 0 2.4rem;
  align-items: center;
  justify-content: center;
  background: var(--bg-brand-card);
  border: var(--border-premium);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.info-panel p {
  margin: 0;
  text-align: center;
  font-size: 2rem;
  color: var(--text-light);
}

.info-panel a {
  color: var(--accent-gold-light);
  text-decoration: none;
  font-weight: 700;
}

.info-panel a:hover {
  color: var(--accent-gold);
}

/* Widget iframe */
.casino-widget-wrap {
  margin: 0 0 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-premium);
}

/* Footer */
.site-footer {
  padding: 3rem 0 5rem;
  color: var(--text-muted);
  background: linear-gradient(180deg, #0f051a 0%, #1a0d2b 100%);
  border-top: var(--border-premium);
}

.site-footer a {
  color: var(--accent-gold);
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--accent-gold-light);
}

.site-footer__subtitle {
  margin: 0 0 2.5rem;
  color: var(--accent-gold);
  font-size: 1.8rem;
  font-weight: 600;
}

.site-footer__info-imgs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 0 auto 2rem;
}

.site-footer__info-imgs img {
  display: block;
  width: 100%;
  max-height: 50px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  font-size: 1.2rem;
  gap: 0.5rem 1rem;
}

.site-footer__bottom li:last-child {
  color: var(--text-muted);
  opacity: 0.75;
}

/* Buttons override from template */
.button,
.btn-royal-gold {
  background: linear-gradient(180deg, var(--accent-gold-light) 0%, var(--accent-gold-dark) 100%);
  color: #1a0d2b;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-gold);
}

.button:hover {
  background: linear-gradient(180deg, var(--accent-gold) 0%, #8b6d31 100%);
}

/* Override legacy template accents on shared pages */
.heading {
  color: var(--accent-gold);
  font-family: "Cinzel", serif;
}

.content {
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .hero-block {
    padding: 5rem 0 4rem;
  }

  .hero-block__title {
    font-size: 4.2rem;
  }

  .hero-block__text {
    font-size: 2rem;
    text-align: left;
  }

  .section-head {
    font-size: 3rem;
  }

  .article-body {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 7.5rem;
  }

  .page-shell {
    padding-top: 7.5rem;
  }

  .brand-mark {
    width: 9.5rem;
    height: 6rem;
  }

  .bonus-badge svg {
    width: 3.6rem;
    height: 3.2rem;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .data-table {
    font-size: 1.3rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.7rem;
  }
}
