/* GramCoins — style.css */
:root {
    --bg:     #faf7f2;
    --bg2:    #f0ece4;
    --white:  #ffffff;
    --ig2:    #e1306c;
    --ig3:    #833ab4;
    --igG:    linear-gradient(135deg, #833ab4, #c13584, #e1306c, #f77737);
    --igGs:   linear-gradient(135deg, #c13584, #e1306c, #fd1d1d);
    --gold:   #e8960a;
    --goldL:  #fff3d0;
    --green:  #16a05b;
    --greenL: #d2f5e3;
    --blue:   #1a73e8;
    --blueL:  #e8f0fe;
    --red:    #d93025;
    --redL:   #fde8e6;
    --purple: #833ab4;
    --purpleL:#f3eaff;
    --text:   #1c1c2e;
    --text2:  #52526e;
    --muted:  #9898b8;
    --bdr:    rgba(0,0,0,.08);
    --bdr2:   rgba(0,0,0,.14);
    --shad:   0 2px 14px rgba(0,0,0,.07);
    --shad2:  0 8px 32px rgba(0,0,0,.13);
    --fh:     'Baloo 2', cursive;
    --fb:     'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--fb);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 90% 5%, rgba(247,119,55,.09) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 5% 90%, rgba(193,53,132,.07) 0%, transparent 50%);
}
body > * { position: relative; z-index: 1; }

/* ====================================================
   LOGIN SCREEN
   ==================================================== */
#loginScreen {
    position: fixed; inset: 0; z-index: 300;
    background: linear-gradient(135deg, #1c1c2e 0%, #2d1b4e 50%, #1c1c2e 100%);
    display: flex; align-items: center; justify-content: center; padding: 20px;
}

.login-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    padding: 34px 26px 28px;
    width: 100%; max-width: 380px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
    position: relative; overflow: hidden;
}
.login-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: var(--igG);
}

.login-brand { margin-bottom: 18px; }
.login-icons { display: flex; gap: 10px; justify-content: center; margin-bottom: 12px; }
.login-icons span {
    font-size: 1.5rem;
    width: 44px; height: 44px; border-radius: 13px;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
}
.login-logo {
    font-family: var(--fh); font-size: 2rem; font-weight: 800;
    line-height: 1; margin-bottom: 4px;
}
.login-logo .g   { color: rgba(255,255,255,.9); }
.login-logo .c   { background: var(--igG); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.login-logo .dot { color: #e1306c; }
.login-tagline {
    font-size: .75rem; color: rgba(255,255,255,.4);
    font-weight: 700; text-transform: uppercase; letter-spacing: .8px;
}

.login-sub {
    font-size: .83rem; color: rgba(255,255,255,.55);
    margin-bottom: 20px; font-weight: 500; line-height: 1.5;
}

.login-err {
    background: rgba(217,48,37,.2); border: 1px solid rgba(217,48,37,.4);
    border-radius: 10px; padding: 9px 12px;
    font-size: .8rem; color: #ff8a80; font-weight: 600;
    margin-bottom: 12px; display: none; text-align: left;
}

.login-input {
    width: 100%;
    background: rgba(255,255,255,.08);
    border: 2px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 14px 16px;
    color: #fff;
    font-family: var(--fb); font-size: 1rem; font-weight: 600;
    outline: none; transition: all .2s;
    margin-bottom: 12px;
    text-align: center; letter-spacing: .3px;
}
.login-input:focus {
    border-color: rgba(225,48,108,.6);
    background: rgba(255,255,255,.11);
}
.login-input::placeholder { color: rgba(255,255,255,.28); }

.login-btn {
    width: 100%;
    background: var(--igG);
    border: none; border-radius: 14px; padding: 14px;
    font-family: var(--fh); font-size: 1rem; font-weight: 800; color: #fff;
    cursor: pointer; transition: all .25s;
    box-shadow: 0 5px 22px rgba(225,48,108,.4);
    margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center; gap: 9px;
}
.login-btn:hover  { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(225,48,108,.55); }
.login-btn:active { transform: scale(.98); }
.login-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.login-hints { text-align: left; display: flex; flex-direction: column; gap: 8px; }
.login-hint-row {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: .77rem; color: rgba(255,255,255,.4); font-weight: 500;
}
.login-hint-row i { color: rgba(255,255,255,.3); margin-top: 2px; flex-shrink: 0; }
.login-hint-row strong { color: rgba(255,255,255,.65); }

/* ====================================================
   TOP STRIP
   ==================================================== */
.top-strip {
    background: linear-gradient(90deg, #833ab4, #e1306c, #f77737);
    padding: 8px 16px; text-align: center;
    font-family: var(--fh); font-size: .8rem; font-weight: 700; color: #fff;
    cursor: pointer;
}
.top-strip-tap {
    background: rgba(255,255,255,.22); border-radius: 5px;
    padding: 1px 7px; margin-left: 6px; font-size: .72rem;
}

/* ====================================================
   NAV
   ==================================================== */
.topnav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    background: var(--white); border-bottom: 1px solid var(--bdr);
    box-shadow: 0 1px 10px rgba(0,0,0,.07);
    position: sticky; top: 0; z-index: 200;
}
.logo { font-family: var(--fh); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.logo .g   { color: var(--text); }
.logo .c   { background: var(--igG); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo .dot { color: var(--ig2); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.cpill {
    display: flex; align-items: center; gap: 6px;
    background: var(--goldL); border: 2px solid rgba(232,150,10,.3);
    border-radius: 50px; padding: 6px 13px;
    font-family: var(--fh); font-weight: 700; font-size: .98rem; color: var(--gold);
}

.nav-logout {
    display: flex; align-items: center; gap: 5px;
    font-family: var(--fh); font-size: .76rem; font-weight: 700;
    color: var(--text2); cursor: pointer; transition: color .2s;
    padding: 5px 8px; border-radius: 8px;
}
.nav-logout:hover { color: var(--ig2); background: rgba(225,48,108,.07); }

/* ====================================================
   HERO
   ==================================================== */
.hero {
    text-align: center;
    padding: 36px 16px 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, transparent 100%);
}
.hero-pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--white); border: 2px solid rgba(225,48,108,.2);
    border-radius: 50px; padding: 5px 15px;
    font-size: .76rem; font-weight: 700; color: var(--ig2);
    margin-bottom: 12px; box-shadow: 0 2px 10px rgba(225,48,108,.1);
}
.hero h1 {
    font-family: var(--fh);
    font-size: clamp(1.75rem, 5.5vw, 2.8rem);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -.3px; margin-bottom: 9px;
}
.hero h1 em {
    font-style: normal;
    background: var(--igG); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .sub { color: var(--text2); font-size: .92rem; max-width: 340px; margin: 0 auto 14px; font-weight: 500; line-height: 1.6; }
.hero-stats { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.hstat .val { font-family: var(--fh); font-size: 1.3rem; font-weight: 800; color: var(--ig2); }
.hstat .lbl { font-size: .68rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

/* ====================================================
   SHARED LAYOUT
   ==================================================== */
.gc-container { max-width: 500px; padding: 0 11px; }

.gc-card {
    background: var(--white); border: 1px solid var(--bdr);
    border-radius: 22px; padding: 18px;
    margin-bottom: 12px; box-shadow: var(--shad); transition: box-shadow .25s;
}
.gc-card:hover { box-shadow: var(--shad2); }

.ctitle {
    font-family: var(--fh); font-size: .74rem; font-weight: 700;
    color: var(--muted); text-transform: uppercase; letter-spacing: 1.3px;
    margin-bottom: 13px; display: flex; align-items: center; gap: 7px;
}
.ctitle i { color: var(--ig2); }

/* ====================================================
   USER STRIP
   ==================================================== */
.ustrip {
    display: flex; align-items: center; gap: 12px;
    background: var(--white); border: 1px solid var(--bdr);
    border-radius: 22px; padding: 14px 16px; margin-bottom: 12px;
    box-shadow: var(--shad); position: relative; overflow: hidden;
}
.ustrip::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--igG);
}
.uava {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--igG);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--fh); font-size: 1.2rem; font-weight: 800; color: #fff;
    flex-shrink: 0; box-shadow: 0 4px 14px rgba(225,48,108,.26);
}
.ustrip-info { flex: 1; min-width: 0; }
.uname { font-family: var(--fh); font-weight: 700; font-size: .92rem; color: var(--text); line-height: 1.2; }
.usub  { font-size: .67rem; color: var(--muted); margin-top: 1px; }
.dbar-wrap { background: var(--bg2); border-radius: 50px; height: 6px; margin: 7px 0 3px; overflow: hidden; }
.dbar      { height: 100%; border-radius: 50px; background: var(--igG); transition: width .5s ease; }
.dinfo     { display: flex; justify-content: space-between; font-size: .67rem; color: var(--text2); font-weight: 700; }
.ucbig { margin-left: auto; text-align: right; flex-shrink: 0; }
.ucbig .num { font-family: var(--fh); font-size: 1.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.ucbig .lbl { font-size: .6rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

/* ====================================================
   AD WRAPPERS
   ==================================================== */
.ad-native-wrap {
    background: var(--white); border: 1px solid var(--bdr);
    border-radius: 22px; margin-bottom: 12px;
    overflow: hidden; box-shadow: var(--shad); position: relative; min-height: 60px;
}
.ad-label-corner {
    position: absolute; top: 8px; right: 10px; z-index: 2;
    background: rgba(0,0,0,.06); border-radius: 5px;
    font-size: .56rem; font-weight: 700; color: var(--muted);
    padding: 2px 6px; text-transform: uppercase; letter-spacing: .4px;
}
.ad-native-inner { padding: 13px 15px; }

.ad-banner-wrap {
    background: linear-gradient(135deg, #fff8f4, #fff0f8, #f7f0ff);
    border: 1.5px solid rgba(131,58,180,.12);
    border-radius: 22px; margin-bottom: 12px;
    padding: 15px; text-align: center; box-shadow: var(--shad);
}
.ad-banner-label {
    display: inline-block; margin-bottom: 8px;
    background: rgba(225,48,108,.1); border: 1px solid rgba(225,48,108,.2);
    border-radius: 6px; font-size: .57rem; font-weight: 700; color: var(--ig2);
    padding: 2px 8px; text-transform: uppercase; letter-spacing: .5px;
}

.smartlink-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, #ff9a00, #ff6a00);
    border: none; border-radius: 50px; padding: 12px 20px; width: 100%;
    font-family: var(--fh); font-size: .94rem; font-weight: 800; color: #fff;
    cursor: pointer; text-decoration: none; margin-bottom: 12px;
    box-shadow: 0 5px 18px rgba(255,106,0,.32); transition: all .25s;
}
.smartlink-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(255,106,0,.47); color: #fff; }
.smartlink-btn:active { transform: scale(.98); }

/* ====================================================
   COLLECT BOX
   ==================================================== */
.cbox {
    background: var(--white); border: 1px solid var(--bdr);
    border-radius: 22px; padding: 20px 16px;
    text-align: center; margin-bottom: 12px;
    box-shadow: var(--shad); position: relative; overflow: hidden;
}
.cbox-stripe { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--igG); }
.clabel { font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1.1px; margin-bottom: 4px; }
.creward { font-family: var(--fh); font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 2px; }
.creward sub { font-size: .9rem; color: var(--muted); font-weight: 500; vertical-align: middle; }

.rw { display: flex; justify-content: center; margin: 14px 0; position: relative; }
.rw svg { transform: rotate(-90deg); }
.rbg   { fill: none; stroke: var(--bg2); }
.rprog { fill: none; stroke: url(#rg); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.rtxt  { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.rtime { font-family: var(--fh); font-size: 1.4rem; font-weight: 800; color: var(--text); line-height: 1; }
.rsub  { font-size: .6rem; color: var(--muted); font-weight: 700; margin-top: 2px; }

.btnc {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--igG); border: none; border-radius: 50px;
    padding: 13px 22px; width: 100%;
    font-family: var(--fh); font-size: .95rem; font-weight: 700; color: #fff;
    cursor: pointer; box-shadow: 0 5px 18px rgba(225,48,108,.3); transition: all .25s;
}
.btnc:hover:not(:disabled)  { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(225,48,108,.5); }
.btnc:active:not(:disabled) { transform: scale(.98); }
.btnc:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btnc.ready    { animation: glowpulse 2s infinite; }
@keyframes glowpulse {
    0%, 100% { box-shadow: 0 5px 18px rgba(225,48,108,.3); }
    50%       { box-shadow: 0 5px 32px rgba(225,48,108,.62); }
}
.daily-cap {
    background: var(--goldL); border: 2px solid rgba(232,150,10,.3);
    border-radius: 13px; padding: 11px 14px;
    font-family: var(--fh); font-weight: 700; font-size: .86rem; color: #8a5c00;
    display: flex; align-items: center; gap: 8px;
}

/* ====================================================
   RATES CARD
   ==================================================== */
.rates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rate-item {
    background: var(--bg); border: 1.5px solid var(--bdr2);
    border-radius: 15px; padding: 14px 12px; text-align: center;
}
.rate-icon { color: var(--ig2); font-size: 1.2rem; display: block; margin-bottom: 6px; }
.rate-name { font-family: var(--fh); font-weight: 800; font-size: .88rem; color: var(--text); margin-bottom: 6px; }
.rate-rows { display: flex; flex-direction: column; gap: 2px; }
.rate-rows span { font-size: .72rem; color: var(--text2); font-weight: 600; }
.rate-rows span strong { color: var(--ig2); }
.rate-each { color: var(--muted) !important; font-size: .68rem !important; margin-top: 2px; }

/* ====================================================
   ORDER FORM
   ==================================================== */
.svctog { display: flex; gap: 8px; margin-bottom: 13px; }
.svcbtn {
    flex: 1; padding: 11px 8px; text-align: center;
    background: var(--bg); border: 2px solid var(--bdr2);
    border-radius: 13px; cursor: pointer; transition: all .2s;
    color: var(--text2); font-family: var(--fh); font-weight: 700; font-size: .84rem;
}
.svcbtn i { display: block; font-size: 1.25rem; margin-bottom: 3px; }
.svcbtn:hover, .svcbtn.active { border-color: var(--ig2); background: rgba(225,48,108,.06); color: var(--text); }
.svcbtn.active i { color: var(--ig2); }

.ginput {
    width: 100%; background: var(--bg);
    border: 2px solid var(--bdr2); border-radius: 11px;
    padding: 11px 14px; color: var(--text);
    font-family: var(--fb); font-size: .9rem;
    outline: none; transition: all .2s; margin-bottom: 10px;
}
.ginput:focus { border-color: var(--ig2); background: var(--white); }
.ginput::placeholder { color: var(--muted); }

/* Preset grid */
.preset-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 10px; }
.preset-btn {
    background: var(--bg); border: 2px solid var(--bdr2);
    border-radius: 11px; padding: 9px 8px; text-align: center;
    cursor: pointer; transition: all .18s;
}
.preset-btn:hover, .preset-btn.active {
    border-color: var(--ig2); background: rgba(225,48,108,.06);
}
.preset-qty  { font-family: var(--fh); font-weight: 800; font-size: .85rem; color: var(--text); display: block; }
.preset-cost { font-size: .7rem; color: var(--ig2); font-weight: 700; margin-top: 2px; display: block; }

/* Quantity row */
.qty-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.qty-btn {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--bg2); border: 2px solid var(--bdr2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text2); transition: all .18s; flex-shrink: 0;
}
.qty-btn:hover { background: rgba(225,48,108,.08); border-color: var(--ig2); color: var(--ig2); }
.qty-num {
    flex: 1; text-align: center;
    font-family: var(--fh); font-weight: 800; font-size: 1rem; color: var(--text);
    background: var(--bg); border: 2px solid var(--bdr2); border-radius: 10px;
    padding: 7px 0; outline: none; -moz-appearance: textfield;
}
.qty-num::-webkit-outer-spin-button,
.qty-num::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-hint { font-size: .68rem; color: var(--muted); margin-bottom: 9px; font-weight: 600; }

.crow {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--goldL); border: 2px solid rgba(232,150,10,.25);
    border-radius: 11px; padding: 10px 14px; margin-bottom: 11px;
}
.crow .cl { font-size: .73rem; color: var(--text2); font-weight: 600; }
.crow .cb { font-size: .63rem; color: var(--muted); margin-top: 1px; }
.crow .cv { font-family: var(--fh); font-weight: 800; color: var(--gold); font-size: .95rem; display: flex; align-items: center; gap: 5px; }
.crow .cv i { font-size: .72rem; }

.btno {
    width: 100%; background: var(--igG);
    border: none; border-radius: 13px; padding: 12px;
    font-family: var(--fh); font-size: .94rem; font-weight: 800; color: #fff;
    cursor: pointer; transition: all .2s; box-shadow: 0 4px 16px rgba(131,58,180,.27);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btno:hover  { transform: translateY(-2px); box-shadow: 0 7px 24px rgba(131,58,180,.42); }
.btno:active { transform: scale(.98); }
.btno:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.order-note { text-align: center; font-size: .64rem; color: var(--muted); margin-top: 7px; font-weight: 700; }

/* ====================================================
   ORDER LIST
   ==================================================== */
.tabs { display: flex; background: var(--bg2); border-radius: 11px; padding: 4px; gap: 4px; margin-bottom: 13px; }
.tab {
    flex: 1; text-align: center; padding: 8px; border-radius: 8px;
    cursor: pointer; font-family: var(--fh); font-size: .78rem;
    font-weight: 700; color: var(--muted); transition: all .2s;
    display: flex; align-items: center; justify-content: center; gap: 5px;
}
.tab.active { background: var(--white); color: var(--text); box-shadow: 0 1px 5px rgba(0,0,0,.08); }
.tpanel { display: none; }
.tpanel.active { display: block; }

.oitem {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 0; border-bottom: 1px solid var(--bdr);
}
.oitem:last-child { border-bottom: none; }
.oicon {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    background: rgba(225,48,108,.1); border: 1.5px solid rgba(225,48,108,.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--ig2); font-size: .83rem; margin-top: 1px;
}
.oinfo { flex: 1; min-width: 0; }
.omain { font-family: var(--fh); font-weight: 700; font-size: .84rem; color: var(--text); }
.osub  { font-size: .67rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.ometa { font-size: .65rem; color: var(--text2); margin-top: 2px; font-weight: 600; }
.oright { text-align: right; flex-shrink: 0; }
.ocost  { font-size: .63rem; color: var(--muted); margin-top: 3px; }

/* Order status badges */
.badge {
    font-size: .62rem; font-weight: 700; padding: 3px 8px;
    border-radius: 50px; display: inline-flex; align-items: center; gap: 4px;
}
.b-pending  { background: rgba(232,150,10,.15);  color: var(--gold);   }
.b-active   { background: var(--blueL);           color: var(--blue);   }
.b-done     { background: var(--greenL);          color: var(--green);  }
.b-rejected { background: var(--redL);            color: var(--red);    }
.b-partial  { background: var(--purpleL);         color: var(--purple); }

.orders-loading { text-align: center; padding: 20px 0; color: var(--muted); font-size: .8rem; font-weight: 600; }
.empty { text-align: center; padding: 22px 0; color: var(--muted); font-size: .83rem; font-weight: 600; }
.empty i { font-size: 1.7rem; display: block; margin-bottom: 7px; opacity: .5; }

/* ====================================================
   HOW IT WORKS
   ==================================================== */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.how-step { background: var(--bg); border: 1.5px solid var(--bdr2); border-radius: 14px; padding: 12px 10px; text-align: center; }
.how-ico  { width: 40px; height: 40px; border-radius: 12px; background: var(--igG); display: flex; align-items: center; justify-content: center; font-size: .94rem; color: #fff; margin: 0 auto 7px; box-shadow: 0 4px 11px rgba(225,48,108,.2); }
.how-t { font-family: var(--fh); font-size: .79rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.how-s { font-size: .69rem; color: var(--text2); font-weight: 500; line-height: 1.4; }

/* ====================================================
   TASK MODAL
   ==================================================== */
.moverlay {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(28,28,46,.55); backdrop-filter: blur(5px);
    display: none; align-items: center; justify-content: center; padding: 16px;
}
.moverlay.open { display: flex; animation: fadein .2s; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.mcard {
    background: var(--white); border: 1px solid var(--bdr2);
    border-radius: 24px; padding: 24px 20px;
    width: 100%; max-width: 330px; text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,.18);
    position: relative; overflow: hidden;
}
.mcard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--igG); }
.mcard-ico {
    width: 52px; height: 52px; border-radius: 15px; background: var(--igG);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin: 5px auto 10px;
    box-shadow: 0 5px 16px rgba(225,48,108,.25);
}
.mttl { font-family: var(--fh); font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.msub { font-size: .79rem; color: var(--text2); margin-bottom: 14px; font-weight: 500; }
.msub strong { color: var(--ig2); }
.mq   { font-family: var(--fh); font-size: 2rem; font-weight: 800; color: var(--ig2); margin-bottom: 15px; }
.mopts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.mopt {
    background: var(--bg); border: 2px solid var(--bdr2);
    border-radius: 12px; padding: 12px;
    font-family: var(--fh); font-size: 1.1rem; font-weight: 800;
    color: var(--text); cursor: pointer; transition: all .18s;
}
.mopt:hover:not(:disabled) { border-color: var(--ig2); background: rgba(225,48,108,.06); }
.mopt.ok { border-color: var(--green); background: var(--greenL); color: var(--green); }
.mopt.no { border-color: var(--red);   background: var(--redL);   color: var(--red); }
.mhint { font-size: .72rem; color: var(--muted); font-weight: 600; }

/* ====================================================
   FOOTER
   ==================================================== */
footer { background: var(--white); border-top: 1px solid var(--bdr); padding: 26px 16px 22px; margin-top: 8px; }
.footer-inner { max-width: 500px; margin: 0 auto; }
.footer-logo { font-family: var(--fh); font-size: 1.3rem; font-weight: 800; margin-bottom: 5px; }
.footer-logo .g   { color: var(--text); }
.footer-logo .c   { background: var(--igG); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-logo .dot { color: var(--ig2); }
.fdesc { font-size: .79rem; color: var(--text2); max-width: 320px; line-height: 1.6; margin-bottom: 13px; font-weight: 500; }
.flinks { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.flinks a { font-size: .73rem; font-weight: 700; color: var(--text2); text-decoration: none; transition: color .2s; }
.flinks a:hover { color: var(--ig2); }
.fsocials { display: flex; gap: 8px; margin-bottom: 16px; }
.fsoc { width: 32px; height: 32px; border-radius: 9px; background: var(--igG); display: flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; text-decoration: none; transition: all .2s; }
.fsoc:hover { transform: scale(1.1); color: #fff; }
.fbottom { font-size: .67rem; color: var(--muted); font-weight: 600; border-top: 1px solid var(--bdr); padding-top: 12px; }
.fbadges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.fbadge { background: var(--bg2); border: 1px solid var(--bdr2); border-radius: 7px; padding: 2px 8px; font-size: .62rem; font-weight: 700; color: var(--text2); display: flex; align-items: center; gap: 4px; }

/* ====================================================
   TOAST & BURST
   ==================================================== */
#toasts { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; width: 90vw; max-width: 310px; }
.tmsg { background: var(--white); border: 2px solid var(--bdr2); border-radius: 12px; padding: 10px 14px; font-family: var(--fh); font-weight: 700; font-size: .83rem; display: flex; align-items: center; gap: 7px; box-shadow: 0 5px 20px rgba(0,0,0,.12); animation: toastin .3s ease; width: 100%; pointer-events: auto; color: var(--text); }
.tmsg.ok  { border-color: rgba(22,160,91,.4); }
.tmsg.err { border-color: rgba(217,48,37,.35); }
@keyframes toastin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.cburst { position: fixed; pointer-events: none; z-index: 9999; font-size: 1.3rem; animation: burst 1.1s ease forwards; }
@keyframes burst { 0% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-82px) scale(1.6); } }

/* ====================================================
   UTILS
   ==================================================== */
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
    .hero { padding: 24px 13px 16px; }
    .gc-card { padding: 15px; }
    .creward { font-size: 2rem; }
    .login-card { padding: 28px 20px 22px; }
}
