/* freemod-design.com — Tourism Info Site */
:root {
  --color-bg: #f5f3ef;
  --color-surface: #fff;
  --color-primary: #1a4d3a;
  --color-primary-light: #256b4d;
  --color-accent: #b8860b;
  --color-text: #1f1f1f;
  --color-text-muted: #555;
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --shadow: 0 6px 28px rgba(26, 77, 58, 0.1);
  --radius: 14px;
  --header-h: 72px;
  --header-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(245, 243, 239, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 77, 58, 0.1);
  z-index: 1000;
}

.header-inner {
  max-width: var(--header-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

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

.site-nav a {
  color: var(--color-text);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-primary);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
  .burger {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-surface);
    box-shadow: var(--shadow);
    padding: 1.5rem 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
}

/* Main content offset for fixed header */
main {
  padding-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-primary) center/cover no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin: 0;
  line-height: 1.7;
}

/* Sections */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  margin: 0 0 2rem;
  color: var(--color-primary);
  text-align: center;
}

/* Country cards on home */
.country-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.country-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 77, 58, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.country-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(26, 77, 58, 0.14);
  border-color: rgba(26, 77, 58, 0.12);
}

.country-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.country-card .card-body {
  padding: 1.25rem;
}

.country-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.country-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.country-card a {
  margin-top: 0.75rem;
  display: inline-block;
  font-weight: 600;
}

/* About preview block on home */
.section-about-preview {
  padding-top: 0;
}

.about-preview-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-preview-inner .section-title {
  margin-bottom: 1rem;
}

.about-preview-text {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-preview-inner .btn {
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--color-primary-light);
}

/* Page title (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 3.5rem 2rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: 2.25rem;
  color: #fff;
  max-width: var(--header-max);
  margin-left: auto;
  margin-right: auto;
}

/* Content */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

/* Contact form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(26, 77, 58, 0.2);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 77, 58, 0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: scale(0.95);
  transition: transform 0.3s;
}

.modal-overlay.is-open .modal-box {
  transform: scale(1);
}

.modal-box h3 {
  margin: 0 0 0.5rem;
  color: var(--color-primary);
}

.modal-box p {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
}

/* Reviews grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 77, 58, 0.06);
}

.review-card .stars {
  color: var(--color-accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.review-card .name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.review-card .text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Country page attractions */
.attraction-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.attraction-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 77, 58, 0.06);
}

.attraction-item:nth-child(even) {
  direction: rtl;
}

.attraction-item:nth-child(even) > * {
  direction: ltr;
}

.attraction-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.attraction-item .attr-body {
  padding: 1.5rem 2rem;
}

.attraction-item h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.attraction-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

@media (max-width: 768px) {
  .attraction-item,
  .attraction-item:nth-child(even) {
    direction: ltr;
    grid-template-columns: 1fr;
  }

  .attraction-item .attr-body {
    padding: 1.25rem;
  }
}

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.9);
  padding: 2.5rem 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo:hover {
  color: rgba(255,255,255,0.9);
}

.footer-about {
  /* max-width: 360px; */
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

.footer-policies {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-inner .footer-policies a {
  color: rgba(255,255,255,0.9);
}

.footer-inner .footer-policies a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-bottom span {
  display: block;
}

/* Policy pages */
.policy-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
}

.policy-content h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-primary);
}

.policy-content p,
.policy-content ul {
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.policy-content ul {
  padding-left: 1.5rem;
}

.policy-content .updated {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* =============================================
   SOCIAL GAMES PAGE
   ============================================= */

/* Slots grid */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.slot-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 77, 58, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.slot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(26, 77, 58, 0.16);
  color: inherit;
}

.slot-card__thumb {
  position: relative;
  overflow: hidden;
}

.slot-card__thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.slot-card:hover .slot-card__thumb img {
  transform: scale(1.04);
}

.slot-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 77, 58, 0.55);
  opacity: 0;
  transition: opacity 0.25s;
}

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

.slot-card__play svg {
  width: 52px;
  height: 52px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.slot-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.slot-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.slot-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.slot-card__tag {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.2rem 0.65rem;
  background: rgba(26, 77, 58, 0.08);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Articles section */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-item {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 77, 58, 0.06);
  border-left: 4px solid var(--color-primary);
}

.article-item h3 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
  color: var(--color-primary);
}

.article-item p {
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.article-item p:last-child {
  margin: 0;
}

/* Responsible Gambling Bar */
.rg-bar {
  background: var(--color-surface);
  border-top: 1px solid rgba(26, 77, 58, 0.1);
  border-bottom: 1px solid rgba(26, 77, 58, 0.1);
  padding: 1.25rem 2rem;
}

.rg-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #c0392b;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.rg-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.rg-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1.5px solid rgba(26, 77, 58, 0.25);
  border-radius: 6px;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

.rg-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(26, 77, 58, 0.04);
}

.rg-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Disclaimer */
.disclaimer-block {
  background: rgba(26, 77, 58, 0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(26, 77, 58, 0.1);
  padding: 1.5rem 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

.disclaimer-block p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.disclaimer-block strong {
  color: var(--color-text);
}

/* Game iframe page */
.game-frame-wrap {
  width: 100%;
  height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
}

.game-frame-bar {
  background: var(--color-primary);
  color: #fff;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

.game-frame-bar h1 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.game-frame-bar a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.game-frame-bar a:hover {
  color: #fff;
}

.game-frame-wrap iframe {
  flex: 1;
  width: 100%;
  border: none;
  display: block;
}

@media (max-width: 600px) {
  .slots-grid {
    grid-template-columns: 1fr 1fr;
  }
  .slot-card__thumb img {
    height: 140px;
  }
  .article-item {
    padding: 1.25rem;
  }
  .rg-bar__inner {
    justify-content: flex-start;
  }
}
