/*
Theme Name: Top Juice Casino Affiliate Theme
Theme URI: https://topjuicemedia.com/
Author: Top Juice Media
Author URI: https://topjuicemedia.com/
Description: Modernt, ljust WordPress-tema för casino-affiliate sajter. Optimerat för utländska casinon, E-E-A-T, schema-markup och integration med Casino Toplist-pluginet.
Version: 1.0
Text Domain: topjuice-casino-affiliate
*/

:root {
  --tj-color-primary: #2563eb;
  --tj-color-accent: #f97316;
  --tj-color-bg: #f7f7fb;
  --tj-color-surface: #ffffff;
  --tj-radius-lg: 18px;
  --tj-radius-xl: 24px;
  --tj-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --tj-shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.06);
  --tj-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--tj-font-sans);
  background: radial-gradient(circle at top left, #eef2ff 0, #f9fafb 40%, var(--tj-color-bg) 100%);
  color: #0f172a;
  line-height: 1.6;
}

/* Layout */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  padding: 32px 16px 48px;
}

.page-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(148,163,184,0.25);
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-branding a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tj-color-primary), #22c55e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 25px rgba(37,99,235,0.4);
}

.site-branding span {
  font-weight: 700;
  font-size: 18px;
  color: #0f172a;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  font-size: 14px;
  color: #0f172a;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  background: rgba(37,99,235,0.06);
  color: #1d4ed8;
  box-shadow: 0 0 0 1px rgba(129,140,248,0.3);
}

/* Hero */

.hero-utlandska-casino {
  width: 100%;
  padding: 32px 16px 10px;
}

.hero-utlandska-casino .hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 26px;
  border-radius: 30px;
  background: radial-gradient(circle at top left, rgba(59,130,246,0.08), rgba(56,189,248,0.06) 40%, rgba(15,23,42,0.02));
  box-shadow: var(--tj-shadow-soft);
  border: 1px solid rgba(129,140,248,0.18);
  position: relative;
  overflow: hidden;
}

.hero-utlandska-casino .hero-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(59,130,246,0.10), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-utlandska-casino .hero-inner > * {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.78);
  color: #e5e7eb;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.hero-eyebrow::before {
  content: "●";
  font-size: 9px;
  color: #22c55e;
}

.hero-utlandska-casino h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
}

.hero-intro {
  max-width: 640px;
  margin: 10px 0 16px;
  font-size: 14px;
  color: #0f172a;
}

.hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.hero-benefits span {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.65);
  color: #e5e7eb;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--tj-color-primary), #4f46e5);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37,99,235,0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37,99,235,0.55);
}

.btn-secondary {
  background: rgba(15,23,42,0.85);
  color: #e5e7eb;
}

.btn-secondary:hover {
  background: rgba(15,23,42,0.92);
}

/* Trust meta */

.post-trust-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.80);
  color: #e5e7eb;
  font-size: 11px;
  margin: 4px 0 4px;
}

.post-trust-meta .icon-shield {
  font-size: 10px;
}

.post-trust-separator {
  opacity: 0.7;
}

/* Entry content */

.entry-content {
  margin-top: 16px;
  font-size: 15px;
}

.entry-content h2 {
  margin-top: 32px;
  margin-bottom: 8px;
  font-size: 22px;
}

.entry-content h3 {
  margin-top: 22px;
  margin-bottom: 6px;
  font-size: 17px;
}

.entry-content p {
  margin: 0 0 12px;
}

/* Toplist wrapper */

.topplista-utlandska-casinon {
  margin: 24px 0 16px;
  padding: 18px 16px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--tj-shadow-subtle);
  border: 1px solid rgba(148,163,184,0.25);
}

.topplista-utlandska-casinon > h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

/* Disclaimer under topplista */

.toplist-disclaimer,
.toplist-disclaimer-small {
  margin-top: 8px;
  font-size: 11px;
  color: #6b7280;
}

/* Casino mini card (single box shortcode) */

.casino-mini-card {
  margin: 18px 0;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: var(--tj-color-surface);
  box-shadow: var(--tj-shadow-subtle);
  border: 1px solid rgba(148,163,184,0.25);
}

.casino-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.casino-mini-title h3 {
  margin: 0;
  font-size: 17px;
}

.casino-mini-excerpt {
  font-size: 14px;
  margin: 4px 0 10px;
}

.casino-mini-meta p {
  margin: 0 0 4px;
  font-size: 13px;
}

.casino-mini-pros {
  margin-top: 8px;
}

.casino-mini-pros h4 {
  margin: 0 0 4px;
  font-size: 13px;
}

.casino-mini-pros ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
}

.casino-mini-footer {
  margin-top: 10px;
}

/* Editor's Choice badge */

.badge-editors-choice {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--tj-color-accent), #fb923c);
  color: #111827;
}

.badge-editors-choice::before {
  content: "★";
  font-size: 10px;
}

/* E-E-A-T panel */

.eeat-panel {
  margin: 32px 0 0;
  padding: 16px 16px 14px;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(37,99,235,0.07), rgba(15,23,42,0.03));
  border: 1px solid rgba(148,163,184,0.4);
  display: flex;
  gap: 14px;
}

.eeat-panel-avatar {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #facc15, #eab308 45%, #b45309 100%);
  box-shadow: 0 14px 35px rgba(180,83,9,0.4);
}

.eeat-panel-content h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.eeat-panel-content p {
  margin: 0 0 4px;
  font-size: 13px;
}

/* FAQ */

.faq-section h2 {
  margin-top: 32px;
}

.faq-section h3 {
  font-size: 15px;
  margin: 16px 0 4px;
}

.faq-section p {
  font-size: 14px;
}

/* Footer */

.site-footer {
  flex-shrink: 0;
  background: #020617;
  color: #e5e7eb;
  padding: 18px 16px;
  margin-top: 24px;
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 12px;
}

/* Responsive */

@media (max-width: 768px) {
  .site-header-inner {
    padding: 8px 12px;
  }

  .site-nav ul {
    gap: 10px;
  }

  .hero-utlandska-casino .hero-inner {
    padding: 18px 16px 18px;
  }

  .site-main {
    padding: 24px 12px 36px;
  }

  .page-inner {
    padding: 0;
  }

  .eeat-panel {
    flex-direction: row;
    align-items: flex-start;
  }
}
