:root {
    --bg: #070a12;
    --bg-soft: #0c101b;
    --surface: #111725;
    --surface-2: #151d2d;
    --surface-3: #1a2436;
    --text: #f5f7fb;
    --muted: #8f9aaf;
    --line: rgba(255, 255, 255, 0.08);
    --primary: #7c5cff;
    --primary-2: #9b7cff;
    --primary-soft: rgba(124, 92, 255, 0.14);
    --green: #2ed3a3;
    --green-soft: rgba(46, 211, 163, 0.12);
    --red: #ff667a;
    --red-soft: rgba(255, 102, 122, 0.12);
    --yellow: #f6c85f;
    --blue: #4c9dff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    --radius: 22px;
    --container: 1220px;
}

body.light-mode {
    --bg: #f4f6fb;
    --bg-soft: #eef1f7;
    --surface: #ffffff;
    --surface-2: #f7f8fc;
    --surface-3: #edf1f7;
    --text: #141925;
    --muted: #6d7585;
    --line: rgba(20, 25, 37, 0.09);
    --shadow: 0 20px 60px rgba(35, 45, 70, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 10% 0%, rgba(124, 92, 255, 0.09), transparent 28%),
        radial-gradient(circle at 100% 18%, rgba(46, 211, 163, 0.05), transparent 24%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    transition: background-color .25s ease, color .25s ease;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.card {
    background: linear-gradient(145deg, rgba(255,255,255,.018), rgba(255,255,255,0)), var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.positive { color: var(--green) !important; }
.negative { color: var(--red) !important; }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    padding: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--primary-2), var(--primary));
    box-shadow: 0 8px 22px rgba(124, 92, 255, .28);
}

.brand-mark span {
    display: block;
    width: 4px;
    border-radius: 5px;
    background: #fff;
}

.brand-mark span:nth-child(1) { height: 9px; opacity: .72; }
.brand-mark span:nth-child(2) { height: 19px; }
.brand-mark span:nth-child(3) { height: 14px; opacity: .86; }

.brand-copy {
    display: grid;
    line-height: 1.05;
}

.brand-copy strong {
    font-size: 16px;
    letter-spacing: .08em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.desktop-nav a {
    position: relative;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    transition: color .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--text);
}

.desktop-nav a.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -27px;
    left: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.button,
.icon-button,
.menu-button {
    border: 0;
    cursor: pointer;
}

.button {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #6950e8);
    box-shadow: 0 12px 28px rgba(124, 92, 255, .22);
}

.button-primary:hover { box-shadow: 0 15px 32px rgba(124, 92, 255, .32); }

.button-ghost {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
}

.button-soft {
    color: var(--text);
    background: var(--surface-2);
    border: 1px solid var(--line);
}

.button-large {
    min-height: 50px;
    padding: 0 23px;
    border-radius: 13px;
    font-size: 14px;
}

.icon-button,
.menu-button {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--muted);
    background: var(--surface-2);
    border: 1px solid var(--line);
}

.icon-button svg { font-size: 20px; }

.menu-button {
    display: none;
    padding: 10px;
}

.menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px auto;
    border-radius: 3px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--line);
}

.mobile-menu.open { display: block; }

.mobile-menu-inner {
    padding: 15px 0 22px;
    display: grid;
    gap: 4px;
}

.mobile-menu a {
    padding: 11px 4px;
    color: var(--muted);
    font-weight: 650;
}

.mobile-menu-actions {
    padding-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ticker-bar {
    overflow: hidden;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}

.ticker-track {
    width: max-content;
    padding: 11px 0;
    display: flex;
    align-items: center;
    animation: tickerMove 36s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
    padding: 0 27px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid var(--line);
    font-size: 12px;
    white-space: nowrap;
}

.ticker-item span { color: var(--muted); font-weight: 700; }
.ticker-item strong { font-size: 12px; }
.ticker-item em { font-style: normal; font-weight: 700; }

@keyframes tickerMove {
    from { transform: translateX(0); }
    to { transform: translateX(-45%); }
}

.hero-section {
    position: relative;
    padding: 92px 0 64px;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -200px;
    left: 50%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(124, 92, 255, .13), transparent 67%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 62px;
}

.eyebrow,
.section-kicker {
    color: var(--primary-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(124, 92, 255, .22);
    border-radius: 999px;
    background: var(--primary-soft);
    letter-spacing: .04em;
    text-transform: none;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(46, 211, 163, .1);
}

.hero-copy h1 {
    margin: 25px 0 20px;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.03;
    letter-spacing: -.055em;
}

.hero-copy h1 span {
    color: transparent;
    background: linear-gradient(90deg, #a88eff, #7c5cff 45%, #54d7b3);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-copy > p {
    max-width: 585px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    margin-top: 42px;
    display: flex;
    align-items: center;
    gap: 0;
}

.hero-trust div {
    padding: 0 24px;
    display: grid;
    border-right: 1px solid var(--line);
}

.hero-trust div:first-child { padding-left: 0; }
.hero-trust div:last-child { border-right: 0; }
.hero-trust strong { font-size: 20px; }
.hero-trust span { margin-top: 2px; color: var(--muted); font-size: 11px; }

.hero-dashboard {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.hero-dashboard::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(124, 92, 255, .07);
    filter: blur(5px);
    pointer-events: none;
}

.chart-toolbar,
.chart-toolbar > div:first-child,
.price-heading,
.signal-card-top,
.asset-title,
.signal-card-footer,
.section-heading,
.market-tabs,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chart-toolbar > div:first-child,
.asset-title {
    justify-content: flex-start;
    gap: 11px;
}

.chart-toolbar strong,
.asset-title strong { display: block; font-size: 14px; }
.chart-toolbar small,
.asset-title small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }

.asset-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
    font-weight: 850;
}

.bitcoin { background: linear-gradient(145deg, #f7b644, #e98c19); }
.ethereum { background: linear-gradient(145deg, #8d91ff, #575bd7); }
.solana { background: linear-gradient(145deg, #66e3ba, #7658e8); }
.bnb { background: linear-gradient(145deg, #f4d35e, #ddaa26); }
.xrp { background: linear-gradient(145deg, #58687f, #243042); }
.avax { background: linear-gradient(145deg, #ff7373, #d93e4b); }
.doge { background: linear-gradient(145deg, #d6bd63, #a98c2a); }
.link { background: linear-gradient(145deg, #4c88ff, #254bb7); }

.timeframe-group {
    padding: 4px;
    display: flex;
    gap: 2px;
    border-radius: 9px;
    background: var(--surface-2);
}

.timeframe-group button {
    width: 37px;
    height: 28px;
    border: 0;
    border-radius: 7px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
}

.timeframe-group button.active {
    color: #fff;
    background: var(--primary);
}

.price-heading { margin: 25px 0 15px; }
.price-heading > div:first-child { display: grid; }
.price-heading strong { font-size: 26px; letter-spacing: -.02em; }
.price-heading span { margin-top: 4px; font-size: 11px; font-weight: 750; }

.market-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 10px;
}

.market-status span {
    width: 6px;
    height: 6px;
    margin: 0;
    border-radius: 50%;
    background: var(--green);
}

.main-chart-wrap {
    position: relative;
    height: 255px;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 100% 51px, 94px 100%;
}

#heroChart {
    width: 100%;
    height: 100%;
    display: block;
}

.chart-level {
    position: absolute;
    right: 8px;
    padding: 3px 7px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 750;
}

.chart-level.resistance {
    top: 23%;
    color: var(--red);
    background: var(--red-soft);
}

.chart-level.support {
    bottom: 25%;
    color: var(--green);
    background: var(--green-soft);
}

.signal-summary {
    position: relative;
    z-index: 1;
    padding-top: 19px;
    display: grid;
    grid-template-columns: 1.15fr 1.5fr 1fr 1fr;
    gap: 10px;
}

.signal-summary > div:not(.signal-badge) {
    padding-left: 13px;
    display: grid;
    align-content: center;
    border-left: 1px solid var(--line);
}

.signal-summary span,
.signal-levels span {
    color: var(--muted);
    font-size: 9px;
}

.signal-summary strong,
.signal-levels strong {
    margin-top: 3px;
    font-size: 11px;
}

.signal-badge {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 11px;
}

.signal-badge.buy { background: var(--green-soft); }
.signal-badge.buy span { color: var(--green); }
.signal-badge.buy strong { color: var(--green); font-size: 18px; }

.stats-section { padding: 20px 0 84px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-card {
    padding: 19px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: none;
}

.stat-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 12px;
    font-size: 21px;
}

.stat-icon.purple { color: #a78bfa; background: rgba(167,139,250,.12); }
.stat-icon.orange { color: #f7b955; background: rgba(247,185,85,.12); }
.stat-icon.blue { color: #65a7ff; background: rgba(101,167,255,.12); }
.stat-icon.green { color: var(--green); background: var(--green-soft); }

.stat-card > div:last-child { display: grid; }
.stat-card span { color: var(--muted); font-size: 10px; }
.stat-card strong { margin: 2px 0 1px; font-size: 20px; letter-spacing: -.02em; }
.stat-card small { font-size: 9px; font-weight: 700; }

.content-section,
.news-section,
.how-section { padding: 90px 0; }

.content-section { background: color-mix(in srgb, var(--bg-soft) 70%, transparent); }

.section-heading {
    margin-bottom: 31px;
    gap: 25px;
}

.section-heading h2,
.how-copy h2,
.cta-card h2 {
    margin: 8px 0 7px;
    font-size: clamp(29px, 4vw, 42px);
    line-height: 1.14;
    letter-spacing: -.04em;
}

.section-heading p,
.how-copy p,
.cta-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    flex-shrink: 0;
    color: var(--primary-2);
    font-size: 12px;
    font-weight: 750;
}

.text-link span { margin-left: 5px; font-size: 18px; }

.market-card {
    padding: 20px;
    overflow: hidden;
    box-shadow: none;
}

.market-tabs {
    padding-bottom: 18px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
}

.tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
}

.tabs button {
    padding: 8px 13px;
    border: 0;
    border-radius: 9px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.tabs button.active {
    color: var(--text);
    background: var(--surface-3);
}

.market-search {
    width: 210px;
    height: 38px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
}

.market-search svg { color: var(--muted); font-size: 15px; }
.market-search input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 11px; }
.market-search input::placeholder { color: var(--muted); }

.table-scroll { overflow-x: auto; }

.market-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
}

.market-table th,
.market-table td {
    padding: 16px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.market-table th {
    color: var(--muted);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.market-table td { font-size: 11px; }
.market-table tbody tr:last-child td { border-bottom: 0; }
.market-table tbody tr { transition: background-color .2s ease; }
.market-table tbody tr:hover { background: rgba(255,255,255,.018); }

.rank-cell { color: var(--muted); }
.coin-cell { display: flex; align-items: center; gap: 11px; }
.coin-cell .asset-icon { width: 31px; height: 31px; font-size: 14px; }
.coin-name { display: grid; }
.coin-name strong { font-size: 12px; }
.coin-name span { color: var(--muted); font-size: 9px; }
.price-cell strong { display: block; }
.price-cell span { color: var(--muted); font-size: 9px; }
.change-cell { font-weight: 750; }

.sparkline {
    width: 88px;
    height: 28px;
}

.signal-chip {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 850;
}

.signal-chip.buy { color: var(--green); background: var(--green-soft); }
.signal-chip.sell { color: var(--red); background: var(--red-soft); }
.signal-chip.watch { color: var(--yellow); background: rgba(246,200,95,.12); }

.favorite-button,
.detail-button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.favorite-button { color: var(--muted); font-size: 17px; }
.favorite-button.active { color: var(--yellow); }
.detail-button { color: var(--primary-2); font-size: 11px; font-weight: 750; }

.signals-section {
    padding: 95px 0;
    background:
        radial-gradient(circle at 80% 5%, rgba(124,92,255,.13), transparent 28%),
        #090d17;
}

body.light-mode .signals-section { background: #111827; }

.light-heading h2,
.light-heading p { color: #fff; }
.light-heading p { color: #909bb0; }

.signal-legend {
    display: flex;
    gap: 18px;
    color: #aab2c1;
    font-size: 10px;
}

.signal-legend span { display: flex; align-items: center; gap: 6px; }
.signal-legend i { width: 7px; height: 7px; border-radius: 50%; }
.buy-dot { background: var(--green); }
.sell-dot { background: var(--red); }
.wait-dot { background: var(--yellow); }

.signals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.signal-card {
    padding: 21px;
    box-shadow: none;
}

.status-pill {
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .05em;
}

.status-pill.buy { color: var(--green); background: var(--green-soft); }
.status-pill.sell { color: var(--red); background: var(--red-soft); }
.status-pill.watch { color: var(--yellow); background: rgba(246,200,95,.12); }

.signal-card-price {
    margin: 25px 0 17px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.signal-card-price strong { font-size: 27px; letter-spacing: -.03em; }
.signal-card-price span { font-size: 11px; font-weight: 750; }

.signal-reason {
    padding: 15px;
    border-radius: 13px;
    background: var(--surface-2);
}

.signal-reason > span { color: var(--muted); font-size: 9px; }
.signal-reason ul { padding: 0; margin: 10px 0 0; list-style: none; }
.signal-reason li { position: relative; padding-left: 15px; margin-top: 7px; font-size: 10px; }
.signal-reason li::before { content: ""; position: absolute; top: 6px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

.signal-levels {
    margin: 17px 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 6px;
}

.signal-levels > div { display: grid; }

.signal-card-footer {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.signal-card-footer span { color: var(--muted); font-size: 9px; }
.signal-card-footer button { border: 0; color: var(--primary-2); background: transparent; cursor: pointer; font-size: 10px; font-weight: 750; }

.how-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 80px;
}

.how-copy p { max-width: 500px; line-height: 1.7; }
.how-copy .button { margin-top: 26px; }

.steps-list { display: grid; gap: 13px; }

.step-card {
    padding: 21px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: none;
}

.step-card > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    color: var(--primary-2);
    background: var(--primary-soft);
    font-size: 12px;
    font-weight: 850;
}

.step-card strong { display: block; margin-bottom: 4px; font-size: 14px; }
.step-card p { margin: 0; color: var(--muted); font-size: 11px; }

.news-section { background: color-mix(in srgb, var(--bg-soft) 70%, transparent); }

.news-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
}

.featured-news { overflow: hidden; box-shadow: none; }

.news-visual {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #19152b, #10283a 55%, #121929);
}

.news-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, #000, transparent);
}

.news-category {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-size: 8px;
    font-weight: 850;
}

.visual-coins {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    transform: translate(-50%, -50%);
}

.visual-coins span {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    margin-left: -10px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.23);
    font-size: 31px;
    font-weight: 800;
}

.visual-coins span:first-child { margin-left: 0; transform: translateY(12px); }
.visual-coins span:nth-child(2) { z-index: 2; width: 95px; height: 95px; background: rgba(124,92,255,.25); }
.visual-coins span:last-child { transform: translateY(-10px); }

.news-visual svg {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    opacity: .45;
    stroke: var(--green);
    stroke-width: 4;
    fill: none;
}

.featured-news-copy { padding: 23px; }
.news-meta { display: flex; gap: 13px; color: var(--muted); font-size: 9px; }
.featured-news-copy h3 { max-width: 650px; margin: 10px 0 8px; font-size: 21px; line-height: 1.35; }
.featured-news-copy p { margin: 0 0 15px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.featured-news-copy a,
.news-item a { color: var(--primary-2); font-size: 10px; font-weight: 750; }

.news-list { display: grid; gap: 12px; }
.news-item { padding: 13px; display: grid; grid-template-columns: 125px 1fr; align-items: stretch; gap: 16px; box-shadow: none; }
.news-item h3 { margin: 7px 0 10px; font-size: 13px; line-height: 1.42; }

.news-thumb {
    min-height: 105px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    border-radius: 13px;
    background-position: center;
    background-size: cover;
}

.news-thumb span { padding: 5px 7px; border-radius: 999px; color: #fff; background: rgba(7,10,18,.5); font-size: 7px; font-weight: 850; backdrop-filter: blur(7px); }
.news-thumb.regulation { background: radial-gradient(circle at 70% 25%, rgba(255,255,255,.22), transparent 20%), linear-gradient(135deg, #513b91, #161a2d); }
.news-thumb.technology { background: radial-gradient(circle at 30% 60%, rgba(46,211,163,.35), transparent 24%), linear-gradient(135deg, #0c4f55, #14162b); }
.news-thumb.analysis { background: linear-gradient(135deg, rgba(255,102,122,.35), transparent), linear-gradient(120deg, #2c1630, #15263b); }

.cta-section { padding: 45px 0 95px; }

.cta-card {
    position: relative;
    padding: 42px 45px;
    display: grid;
    grid-template-columns: 1fr .85fr;
    align-items: center;
    gap: 45px;
    overflow: hidden;
    border: 1px solid rgba(124,92,255,.25);
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(46,211,163,.12), transparent 30%),
        radial-gradient(circle at 0% 100%, rgba(124,92,255,.28), transparent 38%),
        #131427;
    box-shadow: var(--shadow);
}

.cta-card h2 { color: #fff; }
.cta-card p { color: #a9b0c0; }

.cta-form {
    padding: 6px;
    display: flex;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    background: rgba(255,255,255,.07);
}

.cta-form input {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 12px;
}

.cta-form input::placeholder { color: #929bad; }
.form-message { position: absolute; right: 46px; bottom: 14px; color: var(--green); font-size: 10px; }

.site-footer {
    padding: 60px 0 25px;
    background: #060911;
    border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand p {
    max-width: 320px;
    margin: 19px 0 0;
    color: #7f899c;
    font-size: 11px;
    line-height: 1.7;
}

.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 11px; }
.footer-grid > div:not(.footer-brand) strong { margin-bottom: 5px; color: #fff; font-size: 12px; }
.footer-grid > div:not(.footer-brand) a { color: #7f899c; font-size: 10px; }
.footer-grid > div:not(.footer-brand) a:hover { color: #fff; }

.footer-bottom {
    margin-top: 42px;
    padding-top: 22px;
    gap: 25px;
    border-top: 1px solid rgba(255,255,255,.06);
    color: #667084;
    font-size: 9px;
}

.footer-bottom p { margin: 0; text-align: right; }

@media (max-width: 1080px) {
    .desktop-nav { gap: 18px; }
    .hero-grid { grid-template-columns: 1fr; gap: 45px; }
    .hero-copy { max-width: 760px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .signals-grid { grid-template-columns: 1fr 1fr; }
    .signals-grid .signal-card:last-child { grid-column: 1 / -1; }
    .how-grid { gap: 45px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-list { grid-template-columns: repeat(3, 1fr); }
    .news-item { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .desktop-nav,
    .desktop-only { display: none; }
    .menu-button { display: grid; }
    .header-inner { min-height: 68px; }
    .hero-section { padding-top: 70px; }
    .hero-copy h1 { font-size: 52px; }
    .how-grid { grid-template-columns: 1fr; }
    .cta-card { grid-template-columns: 1fr; gap: 25px; }
    .form-message { position: static; grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
}

@media (max-width: 720px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .hero-section { padding: 56px 0 45px; }
    .hero-copy h1 { margin-top: 20px; font-size: clamp(39px, 12vw, 52px); }
    .hero-copy > p { font-size: 15px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-trust { justify-content: space-between; }
    .hero-trust div { padding: 0 15px; }
    .hero-dashboard { padding: 16px; border-radius: 17px; }
    .timeframe-group button { width: 32px; }
    .price-heading strong { font-size: 22px; }
    .main-chart-wrap { height: 220px; }
    .signal-summary { grid-template-columns: 1fr 1fr; }
    .signal-summary > div:nth-child(3) { border-left: 0; }
    .stats-section { padding-bottom: 55px; }
    .stats-grid { grid-template-columns: 1fr; }
    .content-section,
    .news-section,
    .how-section,
    .signals-section { padding: 65px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .market-tabs { align-items: stretch; flex-direction: column; }
    .market-search { width: 100%; }
    .signals-grid { grid-template-columns: 1fr; }
    .signals-grid .signal-card:last-child { grid-column: auto; }
    .signal-legend { display: none; }
    .news-list { grid-template-columns: 1fr; }
    .news-item { grid-template-columns: 115px 1fr; }
    .cta-section { padding-bottom: 70px; }
    .cta-card { padding: 30px 22px; }
    .cta-form { display: grid; }
    .cta-form input { min-height: 45px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .footer-bottom p { text-align: left; }
}

@media (max-width: 480px) {
    .brand-copy small { display: none; }
    .header-actions { gap: 6px; }
    .icon-button, .menu-button { width: 38px; height: 38px; }
    .hero-copy h1 br { display: none; }
    .hero-copy h1 br + span::before { content: " "; }
    .hero-trust { gap: 0; }
    .hero-trust div { padding: 0 10px; }
    .hero-trust strong { font-size: 17px; }
    .hero-trust span { font-size: 9px; }
    .chart-toolbar { align-items: flex-start; gap: 10px; }
    .timeframe-group { margin-left: auto; }
    .market-status { display: none; }
    .signal-levels { grid-template-columns: 1fr 1fr; row-gap: 12px; }
    .signal-levels > div:first-child { grid-column: 1 / -1; }
    .news-item { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
}

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

/* Çok sayfalı yapıdaki bağlantılar için buton görünümünü korur. */
.signal-card-footer a {
    color: var(--primary-2);
    font-size: 10px;
    font-weight: 750;
}

.detail-button {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}


/* =========================================================
   SRCBOT — İÇ SAYFALAR
   Piyasalar / Al-Sat Alarmları / Haberler / Hesap
   ========================================================= */

.markets-page-main,
.alarms-page-main,
.news-page-main,
.account-main {
    min-height: 70vh;
}

/* -------------------------
   Ortak iç sayfa hero
------------------------- */
.page-hero {
    position: relative;
    padding: 68px 0 48px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 15% 0%, rgba(124, 92, 255, .13), transparent 34%),
        radial-gradient(circle at 90% 30%, rgba(46, 211, 163, .055), transparent 28%);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 52px;
}

.page-heading {
    min-width: 0;
}

.page-breadcrumb {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 650;
}

.page-breadcrumb a:hover {
    color: var(--text);
}

.page-breadcrumb strong {
    color: var(--text);
    font-weight: 700;
}

.page-heading h1 {
    max-width: 790px;
    margin: 20px 0 15px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.page-heading h1 span {
    color: var(--primary-2);
}

.page-heading > p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.compact-section-heading {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.compact-section-heading h2 {
    margin: 6px 0 5px;
    font-size: 27px;
    line-height: 1.18;
    letter-spacing: -.03em;
}

.compact-section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.prototype-note {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 9px;
}

/* -------------------------
   Piyasalar
------------------------- */
.market-session {
    padding: 22px;
    box-shadow: none;
}

.session-top,
.session-bottom,
.highlight-label,
.highlight-asset,
.highlight-values,
.insight-heading,
.dominance-list > div:not(.dominance-bar) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.session-top {
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.session-top > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    font-size: 9px;
    font-weight: 760;
}

.session-top > span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(46, 211, 163, .09);
}

.session-top small,
.session-bottom {
    color: var(--muted);
    font-size: 8px;
}

.session-price {
    padding: 23px 0 18px;
    display: grid;
}

.session-price > span {
    color: var(--muted);
    font-size: 9px;
}

.session-price strong {
    margin: 4px 0 2px;
    font-size: 28px;
    letter-spacing: -.035em;
}

.session-price em {
    font-size: 9px;
    font-style: normal;
    font-weight: 750;
}

.session-scale {
    height: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-3);
}

.session-scale span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--green));
}

.market-overview-section,
.alarm-stats-section,
.news-overview-section {
    padding: 30px 0;
}

.market-overview-grid,
.alarm-stats-grid,
.news-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.overview-card {
    min-width: 0;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    box-shadow: none;
}

.overview-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 12px;
    font-size: 18px;
}

.overview-icon svg {
    width: 20px;
    height: 20px;
}

.overview-icon.purple { color: #a78bfa; background: rgba(167,139,250,.12); }
.overview-icon.blue { color: #65a7ff; background: rgba(101,167,255,.12); }
.overview-icon.orange { color: #f7b955; background: rgba(247,185,85,.12); }
.overview-icon.green { color: var(--green); background: var(--green-soft); }

.overview-card > div:last-child {
    min-width: 0;
    display: grid;
}

.overview-card > div:last-child > span {
    color: var(--muted);
    font-size: 9px;
}

.overview-card > div:last-child > strong {
    margin: 2px 0;
    font-size: 19px;
    letter-spacing: -.02em;
}

.overview-card > div:last-child > small {
    color: var(--muted);
    font-size: 8px;
}

.market-highlights-section,
.full-market-section,
.market-insights-section,
.active-alarms-section,
.alarm-performance-section,
.featured-news-section,
.news-feed-section,
.market-agenda-section,
.news-newsletter-section {
    padding: 54px 0;
}

.market-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.market-highlight-card {
    padding: 19px;
    box-shadow: none;
}

.highlight-label {
    justify-content: flex-start;
    gap: 7px;
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 720;
}

.highlight-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.purple-dot {
    background: var(--primary);
}

.highlight-asset {
    gap: 11px;
}

.highlight-asset > div {
    min-width: 0;
    display: grid;
    margin-right: auto;
}

.highlight-asset > div strong {
    font-size: 12px;
}

.highlight-asset > div small {
    color: var(--muted);
    font-size: 8px;
}

.highlight-asset > em {
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.watch-text {
    color: var(--yellow);
}

.highlight-values {
    margin-top: 15px;
    padding-top: 13px;
    gap: 15px;
    border-top: 1px solid var(--line);
}

.highlight-values span {
    color: var(--muted);
    font-size: 8px;
}

.highlight-values strong {
    margin-left: 4px;
    color: var(--text);
}

.full-market-section {
    background: color-mix(in srgb, var(--bg-soft) 56%, transparent);
}

.market-list-heading {
    align-items: center;
}

.full-market-card {
    padding: 0;
}

.full-market-toolbar {
    padding: 16px 18px;
    align-items: center;
}

.market-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.refresh-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted);
    background: var(--surface-2);
    cursor: pointer;
}

.refresh-button svg {
    width: 16px;
    height: 16px;
}

.refresh-button.is-refreshing svg {
    animation: srcbotSpin .65s linear;
}

@keyframes srcbotSpin {
    to { transform: rotate(360deg); }
}

.full-market-table th:first-child,
.full-market-table td:first-child {
    padding-left: 18px;
}

.full-market-table th:last-child,
.full-market-table td:last-child {
    padding-right: 18px;
}

.full-market-table th button {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.full-market-table th button span {
    margin-left: 3px;
    opacity: .5;
}

.market-table-footer {
    min-height: 58px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
}

.market-table-footer > span {
    color: var(--muted);
    font-size: 9px;
}

.market-pagination {
    display: flex;
    gap: 5px;
}

.market-pagination button {
    min-width: 31px;
    height: 31px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: var(--surface-2);
    cursor: pointer;
    font-size: 9px;
    font-weight: 750;
}

.market-pagination button.active {
    color: #fff;
    border-color: transparent;
    background: var(--primary);
}

.market-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.market-insight-card {
    padding: 20px;
    box-shadow: none;
}

.insight-heading {
    align-items: flex-start;
    margin-bottom: 18px;
}

.insight-heading h3 {
    margin: 5px 0 0;
    font-size: 15px;
}

.insight-heading > strong {
    font-size: 29px;
    letter-spacing: -.035em;
}

.sentiment-meter {
    position: relative;
    height: 7px;
    margin: 18px 0 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red), var(--yellow), var(--green));
}

.sentiment-meter > i {
    position: absolute;
    top: 50%;
    width: 13px;
    height: 13px;
    border: 3px solid var(--surface);
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.sentiment-labels {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 7px;
}

.market-insight-card > p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
}

.signal-distribution {
    display: grid;
    grid-template-columns: 105px 1fr;
    align-items: center;
    gap: 20px;
}

.distribution-ring {
    width: 96px;
    height: 96px;
    padding: 10px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--green) 0 35%, var(--yellow) 35% 75%, var(--red) 75% 100%);
}

.distribution-ring > div {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background: var(--surface);
}

.distribution-ring strong {
    font-size: 20px;
}

.distribution-ring span {
    color: var(--muted);
    font-size: 7px;
}

.distribution-list {
    display: grid;
    gap: 9px;
}

.distribution-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    font-size: 8px;
}

.distribution-list span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
}

.distribution-list i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dominance-list {
    display: grid;
    gap: 8px;
}

.dominance-list > div:not(.dominance-bar) {
    color: var(--muted);
    font-size: 8px;
}

.dominance-list > div:not(.dominance-bar) span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dominance-color {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
}

.btc-color { background: #f7b644; }
.eth-color { background: #7d81f7; }
.alt-color { background: var(--primary); }

.dominance-bar {
    height: 5px;
    margin-bottom: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-3);
}

.dominance-bar span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--primary);
}

.market-risk-section {
    padding: 12px 0 72px;
}

.market-risk-note {
    padding: 15px 17px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(246, 200, 95, .18);
    border-radius: 14px;
    background: rgba(246, 200, 95, .055);
}

.market-risk-note svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    color: var(--yellow);
}

.market-risk-note strong {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
}

.market-risk-note p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
}

/* -------------------------
   Al-Sat Alarmları
------------------------- */
.alarm-hero-panel,
.news-pulse-panel {
    padding: 22px;
    box-shadow: none;
}

.alarm-hero-top,
.news-pulse-head {
    padding-bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--line);
}

.alarm-hero-top > div,
.news-pulse-head > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alarm-hero-top > div > div,
.news-pulse-head > div > div {
    display: grid;
}

.alarm-hero-top strong,
.news-pulse-head strong {
    font-size: 11px;
}

.alarm-hero-top small,
.news-pulse-head small {
    color: var(--muted);
    font-size: 8px;
}

.pulse-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--green-soft);
}

.pulse-icon i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(46, 211, 163, .09);
}

.system-online {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--green);
    background: var(--green-soft);
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .06em;
}

.alarm-hero-count,
.news-pulse-main {
    padding: 21px 0 16px;
    display: grid;
}

.alarm-hero-count > span,
.news-pulse-main > span {
    color: var(--muted);
    font-size: 9px;
}

.alarm-hero-count strong,
.news-pulse-main strong {
    margin: 2px 0;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.04em;
}

.alarm-hero-count em,
.news-pulse-main em {
    color: var(--muted);
    font-size: 8px;
    font-style: normal;
}

.alarm-hero-bars {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
}

.alarm-hero-bars > div:not(.alarm-bar) {
    display: contents;
}

.alarm-hero-bars > div:not(.alarm-bar) > span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 8px;
}

.alarm-hero-bars > div:not(.alarm-bar) > strong {
    font-size: 8px;
}

.alarm-bar {
    grid-column: 1 / -1;
    height: 4px;
    margin-top: -4px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-3);
}

.alarm-bar span {
    height: 100%;
    display: block;
    border-radius: inherit;
}

.buy-bar { background: var(--green); }
.sell-bar { background: var(--red); }
.watch-bar { background: var(--yellow); }

.active-alarms-section {
    background: color-mix(in srgb, var(--bg-soft) 58%, transparent);
}

.alarm-filter-card {
    padding: 16px;
    box-shadow: none;
}

.alarm-status-tabs {
    display: flex;
    gap: 5px;
    padding-bottom: 14px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
}

.alarm-status-tabs button {
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 9px;
    font-weight: 760;
    white-space: nowrap;
}

.alarm-status-tabs button span {
    min-width: 20px;
    margin-left: 5px;
    padding: 2px 5px;
    display: inline-block;
    border-radius: 999px;
    background: var(--surface-3);
    font-size: 7px;
}

.alarm-status-tabs button.active {
    color: var(--text);
    background: var(--primary-soft);
}

.alarm-status-tabs button.active span {
    color: #fff;
    background: var(--primary);
}

.alarm-filter-row {
    padding-top: 14px;
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, .7fr)) 38px;
    gap: 8px;
}

.alarm-search {
    width: 100%;
}

.select-field {
    display: block;
}

.select-field select {
    width: 100%;
    height: 38px;
    padding: 0 31px 0 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: 0;
    color: var(--text);
    background: var(--surface-2);
    cursor: pointer;
    font-size: 9px;
}

.select-field select:focus {
    border-color: rgba(124, 92, 255, .55);
}

.select-field option {
    color: var(--text);
    background: var(--surface);
}

.alarm-results-meta,
.news-results-meta {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.alarm-results-meta span,
.news-results-meta span {
    color: var(--muted);
    font-size: 9px;
}

.alarm-results-meta button,
.news-results-meta button {
    padding: 0;
    border: 0;
    color: var(--primary-2);
    background: transparent;
    cursor: pointer;
    font-size: 9px;
    font-weight: 740;
}

.alarm-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.alarm-card {
    padding: 19px;
    box-shadow: none;
}

.alarm-card.buy { border-top: 2px solid rgba(46, 211, 163, .65); }
.alarm-card.sell { border-top: 2px solid rgba(255, 102, 122, .65); }
.alarm-card.watch { border-top: 2px solid rgba(246, 200, 95, .65); }

.alarm-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.alarm-card-badges {
    display: flex;
    align-items: center;
    gap: 6px;
}

.alarm-status-label {
    padding: 5px 7px;
    border-radius: 999px;
    color: var(--muted);
    background: var(--surface-3);
    font-size: 7px;
    font-weight: 760;
}

.alarm-card-title {
    margin: 18px 0 14px;
}

.alarm-card-title > span {
    color: var(--primary-2);
    font-size: 8px;
    font-weight: 800;
}

.alarm-card-title h3 {
    margin: 5px 0 6px;
    font-size: 16px;
    line-height: 1.35;
}

.alarm-card-title p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
}

.alarm-level-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.alarm-level-grid > div {
    padding: 11px;
    display: grid;
    gap: 2px;
    background: var(--surface-2);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.alarm-level-grid > div:nth-child(2n) {
    border-right: 0;
}

.alarm-level-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.alarm-level-grid span {
    color: var(--muted);
    font-size: 7px;
}

.alarm-level-grid strong {
    font-size: 9px;
}

.alarm-confidence {
    margin-top: 14px;
}

.alarm-confidence > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.alarm-confidence span {
    color: var(--muted);
    font-size: 8px;
}

.alarm-confidence strong {
    font-size: 9px;
}

.performance-progress {
    height: 5px;
    margin-top: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-3);
}

.performance-progress > span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--green));
}

.alarm-result {
    margin-top: 12px;
    padding: 8px 10px;
    border-radius: 9px;
    background: var(--surface-2);
    font-size: 8px;
}

.alarm-card-footer {
    margin-top: 15px;
    padding-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
}

.alarm-card-footer > span {
    color: var(--muted);
    font-size: 8px;
}

.alarm-card-footer > div {
    display: flex;
    gap: 6px;
}

.alarm-card-footer button {
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: var(--surface-2);
    cursor: pointer;
    font-size: 8px;
    font-weight: 740;
}

.alarm-card-footer button:last-child {
    color: var(--primary-2);
}

.follow-alarm-button.active {
    color: var(--green) !important;
    border-color: rgba(46, 211, 163, .25);
    background: var(--green-soft);
}

.empty-state {
    grid-column: 1 / -1;
    padding: 50px 25px;
    text-align: center;
    box-shadow: none;
}

.empty-state strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
}

.performance-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 300px;
    gap: 16px;
    align-items: start;
}

.performance-table-card {
    overflow: hidden;
    box-shadow: none;
}

.performance-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.performance-table th,
.performance-table td {
    padding: 13px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

.performance-table th {
    color: var(--muted);
    font-size: 8px;
    text-transform: uppercase;
}

.performance-table td {
    font-size: 9px;
}

.performance-table tbody tr:last-child td {
    border-bottom: 0;
}

.performance-summary-card {
    padding: 19px;
    box-shadow: none;
}

.performance-score {
    margin: 17px 0 2px;
    display: grid;
}

.performance-score strong {
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.04em;
}

.performance-score span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 8px;
}

.performance-metrics {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 11px;
    overflow: hidden;
}

.performance-metrics div {
    padding: 10px;
    display: grid;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.performance-metrics div:nth-child(2n) {
    border-right: 0;
}

.performance-metrics div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.performance-metrics span {
    color: var(--muted);
    font-size: 7px;
}

.performance-metrics strong {
    margin-top: 2px;
    font-size: 9px;
}

.performance-summary-card > p {
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.6;
}

.alarm-modal,
.news-modal {
    position: fixed;
    z-index: 500;
    inset: 0;
    display: none;
    place-items: center;
    padding: 20px;
}

.alarm-modal.open,
.news-modal.open {
    display: grid;
}

.alarm-modal-backdrop,
.news-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 9, .78);
    backdrop-filter: blur(9px);
}

.alarm-modal-dialog,
.news-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 700px);
    max-height: 88vh;
    padding: 24px;
    overflow-y: auto;
}

.alarm-modal-close,
.news-modal-close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted);
    background: var(--surface-2);
    cursor: pointer;
    font-size: 20px;
}

.modal-headline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 45px;
    color: var(--muted);
    font-size: 8px;
}

.modal-asset {
    margin: 18px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-asset h2 {
    margin: 0;
    font-size: 23px;
}

.modal-asset p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 9px;
}

.modal-analysis p {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}

.modal-levels {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.modal-levels div {
    padding: 12px;
    display: grid;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}

.modal-levels div:nth-child(2n) {
    border-right: 0;
}

.modal-levels div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.modal-levels span {
    color: var(--muted);
    font-size: 7px;
}

.modal-levels strong {
    margin-top: 2px;
    font-size: 9px;
}

.modal-risk {
    margin-top: 16px;
}

/* -------------------------
   Haberler
------------------------- */
.news-pulse-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.news-pulse-stats div {
    padding: 10px;
    display: grid;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}

.news-pulse-stats div:nth-child(2n) {
    border-right: 0;
}

.news-pulse-stats div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.news-pulse-stats span {
    color: var(--muted);
    font-size: 7px;
}

.news-pulse-stats strong {
    font-size: 11px;
}

.news-pulse-panel > .prototype-note {
    display: block;
    margin: 13px 0 0;
    line-height: 1.5;
}

.featured-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 16px;
}

.featured-news-main,
.featured-news-small {
    position: relative;
    overflow: hidden;
    box-shadow: none;
    cursor: pointer;
}

.featured-news-main {
    min-height: 430px;
}

.featured-news-main .news-art {
    position: absolute;
    inset: 0;
}

.news-art {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 30%, rgba(124,92,255,.36), transparent 26%),
        linear-gradient(135deg, #15182b, #09111c);
}

.news-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .55;
}

.news-art > span {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.075);
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
    font-size: 31px;
    font-weight: 850;
}

.news-art i,
.news-art b {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background: rgba(124,92,255,.17);
    filter: blur(1px);
}

.news-art i {
    width: 220px;
    height: 220px;
    right: -70px;
    top: -80px;
}

.news-art b {
    width: 150px;
    height: 150px;
    left: -55px;
    bottom: -60px;
    background: rgba(46,211,163,.1);
}

.bitcoin-news { background-color: #171326; }
.regulation-news { background-color: #1b1630; }
.altcoin-news { background-color: #0e2020; }
.analysis-news { background-color: #151b2d; }
.market-news { background-color: #101d2c; }
.technology-news { background-color: #10252b; }

.featured-news-overlay {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 110px 25px 24px;
    color: #fff;
    background: linear-gradient(transparent, rgba(5, 8, 15, .94));
}

.featured-news-overlay .news-meta {
    align-items: center;
}

.featured-news-overlay .news-category,
.news-card-body .news-category,
.news-modal-copy .news-category {
    position: static;
}

.featured-news-overlay h2 {
    max-width: 720px;
    margin: 9px 0 7px;
    font-size: 23px;
    line-height: 1.28;
}

.featured-news-overlay p {
    max-width: 680px;
    margin: 0 0 14px;
    color: #aeb6c7;
    font-size: 10px;
    line-height: 1.6;
}

.news-read-button {
    padding: 0;
    border: 0;
    color: #b9a9ff;
    background: transparent;
    cursor: pointer;
    font-size: 9px;
    font-weight: 760;
}

.featured-news-side {
    display: grid;
    gap: 16px;
}

.featured-news-small {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 207px;
}

.featured-news-small .news-art {
    min-height: 100%;
}

.featured-news-small .news-art > span {
    width: 52px;
    height: 52px;
    font-size: 19px;
}

.featured-small-copy {
    padding: 17px;
}

.featured-small-copy h3 {
    margin: 9px 0 7px;
    font-size: 13px;
    line-height: 1.4;
}

.featured-small-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.55;
}

.news-category {
    position: static;
    display: inline-flex;
    padding: 5px 7px;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-size: 7px;
    font-weight: 850;
}

.bitcoin-category { background: #b87a13; }
.regulation-category { background: #7553cf; }
.altcoin-category { background: #188f74; }
.market-category { background: #3977c7; }
.technology-category { background: #238697; }
.analysis-category { background: #a44f70; }

.news-feed-section {
    background: color-mix(in srgb, var(--bg-soft) 56%, transparent);
}

.news-filter-card {
    padding: 15px;
    box-shadow: none;
}

.news-category-tabs {
    padding-bottom: 13px;
    display: flex;
    gap: 5px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
}

.news-category-tabs button {
    padding: 8px 11px;
    border: 0;
    border-radius: 9px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 8px;
    font-weight: 750;
    white-space: nowrap;
}

.news-category-tabs button.active {
    color: var(--text);
    background: var(--primary-soft);
}

.news-filter-row {
    padding-top: 13px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 9px;
}

.news-search {
    width: 100%;
}

.news-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 17px;
    align-items: start;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.news-card {
    overflow: hidden;
    box-shadow: none;
}

.news-card-visual {
    width: 100%;
    min-height: 170px;
    display: block;
    border: 0;
    cursor: pointer;
}

.news-card-body {
    padding: 16px;
}

.news-card-body .news-meta {
    align-items: center;
}

.news-card-body h3 {
    margin: 9px 0 7px;
}

.news-card-body h3 button {
    padding: 0;
    border: 0;
    color: var(--text);
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.4;
}

.news-card-body > p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
}

.news-card-footer {
    margin-top: 14px;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
}

.news-card-footer > span {
    color: var(--muted);
    font-size: 7px;
}

.news-card-footer > div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.news-save-button,
.text-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.news-save-button {
    color: var(--muted);
    font-size: 17px;
}

.news-save-button.active {
    color: var(--yellow);
}

.text-link-button {
    color: var(--primary-2);
    font-size: 8px;
    font-weight: 750;
}

.news-pagination {
    margin-top: 15px;
}

.news-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 14px;
}

.sidebar-card {
    padding: 17px;
    box-shadow: none;
}

.sidebar-heading h3 {
    margin: 4px 0 0;
    font-size: 14px;
}

.popular-news-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.popular-news-list li {
    border-top: 1px solid var(--line);
}

.popular-news-list button {
    width: 100%;
    padding: 11px 0;
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    gap: 7px;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.popular-news-list button > span {
    color: var(--primary-2);
    font-size: 9px;
    font-weight: 850;
}

.popular-news-list button div {
    display: grid;
}

.popular-news-list strong {
    font-size: 9px;
    line-height: 1.4;
}

.popular-news-list small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 7px;
}

.news-sentiment {
    margin-top: 14px;
    display: grid;
}

.news-sentiment strong {
    font-size: 27px;
}

.news-sentiment span {
    color: var(--muted);
    font-size: 8px;
}

.news-sentiment-list {
    margin-top: 13px;
    display: grid;
    gap: 7px;
}

.news-sentiment-list > span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 8px;
}

.news-sentiment-list i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.news-sentiment-list strong {
    margin-left: auto;
    color: var(--text);
}

.sidebar-card > p {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.55;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.agenda-card {
    padding: 18px;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    box-shadow: none;
}

.agenda-card > time {
    width: 56px;
    height: 64px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 12px;
    color: var(--primary-2);
    background: var(--primary-soft);
}

.agenda-card time strong {
    font-size: 19px;
    line-height: 1;
}

.agenda-card time span {
    margin-top: 3px;
    font-size: 7px;
    font-weight: 850;
}

.agenda-tag {
    display: inline-flex;
    padding: 4px 6px;
    border-radius: 999px;
    font-size: 6px;
    font-weight: 850;
}

.agenda-tag.high { color: var(--red); background: var(--red-soft); }
.agenda-tag.medium { color: var(--yellow); background: rgba(246,200,95,.12); }
.agenda-tag.low { color: var(--green); background: var(--green-soft); }

.agenda-card h3 {
    margin: 7px 0 5px;
    font-size: 12px;
}

.agenda-card p {
    margin: 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.5;
}

.agenda-card small {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 7px;
}

.news-newsletter-card {
    position: relative;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .7fr);
    align-items: center;
    gap: 30px;
    overflow: hidden;
    border-color: rgba(124,92,255,.22);
}

.news-newsletter-card h2 {
    margin: 5px 0;
    font-size: 24px;
}

.news-newsletter-card p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
}

.newsletter-form {
    padding: 5px;
    display: flex;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
}

.newsletter-form input {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 10px;
}

.news-newsletter-card .form-message {
    right: 28px;
    bottom: 7px;
}

.news-modal-dialog {
    width: min(100%, 760px);
    padding: 0;
    overflow: hidden auto;
}

.news-modal-art {
    min-height: 250px;
}

.news-modal-copy {
    padding: 22px;
}

.news-modal-copy h2 {
    margin: 10px 0;
    padding-right: 36px;
    font-size: 24px;
    line-height: 1.28;
}

.news-byline {
    display: flex;
    gap: 10px;
    color: var(--muted);
    font-size: 8px;
}

.news-modal-copy > p {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}

.news-modal-copy .news-lead {
    color: var(--text);
    font-size: 11px;
}

.news-modal-copy h3 {
    margin: 20px 0 6px;
    font-size: 15px;
}

.news-modal-tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.news-modal-tags span {
    padding: 5px 7px;
    border-radius: 999px;
    color: var(--primary-2);
    background: var(--primary-soft);
    font-size: 7px;
    font-weight: 750;
}

/* -------------------------
   Hesap
------------------------- */
.account-main {
    background:
        radial-gradient(circle at 17% 16%, rgba(124,92,255,.12), transparent 30%),
        radial-gradient(circle at 90% 75%, rgba(46,211,163,.05), transparent 22%);
}

.account-section {
    padding: 72px 0 86px;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 455px;
    align-items: center;
    gap: 70px;
}

.account-showcase h1 {
    margin: 18px 0 15px;
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.account-showcase h1 span {
    color: var(--primary-2);
}

.account-showcase > p {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.account-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-2);
    font-size: 10px;
    font-weight: 750;
}

.account-benefits {
    margin-top: 30px;
    display: grid;
    gap: 12px;
}

.account-benefits article {
    max-width: 600px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.account-benefit-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 11px;
    color: var(--primary-2);
    background: var(--primary-soft);
}

.account-benefit-icon svg {
    width: 18px;
    height: 18px;
}

.account-benefits strong {
    display: block;
    font-size: 11px;
}

.account-benefits p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.55;
}

.account-proof {
    max-width: 590px;
    margin-top: 28px;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: none;
}

.account-proof div {
    padding: 4px 15px;
    display: grid;
    border-right: 1px solid var(--line);
}

.account-proof div:last-child {
    border-right: 0;
}

.account-proof strong {
    font-size: 18px;
}

.account-proof span {
    color: var(--muted);
    font-size: 8px;
}

.auth-card {
    overflow: hidden;
    box-shadow: var(--shadow);
}

.auth-tabs {
    padding: 7px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}

.auth-tabs button {
    min-height: 39px;
    border: 0;
    border-radius: 9px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 10px;
    font-weight: 760;
}

.auth-tabs button.active {
    color: var(--text);
    background: var(--surface);
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.auth-panel {
    padding: 25px;
}

.auth-panel[hidden] {
    display: none !important;
}

.auth-heading h2 {
    margin: 5px 0 6px;
    font-size: 23px;
}

.auth-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.55;
}

.auth-form {
    margin-top: 21px;
    display: grid;
    gap: 14px;
}

.auth-field {
    display: grid;
    gap: 6px;
}

.auth-field > span:first-child {
    font-size: 8px;
    font-weight: 740;
}

.auth-input-wrap {
    position: relative;
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
}

.auth-input-wrap:focus-within {
    border-color: rgba(124,92,255,.55);
}

.auth-input-wrap.is-invalid {
    border-color: rgba(255,102,122,.55);
}

.auth-input-wrap > svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--muted);
}

.auth-input-wrap input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 10px;
}

.password-toggle {
    padding: 4px 0 4px 8px;
    border: 0;
    color: var(--primary-2);
    background: transparent;
    cursor: pointer;
    font-size: 7px;
    font-weight: 750;
}

.field-error {
    min-height: 11px;
    color: var(--red);
    font-size: 7px;
}

.field-hint {
    color: var(--muted);
    font-size: 7px;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.check-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    cursor: pointer;
    font-size: 8px;
}

.check-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-label > span {
    width: 15px;
    height: 15px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--surface-2);
}

.check-label input:checked + span {
    border-color: var(--primary);
    background: var(--primary);
}

.check-label input:checked + span::after {
    content: "✓";
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}

.check-label em {
    font-style: normal;
}

.auth-text-button,
.auth-switch-copy button {
    padding: 0;
    border: 0;
    color: var(--primary-2);
    background: transparent;
    cursor: pointer;
    font-size: 8px;
    font-weight: 740;
}

.auth-submit {
    width: 100%;
}

.auth-form-message {
    min-height: 15px;
    margin: 0;
    color: var(--green);
    font-size: 8px;
    text-align: center;
}

.auth-form-message.error {
    color: var(--red);
}

.auth-divider {
    position: relative;
    margin: 18px 0;
    text-align: center;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--line);
}

.auth-divider span {
    position: relative;
    padding: 0 9px;
    color: var(--muted);
    background: var(--surface);
    font-size: 7px;
}

.social-auth-button {
    width: 100%;
    min-height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    background: var(--surface-2);
    cursor: pointer;
    font-size: 9px;
    font-weight: 720;
}

.social-auth-button strong {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #4285f4;
    font-size: 9px;
}

.auth-switch-copy {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 8px;
    text-align: center;
}

.password-strength {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.password-strength span {
    height: 3px;
    border-radius: 999px;
    background: var(--surface-3);
}

.password-strength[data-level="1"] span:nth-child(-n+1) { background: var(--red); }
.password-strength[data-level="2"] span:nth-child(-n+2) { background: var(--yellow); }
.password-strength[data-level="3"] span:nth-child(-n+3) { background: var(--green); }
.password-strength[data-level="4"] span:nth-child(-n+4) { background: var(--green); }

.terms-check {
    align-items: flex-start;
}

.auth-prototype-note {
    padding: 13px 18px;
    display: flex;
    gap: 9px;
    border-top: 1px solid var(--line);
    background: var(--surface-2);
}

.auth-prototype-note svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: var(--yellow);
}

.auth-prototype-note p {
    margin: 0;
    color: var(--muted);
    font-size: 7px;
    line-height: 1.55;
}

.account-footer {
    margin-top: 0;
}

/* -------------------------
   Genel yardımcılar
------------------------- */
.toast-message {
    position: fixed;
    z-index: 700;
    right: 20px;
    bottom: 20px;
    max-width: min(360px, calc(100% - 40px));
    padding: 11px 14px;
    border: 1px solid rgba(124, 92, 255, .3);
    border-radius: 11px;
    color: #fff;
    background: rgba(14, 18, 31, .94);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
    font-size: 9px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease;
    backdrop-filter: blur(14px);
}

.toast-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------
   Responsive — iç sayfalar
------------------------- */
@media (max-width: 1080px) {
    .page-hero-grid {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 34px;
    }

    .market-overview-grid,
    .alarm-stats-grid,
    .news-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .market-highlight-grid,
    .market-insights-grid {
        grid-template-columns: 1fr 1fr;
    }

    .market-highlight-card:last-child,
    .market-insight-card:last-child {
        grid-column: 1 / -1;
    }

    .alarm-filter-row {
        grid-template-columns: minmax(220px, 1fr) 1fr 1fr;
    }

    .alarm-filter-row .select-field:nth-of-type(3),
    .alarm-filter-row .refresh-button {
        margin-top: 0;
    }

    .performance-layout {
        grid-template-columns: 1fr;
    }

    .performance-summary-card {
        max-width: none;
    }

    .featured-news-grid {
        grid-template-columns: 1fr;
    }

    .featured-news-side {
        grid-template-columns: 1fr 1fr;
    }

    .news-content-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .agenda-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agenda-card:last-child {
        grid-column: 1 / -1;
    }

    .account-layout {
        gap: 42px;
    }
}

@media (max-width: 900px) {
    .page-hero {
        padding-top: 52px;
    }

    .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .market-session,
    .alarm-hero-panel,
    .news-pulse-panel {
        max-width: 620px;
    }

    .alarm-cards-grid {
        grid-template-columns: 1fr;
    }

    .news-content-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
        grid-template-columns: 1fr 1fr;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-showcase {
        max-width: 720px;
    }

    .auth-card {
        width: min(100%, 520px);
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .page-hero {
        padding: 42px 0 34px;
    }

    .page-heading h1 {
        font-size: clamp(35px, 10vw, 46px);
    }

    .compact-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .market-overview-grid,
    .alarm-stats-grid,
    .news-overview-grid,
    .market-highlight-grid,
    .market-insights-grid {
        grid-template-columns: 1fr;
    }

    .market-highlight-card:last-child,
    .market-insight-card:last-child {
        grid-column: auto;
    }

    .full-market-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .market-toolbar-actions {
        width: 100%;
    }

    .market-toolbar-actions .market-search {
        flex: 1;
    }

    .market-table-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .alarm-filter-row {
        grid-template-columns: 1fr 1fr;
    }

    .alarm-filter-row .alarm-search {
        grid-column: 1 / -1;
    }

    .alarm-filter-row .refresh-button {
        width: 100%;
    }

    .featured-news-side {
        grid-template-columns: 1fr;
    }

    .featured-news-small {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .news-cards-grid {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        grid-template-columns: 1fr;
    }

    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .agenda-card:last-child {
        grid-column: auto;
    }

    .news-newsletter-card {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        display: grid;
    }

    .newsletter-form input {
        min-height: 42px;
    }

    .news-newsletter-card .form-message {
        position: static;
    }

    .account-section {
        padding: 54px 0 65px;
    }

    .account-proof {
        grid-template-columns: 1fr;
    }

    .account-proof div {
        padding: 9px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .account-proof div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 520px) {
    .market-session,
    .alarm-hero-panel,
    .news-pulse-panel,
    .alarm-card,
    .market-insight-card {
        padding: 15px;
    }

    .session-price strong {
        font-size: 23px;
    }

    .alarm-filter-row {
        grid-template-columns: 1fr;
    }

    .alarm-filter-row .alarm-search {
        grid-column: auto;
    }

    .alarm-level-grid,
    .modal-levels,
    .performance-metrics {
        grid-template-columns: 1fr;
    }

    .alarm-level-grid > div,
    .modal-levels div,
    .performance-metrics div {
        border-right: 0 !important;
        border-bottom: 1px solid var(--line) !important;
    }

    .alarm-level-grid > div:last-child,
    .modal-levels div:last-child,
    .performance-metrics div:last-child {
        border-bottom: 0 !important;
    }

    .alarm-card-head,
    .alarm-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .featured-news-main {
        min-height: 390px;
    }

    .featured-news-overlay {
        padding-right: 18px;
        padding-left: 18px;
    }

    .featured-news-overlay h2 {
        font-size: 19px;
    }

    .featured-news-small {
        grid-template-columns: 1fr;
    }

    .featured-news-small .news-art {
        min-height: 145px;
    }

    .news-filter-row {
        grid-template-columns: 1fr;
    }

    .agenda-card {
        grid-template-columns: 50px 1fr;
        padding: 15px;
    }

    .agenda-card > time {
        width: 50px;
        height: 58px;
    }

    .auth-panel {
        padding: 20px 16px;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
    }
}
