/* GreeceSlotsMod — Unique design: морская спокойная палитра + мягкий морфизм */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --bg-dark: #0f1419;
  --bg-card: #1a222d;
  --bg-card-hover: #222d3a;
  --text: #e8ecf0;
  --text-muted: #8b9aab;
  --accent-teal: #2dd4bf;
  --accent-cyan: #22d3ee;
  --accent-sand: #fbbf24;
  --accent-coral: #fb7185;
  --border: rgba(45, 212, 191, 0.2);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.logo span {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--accent-teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(45, 212, 191, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-dark) 0%, #151c24 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.hero-list li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-list li::before {
  content: "• ";
  color: var(--accent-teal);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-features span {
  padding: 0.5rem 1rem;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-teal);
}

/* Disclaimer */
.disclaimer {
  padding: 1.5rem;
  background: rgba(251, 113, 133, 0.08);
  border-top: 1px solid rgba(251, 113, 133, 0.2);
}

.disclaimer p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Offers */
.offers {
  padding: 4rem 1.5rem;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 2.5rem;
  color: var(--text);
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.offer-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.offer-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.offer-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.offer-rank {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-card {
  position: relative;
}

.offer-logo-wrap {
  flex: 0 0 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.offer-info {
  flex: 1;
  min-width: 200px;
}

.offer-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.offer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.offer-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offer-rating .stars {
  color: var(--accent-sand);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.offer-rating .score {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.offer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.offer-score {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #10b981, var(--accent-teal));
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.3);
}

.offer-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-sand), #f59e0b);
  color: var(--bg-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.offer-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.offer-legal {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Info sections */
.info-section {
  padding: 3rem 1.5rem;
  background: #151c24;
}

.info-section.alt {
  background: var(--bg-dark);
}

.info-section h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 1.5rem;
  color: var(--accent-teal);
}

.info-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 700px;
}

/* Footer */
.footer {
  background: #0a0e12;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

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

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.footer-logo span {
  font-weight: 700;
  font-size: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent-teal);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-18 {
  width: 40px;
  height: 40px;
}

.footer-legal p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--accent-teal);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Popup 18+ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.popup-overlay.hidden {
  display: none;
}

.popup-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 400px;
  text-align: center;
}

.popup-box img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.popup-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.popup-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.popup-btn {
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  color: var(--bg-dark);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s;
}

.popup-btn:hover {
  transform: scale(1.05);
}

/* Page content (for subpages) */
.page-content {
  padding: 4rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

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

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

.page-content ul {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--text-muted);
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content a {
  color: var(--accent-teal);
}

.page-content a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .offer-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-rank {
    flex: 0 0 36px;
  }

  .offer-cta {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }

  .hero-features {
    flex-direction: column;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
