/* GreeceHotSlots - Redesigned */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #0a0e1a;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --accent: #06b6d4;
  --accent-hover: #22d3ee;
  --accent-muted: #0891b2;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.2);
  --rating-bg: #0e7490;
  --star: #fbbf24;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link { display: flex; align-items: center; gap: 0.75rem; }
.logo-link img { height: 44px; width: auto; }
.logo-text { font-weight: 700; font-size: 1.5rem; color: var(--text); }

.nav-list { display: flex; list-style: none; gap: 2rem; }
.nav-link { color: var(--text-muted); font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: var(--accent); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero - New Grid Layout */
.hero {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.04) 0%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero-features-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Section Header */
.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Offers - New Card Structure */
.offers-section {
  padding: 3rem 0;
}

.offers-section--alt {
  background: rgba(6, 182, 212, 0.03);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.offers-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
  position: relative;
}

.offer-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-3px);
}

.offer-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.offer-rank {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-muted);
  min-width: 32px;
}

.offer-logo {
  width: 100px;
  height: 48px;
  object-fit: contain;
}

.offer-badge {
  position: absolute;
  top: -1px;
  right: 1rem;
  background: var(--accent);
  color: #0a0e1a;
  padding: 0.25rem 0.6rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.7rem;
  font-weight: 700;
}

.offer-featured {
  border-color: rgba(6, 182, 212, 0.4);
}

.offer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.offer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.offer-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars { color: var(--star); font-size: 1rem; }

.rating-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rating-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.btn-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-muted) 100%);
  color: #0a0e1a;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  transition: all 0.3s;
  white-space: nowrap;
  min-width: fit-content;
}

.btn-visit:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  transform: scale(1.02);
}

/* Image Block */
.img-block {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
  min-height: 200px;
}

.img-block img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

.img-block-inline { margin: 0 0 1.5rem; min-height: 180px; }
.img-block-inline img { min-height: 180px; }

.img-block .brand-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(10, 14, 26, 0.95));
  color: var(--accent);
  font-weight: 600;
  font-size: clamp(0.8rem, 2.5vw, 1rem);
}

/* Content Section - Alternate Rows */
.content-section { padding: 3rem 0; }

.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.content-row--reverse .img-block { order: 2; }
.content-row--reverse .content-block { order: 1; }

.content-block h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.content-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2rem;
}

/* Safe Gambling */
.safe-gambling {
  padding: 3rem 0;
  background: rgba(6, 182, 212, 0.05);
  border-top: 1px solid var(--border);
}

.safe-gambling-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  text-align: center;
}

.gambling-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.gambling-logos a { display: flex; align-items: center; justify-content: center; }

.gambling-logos img {
  width: 80px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0.9);
  padding: 4px;
  border-radius: 4px;
}

/* Footer */
.footer {
  background: rgba(5, 8, 15, 0.98);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-link { color: var(--text-muted); }
.footer-link:hover { color: var(--accent); }

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.popup-overlay.active { opacity: 1; visibility: visible; }

.popup {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
}

.popup h3 { margin-bottom: 1rem; color: var(--accent); }
.popup p { color: var(--text-muted); margin-bottom: 1.5rem; }

.popup-btn {
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: #0a0e1a;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.popup-btn:hover { background: var(--accent-hover); }

/* Page Content (subpages) */
.page-content { padding: 4rem 0; min-height: 60vh; }

.page-content h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.page-content h2 { font-size: 1.35rem; margin: 2rem 0 1rem; color: var(--accent); }
.page-content p, .page-content ul { margin-bottom: 1rem; color: var(--text-muted); }
.page-content ul { padding-left: 1.5rem; }

body.nav-open,
html.nav-open { overflow: hidden !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-features-wrap { grid-template-columns: 1fr; justify-items: center; }
  .hero-feature { justify-content: center; }
  .content-row, .content-row--reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .content-row--reverse .img-block,
  .content-row--reverse .content-block { order: unset; }
}

@media (max-width: 768px) {
  .burger { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: rgba(10, 14, 26, 0.98);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--border);
    z-index: 999;
    visibility: hidden;
    pointer-events: none;
  }

  .nav.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-link:last-child { border-bottom: none; }


  .hero { padding: 2rem 0; }
  .hero-content h1 { font-size: clamp(1.25rem, 5vw, 1.6rem); }
  .hero-subtitle { font-size: 1rem; }

  .section-title { font-size: 1.35rem; }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offers-grid--compact { grid-template-columns: 1fr; }

  .offer-card { padding: 1.25rem; }

  .offer-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-visit { width: 100%; min-width: unset; }

  .content-row { margin-bottom: 2rem; }
  .content-block h2 { font-size: 1.25rem; }

  .img-block-inline { min-height: 160px; }
  .img-block-inline img { min-height: 160px; }

  .safe-gambling-text { font-size: 0.8rem; }
  .gambling-logos { gap: 1.25rem; }
  .gambling-logos img { width: 64px; height: 40px; }

  .container { padding: 0 1rem; }

  .popup { padding: 1.5rem; margin: 1rem; }
  .page-content { padding: 2rem 0; }
  .page-content h1 { font-size: 1.5rem; }
  .page-content h2 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 1.2rem; }
  .hero-content h1 { font-size: 1.2rem; }
  .section-title { font-size: 1.2rem; }
  .safe-gambling-text { font-size: 0.75rem; }
  .footer-copy { font-size: 0.8rem; }
}
