:root {
    --ink: #10233f;
    --muted: #64748b;
    --line: #e2e8f0;
    --surface: #ffffff;
    --bg: #f4f7fb;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f97316;
    --shadow: 0 20px 50px rgba(15, 35, 65, .10);
}

body.site-body {
    background: radial-gradient(circle at 10% 0%, #e9f3ff 0, transparent 34%), radial-gradient(circle at 95% 10%, #fff1e7 0, transparent 28%), var(--bg);
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    min-width: 320px;
}
.site-shell { min-height: 100vh; }
.site-header { background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(226,232,240,.95); box-shadow: 0 8px 24px rgba(15,35,65,.05); position: relative; z-index: 10; }
.site-header__inner { align-items: center; display: flex; gap: 28px; justify-content: space-between; margin: 0 auto; max-width: 1180px; min-height: 78px; padding: 0 24px; }
.brand { align-items: center; color: var(--ink) !important; display: inline-flex; flex: 0 0 auto; gap: 12px; text-decoration: none !important; }
.brand-mark { align-items: center; background: linear-gradient(135deg, var(--primary), #7c3aed); border-radius: 14px; box-shadow: 0 8px 18px rgba(37,99,235,.25); color: #fff; display: inline-flex; font-size: 22px; height: 42px; justify-content: center; width: 42px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 18px; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.site-nav { align-items: center; display: flex; gap: 5px; margin-left: auto; }
.site-nav a { border-radius: 10px; color: #42526b !important; font-size: 14px; font-weight: 600; padding: 9px 12px; text-decoration: none !important; transition: background .18s ease, color .18s ease; }
.site-nav a:hover, .site-nav a.active { background: #edf4ff; color: var(--primary) !important; }
.site-account { align-items: center; display: flex; gap: 9px; white-space: nowrap; }
.account-name { color: var(--muted); font-size: 13px; }
.account-name strong { color: var(--ink); }
.account-action, .button-primary, .button-secondary { border-radius: 11px; display: inline-block; font-size: 14px; font-weight: 700; padding: 10px 16px; text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.account-action { background: var(--primary); color: #fff !important; }
.account-action:hover, .button-primary:hover { background: var(--primary-dark); box-shadow: 0 10px 20px rgba(37,99,235,.22); color: #fff !important; transform: translateY(-1px); }
.account-action.secondary { background: #eef4ff; color: var(--primary) !important; }

.center { margin: 0 auto; max-width: 1180px; width: auto; }
.c_main { padding: 34px 24px 0; }
.mt10 { margin-top: 0; }
.footer { background: transparent; border: 0; margin-top: 70px; }
.footer_con { align-items: center; background: transparent; border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 13px; justify-content: space-between; line-height: 1.5; max-width: 1132px; padding: 22px 24px 30px; text-align: left; width: auto; }

/* Landing page */
.home-hero { align-items: center; background: linear-gradient(120deg, #102a52 0%, #1d4ed8 57%, #6d28d9 100%); border-radius: 26px; box-shadow: 0 24px 60px rgba(37,99,235,.22); color: #fff; display: flex; gap: 35px; justify-content: space-between; min-height: 410px; overflow: hidden; padding: 56px 64px; position: relative; }
.home-hero:after { background: rgba(255,255,255,.08); border-radius: 50%; content: ""; height: 480px; position: absolute; right: -170px; top: -210px; width: 480px; }
.hero-content { max-width: 610px; position: relative; z-index: 1; }
.eyebrow { color: #bfdbfe; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.home-hero h1 { color: #fff; font-size: clamp(38px, 6vw, 70px); font-weight: 800; letter-spacing: -.055em; line-height: 1; margin: 14px 0 18px; }
.home-hero p { color: #dbeafe; font-size: 18px; line-height: 1.7; margin: 0 0 26px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-primary { background: #fff; color: var(--primary) !important; }
.button-secondary { border: 1px solid rgba(255,255,255,.35); color: #fff !important; }
.button-secondary:hover { background: rgba(255,255,255,.12); color: #fff !important; transform: translateY(-1px); }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; }
.hero-metrics span { color: #bfdbfe; font-size: 12px; }
.hero-metrics strong { color: #fff; display: block; font-size: 20px; }
.hero-art { height: 260px; position: relative; width: 290px; z-index: 1; }
.hero-orb { align-items: center; background: linear-gradient(145deg, #fbbf24, #f97316); border: 14px solid rgba(255,255,255,.20); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.08), 0 25px 50px rgba(0,0,0,.25); display: flex; font-size: 74px; height: 180px; justify-content: center; left: 46px; position: absolute; top: 35px; transform: rotate(-8deg); width: 180px; }
.hero-spark { background: #fef3c7; border-radius: 50%; height: 8px; position: absolute; width: 8px; }
.hero-spark.one { right: 28px; top: 35px; }.hero-spark.two { left: 20px; top: 190px; }.hero-spark.three { bottom: 20px; right: 78px; }
.home-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(15,35,65,.06); padding: 24px; }
.feature-icon { align-items: center; background: #eff6ff; border-radius: 12px; color: var(--primary); display: flex; font-size: 22px; height: 42px; justify-content: center; margin-bottom: 15px; width: 42px; }
.feature-card h2 { color: var(--ink); font-size: 17px; font-weight: 800; margin: 0 0 8px; text-align: left; text-transform: none; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }
.home-gallery { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-top: 18px; }
.home-gallery img { border-radius: 18px; display: block; height: auto; max-width: 100%; width: 100%; }

/* Login and registration */
.modern-auth { background: transparent; border: 0; padding: 0; }
.auth-shell { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); margin: 10px auto 0; max-width: 980px; }
.auth-intro { background: linear-gradient(145deg, #102a52, #2563eb 68%, #7c3aed); border-radius: 24px; box-shadow: var(--shadow); color: #fff; min-height: 460px; overflow: hidden; padding: 42px; position: relative; }
.auth-intro:after { border: 1px solid rgba(255,255,255,.22); border-radius: 50%; content: ""; height: 320px; position: absolute; right: -160px; top: -120px; width: 320px; }
.auth-intro h1 { color: #fff; font-size: 40px; letter-spacing: -.05em; line-height: 1.05; margin: 18px 0 14px; position: relative; z-index: 1; }
.auth-intro p { color: #dbeafe; font-size: 15px; max-width: 340px; position: relative; z-index: 1; }
.auth-points { list-style: none; margin: 36px 0 0; padding: 0; position: relative; z-index: 1; }
.auth-points li { color: #e0ecff; font-size: 14px; margin: 13px 0; }
.auth-points li:before { color: #fbbf24; content: "✓"; font-weight: 900; margin-right: 9px; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 38px; }
.auth-card .tit { border: 0; margin: 0 0 25px; padding: 0; }
.auth-card .tit b { color: var(--ink); display: block; font-size: 28px; letter-spacing: -.04em; }
.auth-card .tit .auth-subtitle { color: var(--muted); display: block; font-size: 14px; font-weight: 400; margin-top: 6px; }
.modern-auth .reg_form { margin: 0; }.modern-auth .reg_form #reg_box { display: block; float: none; width: auto; }
.modern-auth .reg_form dd { margin-bottom: 17px; }.modern-auth .reg_form .lab { color: #334155; display: block; float: none; font-size: 13px; font-weight: 700; height: auto; line-height: 1.3; margin: 0 0 7px; width: auto; }
.modern-auth .reg_form .at_text { display: block; float: none; height: auto; overflow: visible; position: relative; width: auto; }
.modern-auth .reg_form .at_text input { background: #f8fafc; border: 1px solid #d9e2ef; border-radius: 10px; box-sizing: border-box; color: var(--ink); font-size: 15px; height: 46px; padding: 10px 13px; transition: background .18s ease, border .18s ease, box-shadow .18s ease; width: 100%; }
.modern-auth .reg_form .at_text input:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.modern-auth .reg_form .at_text em { background: transparent; display: block; font-size: 12px; height: auto; margin: 4px 0 0; min-height: 0; overflow: visible; padding: 0; position: static; width: auto; }
.modern-auth .reg_form .at_text em:empty { display: none; }.modern-auth .reg_form .at_text em.on { color: var(--primary); }.modern-auth .reg_form .at_text em.orr { color: #dc2626; }.modern-auth .reg_form .at_text em.g { color: #15803d; }.modern-auth .reg_form .at_text em u { display: none; }
.modern-auth #s_code { display: inline-block; vertical-align: top; width: 108px; }.modern-auth #s_code + img { border: 1px solid #d9e2ef; border-radius: 8px; cursor: pointer; height: 44px; margin-left: 8px; vertical-align: top; width: 112px; }
.modern-auth .auth-submit { background: linear-gradient(135deg, var(--primary), #4f46e5); border: 0; border-radius: 10px; box-shadow: 0 10px 20px rgba(37,99,235,.20); color: #fff; cursor: pointer; font-size: 15px; font-weight: 800; height: 46px; padding: 0 24px; width: 100%; }
.modern-auth .auth-submit:hover { background: linear-gradient(135deg, var(--primary-dark), #4338ca); transform: translateY(-1px); }
.modern-auth .have_count { border: 0; border-top: 1px solid var(--line); float: none; margin: 24px 0 0; min-height: 0; padding: 22px 0 0; width: auto; }.modern-auth .have_count h3 { color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 8px; }.modern-auth .auth-link { color: var(--primary); font-size: 14px; font-weight: 800; }

/* Account pages and older content cards */
.center_left { width: 210px; }.center_right { min-width: 0; width: calc(100% - 230px); }
.mybox, .basicInfo, .def_main { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(15,35,65,.06); }
.mybox .mytit { background: linear-gradient(90deg, #f8fbff, #fff); border: 0; border-bottom: 1px solid var(--line); border-radius: 18px 18px 0 0; color: var(--ink); font-size: 16px; height: auto; line-height: 1.3; padding: 18px 22px; }.mybox .con, .mybox .myinfo_con { color: #475569; padding: 22px; }
.portal-table { border-collapse: collapse; color: #475569; font-size: 14px; width: 100%; }.portal-table th { background: #f8fafc; color: var(--ink); font-size: 12px; letter-spacing: .04em; padding: 12px; text-align: left; text-transform: uppercase; }.portal-table td { border-top: 1px solid var(--line); padding: 13px 12px; }.portal-table tbody tr:hover { background: #f8fbff; }
.portal-shop .def_main { padding: 24px; }.portal-shop .def_main_dh { background: #eff6ff; border: 1px solid #dbeafe; border-radius: 12px; color: var(--primary); font-size: 14px; height: auto; line-height: 1.5; padding: 13px 16px; text-align: left; width: auto; }.portal-shop .def_main_dh a { color: var(--muted); font-weight: 500; margin-left: 6px; }.portal-shop .category_btn { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }.portal-shop .category_btn .bt_but { margin: 0; }.portal-shop .items { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }.portal-shop .items .item { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 24px rgba(15,35,65,.06); box-sizing: border-box; float: none; height: auto; margin: 0; min-height: 280px; padding: 16px; transition: box-shadow .18s ease, transform .18s ease; width: auto; }.portal-shop .items .item:hover { border-color: #bfdbfe; box-shadow: 0 15px 28px rgba(37,99,235,.12); transform: translateY(-2px); }.portal-shop .items .item a.imga { min-height: 92px; }.portal-shop .items .item a.imga img { border-radius: 12px; margin: 5px auto 16px; max-height: 92px; object-fit: contain; }.portal-shop b.mark { color: var(--muted); display: block; font-size: 13px; margin: 6px 0; }.portal-shop b.mark span.m_con { color: var(--ink); }.portal-shop b.mark span.m_pri { color: var(--accent); }.portal-shop div.act_btn { border-top: 1px solid var(--line); height: auto; line-height: 1.4; margin-top: 15px; padding-top: 12px; text-align: left; }.portal-shop .act_btn select, .portal-shop .act_btn input[type=text] { border: 1px solid #dbe4ef; border-radius: 7px; padding: 5px; }.portal-shop .act_btn input[type=submit] { background: var(--primary); border: 0; border-radius: 8px; color: #fff; cursor: pointer; font-weight: 700; margin-top: 9px; padding: 8px 11px; }.portal-shop .act_btn input[type=submit]:hover { background: var(--primary-dark); }
.basicInfo { height: auto; min-height: 177px; padding: 0; }.basicInfo_content { color: #475569; float: left; padding: 26px; width: calc(100% - 305px); }.basicInfo_content p { height: auto; line-height: 1.7; margin: 0 0 10px; }.basicInfo_currency { border-left: 1px solid var(--line); float: right; height: auto; margin: 22px 22px 22px 0; padding-left: 22px; width: 235px; }.basicInfo_currency ul { border: 0; margin: 0; }.basicInfo_currency ul li { border: 0; border-bottom: 1px solid var(--line); font-weight: 700; height: auto; line-height: 1.5; padding: 12px 0; }
.basicInfor-content-shadow { display: none; }.orange { color: var(--accent); }.bt_but { background: #f1f5f9; border: 1px solid #dbe4ef; border-radius: 8px; color: #475569 !important; height: auto; line-height: 1.2; padding: 9px 12px; }.bt_but u { display: none; }.bt_but:hover { background: #e8f0ff; border-color: #bfd5ff; color: var(--primary) !important; }
ul.container { width: auto; }.dropdown li { background: var(--surface); border-color: var(--line); color: #475569; padding: 10px 16px; }.dropdown li a { color: #475569; }.dropdown li a:hover { color: var(--primary); }

@media (max-width: 860px) {
    .site-header__inner { align-items: flex-start; flex-wrap: wrap; gap: 10px 18px; padding-bottom: 15px; padding-top: 15px; }.site-nav { flex: 1 1 100%; margin-left: 0; order: 3; overflow-x: auto; }.site-account { margin-left: auto; }
    .home-hero { padding: 42px 32px; }.hero-art { display: none; }.auth-shell { grid-template-columns: 1fr; }.auth-intro { min-height: 0; }.auth-points { margin-top: 22px; }.home-grid { grid-template-columns: 1fr; }
    .center_left { float: none; width: auto; }.center_right { float: none; margin: 18px 0 0; width: auto; } ul.container { display: flex; gap: 8px; overflow-x: auto; } li.menu { min-width: 190px; }
}
@media (max-width: 560px) {
    .site-header__inner, .c_main { padding-left: 16px; padding-right: 16px; }.brand-copy strong { font-size: 16px; }.account-name { display: none; }.home-hero { border-radius: 18px; padding: 34px 24px; }.home-hero h1 { font-size: 44px; }.home-gallery { grid-template-columns: 1fr; }.auth-card, .auth-intro { border-radius: 18px; padding: 26px 22px; }.auth-intro h1 { font-size: 33px; }.footer_con { align-items: flex-start; flex-direction: column; gap: 7px; padding-left: 16px; padding-right: 16px; }
}
