/*
Theme Name: Buddh4x
Theme URI: https://buddh4x.com
Author: Buddh4x
Description: Custom Frutiger Aero Glass inspired theme for Buddh4x (built for Paid Memberships Pro).
Version: 1.0
License: GPLv2 or later
Text Domain: buddh4x
*/

:root{
  --bg-top: #9fd4fb;
  --bg-bottom: #d9f0ff;
  --glass: rgba(255,255,255,0.18);
  --glass-strong: rgba(255,255,255,0.30);
  --accent-1: #00e0ff;
  --accent-2: #00bfff;
  --button-blue: #cfefff;
  --button-text: #09384a;
}

/* Global */
html,body{height:100%;margin:0;font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;}
body{
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: #04354a;
  -webkit-font-smoothing:antialiased;
  min-height:100%;
}

/* Header */
.site-header{
  text-align:center;
  padding:36px 12px 8px;
}
.logo{
  font-size:64px;
  margin:0 0 10px;
  color:#ffffff;
  text-shadow: 0 12px 22px rgba(0,0,0,0.12);
  font-weight:800;
  letter-spacing:1px;
}

/* nav buttons wrapper */
.main-nav{
  display:inline-flex;
  gap:18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  padding:18px;
  border-radius:18px;
  box-shadow: 0 30px 60px rgba(3,30,70,0.12), inset 0 1px 0 rgba(255,255,255,0.25);
  backdrop-filter: blur(6px) saturate(1.05);
}
.main-nav a{
  display:inline-block;
  padding:14px 26px;
  border-radius:18px;
  text-decoration:none;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(240,248,255,0.7));
  color: var(--button-text);
  box-shadow: 0 10px 26px rgba(3,30,70,0.15), 0 1px 0 rgba(255,255,255,0.6) inset;
  font-weight:700;
  transition: transform .22s ease, box-shadow .22s ease;
}
.main-nav a:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(3,30,70,0.23);
}

/* LIVE button special */
.live-btn{
  display:block;margin:18px auto 40px;padding:12px 26px;border-radius:18px;background:linear-gradient(180deg,#ffd6b3,#ffc9a1);box-shadow:0 20px 40px rgba(200,110,60,0.12);font-weight:800;color:#3b2b18;
}

/* content boxes (the bubbly cards) */
.content-box{
  width:92%;
  max-width:980px;
  margin:26px auto;
  padding:28px;
  border-radius:18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow: 0 80px 120px rgba(3,30,70,0.10), inset 0 1px 0 rgba(255,255,255,0.22);
  color: #fff;
}
.content-box h2{ font-size:34px;margin:6px 0 12px;color:#ffffff; font-weight:800; text-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.content-box p{color: rgba(255,255,255,0.9);line-height:1.5;}

/* Subscribe button used in locked UI */
.btn-subscribe{
  display:inline-block;
  margin:12px 0;
  padding:12px 22px;
  border-radius:14px;
  background: linear-gradient(180deg,#cfefff,#aeefff);
  color: #023040;
  font-weight:700;
  text-decoration:none;
  box-shadow: 0 16px 30px rgba(0,70,130,0.12), inset 0 2px 0 rgba(255,255,255,0.6);
}

/* Floating chat/account buttons */
.floating-btn{
  position:fixed;
  padding:12px 18px;
  border-radius:18px;
  background: linear-gradient(180deg,#dff7ff,#bfefff);
  box-shadow: 0 14px 28px rgba(0,50,100,0.12);
  color: #04354a;
  font-weight:700;
  z-index:2000;
  left:20px;
  bottom:22px;
}
.account-btn{ right:20px; left:auto; }

/* progress area */
.progress-wrapper{ width:80%; max-width:920px; margin:48px auto; text-align:center; }
.progress-text{ color: #fff; font-weight:800; margin-bottom:12px; text-shadow: 0 6px 18px rgba(0,0,0,0.12); font-size:14px; }
.progress-bar{ height:16px; border-radius:10px; background: rgba(255,255,255,0.18); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22); overflow:hidden; position:relative; }
.progress-fill{ height:100%; border-radius:10px; background: linear-gradient(90deg,var(--accent-1),var(--accent-2)); transition: width 700ms cubic-bezier(.22,.9,.3,1); }

/* Overlay modal / blackout */
#blackout-overlay{
  position:fixed; inset:0; background: rgba(3,30,50,0.62); display:flex; align-items:center; justify-content:center; z-index:4000;
  opacity:0; pointer-events:none; transition: opacity .35s ease;
}
#blackout-overlay.visible{ opacity:1; pointer-events:all; }
#blackout-overlay .overlay-content{
  min-width:320px; max-width:720px; padding:30px; border-radius:12px; background: linear-gradient(180deg,#ffffff 0%, #eaf7ff 100%); box-shadow:0 30px 80px rgba(2,20,40,0.45); text-align:center;
}
.overlay-content h2{ margin:0 0 12px; color:#0a3140; font-weight:800; font-size:22px; }
.overlay-content p{ color:#093b47; opacity:0.9; margin-bottom:18px; }
.overlay-content .modal-buttons{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.overlay-content .modal-buttons button{ padding:12px 20px; border-radius:14px; border:none; cursor:pointer; font-weight:700; box-shadow: 0 10px 30px rgba(0,60,120,0.12); }
.btn-modal-signup{ background: linear-gradient(180deg,#c7f7ff,#9feaff); color:#063940; }
.btn-modal-login{ background: linear-gradient(180deg,#c7f0ff,#9fcfff); color:#063940; }
.btn-modal-close{ background: linear-gradient(180deg,#ffffff,#f1fbff); color:#063940; }

/* Chat area styles */
.chat-box{
  width:92%; max-width:980px; margin:20px auto; padding:18px; border-radius:14px; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)); box-shadow: 0 30px 60px rgba(0,30,50,0.06);
}
.chat-messages{ height:420px; overflow:auto; padding:8px; color:#fff; }
.chat-input{ display:flex; gap:8px; margin-top:10px; }

/* Responsive tweaks */
@media (max-width:720px){
  .logo{ font-size:46px; }
  .main-nav{ gap:10px; padding:10px; }
  .main-nav a{ padding:10px 14px; border-radius:12px; font-size:14px; }
  .floating-btn{ padding:10px 14px; bottom:12px; left:10px; }
  .account-btn{ right:10px; }
  /* make nav buttons 10% smaller on phone as requested */
  .main-nav a{ transform: scale(.9); }
}

/* Utility small */
.hidden{ display:none !important; }
