:root {
  --green-950: #032d22;
  --green-900: #064332;
  --green-800: #075b41;
  --green-700: #087251;
  --green-500: #19a974;
  --mint: #dff4e9;
  --gold: #d4af37;
  --gold-light: #f2d56b;
  --cream: #022b21;
  --paper: #083c2e;
  --ink: #f8f5e9;
  --muted: #a7bbb2;
  --line: rgba(242, 213, 107, 0.14);
  --shadow: 0 24px 70px rgba(0, 12, 8, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 80% 5%, #07543e 0, transparent 28%), linear-gradient(180deg, #032f24 0%, var(--cream) 46%, #021f18 100%); font-family: "Tajawal", sans-serif; line-height: 1.7; overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.is-hidden { display: none !important; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.ambient { position: fixed; border-radius: 999px; filter: blur(110px); opacity: .18; z-index: -1; pointer-events: none; }
.ambient-one { width: 420px; height: 420px; background: var(--gold); top: -150px; left: -100px; }
.ambient-two { width: 560px; height: 560px; background: #56c99b; right: -250px; top: 38%; }

.site-header { width: min(1240px, calc(100% - 28px)); min-height: 82px; margin: 14px auto 0; padding: 12px 18px; display: flex; align-items: center; gap: 24px; position: sticky; top: 10px; z-index: 50; background: rgba(3,45,34,.88); backdrop-filter: blur(18px); border: 1px solid rgba(242,213,107,.16); border-radius: 22px; box-shadow: 0 10px 35px rgba(0,16,11,.32); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 50px; height: 50px; object-fit: contain; border-radius: 14px; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { color: var(--gold-light); font-size: 23px; font-weight: 900; }
.brand small { color: var(--muted); font-size: 11px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 24px; flex: 1; }
.main-nav a { font-weight: 700; font-size: 14px; text-decoration: none; color: #dbe6e1; transition: color .2s; }
.main-nav a:hover { color: var(--gold-light); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.button { border: 0; min-height: 42px; padding: 9px 18px; border-radius: 13px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #2f270c; box-shadow: 0 10px 25px rgba(212,175,55,.22); }
.button-dark { background: var(--green-900); color: #fff; box-shadow: 0 10px 25px rgba(3,45,34,.2); }
.button-ghost { background: rgba(255,255,255,.035); color: var(--gold-light); border: 1px solid var(--line); }
.button-light { background: rgba(255,255,255,.09); color: #fff; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 8px 25px rgba(0,0,0,.12); }
.button-large { min-height: 52px; padding-inline: 24px; border-radius: 16px; }
.button-wide { width: 100%; min-height: 50px; }
.menu-toggle { display: none; margin-right: auto; border: 0; background: transparent; font-size: 25px; color: var(--gold-light); }
.account-access { min-width: 82px; }

.hero { min-height: 700px; padding: 70px 0 80px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.eyebrow, .section-kicker { color: var(--gold-light); font-size: 13px; font-weight: 900; letter-spacing: .04em; }
.eyebrow { display: flex; align-items: center; gap: 8px; }
.eyebrow span { width: 28px; height: 2px; background: var(--gold); }
.hero h1 { margin: 18px 0 22px; color: #fff; font-size: clamp(48px, 6vw, 78px); line-height: 1.15; letter-spacing: -.045em; font-weight: 900; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.testing-note { font-size: 13px !important; margin: 13px 0 0; }
.testing-note span { color: #efaa26; font-size: 11px; }
.hero-trust { display: flex; gap: 38px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { color: #f5f8f6; font-size: 14px; }
.hero-trust span { color: var(--muted); font-size: 12px; }
.hero-visual { min-height: 610px; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #15865f, var(--green-950)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), var(--shadow); }
.hero-visual::after { content: ""; position: absolute; width: 510px; height: 510px; border-radius: 50%; border: 1px dashed rgba(212,175,55,.45); animation: spin 32s linear infinite; }
.phone { position: absolute; width: 252px; height: 532px; overflow: hidden; padding: 7px; border-radius: 38px; background: #10231d; border: 2px solid rgba(255,255,255,.25); box-shadow: 0 30px 60px rgba(0,0,0,.34); z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 31px; }
.phone-top { position: absolute; width: 86px; height: 22px; border-radius: 20px; background: #06120e; left: 50%; top: 14px; transform: translateX(-50%); z-index: 3; }
.phone-front { transform: translate(68px, 0) rotate(4deg); }
.phone-back { transform: translate(-85px, 32px) rotate(-8deg); opacity: .87; }
.floating-card { position: absolute; z-index: 4; background: rgba(4,56,42,.93); backdrop-filter: blur(10px); display: flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid rgba(242,213,107,.22); border-radius: 17px; box-shadow: 0 16px 32px rgba(0,0,0,.28); }
.floating-card span { min-width: 48px; color: var(--gold-light); font-weight: 900; font-size: 18px; }
.floating-card div { display: flex; flex-direction: column; }
.floating-card strong { font-size: 13px; }
.floating-card small { color: var(--muted); font-size: 10px; }
.floating-points { top: 100px; left: 5px; }
.floating-points span { color: #1c9b68; font-size: 27px; }
.floating-prayer { bottom: 105px; right: -6px; }
.ornament { position: absolute; color: var(--gold-light); z-index: 3; opacity: .7; }
.ornament-a { top: 46px; right: 70px; font-size: 34px; }
.ornament-b { bottom: 45px; left: 42px; font-size: 45px; }

.prayer-strip { background: linear-gradient(135deg, #021f18, #006047); color: #fff; border: 1px solid rgba(242,213,107,.24); border-radius: 32px; padding: 28px; display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.prayer-strip::after { content: "۞"; position: absolute; left: 24%; top: -90px; font-size: 250px; opacity: .025; }
.prayer-heading { display: flex; justify-content: space-between; align-items: center; grid-column: 1 / -1; gap: 20px; }
.prayer-heading h2 { margin: 4px 0 0; font-size: 26px; }
.prayer-heading p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; }
.section-kicker.light, .prayer-heading .section-kicker { color: var(--gold-light); }
.next-prayer-card { min-height: 180px; border-radius: 23px; padding: 25px; display: grid; grid-template-columns: 1fr auto; align-items: center; background: linear-gradient(135deg, rgba(212,175,55,.22), rgba(255,255,255,.06)); border: 1px solid rgba(242,213,107,.28); }
.next-prayer-card span { color: rgba(255,255,255,.6); }
.next-prayer-name { min-height: 54px; display: flex; align-items: center; color: var(--gold-light); }
.next-prayer-card time { font-size: 35px; font-weight: 900; direction: ltr; }
.next-prayer-card small { color: rgba(255,255,255,.65); }
.prayer-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.prayer-item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); border-radius: 17px; padding: 16px; display: flex; flex-direction: column; }
.prayer-name-art { --prayer-image: url('image/prayers/alfajr.png'); width: 100%; max-width: 96px; height: 30px; display: block; background: rgba(255,255,255,.72); -webkit-mask: var(--prayer-image) center right / contain no-repeat; mask: var(--prayer-image) center right / contain no-repeat; }
.prayer-name-art-large { width: 155px; max-width: 100%; height: 54px; background: var(--gold-light); }
.prayer-fajr { --prayer-image: url('image/prayers/alfajr.png'); }
.prayer-sunrise { --prayer-image: url('image/prayers/shoroq.png'); }
.prayer-dhuhr { --prayer-image: url('image/prayers/duhor.png'); }
.prayer-asr { --prayer-image: url('image/prayers/aser.png'); }
.prayer-maghrib { --prayer-image: url('image/prayers/magrem.png'); }
.prayer-isha { --prayer-image: url('image/prayers/esha.png'); }
.prayer-item strong { font-size: 20px; direction: ltr; }
.prayer-item.active { background: rgba(212,175,55,.18); border-color: rgba(242,213,107,.4); }
.prayer-item.active .prayer-name-art { background: var(--gold-light); }
.prayer-item.active strong { color: var(--gold-light); }
.prayer-disclaimer { grid-column: 1 / -1; margin: 0; color: rgba(255,255,255,.45); font-size: 11px; }

.features, .leaderboard, .screens { padding: 120px 0 60px; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-title h2, .leaderboard h2, .support-section h2, .competition h2 { color: #fff; margin: 8px 0 12px; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.25; }
.section-title p, .leaderboard-head p { color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 250px; padding: 28px; border-radius: 25px; background: linear-gradient(145deg, rgba(9,69,52,.88), rgba(4,48,36,.94)); border: 1px solid rgba(242,213,107,.13); box-shadow: 0 12px 42px rgba(0,18,12,.22); }
.feature-card h3 { color: #fff; font-size: 21px; margin: 18px 0 8px; }
.feature-card p { color: var(--muted); margin: 0; font-size: 14px; }
.feature-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: rgba(212,175,55,.14); color: var(--gold-light); font-size: 25px; }
.feature-large { grid-column: span 2; background: linear-gradient(135deg, #0b4c39, #043126); }
.mini-prayers { display: flex; gap: 9px; margin-top: 27px; }
.mini-prayers span { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 10px 14px; color: var(--muted); font-size: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.mini-prayers b { color: var(--gold-light); margin-right: 8px; }

.competition { margin-top: 90px; min-height: 510px; border-radius: 36px; padding: 60px; background: var(--green-950); color: #fff; display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; align-items: center; position: relative; overflow: hidden; }
.competition::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(212,175,55,.15); right: -180px; top: -190px; box-shadow: 0 0 0 60px rgba(212,175,55,.025), 0 0 0 120px rgba(212,175,55,.018); }
.competition h2 { color: #fff; }
.competition-intro p { color: rgba(255,255,255,.65); margin-bottom: 28px; }
.points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.point-card { display: flex; align-items: center; gap: 15px; padding: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06); border-radius: 20px; }
.point-card span { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; color: var(--gold-light); border-radius: 15px; background: rgba(212,175,55,.12); font-size: 23px; font-weight: 900; }
.point-card div { display: flex; flex-direction: column; }
.point-card strong { font-size: 15px; }
.point-card small { color: rgba(255,255,255,.5); font-size: 11px; }
.point-card.highlight { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(212,175,55,.22), rgba(212,175,55,.08)); border-color: rgba(212,175,55,.3); }

.leaderboard-head { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 45px; }
.leaderboard-head > div:first-child { max-width: 720px; }
.segmented { display: flex; padding: 5px; border-radius: 15px; background: rgba(255,255,255,.07); }
.segmented button { min-width: 100px; border: 0; border-radius: 11px; padding: 9px 14px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.segmented button.active { background: var(--gold); color: #2f270c; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.board-wrap { padding: 36px; background: linear-gradient(145deg, rgba(8,66,49,.94), rgba(3,43,33,.96)); border: 1px solid rgba(242,213,107,.14); border-radius: 30px; box-shadow: var(--shadow); }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; max-width: 700px; margin: 0 auto 35px; }
.podium-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 12px; border-radius: 22px 22px 8px 8px; background: rgba(255,255,255,.065); }
.podium-card.place-1 { min-height: 210px; order: 2; background: linear-gradient(180deg, #fff4c7, #f2e6b5); }
.podium-card.place-2 { min-height: 175px; order: 1; }
.podium-card.place-3 { min-height: 155px; order: 3; }
.podium-rank { color: var(--gold-light); font-size: 12px; font-weight: 900; }
.podium-rank::before { content: "المركز "; }
.podium-card b { margin-top: 8px; color: #fff; }
.podium-card strong { font-size: 24px; color: var(--gold-light); }
.podium-card.place-1 b, .podium-card.place-1 strong, .podium-card.place-1 small { color: #372e11; }
.podium-card small { color: var(--muted); }
.ranking-list { max-width: 760px; margin: auto; }
.ranking-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 13px 8px; border-top: 1px solid var(--line); }
.ranking-row > span { color: var(--muted); font-weight: 900; }
.ranking-person { display: flex; align-items: center; }
.ranking-person div { display: flex; flex-direction: column; }
.ranking-person small { color: var(--muted); font-size: 11px; }
.ranking-score { color: var(--gold-light); font-size: 18px; }
.board-status { margin: 20px auto 0; padding: 22px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); background: rgba(255,255,255,.035); }

.screen-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 920px; margin: auto; }
.screen-gallery figure { margin: 0; text-align: center; }
.screen-phone { aspect-ratio: 9 / 19.5; padding: 7px; background: #10231d; border-radius: 34px; box-shadow: 0 24px 50px rgba(3,45,34,.2); overflow: hidden; }
.screen-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; }
.screen-gallery figure:nth-child(2) { transform: translateY(-25px); }
.screen-gallery figcaption { margin-top: 16px; color: #f5f8f6; font-weight: 800; }

.support-section { margin-top: 90px; margin-bottom: 110px; display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: center; }
.support-copy p { color: var(--muted); max-width: 590px; margin-bottom: 25px; }
.support-preview { min-height: 390px; padding: 25px; border: 1px solid rgba(242,213,107,.13); border-radius: 30px; background: linear-gradient(145deg, #084633, #032d22); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.chat-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat-top div { display: flex; flex-direction: column; }
.chat-top small { color: var(--muted); }
.online-dot { width: 42px; height: 42px; border-radius: 50%; background: var(--green-800); position: relative; }
.online-dot::after { content: ""; position: absolute; width: 10px; height: 10px; background: #39d98a; border: 2px solid #fff; border-radius: 50%; bottom: 0; left: 0; }
.bubble { max-width: 80%; border-radius: 17px; padding: 12px 15px; font-size: 13px; }
.bubble-agent { background: rgba(255,255,255,.09); border-bottom-right-radius: 4px; }
.bubble-user { background: var(--green-800); color: #fff; margin-right: auto; border-bottom-left-radius: 4px; }
.message-sender { display: block; margin-bottom: 5px; color: var(--gold-light); font-weight: 800; }
.chat-compose { margin-top: auto; border: 1px solid var(--line); color: #a2aba6; border-radius: 16px; padding: 13px; display: flex; justify-content: space-between; }
.chat-compose b { color: var(--green-700); }
.download-cta { margin-bottom: 30px; padding: 35px 40px; border-radius: 30px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); display: flex; align-items: center; gap: 25px; color: #2b250f; }
.download-cta > img { width: 85px; height: 85px; object-fit: contain; border-radius: 20px; background: rgba(255,255,255,.4); }
.download-cta h2 { font-size: 28px; line-height: 1.3; margin: 3px 0 0; }
.download-actions { display: flex; gap: 9px; margin-right: auto; }
.store-button { min-width: 145px; padding: 10px 16px; display: flex; flex-direction: column; color: #fff; background: #151915; border-radius: 14px; text-decoration: none; line-height: 1.2; direction: ltr; }
.store-button small { color: rgba(255,255,255,.64); font-size: 9px; }
.store-button strong { font-size: 16px; }
.legal { margin-bottom: 50px; }
.legal details { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; padding: 0 18px; }
.legal summary { padding: 15px 0; cursor: pointer; color: #f4f7f5; font-weight: 800; }
.legal details div { color: var(--muted); font-size: 13px; padding-bottom: 12px; }
.site-footer { min-height: 150px; padding: 35px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 35px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; color: var(--muted); font-size: 13px; }
.site-footer > p { margin-right: auto; color: var(--muted); font-size: 12px; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 18px; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,25,18,.7); backdrop-filter: blur(9px); }
.modal-panel { position: relative; z-index: 2; width: min(100%, 520px); max-height: min(900px, calc(100vh - 36px)); overflow: auto; background: var(--paper); border: 1px solid rgba(242,213,107,.14); border-radius: 28px; box-shadow: 0 35px 90px rgba(0,0,0,.45); }
.modal-close { position: absolute; left: 18px; top: 18px; width: 35px; height: 35px; border: 0; border-radius: 50%; background: rgba(255,255,255,.09); color: #fff; font-size: 25px; cursor: pointer; z-index: 3; }
.auth-panel { padding: 35px; }
.modal-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.modal-brand img { width: 55px; height: 55px; object-fit: contain; }
.modal-brand div { display: flex; flex-direction: column; }
.modal-brand strong { color: var(--gold-light); font-size: 20px; }
.modal-brand span { color: var(--muted); font-size: 12px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.07); margin-bottom: 22px; }
.auth-tabs button { border: 0; border-radius: 11px; padding: 10px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.auth-tabs button.active { background: var(--gold); color: #30280d; box-shadow: 0 3px 12px rgba(0,0,0,.2); }
.auth-form, .profile-form, .ticket-form, .admin-card { display: flex; flex-direction: column; gap: 14px; }
.auth-form label, .profile-form label, .ticket-form label, .admin-card label { display: flex; flex-direction: column; gap: 5px; color: #f4f7f5; font-size: 13px; font-weight: 800; }
.auth-form label > span, label > small { color: var(--muted); font-weight: 500; font-size: 10px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: rgba(1,31,23,.72); color: var(--ink); padding: 11px 13px; outline: none; transition: border .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(25,169,116,.12); }
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox { flex-direction: row !important; align-items: flex-start; color: var(--muted) !important; font-weight: 500 !important; }
.checkbox input { width: 17px; margin-top: 3px; accent-color: var(--green-700); }
.text-button { align-self: flex-start; border: 0; background: transparent; color: var(--gold-light); font-weight: 700; cursor: pointer; }
.form-message { display: none; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; font-size: 12px; }
.form-message.show { display: block; }
.form-message.error { color: #8d2c24; background: #fce8e5; }
.form-message.success { color: #176b49; background: #e5f5ed; }

.dashboard-panel { width: min(1180px, calc(100vw - 36px)); min-height: min(760px, calc(100vh - 36px)); display: grid; grid-template-columns: 235px 1fr; overflow: hidden; }
.dashboard-nav { padding: 28px 16px; background: var(--green-950); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.dashboard-user { display: flex; align-items: center; margin-bottom: 24px; padding: 0 8px; }
.dashboard-user div { min-width: 0; display: flex; flex-direction: column; }
.dashboard-user small { color: rgba(255,255,255,.5); overflow: hidden; text-overflow: ellipsis; }
.dashboard-nav button { border: 0; background: transparent; color: rgba(255,255,255,.65); text-align: right; padding: 12px 14px; border-radius: 11px; font-weight: 700; cursor: pointer; }
.dashboard-nav button.active { color: var(--gold-light); background: rgba(255,255,255,.09); }
.support-nav-button { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.support-nav-badge { min-width: 23px; padding: 2px 7px; border-radius: 999px; background: #d94b40; color: #fff; text-align: center; font-size: 10px; box-shadow: 0 0 0 3px rgba(217,75,64,.14); }
.dashboard-nav .logout-button { margin-top: auto; color: #f3a8a2; }
.dashboard-content { padding: 45px; overflow: auto; }
.dashboard-view { display: none; }
.dashboard-view.active { display: block; }
.dashboard-view h2 { margin: 5px 0 28px; color: #fff; font-size: 34px; }
.profile-form { max-width: 620px; }
.verification-banner { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px; color: #3b3110; background: #fff1cd; border: 1px solid #eed58a; border-radius: 15px; margin-bottom: 20px; }
.verification-banner p { margin: 3px 0 0; color: #776632; font-size: 11px; }
.member-stats, .admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.member-stats > div, .admin-stats > div { padding: 20px; background: rgba(255,255,255,.055); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; }
.member-stats span, .admin-stats span { color: var(--muted); font-size: 12px; }
.member-stats strong, .admin-stats strong { color: var(--gold-light); font-size: 31px; }
.empty-state { text-align: center; max-width: 480px; margin: 45px auto; color: var(--muted); }
.empty-state > span { width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 20px; background: var(--mint); color: var(--green-700); font-size: 27px; }
.empty-state strong { display: block; color: #fff; }
.empty-state p { margin: 5px 0; }
.file-label input { border-style: dashed; }
.ticket-list { margin-top: 25px; display: flex; flex-direction: column; gap: 9px; }
.ticket-row { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.055); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.ticket-row:hover, .ticket-row.active { border-color: rgba(242,213,107,.48); background: rgba(255,255,255,.09); transform: translateY(-1px); }
.ticket-row-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.ticket-row strong, .ticket-row small { display: block; }
.ticket-row p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-owner { margin-top: 7px; color: var(--muted); }
.ticket-owner b { display: inline-block; margin-right: 7px; padding: 2px 7px; border-radius: 999px; background: #d94b40; color: #fff; font-size: 9px; }
.ticket-status { flex: 0 0 auto; padding: 3px 8px; border-radius: 999px; color: #92dfbb; background: rgba(25,169,116,.13); font-size: 9px; font-weight: 900; }
.ticket-status.waiting { color: #ffdf75; background: rgba(242,213,107,.12); }
.ticket-status.closed { color: #b0bab5; background: rgba(255,255,255,.08); }
.support-dashboard { margin: -18px; }
.support-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 16px; }
.support-heading h2 { margin-bottom: 6px; font-size: 28px; }
.support-heading p { max-width: 660px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.support-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.support-summary > div { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.04); }
.support-summary span { color: var(--muted); font-size: 11px; }
.support-summary strong { color: var(--gold-light); font-size: 20px; }
.support-filters { display: flex; gap: 7px; margin-bottom: 12px; }
.support-filters button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.support-filters button.active { border-color: var(--gold); background: var(--gold); color: #30280d; }
.staff-layout { min-height: 390px; }
.support-inbox { min-width: 0; padding-left: 4px; }
.staff-layout .ticket-list { margin: 0; }
.ticket-chat { min-width: 0; min-height: 390px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: rgba(1,31,23,.55); border-radius: 18px; }
.ticket-conversation-modal { z-index: 130; padding: 16px; }
.ticket-conversation-panel { width: min(980px, calc(100vw - 32px)); height: min(820px, calc(100vh - 32px)); max-height: none; overflow: hidden; border-radius: 24px; }
.ticket-conversation-close { top: 22px; left: 22px; }
.ticket-chat-expanded { height: 100%; min-height: 0; border: 0; border-radius: 0; background: linear-gradient(180deg, rgba(5,63,47,.76), rgba(1,31,23,.92)); }
.ticket-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 17px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.035); }
.ticket-chat-expanded .ticket-chat-head { min-height: 86px; padding: 18px 24px 18px 76px; background: rgba(255,255,255,.055); }
.ticket-chat-head > div { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 5px 8px; }
.ticket-chat-head strong { min-width: 0; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; }
.ticket-chat-head small { grid-column: 2; color: var(--muted); }
.ticket-chat .chat-messages { flex: 1; min-height: 0; overflow-y: auto; padding: 17px; display: flex; flex-direction: column; gap: 9px; }
.ticket-chat-expanded .chat-messages { padding: 24px clamp(18px, 5vw, 62px); gap: 13px; scroll-behavior: smooth; }
.ticket-chat .bubble { width: fit-content; max-width: min(78%, 520px); display: flex; flex-direction: column; line-height: 1.6; }
.ticket-chat-expanded .bubble { max-width: min(72%, 620px); padding: 13px 16px; border-radius: 17px; font-size: 14px; box-shadow: 0 7px 18px rgba(0,0,0,.1); }
.ticket-chat .bubble-user { align-self: flex-end; margin: 0; }
.ticket-chat .bubble-agent { align-self: flex-start; }
.ticket-chat .bubble-system { align-self: center; max-width: 90%; color: var(--gold-light); background: rgba(242,213,107,.08); border: 1px solid rgba(242,213,107,.18); text-align: center; }
.ticket-chat .chat-compose { flex: 0 0 auto; align-items: flex-end; gap: 10px; margin: 0; padding: 14px 20px; background: rgba(0,28,21,.96); border-top: 1px solid var(--line); border-radius: 0; box-shadow: 0 -12px 28px rgba(0,0,0,.14); }
.ticket-chat .chat-compose textarea { min-height: 52px; max-height: 130px; resize: vertical; border: 0; background: rgba(255,255,255,.055); box-shadow: none; }
.ticket-chat .chat-compose .button { flex: 0 0 auto; }
.ticket-attachment { margin-top: 9px; display: flex; flex-direction: column; gap: 5px; color: var(--gold-light); text-decoration: none; font-size: 10px; }
.ticket-attachment img { width: min(280px, 100%); max-height: 210px; object-fit: cover; border-radius: 11px; border: 1px solid var(--line); }
.ticket-closed-note { margin: 0; padding: 15px; border-top: 1px solid rgba(242,213,107,.2); color: var(--gold-light); background: rgba(242,213,107,.07); text-align: center; font-size: 12px; }
.admin-stats { grid-template-columns: repeat(4, 1fr); }
.admin-stats small { color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; margin-top: 18px; }
.admin-card { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.055); }
.admin-card h3 { color: #fff; margin: 0 0 10px; }
.card-hint { margin: -4px 0 5px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.users-toolbar { display: flex; gap: 10px; margin-bottom: 16px; }
.users-toolbar input { flex: 1; }
.account-groups { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 16px; }
.account-groups button { border: 1px solid var(--line); border-radius: 12px; padding: 9px 13px; background: rgba(255,255,255,.04); color: var(--muted); font-weight: 800; cursor: pointer; }
.account-groups button.active { background: var(--gold); border-color: var(--gold); color: #30280d; }
.account-groups b { min-width: 22px; display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 7px; background: rgba(0,0,0,.14); }
.users-layout { display: grid; grid-template-columns: minmax(340px, 1.1fr) minmax(300px, .9fr); gap: 16px; align-items: start; }
.users-list-card { min-height: 470px; }
.users-list { display: flex; flex-direction: column; gap: 8px; }
.users-side { display: flex; flex-direction: column; gap: 16px; }
.managed-user-row { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.04); color: var(--ink); text-align: right; cursor: pointer; }
.managed-user-row:hover { border-color: rgba(242,213,107,.45); background: rgba(255,255,255,.075); }
.managed-user-main, .managed-user-meta { min-width: 0; display: flex; flex-direction: column; }
.managed-user-main small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.managed-user-meta { align-items: flex-end; }
.managed-user-meta b { color: var(--gold-light); font-size: 11px; }
.managed-user-meta small { color: var(--muted); font-size: 10px; }
.form-actions { display: flex; gap: 8px; }
.danger-button { border: 1px solid rgba(226,91,80,.45); background: rgba(148,43,35,.2); color: #ffc2bd; }
.bars { height: 240px; display: flex; align-items: end; justify-content: space-around; gap: 10px; padding-top: 20px; }
.bar-item { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: end; gap: 7px; color: var(--muted); font-size: 10px; }
.bar-item b { width: 100%; max-width: 34px; min-height: 4px; border-radius: 8px 8px 2px 2px; background: linear-gradient(var(--gold-light), var(--gold)); }
.toast { position: fixed; left: 24px; bottom: 24px; max-width: 360px; z-index: 200; background: var(--green-950); color: #fff; border-radius: 14px; padding: 13px 17px; box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .3s; }
.toast.show { transform: translateY(0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1020px) {
  .main-nav { position: absolute; top: 76px; right: 0; left: 0; padding: 18px; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); display: none; flex-direction: column; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header-actions .button-ghost { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 80px; }
  .eyebrow, .hero-actions, .hero-trust { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-visual { min-height: 580px; }
  .competition { grid-template-columns: 1fr; }
  .support-section { grid-template-columns: 1fr 1fr; gap: 35px; }
  .download-cta { flex-wrap: wrap; }
  .download-actions { width: 100%; margin: 0; }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 24px, 620px); }
  .site-header { min-height: 70px; padding: 9px 12px; border-radius: 17px; }
  .brand img { width: 43px; height: 43px; }
  .brand strong { font-size: 19px; }
  .brand small { display: none; }
  .header-actions .button-gold { padding-inline: 12px; font-size: 12px; }
  .hero { min-height: auto; padding: 70px 0 30px; gap: 20px; }
  .hero h1 { font-size: 47px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-trust { gap: 20px; }
  .hero-visual { transform: scale(.82); margin: -35px 0; }
  .prayer-strip { grid-template-columns: 1fr; padding: 20px; border-radius: 24px; }
  .prayer-heading { align-items: flex-start; }
  .prayer-heading .button { padding-inline: 12px; font-size: 12px; }
  .next-prayer-card { min-height: 150px; }
  .prayer-list { grid-template-columns: repeat(3, 1fr); }
  .features, .leaderboard, .screens { padding-top: 85px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: auto; }
  .competition { width: calc(100% - 24px); margin-top: 70px; padding: 35px 22px; border-radius: 26px; }
  .points-grid { grid-template-columns: 1fr; }
  .point-card.highlight { grid-column: auto; }
  .leaderboard-head { align-items: flex-start; flex-direction: column; }
  .board-wrap { padding: 22px 12px; }
  .podium { gap: 7px; }
  .podium-card b { font-size: 12px; }
  .podium-card strong { font-size: 20px; }
  .screen-gallery { gap: 10px; }
  .screen-phone { padding: 4px; border-radius: 20px; }
  .screen-phone img { border-radius: 16px; }
  .support-section { grid-template-columns: 1fr; margin-bottom: 70px; }
  .download-cta { padding: 25px; text-align: center; justify-content: center; }
  .download-cta h2 { font-size: 23px; }
  .download-actions { flex-direction: column; }
  .site-footer { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .site-footer > p { margin: 0; }
  .form-row { grid-template-columns: 1fr; }
  .auth-panel { padding: 28px 20px; }
  .dashboard-panel { display: flex; flex-direction: column; }
  .dashboard-nav { flex-direction: row; overflow-x: auto; padding: 13px; }
  .dashboard-user { display: none; }
  .dashboard-nav button { flex: 0 0 auto; }
  .dashboard-nav .logout-button { margin: 0; }
  .dashboard-content { padding: 28px 18px; }
  .member-stats, .admin-stats { grid-template-columns: 1fr 1fr; }
  .staff-layout, .admin-grid, .users-layout { grid-template-columns: 1fr; }
  .support-dashboard { margin: 0; }
  .support-heading { align-items: stretch; flex-direction: column; }
  .support-heading h2 { font-size: 25px; }
  .support-summary { grid-template-columns: 1fr; }
  .support-filters { overflow-x: auto; }
  .support-filters button { flex: 0 0 auto; }
  .staff-layout { min-height: 0; }
  .support-inbox { max-height: none; }
  .ticket-conversation-modal { padding: 0; }
  .ticket-conversation-panel { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  .ticket-conversation-close { top: 15px; left: 15px; }
  .ticket-chat-expanded .ticket-chat-head { min-height: 78px; padding: 14px 16px 14px 60px; }
  .ticket-chat-head strong { font-size: 15px; }
  .ticket-chat-expanded .chat-messages { padding: 16px 12px; }
  .ticket-chat-expanded .bubble { max-width: 88%; padding: 11px 13px; font-size: 13px; }
  .ticket-chat .chat-compose { padding: 10px; gap: 8px; }
  .ticket-chat .chat-compose .button { padding-inline: 13px; }
  .users-toolbar, .form-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
