/* ========== Global brand colors and page layout ========== */
:root {
  /* Updated accent color to #FF6A00 (solid) */
  --brand-bg: #FFC700;      /* Overall background: bright golden yellow */
  --brand-text: #000000;    /* Default text color: black */
  --brand-accent: #FF6A00;  /* Nav/footer accent color */
  --brand-border: #000000;  /* Black border lines */
}

html, body {
  height: 100%; /* let flex container fill the viewport */
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

/* Body => yellow background, black text, reset margins */
body {
  display: flex;
  flex-direction: column;
  background-color: var(--brand-bg);
  color: var(--brand-text);
}

.card-body {
  overflow-x: auto;
}

@media (max-width: 768px) {
  .card {
    margin-bottom: 1rem;
  }
  #gameWrapper {
    padding: 10px;
  }
  #diceContainer {
    gap: 6px;
  }
}

/* NAVBAR => 65px tall, brand accent, black bottom border */
.navbar {
  background-color: var(--brand-accent) !important;
  border-bottom: 2px solid var(--brand-border);
}

/* If you want the brand/logo to be smaller, limit its height */
.navbar-brand img {
  max-height: 40px;
  margin-right: 0.5rem;
}
/* Make sure toggler icon is visible if you’re not using .navbar-dark/.navbar-light classes */
.navbar-toggler {
  border-color: #222; /* or #000 or transparent as you like */
}

.navbar-toggler-icon {
  /* By default, .navbar-dark gives a white icon.
     If you want it black (dark) instead, override: */
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

/*/* Brand logo smaller */
.navbar-brand img {
  max-height: 35px;
  margin-right: 0.5rem;
}

/* Nav links => let's keep them white or near-white with .navbar-dark.
   If you want black text, you'd do .navbar-light or custom overrides. */
.navbar-dark .navbar-nav .nav-link {
  color: #000 !important;
}
.navbar-dark .navbar-nav .nav-link:hover {
  color: #000 !important;
}

/* .content-flex => main area fill the rest of the screen */
.content-flex {
  flex: 1;
  padding: 1rem;
}

/* Footer => remove fixed height, use small padding */
footer {
  border-top: 2px solid var(--brand-border, #000);
  background-color: var(--brand-accent);
  color: var(--brand-text, #000);
  text-align: center;
  padding: 0.1rem 0;  /* smaller padding */
  margin-top: auto;   /* keep footer at the bottom */
}

/**************************
  1. Game Card (Left side)
**************************/
.game-header {
  background-color: var(--brand-bg);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.game-card {
  background: url("../images/canvas.cca01ebc9f93.png") center/cover no-repeat;
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.game-card-overlay {
  padding: 1rem;
}
#diceContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/**************************
  2. Scoreboard Card (Right side)
**************************/
.scoreboard-card {
  background-color: var(--brand-bg);
  border: 4px solid #000;    /* thick black border */
  border-radius: 12px;
}
.scoreboard-header {
  background-color: var(--brand-bg);
  border-bottom: 3px solid #000;
  font-size: 20px;
  font-weight: 700;
}
.scoreboard-body {
  padding: 0; /* so the table can fill the card */
}

/**************************
  3. Scoreboard Table
**************************/
.scoreboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.scoreboard-table th,
.scoreboard-table td {
  border: 2px solid #000;
  padding: 8px;
  background-color: #FFF176; /* or #FFF9A6, a pale gold */
}
.scoreboard-table thead th {
  font-weight: bold;
  background-color: #FFD54F; /* header shade */
}

/* RESPONSYWNY BANER NA STRONIE GŁÓWNEJ */
.banner-img {
  max-width: 60%;
  width: 300px;     /* Możesz zmniejszyć do np. 500px jeśli nadal za duży */
  height: auto;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  display: block;
}

@media (max-width: 768px) {
  .banner-img {
    width: 90%;
  }
}
@media (max-width: 576px) {
  .scoreboard-card .scoreboard-table th,
  .scoreboard-card .scoreboard-table td {
    font-size: 0.8rem;
    padding: 4px;
  }
  .fantasy-btn {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}
/* =========================
   Dashboard (UI improvements)
   ========================= */

/* Page wrapper */
.dashboard-page {
  max-width: 1100px;
}

/* Header */
.dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.dashboard-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
}

.dashboard-subtitle {
  margin: 0.25rem 0 0 0;
  opacity: 0.9;
  font-weight: 600;
}

.dashboard-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.dashboard-main-cta {
  text-decoration: none;
}

/* Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.dashboard-card {
  background: rgba(255, 255, 255, 0.35);
  border: 3px solid #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 0 rgba(0,0,0,0.08);
}

.dashboard-card-head {
  background: rgba(255, 255, 255, 0.25);
  border-bottom: 2px solid #000;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
}

.dashboard-card-body {
  padding: 1rem;
}

/* Quick actions */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 576px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

.stat-box {
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid #000;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.stat-label {
  font-weight: 800;
  opacity: 0.9;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 900;
  margin-top: 0.15rem;
}

.stat-hint {
  font-size: 1rem;
  font-weight: 800;
}

.stats-note {
  margin: 0.85rem 0 0 0;
  opacity: 0.9;
  font-weight: 600;
}

/* Table */
.dashboard-table thead th {
  background-color: rgba(255, 255, 255, 0.35);
  border-bottom: 2px solid #000 !important;
}

.dashboard-table td,
.dashboard-table th {
  border-top: 1px solid rgba(0,0,0,0.2) !important;
  vertical-align: middle;
}

.game-name {
  font-weight: 900;
}

.game-subtext {
  font-size: 0.9rem;
  opacity: 0.85;
  font-weight: 600;
}

/* Row actions */
.dashboard-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Small-ish buttons without touching your global fantasy button styles */
.btn-smish {
  padding: 6px 12px;
  text-decoration: none;
  display: inline-block;
}

/* "Danger" variant that still matches your theme */
.btn-dangerish {
  filter: saturate(1.1);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.2);
}

/* Empty state */
.dashboard-empty {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.dashboard-empty-title {
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.dashboard-empty-text {
  opacity: 0.9;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* =========================
   Cookie pages (policy/settings)
   ========================= */

.cookie-page {
  max-width: 900px;
}

.cookie-title {
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.cookie-subtitle {
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 1rem;
}

.cookie-form {
  background: rgba(255, 255, 255, 0.35);
  border: 3px solid #000;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 0 rgba(0,0,0,0.08);
  max-width: 640px;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.75rem;
  border: 2px solid rgba(0,0,0,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}

.cookie-option input[type="checkbox"] {
  transform: translateY(2px);
}

.cookie-hint {
  display: inline-block;
  margin-left: 0.35rem;
  opacity: 0.85;
  font-weight: 600;
}

.cookie-card {
  background: rgba(255, 255, 255, 0.35);
  border: 3px solid #000;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 0 rgba(0,0,0,0.08);
  max-width: 900px;
}

.cookie-list {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

/* =========================
   Local Multiplayer create_game page
   ========================= */

.localmp-page {
  max-width: 800px;
}

.localmp-title {
  font-weight: 900;
  margin-bottom: 1rem;
}

.localmp-form {
  background: rgba(255, 255, 255, 0.35);
  border: 3px solid #000;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 0 rgba(0,0,0,0.08);
  max-width: 640px;
}
/* =========================
   Dashboard Stats Layout
   ========================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 12px 14px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
}

.stat-hint {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===============================
   Language switcher (navbar)
================================ */

.language-switcher select {
  background: linear-gradient(#ffe96b, #f5d400);
  border: 2px solid #c9a800;
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.15);
}

.language-switcher select:hover {
  background: linear-gradient(#fff27a, #ffde2a);
}

.language-switcher select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,220,0,.6);
}
.language-switcher {
  margin-left: 12px;
}

.lang-select {
  background: #ffd84d;
  border: 2px solid #caa600;
  border-radius: 14px;
  padding: 4px 10px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}

.lang-select:hover,
.lang-select:focus {
  outline: none;
  box-shadow: none;
  background: #ffeb7a;
}
.seo-page .dashboard-card {
  background: rgba(255,255,255,0.35);
  border: 3px solid #000;
  border-radius: 14px;
}

.seo-page h1, .seo-page h2, .seo-page p, .seo-page li {
  color: #000;
}


