/*
Theme Name: First Challenge App
Theme URI: https://example.com/
Author: First Challenge
Description: Lightweight mobile-app-style WordPress theme for the First Challenge betting and voting platform.
Version: 4.0.0
Requires at least: 6.0
Requires PHP: 7.4
*/
:root{
  --fc-green:#18a957;
  --fc-green-dark:#0d8b45;
  --fc-ink:#111827;
  --fc-muted:#667085;
  --fc-bg:#f4f7f6;
  --fc-card:#fff;
  --fc-border:#e6ebe8;
  --fc-danger:#e5484d;
  --fc-radius:22px;
  --fc-shadow:0 8px 30px rgba(17,24,39,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--fc-bg);
  color:var(--fc-ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.5;
  padding-bottom:88px;
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
img{max-width:100%;height:auto}
.fc-shell{width:100%;max-width:1180px;margin:0 auto;min-height:100vh}
.fc-topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--fc-border);
}
.fc-topbar-inner{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 18px}
.fc-brand{display:flex;align-items:center;gap:9px;font-size:22px;font-weight:800;letter-spacing:-.5px}
.fc-brand .green{color:var(--fc-green)}
.fc-logo{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--fc-green),#27c66b);display:grid;place-items:center;color:#fff;font-weight:900}
.fc-top-actions{display:flex;gap:8px}
.fc-icon-btn{
  width:42px;height:42px;border:1px solid var(--fc-border);border-radius:14px;
  background:#fff;display:grid;place-items:center;font-size:19px;cursor:pointer
}
.fc-main{padding:24px 22px 30px}
.fc-hero{
  border-radius:28px;padding:24px;color:#fff;
  background:linear-gradient(135deg,#101827 0%,#172536 60%,#0d8b45 150%);
  box-shadow:var(--fc-shadow);margin-bottom:16px
}
.fc-hero small{opacity:.72;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.fc-hero h1{font-size:32px;line-height:1.08;margin:8px 0}
.fc-hero p{margin:0;color:#d8e1dc}
.fc-section-title{display:flex;justify-content:space-between;align-items:center;margin:24px 4px 12px}
.fc-section-title h2{font-size:19px;margin:0}
.fc-section-title a{font-size:13px;color:var(--fc-green);font-weight:700}
.fc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.fc-card{
  background:var(--fc-card);border:1px solid var(--fc-border);border-radius:var(--fc-radius);
  padding:18px;box-shadow:0 5px 22px rgba(17,24,39,.045)
}
.fc-action{min-height:132px;display:flex;flex-direction:column;justify-content:space-between}
.fc-action .fc-symbol{font-size:28px}
.fc-action strong{display:block;font-size:17px}
.fc-action span{font-size:13px;color:var(--fc-muted)}
.fc-balance{display:flex;justify-content:space-between;align-items:end}
.fc-balance .amount{font-size:30px;font-weight:850;letter-spacing:-1px}
.fc-pill{display:inline-flex;padding:7px 10px;border-radius:999px;background:#eaf8f0;color:var(--fc-green-dark);font-size:12px;font-weight:800}
.fc-btn{
  display:inline-flex;justify-content:center;align-items:center;gap:7px;
  min-height:48px;padding:0 18px;border:0;border-radius:15px;background:var(--fc-green);
  color:#fff;font-weight:800;cursor:pointer;box-shadow:0 7px 18px rgba(24,169,87,.2)
}
.fc-btn.secondary{background:#eef2f0;color:var(--fc-ink);box-shadow:none}
.fc-btn.full{width:100%}
.fc-btn.danger{background:var(--fc-danger)}
.fc-form input,.fc-form select,.fc-form textarea{
  width:100%;min-height:50px;border:1px solid #dce3df;border-radius:15px;background:#fff;
  padding:0 15px;outline:none;margin:6px 0 12px
}
.fc-form input:focus,.fc-form select:focus,.fc-form textarea:focus{border-color:var(--fc-green);box-shadow:0 0 0 3px rgba(24,169,87,.1)}
.fc-form label{font-size:13px;font-weight:750;color:#344054}
.fc-notice{padding:13px 15px;border-radius:15px;background:#fff7e8;border:1px solid #f4dfb4;color:#72520b;margin-bottom:12px;font-size:13px}
.fc-post h1,.fc-page-title{font-size:30px;line-height:1.15;margin:8px 0 18px}
.fc-content{background:#fff;border:1px solid var(--fc-border);border-radius:var(--fc-radius);padding:20px}
.fc-bottomnav{
  position:fixed;left:50%;bottom:0;transform:translateX(-50%);z-index:100;
  width:min(1180px,100%);height:78px;background:rgba(255,255,255,.97);
  backdrop-filter:blur(18px);border-top:1px solid var(--fc-border);
  display:grid;grid-template-columns:repeat(5,1fr);padding:8px 8px calc(8px + env(safe-area-inset-bottom))
}
.fc-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#7b8490;font-size:11px;font-weight:700;border-radius:15px}
.fc-nav-item .nav-icon{font-size:21px;line-height:1}
.fc-nav-item.active{color:var(--fc-green-dark);background:#edf9f2}
.fc-footer{text-align:center;color:#98a19c;font-size:12px;padding:20px 0}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:761px){
  body{padding-bottom:18px}
  .fc-topbar-inner{height:76px;padding:0 28px}
  .fc-brand{font-size:24px}
  .fc-main{padding:28px 30px 34px}
  .fc-hero{padding:34px 38px;border-radius:30px;margin-bottom:22px}
  .fc-hero h1{font-size:42px}
  .fc-grid{grid-template-columns:repeat(4,1fr);gap:16px}
  .fc-card{padding:22px}
  .fc-action{min-height:155px}
  .fc-action strong{font-size:18px}
  .fc-balance .amount{font-size:36px}
  .fc-bottomnav{position:sticky;bottom:12px;border:1px solid var(--fc-border);border-radius:20px;margin:0 auto 12px;box-shadow:var(--fc-shadow)}
}

@media(max-width:430px){
  .fc-main{padding-left:10px;padding-right:10px}
  .fc-hero{padding:20px;border-radius:24px}
  .fc-hero h1{font-size:28px}
  .fc-grid{gap:9px}
  .fc-card{padding:15px;border-radius:19px}
}
