/*
  Light theme styles for verde-casino-de.org
  - Semantic layout: header, nav, main, footer
  - Fully responsive: mobile-first, fluid containers, grid utilities
  - Accessible: focus styles, readable contrast, prefers-reduced-motion
  - Components documented inline for maintainability
*/

/* CSS Reset (minimal) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; line-height: 1.6; color: #0f172a; background: #ffffff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: #0ea5a4; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Focus visible for keyboard users */
:focus-visible { outline: 3px solid #22c55e; outline-offset: 2px; }

/* Container and layout utilities */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.section { padding: 32px 0; }
.section-lead { color: #334155; margin-top: -8px; margin-bottom: 16px; }

/* Mobile: add left indentation to content */
@media (max-width: 767px) {
  .container { padding-left: 24px; padding-right: 16px; }
}
@media (min-width: 768px) {
  .container { padding-left: 24px; padding-right: 24px; }
}

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; left: 16px; top: 16px; width: auto; height: auto; padding: 8px 12px; background: #111827; color: #fff; border-radius: 6px; z-index: 10000; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.9); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid #e5e7eb; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo-link { display: inline-flex; align-items: center; gap: 8px; }

/* Nav */
.nav-toggle { display: none; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.nav-menu a { display: inline-block; padding: 8px 10px; border-radius: 8px; }
.nav-menu a:hover { background: #f1f5f9; text-decoration: none; }
/* Emphasized login button */
.btn-login { border: 2px solid #22c55e; color: #065f46; font-weight: 700; }
.btn-login:hover { background: #eafaf0; }
@media (min-width: 768px) {
  .nav-menu { gap: 16px; }
}
.nav-extra { display: none; }
@media (min-width: 768px) { .nav-extra { display: list-item; } }

/* Breadcrumbs */
.breadcrumbs { border-bottom: 1px solid #e5e7eb; background: #f8fafc; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 8px 0; padding-left: 12px; }
.breadcrumbs a { color: #0f172a; }
.breadcrumbs li::after { content: "/"; margin: 0 6px; color: #94a3b8; }
.breadcrumbs li:last-child::after { content: ""; }

/* Hero (banner) */
.hero { position: relative; display: block; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); overflow: hidden; }
.hero picture { display: block; width: 100%; }
.hero img { width: 100%; height: auto; display: block; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.hero-panel { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.6); backdrop-filter: blur(6px); border-radius: 16px; padding: 20px 24px; max-width: 720px; width: min(92%, 720px); }
.hero-title { color: #ffffff; text-shadow: 0 2px 12px rgba(0,0,0,0.5); font-size: clamp(24px, 4vw, 40px); margin: 0 0 8px; }
.hero-subtitle { color: #f8fafc; text-shadow: 0 1px 8px rgba(0,0,0,0.5); margin: 0 0 16px; }
.hero-overlay::before { content: ""; position: absolute; inset: 0; background: rgba(2,6,23,0.45); z-index: -1; }

/* Mobile: preserve original banner size */
@media (max-width: 767px) {
  .hero img { max-width: none; width: auto; min-width: 100%; }
  .hero-panel { width: min(95%, 600px); padding: 16px 18px; }
}

/* Buttons */
.btn-cta { display: inline-block; padding: 12px 20px; background: #22c55e; color: #052e16; font-weight: 700; border-radius: 999px; box-shadow: 0 6px 20px rgba(34,197,94,0.4); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(34,197,94,0.45); text-decoration: none; }
.btn-link { font-weight: 600; }
/* Outlined pill button */
.btn-outline-pill { display: inline-block; padding: 10px 18px; border: 2px solid #0ea5a4; color: #0e7490; border-radius: 9999px; font-weight: 700; background: transparent; transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease; }
.btn-outline-pill:hover { background: #e0f2fe; color: #0c4a6e; text-decoration: none; transform: translateY(-1px); }

/* Slots grid */
.slots-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.slots-grid li { border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; background: #ffffff; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.slots-grid img { border-radius: 12px; }
.slots-grid li:hover { box-shadow: 0 8px 28px rgba(2,6,23,0.08); transform: translateY(-2px); }
@media (min-width: 640px) { .slots-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .slots-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .slots-grid { grid-template-columns: repeat(6, 1fr); } }

/* Tables: responsive wrapper and stacking on small screens */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e5e7eb; border-radius: 12px; background: #ffffff; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
.table thead th { background: #f1f5f9; font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }

/* Small-screen table transform (stack cells) */
@media (max-width: 600px) {
  .table thead { display: none; }
  .table tr { display: grid; grid-template-columns: 1fr; padding: 8px 12px; }
  .table td { display: grid; grid-template-columns: 40% 1fr; gap: 8px; padding: 8px 0; }
  .table td::before { content: attr(data-label); font-weight: 600; color: #334155; }
}

/* Footer */
.site-footer { border-top: 1px solid #e5e7eb; background: #f8fafc; margin-top: 32px; }
.footer-inner { padding: 24px 0; display: grid; gap: 16px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.legal { color: #64748b; font-size: 14px; }

.pay-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 10px; align-items: center; }
@media (min-width: 640px) { .pay-logos { grid-template-columns: repeat(8, 1fr); } }
@media (min-width: 1024px) { .pay-logos { grid-template-columns: repeat(12, 1fr); } }
.pay-logos img { max-height: 32px; object-fit: contain; filter: saturate(1.1) contrast(1.05); }

/* Helpers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Mobile viewport height fix (reserved space for address bars) */
:root { --vh: 1vh; }
.hero { min-height: calc(var(--vh) * 60); }


