/* assets/css/home.css — Kryptopy Home Page Market Intelligence, Orbital Radar HUD, Pulse Cards & Feature Strip */

.sikke-home-intelligence-wrap {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto 3rem auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
    font-family: var(--font-family, 'Inter', sans-serif);
}

/* 1. Live Top Market Ribbon (Ticker Strip) */
.sikke-ticker-ribbon {
    width: 100%;
    overflow: hidden;
    background: var(--card-bg, rgba(17, 24, 39, 0.85));
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    padding: 0.55rem 0;
    margin: 0.5rem auto 1.25rem auto;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.sikke-ticker-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: max-content;
    animation: sikkeTickerScroll 42s linear infinite;
    padding: 0 1rem;
}
.sikke-ticker-ribbon:hover .sikke-ticker-track {
    animation-play-state: paused;
}
@keyframes sikkeTickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.sikke-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-main, #f9fafb);
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    transition: background 0.18s ease;
    white-space: nowrap;
}
.sikke-ticker-item:hover {
    background: rgba(59, 130, 246, 0.12);
}
.sikke-ticker-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.sikke-ticker-sym {
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
}
.sikke-ticker-price {
    font-size: 0.83rem;
    font-weight: 600;
    opacity: 0.88;
}
.sikke-ticker-chg {
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.12rem 0.42rem;
    border-radius: 5px;
}
.sikke-ticker-chg.up {
    color: #10b981;
    background: rgba(16, 185, 129, 0.14);
}
.sikke-ticker-chg.down {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.14);
}

/* 2. Orbital Radar Stage & Telemetry HUD Strip */
#arthaMasterCanvas {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
}
.sikke-home-hud-strip {
    width: 100%;
    max-width: 980px;
    margin: 0.75rem auto 1.5rem auto;
    padding: 0 1rem;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 0.85rem;
    font-family: var(--font-family, 'Inter', sans-serif);
}
.sikke-hud-card {
    background: var(--card-bg, rgba(17, 24, 39, 0.78));
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.45rem;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: var(--text-main, #f9fafb);
}
.sikke-hud-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.sikke-hud-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.68;
}
.sikke-hud-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}
.sikke-hud-sym {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.sikke-hud-price {
    font-size: 0.85rem;
    opacity: 0.82;
    font-weight: 600;
}
.sikke-hud-badge {
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
}
.sikke-hud-badge.up {
    color: #10b981;
    background: rgba(16, 185, 129, 0.14);
}
.sikke-hud-badge.down {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.14);
}
.sikke-breadth-bar {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.35);
    overflow: hidden;
    margin-top: 0.2rem;
}
.sikke-breadth-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 999px;
    transition: width 0.4s ease;
}
.sikke-hud-cta {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(16, 185, 129, 0.18));
    border-color: rgba(59, 130, 246, 0.42);
}
.sikke-hud-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.85rem;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-top: 0.15rem;
    align-self: flex-start;
}

/* Section Headers */
.sikke-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2.25rem 0 1rem 0;
}
.sikke-section-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--text-main, #f9fafb);
}
.sikke-section-sub {
    font-size: 0.84rem;
    opacity: 0.68;
    color: var(--text-main, #f9fafb);
}

/* 3. 3-Column Market Pulse Cards */
.sikke-pulse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.15rem;
    margin-bottom: 2.25rem;
}
.sikke-pulse-card {
    background: var(--card-bg, #111827);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sikke-pulse-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.65rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.sikke-pulse-card-title {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-main, #f9fafb);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.sikke-pulse-card-link {
    font-size: 0.76rem;
    font-weight: 700;
    color: #3b82f6;
    text-decoration: none;
}
.sikke-pulse-card-link:hover {
    text-decoration: underline;
}
.sikke-pulse-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.sikke-pulse-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.52rem 0.6rem;
    border-radius: 9px;
    text-decoration: none;
    color: var(--text-main, #f9fafb);
    transition: background 0.16s ease, transform 0.16s ease;
}
.sikke-pulse-row:hover {
    background: rgba(59, 130, 246, 0.09);
    transform: translateX(2px);
}
.sikke-pulse-coin {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}
.sikke-pulse-coin-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.sikke-pulse-coin-fallback {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #334155;
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    flex-shrink: 0;
}
.sikke-pulse-coin-name {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sikke-pulse-sym {
    font-weight: 800;
    font-size: 0.88rem;
    line-height: 1.2;
}
.sikke-pulse-sub {
    font-size: 0.72rem;
    opacity: 0.65;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sikke-pulse-metrics {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: right;
    flex-shrink: 0;
}
.sikke-pulse-price {
    font-weight: 700;
    font-size: 0.85rem;
}

/* Whale L/S dual bar inside Futures Sentiment Card */
.sikke-whale-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.22rem;
    min-width: 125px;
}
.sikke-whale-top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    font-weight: 700;
}
.sikke-whale-bar {
    width: 115px;
    height: 6px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.45);
    overflow: hidden;
}
.sikke-whale-bar-long {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 999px;
}
.sikke-funding-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.38rem;
    border-radius: 4px;
    background: rgba(59, 130, 246, 0.14);
    color: #60a5fa;
}

/* 4. Bilingual Feature Strip (Quick Links into All 6 Kryptopy Analytics Modules) */
.sikke-feature-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.15rem;
    margin-top: 0.5rem;
}
.sikke-feature-card {
    position: relative;
    background: var(--card-bg, #111827);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    padding: 1.35rem 1.4rem;
    text-decoration: none;
    color: var(--text-main, #f9fafb);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.sikke-feature-card:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}
.sikke-feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.sikke-feature-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    color: #60a5fa;
}
.sikke-feature-title {
    margin: 0.35rem 0 0.35rem 0;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.3;
}
.sikke-feature-desc {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
    opacity: 0.78;
}
.sikke-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.83rem;
    font-weight: 800;
    color: #3b82f6;
    margin-top: 0.25rem;
}
