/* ===================================================
   Brand Integrity & Verification Resource
   casinolevant-protection.online
   Main Stylesheet
   =================================================== */

/* --- CSS Custom Properties --- */
:root {
  --color-ivory: #f8f6f1;
  --color-ivory-dark: #efeade;
  --color-white: #ffffff;
  --color-navy: #1b2a4a;
  --color-navy-light: #2c3e6b;
  --color-steel: #5a6a7e;
  --color-slate: #6e7b8b;
  --color-slate-light: #8a95a3;
  --color-border: #d4d8dd;
  --color-border-light: #e8eaed;
  --color-text: #2d3748;
  --color-text-light: #4a5568;
  --color-accent: #3b5998;
  --color-accent-hover: #2d4373;
  --color-success: #2f855a;
  --color-warning: #c05621;
  --color-danger: #c53030;
  --font-primary: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --max-width: 1120px;
  --header-height: 72px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-ivory);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 2rem; }
h3 { font-size: 1.2rem; margin-top: 1.5rem; }
h4 { font-size: 1.05rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-content {
  flex: 1;
  padding: 2.5rem 0 3rem;
}

/* --- Header --- */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-logo:hover {
  text-decoration: none;
  color: var(--color-navy);
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 28px;
  height: 28px;
}

/* --- Navigation --- */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-steel);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
  background: var(--color-ivory);
  color: var(--color-navy);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--color-navy);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* --- Hero Section --- */
.hero {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--color-slate);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.hero-badge {
  display: inline-block;
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-steel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0 2rem;
}

.page-header h1 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.page-header .lead {
  font-size: 1rem;
  color: var(--color-slate);
  max-width: 640px;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--color-slate-light);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--color-slate-light);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  margin: 0 0.35rem;
}

/* --- Sections --- */
.section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.35rem;
  color: var(--color-navy);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--color-border-light);
  margin-bottom: 1.25rem;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--color-ivory);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-navy);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-link svg {
  width: 14px;
  height: 14px;
}

/* --- Info Boxes --- */
.info-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-navy);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.info-box.warning {
  border-left-color: var(--color-warning);
}

.info-box.success {
  border-left-color: var(--color-success);
}

.info-box.danger {
  border-left-color: var(--color-danger);
}

.info-box h4 {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.info-box p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Lists --- */
.styled-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.styled-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.75rem;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.styled-list li:last-child {
  border-bottom: none;
}

.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: 2px solid var(--color-slate-light);
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.form-group .hint {
  font-size: 0.8rem;
  color: var(--color-slate-light);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59,89,152,0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6a7e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-primary);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-navy-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border);
}

.btn-outline:hover {
  background: var(--color-ivory);
}

/* --- Contact Items --- */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--color-ivory);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-navy);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-details h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 0.875rem;
  margin-bottom: 0.15rem;
}

.contact-details a {
  font-weight: 600;
}

/* --- Tables --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}

.data-table th {
  background: var(--color-ivory);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.data-table td {
  color: var(--color-text-light);
}

.data-table tr:hover td {
  background: var(--color-ivory);
}

/* --- Quick Links --- */
.quick-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.quick-link:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-accent);
  text-decoration: none;
}

.quick-link svg {
  width: 16px;
  height: 16px;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.35rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--color-slate);
}

.footer-col a:hover {
  color: var(--color-navy);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-light);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--color-slate-light);
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--color-slate-light);
}

.footer-disclaimer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
  font-size: 0.78rem;
  color: var(--color-slate-light);
  line-height: 1.6;
}

/* --- 404 Page --- */
.error-page {
  text-align: center;
  padding: 4rem 0;
}

.error-page h1 {
  font-size: 4rem;
  color: var(--color-border);
  margin-bottom: 0.5rem;
}

.error-page h2 {
  margin-top: 0;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-muted { color: var(--color-slate-light); }
.text-small { font-size: 0.85rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    padding: 0.65rem 0.75rem;
  }

  .header-inner {
    position: relative;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .quick-links {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .hero { padding: 2rem 0; }
  .page-header { padding: 1.75rem 0 1.5rem; }
  .page-content { padding: 1.75rem 0 2rem; }
  .container { padding: 0 1rem; }
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  body { background: white; }
  .page-content { padding: 0; }
}
