/*
  PT Best Casino - Main CSS (Dark, close to original visual)
  - Dark, clean, minimal visual similar to original
  - Keep PT-prefixed classes/IDs and structure
*/

:root {
  --pt-bg: #0c0f14;
  --pt-surface: #111827; /* panel */
  --pt-surface-2: #0b111a; /* hero bg overlay */
  --pt-text: #e5e7eb; /* slate-200 */
  --pt-muted: #94a3b8; /* slate-400 */
  --pt-border: #1f2937; /* slate-800 */
  --pt-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --pt-radius: 12px;
  --pt-radius-sm: 8px;
  --pt-maxw: 1140px;
  --pt-brand: #f97316; /* primary accent */
  --pt-accent: #60a5fa; /* link accent */
}

/* Base */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Reset defaults */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
img,
picture {
  max-width: 100%;
  display: block;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: none;
  padding: 0;
}

body.pt-body {
  margin: 0;
  background: linear-gradient(180deg, #0a0d12 0%, #0e1420 100%);
  color: #fff;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Helvetica, Arial,
    sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Shared container */
.pt-wrap,
.pt-container {
  width: 100%;
  max-width: var(--pt-maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 24px);
}

/* Optional utility for full-bleed sections when inside a container */
.pt-fullbleed {
  margin-left: calc(-1 * clamp(16px, 5vw, 24px));
  margin-right: calc(-1 * clamp(16px, 5vw, 24px));
}

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

/* Header (dark, translucent, thin border) */
.pt-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 15, 22, 0.85);
  backdrop-filter: saturate(130%) blur(8px);
  border-bottom: 1px solid var(--pt-border);
}
.pt-header .pt-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.pt-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pt-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.pt-logo-text {
  font-family: "Audiowide", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.6px;
}
.pt-nav {
  display: none;
}
.pt-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.pt-link {
  color: var(--pt-text);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.pt-link:hover {
  color: #ffffff;
  text-decoration: none;
}
.pt-link.is-active {
  color: #ffffff;
}
.pt-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--pt-brand);
  border-radius: 2px;
}

.pt-nav-toggle {
  background: var(--pt-surface);
  color: var(--pt-text);
  border: 1px solid var(--pt-border);
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
}

@media (min-width: 900px) {
  .pt-nav {
    display: block;
  }
  .pt-nav-toggle {
    display: none;
  }
}

/* Mobile dropdown panel */
.pt-nav.is-open {
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  top: 70px;
  background: var(--pt-surface);
  border: 1px solid var(--pt-border);
  border-radius: 10px;
  padding: 12px;
  box-shadow: var(--pt-shadow);
}
.pt-nav.is-open ul {
  flex-direction: column;
  gap: 10px;
}

/* Hero (dark overlay) */
.pt-hero {
  padding: 20px 0;
  position: relative;
  isolation: isolate;
  background-image: url("../bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Background handled by .pt-hero now */
.pt-hero-bg {
  display: none;
}
.pt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 22, 0.2) 0%,
    rgba(11, 15, 22, 0.55) 52%,
    rgba(11, 15, 22, 0.95) 100%
  );
  z-index: 0;
}
.pt-hero-inner {
  position: relative;
  z-index: 1;
}
.pt-ttl {
  font-family: "Audiowide", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 46px);
  margin: 0;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  letter-spacing: 0.6px;
  text-align: center;
}
.pt-ttl::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 0 auto 0;
  background: var(--pt-brand);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.35);
}
.pt-lead {
  max-width: 860px;
  color: #fff;
  margin: 0 auto;
  font-size: clamp(15px, 2vw, 18px);
  text-align: center;
}

/* CTA buttons */
.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(249, 115, 22, 0.5);
  background: linear-gradient(135deg, var(--pt-brand), #ff8f4d);
  color: #0a0d12;
  font-weight: 700;
  font-family: "Audiowide", system-ui, sans-serif;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.25),
    0 0 0 3px rgba(249, 115, 22, 0.12);
  transition: background 0.15s ease, transform 0.15s ease, filter 0.2s ease;
}
.pt-btn:hover {
  filter: brightness(1.05);
  text-decoration: none;
  transform: translateY(-1px);
}
.pt-btn:active {
  transform: translateY(0);
}

.pt-btn.pt-btn-outline {
  background: transparent;
  color: var(--pt-text);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.pt-cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Cards (dark panels) */
.pt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.pt-card {
  background: linear-gradient(180deg, #151a26 0%, #0f1520 100%);
  border: 2px solid #f97316;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 24px rgba(249, 115, 22, 0.12);
  display: grid;
  grid-template-rows: auto 1fr;
}
.pt-card-media {
  background: #0b0f18;
  display: grid;
  place-items: center;
  padding: 28px;
  min-height: 120px;
}
.pt-card-body {
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.pt-card-title {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--pt-brand);
  letter-spacing: 0.5px;
  font-family: "Audiowide", system-ui, sans-serif;
  text-align: center;
}
/* Removed pros list; using bonus badge instead */
.pt-pros {
  display: none;
}

/* Bonus badge */
.pt-bonus {
  display: inline-block;
  text-align: center;
  padding: 12px 16px;
  border: 2px solid #f97316;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8f4d 0%, #f97316 45%, #0f1520 100%);
  color: #fff7ed;
  font-weight: 700;
  font-family: "Audiowide", system-ui, sans-serif;
  font-size: clamp(16px, 2.4vw, 20px);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2),
    0 8px 24px rgba(249, 115, 22, 0.25), 0 0 22px rgba(249, 115, 22, 0.25) inset;
}

/* Sections */
.pt-section {
  padding: 20px 0;
}
.pt-subttl {
  font-family: "Audiowide", system-ui, sans-serif;
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 14px;
  color: var(--pt-brand);
  letter-spacing: 0.5px;
  text-align: center;
}

/* Center and accent h3 headings inside sections */
.pt-section h3 {
  text-align: center;
  color: var(--pt-brand);
  margin: 0 0 8px;
}
.pt-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.pt-resp p {
  color: var(--pt-muted);
}

/* Footer (dark) */
.pt-footer {
  background: #0a0d14;
  border-top: 1px solid var(--pt-border);
  padding: 28px 0;
}
.pt-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: start;
}
.pt-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pt-footer a {
  color: var(--pt-text);
}
.pt-footer .pt-logo img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.pt-small {
  color: #fff;
  font-size: 13px;
}

@media (max-width: 800px) {
  .pt-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Badges in footer */
.pt-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pt-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1.5px solid rgba(249, 115, 22, 0.35);
  border-radius: 10px;
  background: #0f1520;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.pt-badges a:hover {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2),
    0 8px 22px rgba(249, 115, 22, 0.22);
  transform: translateY(-1px);
}
.pt-badges img {
  height: 22px;
  width: auto;
  filter: saturate(0.95) brightness(0.98);
  opacity: 0.95;
}

/* Cookie banner */
.pt-cookie {
  position: fixed;
  inset: auto 12px 12px 12px;
  z-index: 50;
}
.pt-cookie-inner {
  background: #0f1520;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  padding: 14px;
  box-shadow: var(--pt-shadow);
  max-width: 760px;
  margin: 0 auto;
  color: var(--pt-text);
}
.pt-cookie[hidden] {
  display: none;
}

/* Forms */
.pt-form {
  display: grid;
  gap: 16px;
}
.pt-form label {
  display: grid;
  gap: 6px;
  color: #ffffff;
  font-weight: 500;
}
.pt-form input,
.pt-form textarea {
  padding: 12px 12px;
  border: 1px solid var(--pt-border);
  border-radius: 8px;
  font: inherit;
  color: var(--pt-text);
  background: #0f1520;
  resize: none;
}
.pt-form input:focus,
.pt-form textarea:focus {
  outline: none;
  border-color: #334155;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
}
.pt-error {
  color: #ef4444;
  font-size: 12px;
  min-height: 14px;
}
.pt-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}

/* Modal */
.pt-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
}
.pt-modal[hidden] {
  display: none;
}
.pt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(3px);
}
.pt-modal__dialog {
  position: relative;
  background: #0f1520;
  border: 1px solid var(--pt-border);
  border-radius: 12px;
  padding: 20px;
  width: min(520px, 92vw);
  box-shadow: var(--pt-shadow);
}

/* Utilities */
.pt-hide {
  display: none !important;
}
.pt-muted {
  color: var(--pt-muted);
}

@media (max-width: 600px) {
  .pt-hero {
    min-height: auto;
  }
  .pt-hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
  }
  .pt-ttl {
    font-size: 24px;
  }
  .pt-section {
    padding: 10px 0;
  }
  .pt-card-media {
    min-height: 80px;
    padding: 10px;
  }
}
.pt-logo:hover {
  text-decoration: none;
}
