/* TopCasinosGR - Paris sportifs France 2025 */
:root {
  --topcasinosgr-bg: #0c1217;
  --topcasinosgr-surface: #141b22;
  --topcasinosgr-surface-2: #18212a;
  --topcasinosgr-text: #eef2f5;
  --topcasinosgr-muted: #9fb0c2;
  --topcasinosgr-border: #233140;
  --topcasinosgr-gray: linear-gradient(145deg, #1f2933, #0f1419);
  --topcasinosgr-green: linear-gradient(145deg, #0d2d1b, #0f4a2c);
  --topcasinosgr-red: linear-gradient(145deg, #261113, #3b0f14);
  --topcasinosgr-cta: linear-gradient(120deg, #2cf3a0, #179bff);
  --topcasinosgr-cta-hover: linear-gradient(120deg, #3cffb2, #1fb0ff);
  --topcasinosgr-accent: #2cf3a0;
  --topcasinosgr-badge: #ffcf40;
  --topcasinosgr-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  --topcasinosgr-glow: 0 0 25px rgba(44, 243, 160, 0.35);
}

html { font-size: 15px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--topcasinosgr-text);
  background: radial-gradient(circle at 20% 20%, rgba(44, 243, 160, 0.08), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(255, 122, 122, 0.1), transparent 32%),
              var(--topcasinosgr-bg);
  overflow-x: hidden;
}

main {
  padding-top: 90px;
}

h1, .topcasinosgr-banner-title {
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,0.45);
}

h2, .topcasinosgr-section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #fff;
  position: relative;
}

.topcasinosgr-section-title::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 4px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
  background: var(--topcasinosgr-cta);
  border-radius: 6px;
  box-shadow: var(--topcasinosgr-glow);
}

p { color: var(--topcasinosgr-muted); }

/* HERO */
.topcasinosgr-banner {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 15% 40%, rgba(44, 243, 160, 0.08), transparent 40%),
              radial-gradient(circle at 80% 20%, rgba(255, 92, 92, 0.18), transparent 32%),
              var(--topcasinosgr-bg);
  position: relative;
  padding: 6rem 0 4rem;
}

.topcasinosgr-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,18,23,0) 0%, rgba(12,18,23,0.7) 100%);
  pointer-events: none;
}

.topcasinosgr-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.topcasinosgr-banner-left { animation: topcasinosgr-fade-in 0.9s ease forwards; }

.topcasinosgr-banner-highlight { color: var(--topcasinosgr-accent); }

.topcasinosgr-banner-desc {
  font-size: 1.15rem;
  color: var(--topcasinosgr-muted);
  margin-bottom: 1.5rem;
}

.topcasinosgr-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  background: var(--topcasinosgr-cta);
  color: #0c1217;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--topcasinosgr-shadow);
  position: relative;
  overflow: hidden;
}

.topcasinosgr-banner-cta:hover {
  background: var(--topcasinosgr-cta-hover);
  box-shadow: var(--topcasinosgr-glow);
  animation: topcasinosgr-wiggle 0.6s ease;
}

.topcasinosgr-logo-bg {
  width: 320px;
  height: 320px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(44, 243, 160, 0.12), rgba(23, 155, 255, 0.12));
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--topcasinosgr-glow);
  animation: topcasinosgr-pulse 3s ease-in-out infinite;
}

.topcasinosgr-logo-img { width: 180px; height: auto; }

/* NAV */
.topcasinosgr-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(12,18,23,0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--topcasinosgr-border);
}

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

.topcasinosgr-navbar-home-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.topcasinosgr-navbar-title { font-weight: 700; font-size: 1.2rem; }

.topcasinosgr-navbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topcasinosgr-nav-link-pill {
  color: var(--topcasinosgr-muted);
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 600;
}

.topcasinosgr-nav-link-pill:hover,
.topcasinosgr-nav-link-pill.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
  text-decoration: none;
}

.topcasinosgr-nav-link-cta {
  background: var(--topcasinosgr-cta);
  color: #0c1217 !important;
  font-weight: 700;
  box-shadow: var(--topcasinosgr-shadow);
}

.topcasinosgr-nav-link-cta:hover,
.topcasinosgr-nav-link-cta:focus {
  background: var(--topcasinosgr-cta-hover);
  color: #0c1217 !important;
  box-shadow: var(--topcasinosgr-glow);
  text-decoration: none;
}

.topcasinosgr-navbar-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; }
.topcasinosgr-navbar-toggle-bar { width: 26px; height: 3px; background: #fff; border-radius: 6px; }

/* GRID & CARDS */
.topcasinosgr-section { padding: 5rem 1.5rem 4rem; }

.topcasinosgr-casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.topcasinosgr-casino-card {
  border-radius: 18px;
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--topcasinosgr-border);
  box-shadow: var(--topcasinosgr-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.topcasinosgr-card-featured {
  transform: translateY(-4px) scale(1.02);
  border: 1px solid rgba(44, 243, 160, 0.45);
  box-shadow: var(--topcasinosgr-glow);
}

.topcasinosgr-casino-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.topcasinosgr-card-tone-gray { background: var(--topcasinosgr-gray); }
.topcasinosgr-card-tone-green { background: var(--topcasinosgr-green); }
.topcasinosgr-card-tone-red { background: var(--topcasinosgr-red); }

.topcasinosgr-casino-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.topcasinosgr-casino-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0,0,0,0.18);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  overflow: hidden;
}

.topcasinosgr-casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.topcasinosgr-casino-name { font-size: 1.2rem; font-weight: 700; color: #fff; }

.topcasinosgr-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--topcasinosgr-badge);
  color: #1a1200;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.topcasinosgr-casino-rating { margin-left: auto; color: #fff; font-weight: 700; }

.topcasinosgr-casino-desc { color: #f1f5f7; margin-bottom: 0.75rem; }

.topcasinosgr-casino-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }

.topcasinosgr-chip {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #e5ecf2;
  font-size: 0.9rem;
}

.topcasinosgr-play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: #0c1217;
  background: var(--topcasinosgr-cta);
  font-weight: 700;
  box-shadow: var(--topcasinosgr-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
  margin-top: auto;
}

.topcasinosgr-play-button:hover {
  background: var(--topcasinosgr-cta-hover);
  transform: translateY(-2px);
  animation: topcasinosgr-wiggle 0.5s ease;
}

/* FOOTER */
.topcasinosgr-footer {
  background: var(--topcasinosgr-surface);
  border-top: 1px solid var(--topcasinosgr-border);
  padding: 3rem 0;
  color: var(--topcasinosgr-muted);
}

.topcasinosgr-footer h4 { color: #fff; margin-bottom: 0.75rem; }

.topcasinosgr-footer-links { list-style: none; padding: 0; margin: 0; }

.topcasinosgr-footer-links a { color: var(--topcasinosgr-muted); text-decoration: none; }
.topcasinosgr-footer-links a:hover { color: var(--topcasinosgr-accent); }

.topcasinosgr-footer-divider { border-color: var(--topcasinosgr-border); margin: 1.5rem 0; }

.topcasinosgr-footer-disclaimer {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--topcasinosgr-border);
  border-radius: 12px;
  padding: 1rem;
}

.topcasinosgr-18-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #c1121f;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 0 18px rgba(193, 18, 31, 0.4);
}

.topcasinosgr-rg-block h5 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.topcasinosgr-rg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.75rem;
  align-items: center;
}

.topcasinosgr-rg-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--topcasinosgr-border);
  border-radius: 10px;
  padding: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.topcasinosgr-rg-item img {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
  filter: saturate(1.05);
}

.topcasinosgr-rg-item:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 243, 160, 0.5);
  box-shadow: var(--topcasinosgr-shadow);
}

/* Cookie policy blocks */
.topcasinosgr-cookie-category {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--topcasinosgr-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.topcasinosgr-cookie-category h4 {
  color: var(--topcasinosgr-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topcasinosgr-cookie-category ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.topcasinosgr-cookie-category li {
  margin-bottom: 0.5rem;
  color: var(--topcasinosgr-muted);
}

.topcasinosgr-third-party-cookies h4 {
  color: var(--topcasinosgr-accent);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.topcasinosgr-third-party-cookies p {
  margin-bottom: 1rem;
}

/* COOKIE BANNER */
.topcasinosgr-cookie-consent {
  position: fixed;
  bottom: 1.2rem;
  left: 1rem;
  right: 1rem;
  background: var(--topcasinosgr-surface);
  border: 1px solid var(--topcasinosgr-border);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: var(--topcasinosgr-shadow);
  z-index: 1200;
}

.topcasinosgr-cookie-content { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.topcasinosgr-cookie-actions .btn { border-radius: 10px; font-weight: 700; }

#declineCookies {
  color: #0b0b0b;
  background: #f5f7fa;
  border: 1px solid rgba(12,18,23,0.12);
}

#declineCookies:hover,
#declineCookies:focus {
  color: #0b0b0b;
  background: #e7ebf0;
  border-color: rgba(12,18,23,0.18);
}

.topcasinosgr-hidden { display: none !important; }
.topcasinosgr-visible { display: block !important; }

/* ANIMATIONS */
@keyframes topcasinosgr-pulse { 0%,100%{transform:scale(1);}50%{transform:scale(1.04);} }
@keyframes topcasinosgr-wiggle { 0%{transform:translateX(0);}25%{transform:translateX(2px);}50%{transform:translateX(-2px);}75%{transform:translateX(1px);}100%{transform:translateX(0);} }
@keyframes topcasinosgr-fade-in { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }

/* PAGES */
.topcasinosgr-page-card,
.topcasinosgr-contact-form,
.topcasinosgr-contact-info {
  background: var(--topcasinosgr-surface);
  border: 1px solid var(--topcasinosgr-border);
  border-radius: 16px;
  padding: 2rem;
  color: var(--topcasinosgr-text);
  box-shadow: var(--topcasinosgr-shadow);
}

.topcasinosgr-contact-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}

.topcasinosgr-contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--topcasinosgr-cta);
  color: #0c1217;
}

.topcasinosgr-contact-details h4 { color: #fff; margin-bottom: 0.25rem; }
.topcasinosgr-contact-details p { color: var(--topcasinosgr-muted); margin-bottom: 0; }

.topcasinosgr-faq-item {
  background: var(--topcasinosgr-surface);
  border: 1px solid var(--topcasinosgr-border);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--topcasinosgr-shadow);
}

.topcasinosgr-faq-item h4 { color: #fff; margin-bottom: 0.5rem; }
.topcasinosgr-faq-item p { color: var(--topcasinosgr-muted); margin-bottom: 0; }
.topcasinosgr-about-icon { color: var(--topcasinosgr-accent); margin-right: 0.35rem; }

.topcasinosgr-loading {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* RESPONSIVE */
@media (max-width: 960px) {
  .topcasinosgr-navbar-right {
    display: none;
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    background: var(--topcasinosgr-surface);
    border: 1px solid var(--topcasinosgr-border);
    border-radius: 14px;
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: var(--topcasinosgr-shadow);
  }
  .topcasinosgr-navbar-right.open { display: flex; }
  .topcasinosgr-navbar-toggle { display: flex; }
  .topcasinosgr-section { padding-top: 4rem; }
}

@media (max-width: 640px) {
  .topcasinosgr-banner { padding-top: 6rem; }
  .topcasinosgr-banner-right { display: none; }
  .topcasinosgr-cookie-content { flex-direction: column; align-items: flex-start; }
}

/* Mobile hamburger animation */
.topcasinosgr-hamburger-bar-1-open { transform: rotate(45deg) translate(5px, 5px); }
.topcasinosgr-hamburger-bar-2-open { opacity: 0; }
.topcasinosgr-hamburger-bar-3-open { transform: rotate(-45deg) translate(6px, -6px); }
