@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bad+Script&display=swap');

/* =====================================================
   DESIGN TOKENS
===================================================== */
:root{
  --green:#359447;
  --yellow:#fad02e;
  --dark-green:#276a36;

  --bg: #f6faf6;
  --surface:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --border: rgba(0,0,0,0.08);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 10px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 18px 44px rgba(0,0,0,0.18);

  --transition: 180ms ease;
  --container: 1100px;

  /* Wolf-style button palette */
  --wolf-dark: #171927;
  --wolf-dark-2: #22243a;
}

/* =====================================================
   BASE
===================================================== */
*,
*::before,
*::after{
  box-sizing:border-box;
}

html,
body{
  width:100%;
  max-width:100%;
  min-height:100%;
  overflow-x:hidden;
}

html{
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(135deg, #e6f2e6 0%, #f9fbe7 100%);
  color: var(--text);
  line-height: 1.6;
}

/* Lock page scroll when modal / fullscreen overlays are open */
body.no-scroll{
  overflow:hidden !important;
  height:100vh;
  touch-action:none;
}

/* Bootstrap container consistency */
.container{
  max-width: var(--container);
}

/* Media safety */
img,
video,
iframe,
canvas,
svg{
  max-width:100%;
  height:auto;
}

/* Links */
a{
  text-decoration:none;
  color:inherit;
  transition:opacity var(--transition);
}
a:hover{
  opacity:0.92;
}

/* =====================================================
   NAVBAR (fixed stacking + professional)
===================================================== */
.gfg-navbar{
  position: sticky;   /* sticky avoids many mobile bugs vs fixed */
  top: 0;
  z-index: 10000;
  background: rgba(53,148,71,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

.navbar-brand{
  font-family:'Bad Script', cursive;
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
}
.navbar-brand span{ color: var(--yellow); }

.nav-link{
  color:#fff !important;
  font-weight: 650;
  border-radius: 10px;
  padding: .45rem .75rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-link:hover{
  background: rgba(0,0,0,0.16) !important;
  transform: translateY(-1px);
}


.gfg-navbar{
  z-index: 1030; /* Bootstrap navbar range */
}

/* =====================================================
   SECTIONS / SPACING
===================================================== */
.gfg-section{
  padding: 28px 0;
}

/* =====================================================
   HERO TEXT HELPERS
===================================================== */
.gfg-hero-title{
  font-weight: 900;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
  font-size: clamp(2.0rem, 5.2vw, 3.1rem);
}

.gfg-hero-sub{
  margin: 0 auto 14px;
  max-width: 62ch;
  color: rgba(255,255,255,0.92);
}

.gfg-green{ color: var(--green); }
.gfg-yellow{ color: var(--yellow); }

/* =====================================================
   FEATURE ICONS (professional cards)
===================================================== */
.feature-icons{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content:center;
}

.feature-icons .icon-box{
  flex: 1 1 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(53,148,71,0.14);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-icons .icon-box:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(53,148,71,0.18);
}

.icon-box h5{
  font-weight: 900;
  margin-top: 8px;
  margin-bottom: 10px;
  color: var(--text);
}

/* =====================================================
   SOCIAL FEATURE CARDS — unified like Games cards
   (icon + text left, button centered, equal heights)
===================================================== */

.gfg-social-btn {
  margin-top: 12px;
  padding: 10px 22px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
  color: white;
  border: none;
  letter-spacing: 0.4px;
}

.gfg-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  color: rgb(0, 0, 0);
  background-color: white;
}

/* Platform Styles */
.gfg-x-btn { background: #000; }
.gfg-tiktok-btn { background: linear-gradient(135deg, #c22e2e, #25F4EE); }
.gfg-tiktok-btn:hover { background: white; }
.gfg-youtube-btn { background: #FF0000; }

/* =====================================================
   GLOBAL FEATURE CARD SYSTEM
   (all .feature-icons .icon-box behave consistently)
===================================================== */

.feature-icons .icon-box{
  display: flex;
  flex-direction: column;
}

/* Allow description area to stretch */
.feature-icons .icon-box p{
  flex: 1;
}

/* Pin button row to bottom if present */
.feature-icons .icon-box .mt-3{
  margin-top: auto !important;
}

/* =====================================================
   LOGO WRAPPER
===================================================== */
.gfg-logo-wrapper{
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 0 8px;
}

.gfg-logo-img{
  width:100%;
  height:auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* =====================================================
   CARDS
===================================================== */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow:hidden;
  margin-bottom: 20px;
}

.card-header{
  background: var(--green);
  color:#fff;
  font-weight: 900;
  font-size: 1.15rem;
  text-align:center;
  font-family:'Bad Script', cursive;
}

.card-body{ padding: 18px; }

/* =====================================================
   LOCKED FEATURE PREVIEW
===================================================== */
.gfg-locked-shell{
  position: relative;
  border-radius: 18px;
}

.gfg-locked-shell.is-locked > .row,
.gfg-locked-shell.is-locked > .card,
.gfg-locked-shell.is-locked > section,
.gfg-locked-shell.is-locked > div.card,
.gfg-locked-shell.is-locked #clubCalculatorSection,
.gfg-locked-shell.is-locked #clubDistanceTableCard,
.gfg-locked-shell.is-locked #handical,
.gfg-locked-shell.is-locked #handicapChartCard{
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.gfg-lock-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 18px;
  background: rgba(10, 12, 18, 0.45);
  backdrop-filter: blur(2px);
  z-index: 20;
}

.gfg-lock-card{
  width: min(460px, 92%);
  text-align: center;
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(23, 25, 39, 0.96);
  color: #fff;
  border: 2px solid rgba(53,148,71,0.85);
  box-shadow: 0 22px 50px rgba(0,0,0,0.45);
}

.gfg-lock-icon{
  font-size: 2rem;
  margin-bottom: 10px;
}

.gfg-lock-card h4{
  margin-bottom: 10px;
  font-weight: 800;
  color: #FAD02E;
}

.gfg-lock-card p{
  margin-bottom: 18px;
  color: rgba(255,255,255,0.88);
}

@media (max-width: 576px){
  .gfg-lock-card{
    padding: 22px 18px;
  }

  .gfg-locked-shell.is-locked > .row,
  .gfg-locked-shell.is-locked > .card,
  .gfg-locked-shell.is-locked > section,
  .gfg-locked-shell.is-locked > div.card,
  .gfg-locked-shell.is-locked #clubCalculatorSection,
  .gfg-locked-shell.is-locked #clubDistanceTableCard,
  .gfg-locked-shell.is-locked #handical,
  .gfg-locked-shell.is-locked #handicapChartCard{
    filter: blur(4px);
  }
}

/* =====================================================
   WELCOME MESSAGE
===================================================== */
#welcomeMessage{
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 8px;
}

/* =====================================================
   PARALLAX (fixed navbar overlap + mobile behavior)
===================================================== */
.parallax-section,
.parallax-section2{
  position: relative;
  min-height: 58vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 56px 16px; /* room on small screens */
  color:#fff;
  isolation: isolate; /* prevents weird stacking with sticky nav */
}

.parallax-section{ background: url('photos/ball.jpg') center/cover no-repeat; }
.parallax-section2{ background: url('photos/course.jpg') center/cover no-repeat; }

.parallax-section::before,
.parallax-section2::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}

.parallax-content,
.parallax-content2{
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.12);
  padding: 18px 18px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 60px rgba(0,0,0,0.28);
}

/* IMPORTANT: iOS Safari struggles with background-attachment: fixed.
   Use "fixed" only on larger screens. */
@media (min-width: 992px){
  .parallax-section,
  .parallax-section2{
    background-attachment: fixed;
  }
}

/* =====================================================
   MAP
===================================================== */
.gfg-map{
  height: 500px;
  width: 100%;
  margin: 14px 0 20px;
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* =====================================================
   Weather App
===================================================== */
/* Make both columns equal height */
.equal-height {
  display: flex;
  align-items: stretch;
}

.equal-height > [class*="col-"] {
  display: flex;
}

/* Let card fill column */
.equal-height .card {
  width: 100%;
}

/* Weather iframe sizing */
.weather-embed-wrap {
  width: 100%;
  min-height: 655px; /* Adjust if needed */
}

.weather-embed-wrap iframe {
  width: 100%;
  height: 655px;
  border: 0;
  display: block;
}

/* =====================================================
   BACK TO TOP BUTTON
===================================================== */
#btn-back-to-top{
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 110px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--wolf-dark), #111223);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  z-index: 11000;
}
#btn-back-to-top p{ margin:0; }
#btn-back-to-top:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.28);
}

/* =====================================================
   FOOTER
===================================================== */
footer{
  background: var(--green);
  color:#fff;
  text-align:center;
  padding: 1rem 0;
  font-size: .95rem;
  margin-top: 40px;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px){
  .feature-icons{ gap: 14px; }
  .feature-icons .icon-box{ padding: 18px; }
  .gfg-map{ height: 380px; }
}

/* =====================================================

===================================================== *//* =====================================================

===================================================== *//* =====================================================

===================================================== *//* =====================================================

===================================================== */

/* =====================================================
   NEWS PAGE — unified styling (safe + scoped)
   Paste at bottom of main2.css
===================================================== */

.news-page .navbar{
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(53,148,71,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

.news-page .navbar .nav-link{
  color:#fff !important;
  font-weight: 650;
  border-radius: 10px;
  padding: .45rem .75rem;
  transition: background var(--transition), transform var(--transition);
}

.news-page .navbar .nav-link:hover{
  background: rgba(0,0,0,0.16) !important;
  transform: translateY(-1px);
}

.news-page .navbar-brand{
  font-family:'Bad Script', cursive;
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
}
.news-page .navbar-brand span{ color: var(--yellow); }

/* Hero matches other pages */
.news-page .parallax-section2{
  min-height: 58vh;
  padding: 56px 16px;
}
.news-page .parallax-content2{
  width: min(760px, 100%);
  padding: 18px 18px;
}

/* Make the 3 feature cards match site style */
.news-page .feature-icons .icon-box{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(53,148,71,0.14);
}

/* Cards polish */
.news-page .card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* List-group flush inside cards = cleaner + consistent */
.news-page .list-group-item{
  border-color: rgba(0,0,0,0.06);
  padding: 12px 14px;
}
.news-page .list-group-item strong{
  color: #111827;
}

/* Article list links look premium */
.news-page #articleList a{
  color: inherit;
  text-decoration: none;
}
.news-page #articleList a:hover{
  text-decoration: underline;
}

/* OWGR iframe card spacing / rounding */
.news-page #rank iframe{
  border-radius: 14px;
  overflow: hidden;
}

/* Pill-style buttons on this page (matches Wolf / home) */
.news-page .btn.btn-primary,
.news-page #loginBtn,
.news-page #signupBtn,
.news-page #feedbackSection button[type="submit"],
.news-page a.btn.btn-primary{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.55rem !important;

  padding: 12px 18px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  letter-spacing: .2px !important;

  background: linear-gradient(180deg, var(--wolf-dark), #111223) !important;
  color: var(--yellow) !important;
  border: 1px solid rgba(53,148,71,0.55) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18) !important;

  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition) !important;
}

.news-page .btn.btn-primary:hover,
.news-page #loginBtn:hover,
.news-page #signupBtn:hover,
.news-page #feedbackSection button[type="submit"]:hover,
.news-page a.btn.btn-primary:hover{
  background: linear-gradient(180deg, var(--wolf-dark-2), #14162a) !important;
  transform: translateY(-2px) !important;
  border-color: rgba(250,208,46,0.55) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,0.26) !important;
}

/* Inputs polish for modal */
.news-page .form-control,
.news-page textarea.form-control{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.news-page .form-control:focus,
.news-page textarea.form-control:focus{
  border-color: rgba(53,148,71,0.55);
  box-shadow: 0 0 0 0.2rem rgba(53,148,71,0.18);
}

/* Back to top always above embeds */
.news-page #btn-back-to-top{
  z-index: 12000;
}

/* =====================================================
   Unified fullscreen behavior (same approach as Wolf)
   - hides nav/footer
   - wrapper becomes full screen
   - scoreboard sticks to bottom
===================================================== */
/* =====================================================
   GOODFLIGHTGAMES — UNIFIED GAME STYLES (Wolf + 666 + BBB)
   Paste at VERY BOTTOM of main2.css
   Requires body class:
   - .wolf-page
   - .gfg-666-page
   - .gfg-bbb-page
===================================================== */

:root{
  --gfg-fullscreen-z: 20000;
  --gfg-modal-z: 25000;
}

/* -----------------------------------
   Shared: no hover animation on cards
------------------------------------ */
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page) .game-card{
  transition: none !important;
}

/* -----------------------------------
   Shared: pill button look for key buttons
   (Rules + Fullscreen + Hole nav)
------------------------------------ */
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#fullscreenBtn,
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#wolfRulesBtn,
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#sixesRulesBtn,
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#bbbRulesBtn,
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#holeNavCard button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.55rem !important;

  padding: 12px 18px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: .2px !important;

  background: linear-gradient(180deg, var(--wolf-dark), #111223) !important;
  color: var(--yellow) !important;
  border: 1px solid rgba(53,148,71,0.55) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18) !important;

  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition) !important;
  cursor:pointer !important;
}

:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#fullscreenBtn:hover,
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#wolfRulesBtn:hover,
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#sixesRulesBtn:hover,
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#bbbRulesBtn:hover,
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#holeNavCard button:hover{
  background: linear-gradient(180deg, var(--wolf-dark-2), #14162a) !important;
  transform: translateY(-2px) !important;
  border-color: rgba(250,208,46,0.55) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,0.26) !important;
}

/* Back/Next a touch smaller */
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#holeNavCard button{
  padding: 10px 14px !important;
  font-size: .92rem !important;
}

/* -----------------------------------
   Shared: inputs polish inside game cards
------------------------------------ */
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page) .game-card .form-control,
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page) .game-card .form-select{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

:is(.wolf-page, .gfg-666-page, .gfg-bbb-page) .game-card .form-control:focus,
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page) .game-card .form-select:focus{
  border-color: rgba(53,148,71,0.55);
  box-shadow: 0 0 0 0.2rem rgba(53,148,71,0.18);
}

/* -----------------------------------
   Shared: selected state
------------------------------------ */
:is(.wolf-page, .gfg-666-page, .gfg-bbb-page) .mode-group .btn.selected{
  color:#fff !important;
}

/* -----------------------------------
   Shared: fullscreen behavior
   - hide navbar/footer
   - full viewport wrapper
   - scroll content area
   - sticky scoreboard
------------------------------------ */
body.fullscreen-active{
  overflow: hidden !important;
}

body.fullscreen-active .gfg-navbar,
body.fullscreen-active #foot{
  display: none !important;
}

:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#selectionWrapper.fullscreen{
  position: fixed !important;
  inset: 0 !important;
  z-index: var(--gfg-fullscreen-z) !important;

  background: linear-gradient(135deg, #ffffff 0%, #f6faf6 100%) !important;

  margin: 0 !important;
  border-radius: 0 !important;

  padding: 1rem !important;

  width: 100vw !important;
  max-width: 100vw !important;
  height: 100dvh !important; /* ✅ best for phone address bar */

  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#selectionWrapper.fullscreen #fullscreenContent{
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: auto !important;
  padding-bottom: 10px !important;
}

:is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
#selectionWrapper.fullscreen #scoreboardCard{
  margin-top: 0 !important;
  position: static !important;
  bottom: auto !important;
  z-index: auto !important;
}

/* -----------------------------------
   Shared: shrink fullscreen content ~10% on small phones
------------------------------------ */
@media (max-width: 480px){
  :is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
  #selectionWrapper.fullscreen{
    padding: 0.75rem !important;
  }

  :is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
  #selectionWrapper.fullscreen h2,
  :is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
  #selectionWrapper.fullscreen h3,
  :is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
  #selectionWrapper.fullscreen h4{
    font-size: 0.9rem !important;
  }

  :is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
  #selectionWrapper.fullscreen button,
  :is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
  #selectionWrapper.fullscreen .gfg-pill-btn{
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
  }

  :is(.wolf-page, .gfg-666-page, .gfg-bbb-page)
  #selectionWrapper.fullscreen .card{
    padding: 0.75rem !important;
  }
}

/* =====================================================
   GOODFLIGHTGAMES — UNIFIED RULES MODALS (Wolf + 666 + BBB)
   Paste at VERY BOTTOM of main2.css
   Uses your existing: .hidden { display:none !important; }
===================================================== */

:root{
  --gfg-fullscreen-z: 20000;
  --gfg-modal-z: 25000;
}

/* Make sure .hidden always wins */
.hidden{ display:none !important; }

/* ---------------------------
   Modal Overlay (shared)
   - We target each modal by ID so we don’t affect Bootstrap modals
---------------------------- */
#wolfRulesModal,
#sixesRulesModal,
#bbbRulesModal{
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 16px;
  background: rgba(23, 25, 39, 0.85);
  backdrop-filter: blur(6px);

  z-index: var(--gfg-modal-z); /* higher than fullscreen */
}

/* If modal has .hidden, it should disappear */
#wolfRulesModal.hidden,
#sixesRulesModal.hidden,
#bbbRulesModal.hidden{
  display:none !important;
}

/* ---------------------------
   Modal Panel (shared)
---------------------------- */
#wolfRulesModal .modal-content,
#sixesRulesModal .modal-content,
#bbbRulesModal .modal-content{
  background: #171927;
  color: #fff;
  width: min(600px, 95vw);
  max-height: 85vh;
  overflow-y: auto;

  padding: 1.5rem;
  border-radius: 18px;
  border: 2px solid var(--green);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* Headings */
#wolfRulesModal h3, #wolfRulesModal h5,
#sixesRulesModal h3, #sixesRulesModal h5,
#bbbRulesModal h3, #bbbRulesModal h5{
  color: var(--yellow);
  font-weight: 800;
}

/* Lists */
#wolfRulesModal ul,
#sixesRulesModal ul,
#bbbRulesModal ul{
  padding-left: 1.2rem;
}
#wolfRulesModal li,
#sixesRulesModal li,
#bbbRulesModal li{
  margin-bottom: 6px;
}

/* Buttons inside modal */
#wolfRulesModal .btn-secondary,
#sixesRulesModal .btn-secondary,
#bbbRulesModal .btn-secondary{
  background: #2a2d4a;
  border: none;
  font-weight: 800;
  border-radius: 14px;
}
#wolfRulesModal .btn-secondary:hover,
#sixesRulesModal .btn-secondary:hover,
#bbbRulesModal .btn-secondary:hover{
  background: var(--green);
}

/* -----------------------------------
   Small-phone modal tightening
------------------------------------ */
@media (max-width: 480px){
  #wolfRulesModal .modal-content,
  #sixesRulesModal .modal-content,
  #bbbRulesModal .modal-content{
    padding: 1rem;
    border-radius: 16px;
  }
}



/* =====================================================
   GFG-STYLE BUTTON SYSTEM (primary aesthetic)
===================================================== */
.gfg-pill-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .2px;

  background: linear-gradient(180deg, var(--wolf-dark), #111223);
  color: var(--yellow);
  border: 1px solid rgba(53,148,71,0.55);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  cursor:pointer;
}

.gfg-pill-btn:hover{
  background: linear-gradient(180deg, var(--wolf-dark-2), #14162a);
  transform: translateY(-2px);
  border-color: rgba(250,208,46,0.55);
  box-shadow: 0 16px 34px rgba(0,0,0,0.26);
}

.gfg-pill-btn:active{
  transform: translateY(0px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.gfg-pill-btn--ghost{
  background-color: rgba(255,255,255,0.10);
  color:#fff;
  border: 5px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
}
.gfg-pill-btn--ghost:hover{
  border-color: rgba(250,208,46,0.55);
}

/* Keep Bootstrap .btn-primary usable, but match brand */
.btn-primary{
  background: var(--green);
  border:none;
  font-weight:700;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{
  background: var(--dark-green);
}

/* =====================================================
   BUTTON UNIFIER (FIXES MOBILE WEB VS APP DIFFERENCES)
   Paste at VERY BOTTOM of main2.css
===================================================== */

/* 1) Neutralize native button styles on mobile */
button,
input[type="button"],
input[type="submit"]{
  -webkit-appearance: none;
  appearance: none;
}

/* 2) Make your pill button system ALWAYS win,
      even if the element also has Bootstrap .btn classes */
.gfg-pill-btn{
  -webkit-appearance: none !important;
  appearance: none !important;
  text-decoration: none !important;
  border: 1px solid rgba(53,148,71,0.55) !important;
  background: linear-gradient(180deg, var(--wolf-dark), #111223) !important;
  color: var(--yellow) !important;
  line-height: 1.2 !important;
}

/* 3) Fix ghost variant: must override background, not background-color */
.gfg-pill-btn.gfg-pill-btn--ghost{
  background: rgba(255,255,255,0.10) !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.22) !important; /* 5px causes chunky mobile look */
}

/* 4) If a pill button is ALSO .btn / .btn-primary, remove Bootstrap effects */
.gfg-pill-btn.btn,
.gfg-pill-btn.btn-primary,
.gfg-pill-btn.btn-secondary,
.gfg-pill-btn.btn-danger,
.gfg-pill-btn.btn-warning,
.gfg-pill-btn.btn-dark{
  box-shadow: 0 10px 24px rgba(0,0,0,0.18) !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
}

/* =====================================================
   SAVED GAMES MODAL (GoodFlightGames)
===================================================== */
.gfg-no-scroll{ overflow:hidden !important; }

.gfg-modal{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 16px;
  margin: 0;
  min-height: 100dvh;

  background: rgba(23, 25, 39, 0.82);
  backdrop-filter: blur(8px);

  z-index: 26000;
}

.gfg-modal__panel{
  width: min(760px, 96vw);
  max-width: 760px;
  max-height: min(85vh, 85dvh);
  margin: 0;
  overflow: hidden;

  background: #171927;
  color: #fff;

  border-radius: 18px;
  border: 2px solid rgba(53,148,71,0.85);
  box-shadow: 0 22px 60px rgba(0,0,0,0.6);

  display: flex;
  flex-direction: column;
}

.gfg-modal__header{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.gfg-modal__meta{
  font-size: .9rem;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

.gfg-modal__close{
  border: 0;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-weight: 900;
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
}

.gfg-modal__body{
  padding: 14px 16px;
  overflow: auto;
}

.gfg-modal__footer{
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display:flex;
  justify-content:flex-end;
}

.gfg-muted{
  color: rgba(255,255,255,0.75);
}

/* Saved list items */
.gfg-saved-list{
  display: grid;
  gap: 12px;
}

.gfg-saved-item{
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
}

.gfg-saved-item__title{
  font-weight: 900;
  color: var(--yellow);
}

.gfg-saved-item__meta{
  font-size: .9rem;
  color: rgba(255,255,255,0.75);
}

.gfg-saved-details{
  margin-top: 10px;
}

.gfg-results .gfg-kv{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.gfg-results .gfg-kv:first-child{ border-top: 0; }

.gfg-results .k{
  color: rgba(255,255,255,0.75);
  font-weight: 800;
}

.gfg-results .v{
  color: rgba(255,255,255,0.92);
}

.gfg-pre{
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  overflow:auto;
}

.gfg-actions-row{
  display:flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.hidden{ display:none !important; }

@media (max-width: 480px){
  .gfg-modal__panel{ max-height: 88vh; }
  .gfg-results .gfg-kv{ grid-template-columns: 1fr; }
}

.gfg-results-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-top:16px;
}

/* =====================================================
   GREENFLIGHTGOLF FOOTER
===================================================== */

.gfg-footer {
  background: linear-gradient(180deg, #0f172a, #0b1120);
  padding: 40px 20px;
  border-top: 4px solid var(--green);
  margin-top: 60px;
}

.gfg-footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.gfg-footer-logo img {
  width: 120px;
  height: auto;
  opacity: 0.95;
  transition: transform 0.3s ease;
  border-radius: 20%;
}

.gfg-footer-logo img:hover {
  transform: scale(1.05);
}

.gfg-footer-copy {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.gfg-footer-ownership {
  color: #cbd5e1;
  font-size: 0.95rem;
  max-width: 700px;
  line-height: 1.6;
}

.gfg-footer-ownership strong {
  color: var(--yellow);
}

/* Responsive */
@media (min-width: 768px) {
  .gfg-footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .gfg-footer-content {
    text-align: right;
  }
}

