/* Non Gamstop Casinos - Main CSS */
:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #e94560;
  --gold: #f5a623;
  --text: #e0e0e0;
  --light: #ffffff;
  --card-bg: #0f3460;
  --border: #2a2a4a;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.7;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 5px var(--accent); }
  50% { box-shadow: 0 0 25px var(--accent), 0 0 50px rgba(233,69,96,0.3); }
  100% { box-shadow: 0 0 5px var(--accent); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spinBadge {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

/* Nav */
nav {
  background: var(--secondary);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--accent);
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  animation: fadeInDown 0.6s ease;
}

.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--text); text-decoration: none; transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--secondary);
  padding: 1rem 2rem;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a { color: var(--text); text-decoration: none; font-size: 1.1rem; }
.mobile-nav a:hover { color: var(--gold); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, #0a0a1a 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(233,69,96,0.1) 0%, transparent 60%);
  animation: pulseGlow 4s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--light);
  margin-bottom: 1rem;
  animation: fadeInDown 0.8s ease;
  position: relative;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #b0b0c0;
  max-width: 700px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease;
}

.hero-author-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 50px;
  max-width: 500px;
  animation: fadeInUp 1.2s ease;
}

.hero-author-block img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.hero-pub-date {
  font-size: 0.85rem;
  color: #8888a0;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #c0392b);
  color: var(--light);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  animation: pulseGlow 2s ease-in-out infinite, fadeInUp 1.4s ease;
  position: relative;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(233,69,96,0.5);
}

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

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--light);
  margin-bottom: 0.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.section-intro { color: #b0b0c0; margin-bottom: 2rem; max-width: 750px; }

/* Casino Cards */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.casino-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s;
  animation: fadeInUp 0.8s ease;
  position: relative;
  overflow: hidden;
}

.casino-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.casino-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.casino-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.casino-name { font-size: 1.3rem; font-weight: 700; color: var(--light); margin-bottom: 0.5rem; }

.casino-badge {
  display: inline-block;
  background: rgba(245,166,35,0.2);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.casino-desc { color: #b0b0c0; font-size: 0.95rem; margin-bottom: 1rem; }

.casino-features { list-style: none; margin-bottom: 1.25rem; }
.casino-features li { padding: 0.25rem 0; color: #c0c0d0; font-size: 0.9rem; }
.casino-features li::before { content: '✓ '; color: var(--gold); font-weight: 700; }

.casino-cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), #c0392b);
  color: white;
  padding: 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}
.casino-cta:hover { transform: scale(1.03); box-shadow: 0 5px 15px rgba(233,69,96,0.4); }

/* RTP Table */
.rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}
.rtp-table th {
  background: var(--card-bg);
  color: var(--gold);
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--accent);
}
.rtp-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.rtp-table tr:hover { background: rgba(255,255,255,0.03); }
.rtp-badge { color: var(--gold); font-weight: 700; }

/* Interactive elements */
.interactive-section {
  background: var(--secondary);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border);
}

.interactive-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 0.5rem;
}

.interactive-subtitle { color: #9090a8; margin-bottom: 1.5rem; font-size: 0.95rem; }

/* Quiz */
.quiz { }
.quiz-question { font-size: 1.1rem; color: var(--light); margin-bottom: 1rem; font-weight: 600; }
.quiz-options { display: flex; flex-direction: column; gap: 0.75rem; }
.quiz-option {
  background: rgba(255,255,255,0.05);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  color: var(--text);
  transition: all 0.3s;
  text-align: left;
  font-size: 1rem;
}
.quiz-option:hover { border-color: var(--accent); background: rgba(233,69,96,0.1); }
.quiz-option.selected { border-color: var(--gold); background: rgba(245,166,35,0.15); color: var(--gold); }
.quiz-result {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(245,166,35,0.1);
  border: 1px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
  font-weight: 600;
  display: none;
}
.quiz-result.visible { display: block; animation: bounceIn 0.5s ease; }

/* Calculator */
.calculator { }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.calc-field label { display: block; color: #9090a8; font-size: 0.85rem; margin-bottom: 0.4rem; }
.calc-field input, .calc-field select {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--light);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}
.calc-field input:focus, .calc-field select:focus { border-color: var(--accent); }
.calc-field select option { background: var(--secondary); }

.calc-btn {
  background: linear-gradient(135deg, var(--accent), #c0392b);
  color: white;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  margin-bottom: 1rem;
}
.calc-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(233,69,96,0.4); }

.calc-result {
  background: rgba(245,166,35,0.1);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 1.25rem;
  display: none;
}
.calc-result.visible { display: block; animation: fadeInUp 0.4s ease; }
.calc-result-label { color: #9090a8; font-size: 0.85rem; }
.calc-result-value { font-size: 1.5rem; font-weight: 700; color: var(--gold); }

/* Finder */
.finder { }
.finder-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.filter-btn {
  background: rgba(255,255,255,0.05);
  border: 2px solid var(--border);
  border-radius: 25px;
  padding: 0.5rem 1.25rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.filter-btn:hover { border-color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: white; }

.finder-results { min-height: 100px; }
.finder-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s;
  animation: slideInLeft 0.4s ease;
}
.finder-item:hover { border-color: var(--gold); }
.finder-item-name { font-weight: 600; color: var(--light); }
.finder-item-detail { color: #9090a8; font-size: 0.85rem; }
.finder-tag {
  background: rgba(245,166,35,0.15);
  color: var(--gold);
  padding: 0.2rem 0.6rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Checker */
.checker { }
.checker-input-wrap { position: relative; margin-bottom: 1rem; }
.checker-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 1rem 3.5rem 1rem 1.25rem;
  color: var(--light);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}
.checker-input:focus { border-color: var(--accent); }
.checker-submit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  color: white;
  cursor: pointer;
  font-weight: 600;
}
.checker-output {
  padding: 1.25rem;
  border-radius: 10px;
  display: none;
}
.checker-output.visible { display: block; animation: fadeInUp 0.4s ease; }
.checker-output.good { background: rgba(46,204,113,0.1); border: 1px solid #2ecc71; color: #2ecc71; }
.checker-output.warn { background: rgba(245,166,35,0.1); border: 1px solid var(--gold); color: var(--gold); }

/* Reviewed by */
.reviewed-by-section {
  background: var(--secondary);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid var(--border);
}
.reviewed-by-section img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}
.author-meta { }
.author-meta .author-name { font-weight: 700; color: var(--light); font-size: 1.1rem; }
.author-meta .author-title { color: var(--gold); font-size: 0.85rem; }
.author-meta .author-bio { color: #9090a8; font-size: 0.875rem; margin-top: 0.3rem; }

/* FAQ */
.faq-list { margin-top: 1.5rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  text-align: left;
  color: var(--light);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--gold); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--accent); transition: transform 0.3s; }
.faq-question.open::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: #b0b0c0; }
.faq-answer.open { max-height: 500px; padding-bottom: 1rem; }

/* Value highlights */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.value-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.value-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.value-label { font-weight: 700; color: var(--light); font-size: 1.1rem; margin-bottom: 0.4rem; }
.value-desc { color: #9090a8; font-size: 0.875rem; }

/* Tip boxes */
.tip-box {
  background: rgba(245,166,35,0.08);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  color: #d0c090;
  font-size: 0.95rem;
}
.tip-box strong { color: var(--gold); }

/* Disclaimer */
.disclaimer {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  font-size: 0.8rem;
  color: #7070a0;
  margin: 2rem 0;
}

/* Footer */
footer {
  background: #0a0a1a;
  padding: 3rem 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
footer p { color: #5050a0; font-size: 0.85rem; margin-bottom: 0.5rem; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: #7070a0; text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .calc-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 1.5rem; }
  .section { padding: 2.5rem 1.25rem; }
  .reviewed-by-section { flex-direction: column; text-align: center; }
  .casino-grid { grid-template-columns: 1fr; }
}

.badge-top {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  animation: spinBadge 6s linear infinite;
  transform-origin: center;
}

/* Sticky CTA bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  border-top: 2px solid var(--accent);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  animation: fadeInUp 1s ease;
}
.sticky-cta-bar p { color: #c0c0d0; font-size: 0.9rem; }
.sticky-cta-bar a {
  background: var(--accent);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .sticky-cta-bar { flex-direction: column; gap: 0.5rem; text-align: center; }
}
