/*
Theme Name: Proof & Peril
Theme URI: https://proofandperil.com
Author: Rabbi Ben Terebelo
Author URI: https://ttbmath.com
Description: The dark copper arcade theme for Proof & Peril, the compliance-games network across whiskey, rum, agave, brandy, wine, beer, and kombucha. Pairs with the Proof & Peril Arcade plugin. Flagship game: Still Crazy.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.5.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: proof-and-peril
Tags: full-site-editing, block-theme, one-column, custom-colors, custom-logo, entertainment
*/

/* The block theme is driven by theme.json. This file adds a little polish
   that theme.json cannot express cleanly. */

html { background-color: #120d0a; }
body {
  background-color: #120d0a;
  background-image: radial-gradient(1000px 600px at 50% -10%, #2a1a10 0%, #120d0a 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Gradient text for display headings */
.pp-fire-text {
  background: linear-gradient(180deg, #FFD98A, #E0843C);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header shell */
.wp-block-template-part.site-header,
header.wp-block-group.site-header {
  border-bottom: 1px solid var(--wp--preset--color--rule);
  background: rgba(18, 13, 10, 0.72);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Nav links */
.site-header .wp-block-navigation-item__content {
  font-weight: 700;
  color: var(--wp--preset--color--ink);
}
.site-header .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--copper);
}

/* Buttons get an arcade drop-shadow */
.wp-block-button__link {
  box-shadow: 0 6px 0 #7d3f16, 0 10px 20px rgba(0, 0, 0, 0.35);
}
.wp-block-button__link:active { transform: translateY(2px); box-shadow: 0 2px 0 #7d3f16; }
.wp-block-button.is-style-outline .wp-block-button__link {
  box-shadow: none;
  border: 1px solid var(--wp--preset--color--rule);
  color: var(--wp--preset--color--ink);
  background: rgba(255,255,255,0.05);
}

/* Panels */
.has-bg-2-background-color {
  border: 1px solid var(--wp--preset--color--rule);
  border-radius: 18px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--wp--preset--color--rule);
  color: var(--wp--preset--color--muted);
  margin-top: var(--wp--preset--spacing--60);
}
.site-footer a { color: var(--wp--preset--color--muted); }
.site-footer a:hover { color: var(--wp--preset--color--tm); }

/* Details blocks (FAQ) */
.wp-block-details{background:var(--wp--preset--color--bg-2);border:1px solid var(--wp--preset--color--rule);border-radius:14px;padding:14px 18px;margin-block:10px}
.wp-block-details summary{cursor:pointer;font-weight:800}
.wp-block-details[open] summary{color:var(--wp--preset--color--copper);margin-bottom:6px}
.wp-block-post-content h2{margin-top:2.2rem}
.wp-block-post-content li{margin:.35em 0}

/* Make the plugin's components blend seamlessly */
.pp { margin-block: var(--wp--preset--spacing--30); }

/* Selection + focus in brand colors */
::selection { background: rgba(224,132,60,.35); }
:where(a, button, input, .wp-block-navigation-item__content):focus-visible {
  outline: 2px solid var(--wp--preset--color--copper);
  outline-offset: 2px;
}

/* The round logo in the header */
.wp-block-site-logo.pp-logo img,.site-header .wp-block-site-logo img{border-radius:50%;box-shadow:0 0 0 2px rgba(224,132,60,.55),0 4px 14px rgba(0,0,0,.45)}
.wp-block-site-logo.pp-logo a:hover img{box-shadow:0 0 0 2px #FFD98A,0 4px 18px rgba(224,132,60,.5)}
