/* ==========================================================================
   POLL 6TH CARD & FULL WIDTH DYNAMIC MARKET MOOD STRIP
   ========================================================================== */

/* 6th Card: Nifty Sentiment Poll */
.sentiment-poll-card {
    background: radial-gradient(120% 100% at 50% 0%, #10243d 0%, #08121f 100%) !important;
    border: 1px solid rgba(0, 242, 254, 0.28) !important;
    border-radius: 14px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    min-height: 220px;
    transition: transform 0.25s ease;
}

.sentiment-poll-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 242, 254, 0.2);
}

.poll-top-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #00f2fe;
    text-transform: uppercase;
    background: rgba(0, 242, 254, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.25);
}

.poll-main-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.04em;
    margin: 6px 0 10px 0;
}

.vote-selector-box {
    display: flex;
    gap: 8px;
    width: 100%;
}

.vote-tile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 6px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.vote-bull {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.vote-bull:hover {
    background: rgba(16, 185, 129, 0.22);
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

.vote-bull .vote-text { color: #34d399; font-weight: 800; font-size: 0.78rem; }
.vote-bull .vote-sub  { color: rgba(52, 211, 153, 0.7); font-size: 0.58rem; }

.vote-bear {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.vote-bear:hover {
    background: rgba(239, 68, 68, 0.22);
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.35);
}

.vote-bear .vote-text { color: #f87171; font-weight: 800; font-size: 0.78rem; }
.vote-bear .vote-sub  { color: rgba(248, 113, 113, 0.7); font-size: 0.58rem; }

.vote-icon { font-size: 1.4rem; margin-bottom: 2px; }

/* Clicked States */
.vote-tile.voted-active {
    box-shadow: 0 0 16px currentColor !important;
    border-width: 2px !important;
}

.vote-tile.voted-dimmed {
    opacity: 0.25 !important;
    filter: grayscale(80%) !important;
}

.voted-status-msg {
    font-size: 0.65rem;
    font-weight: 700;
    color: #00f2fe;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 6px;
    padding: 3px 8px;
    margin-top: 6px;
    text-transform: uppercase;
}

.poll-meta-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 8px;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00f2fe;
    box-shadow: 0 0 8px #00f2fe;
    animation: blinkDot 1.5s infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* ==========================================================================
   DYNAMIC MARKET MOOD STRIP (BELOW 6 CARDS)
   ========================================================================== */
.market-mood-strip {
    width: 100%;
    margin-top: 24px;
    padding: 18px 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(8, 22, 38, 0.95), rgba(4, 12, 22, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
}

.mood-brand-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mood-neon-circle {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: #061527;
    transition: all 0.4s ease;
}

.glow-bull    { border: 3px solid #10b981; box-shadow: 0 0 20px rgba(16, 185, 129, 0.45); }
.glow-bear    { border: 3px solid #ef4444; box-shadow: 0 0 20px rgba(239, 68, 68, 0.45); }
.glow-neutral { border: 3px solid #00f2fe; box-shadow: 0 0 20px rgba(0, 242, 254, 0.45); }

.strip-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #64748b;
    text-transform: uppercase;
}

.strip-headline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.status-name {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.txt-bull    { color: #10b981; text-shadow: 0 0 12px rgba(16, 185, 129, 0.4); }
.txt-bear    { color: #ef4444; text-shadow: 0 0 12px rgba(239, 68, 68, 0.4); }
.txt-neutral { color: #00f2fe; text-shadow: 0 0 12px rgba(0, 242, 254, 0.4); }

.bias-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.mood-spectrum-wrap {
    flex: 1;
    min-width: 280px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spectrum-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
}

.lbl-bull { color: #34d399; }
.lbl-bear { color: #f87171; }

.spectrum-track {
    width: 100%;
    height: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bar-bull {
    background: linear-gradient(90deg, #059669, #10b981);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    transition: width 0.4s ease;
}

.bar-bear {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    transition: width 0.4s ease;
}

.spectrum-sub {
    font-size: 0.65rem;
    color: #475569;
    text-align: right;
}
/* Ensure the card keeps an even height across all swiper slides */
.testimonial-card {
    background: #0b1726;
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 16px;
    padding: 24px;
    min-height: 380px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(0, 242, 254, 0.45);
}

/* Comment Box: Displays full text smoothly with clean subtle scroll for extra-long reviews */
.testimonial-comment-box {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 6px;
}

.testimonial-comment-box::-webkit-scrollbar {
    width: 4px;
}

.testimonial-comment-box::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.25);
    border-radius: 4px;
}

.testimonial-full-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #94a3b8;
    white-space: normal;
    word-break: break-word;
    display: block !important;
    -webkit-line-clamp: unset !important;
}

/* Hard disable any old tooltip class remnants */
.review-full-tooltip,
.testimonial-card .tooltip {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
/* =========================================================================
   ANALYSIS & ROTATING RADAR STYLES
   ========================================================================= */
.analysis-section {
    background: radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.05), transparent 50%),
                linear-gradient(180deg, #040914 0%, #02060d 100%);
}

.radar-container-card {
    background: rgba(10, 20, 36, 0.85);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.bg-card-dark {
    background: #081220;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.youtube-analysis-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.youtube-analysis-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 68, 68, 0.5);
}

.play-glow {
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.8));
    transition: transform 0.2s ease;
}

.youtube-analysis-card:hover .play-glow {
    transform: scale(1.15);
}

/* =========================================================================
   DESKTOP ROTATING ORBITAL RADAR (600px x 600px Arena)
   ========================================================================= */
.radar-orbit-display {
    width: 100%;
    min-height: 580px;
    position: relative;
}

.radar-space {
    width: 560px;
    height: 560px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Concentric Radar Rings */
.radar-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.ring-outer {
    width: 530px;
    height: 530px;
    border: 1px dashed rgba(0, 242, 254, 0.25);
}
.ring-mid {
    width: 380px;
    height: 380px;
    border: 1px solid rgba(0, 242, 254, 0.15);
}
.ring-inner {
    width: 250px;
    height: 250px;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

/* Radar Sweep Line */
.radar-sweep-beam {
    position: absolute;
    width: 265px;
    height: 265px;
    top: 15px;
    right: 15px;
    background: conic-gradient(from 0deg at 0% 100%, rgba(0, 242, 254, 0.2) 0deg, transparent 60deg);
    border-radius: 100% 0 0 0;
    transform-origin: bottom left;
    animation: radarSweep 6s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes radarSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* The Orbiting Ring containing 10 Commandment Nodes */
.orbit-wheel {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: orbitRotate 45s linear infinite;
    z-index: 2;
}

.orbit-wheel:hover {
    animation-play-state: paused; /* Pause on hover so users can read with ease */
}

@keyframes orbitRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Position Each Slot Around the 360-degree Circle */
.orbit-slot {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Push node outward by 215px */
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-215px);
}

/* Counter-rotate the node so the text is ALWAYS upright and fully readable */
.orbit-node-pill {
    transform: rotate(calc(-1 * var(--angle)));
    animation: counterRotate 45s linear infinite;
    background: rgba(8, 18, 34, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--color);
    border-radius: 12px;
    padding: 6px 12px;
    width: 165px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    cursor: pointer;
}

.orbit-wheel:hover .orbit-node-pill {
    animation-play-state: paused;
}

@keyframes counterRotate {
    0% { transform: rotate(calc(-1 * var(--angle) - 0deg)); }
    100% { transform: rotate(calc(-1 * var(--angle) - 360deg)); }
}

.orbit-node-pill:hover {
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    border-color: #00f2fe;
}

.node-num {
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 6px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.node-tag {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: block;
    line-height: 1;
    margin-bottom: 2px;
}

.node-text .lang-content {
    font-size: 0.74rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 105px;
}

/* Center Fixed Hub */
.radar-core-hub {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #091729;
    border: 2px solid rgba(0, 242, 254, 0.4);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.25);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.core-pulse-halo {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.15);
    filter: blur(12px);
    animation: corePulse 3s ease-in-out infinite alternate;
}

@keyframes corePulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.15); opacity: 0.9; }
}

.core-inner {
    position: relative;
    z-index: 2;
}

.core-brand {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.core-title {
    font-size: 1.05rem;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}

.core-subtitle {
    font-size: 0.68rem;
}

/* =========================================================================
   MOBILE RESPONSIVE STYLES
   ========================================================================= */
.mobile-rule-card {
    background: rgba(14, 25, 44, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease;
}

.mobile-rule-card:hover {
    background: rgba(18, 34, 58, 0.95);
    transform: translateX(4px);
}

/* Language Toggle Buttons */
.lang-switch-group {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border: none;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: #00f2fe;
    color: #030a16 !important;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}
/* =========================================================================
   INTERACTIVE STOP-ON-FOCUS & CENTER POP-UP READER
   ========================================================================= */

/* Rotation Animations */
.orbit-wheel {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: orbitRotate 45s linear infinite;
    z-index: 2;
    transition: animation-play-state 0.2s ease;
}

@keyframes orbitRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.orbit-slot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-220px);
}

.orbit-node-pill {
    transform: rotate(calc(-1 * var(--angle)));
    animation: counterRotate 45s linear infinite;
    background: rgba(8, 18, 34, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--color);
    border-radius: 12px;
    padding: 7px 12px;
    width: 170px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

@keyframes counterRotate {
    0% { transform: rotate(calc(-1 * var(--angle) - 0deg)); }
    100% { transform: rotate(calc(-1 * var(--angle) - 360deg)); }
}

/* FREEZE ANIMATION ON HOVER OR ACTIVE LOCK */
.radar-space.is-paused .orbit-wheel,
.radar-space.is-paused .orbit-node-pill,
.radar-space.is-paused .radar-sweep-beam {
    animation-play-state: paused !important;
}

/* Focused Node Highlight */
.orbit-node-pill.is-active,
.orbit-node-pill:hover {
    transform: scale(1.15) !important;
    z-index: 100 !important;
    border-color: #00f2fe !important;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.5) !important;
    background: rgba(14, 28, 50, 0.98) !important;
}

/* =========================================================================
   EXPANDED CENTER HUB POP-UP READER
   ========================================================================= */
.radar-core-hub {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #071322;
    border: 2px solid rgba(0, 242, 254, 0.45);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 242, 254, 0.2);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When a rule is focused, morph hub into a readable pill card */
.radar-core-hub.is-reading {
    border-radius: 20px;
    width: 280px;
    height: 240px;
    background: #071322;
    border-color: var(--active-hub-color, #00f2fe);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.95), 0 0 30px var(--active-hub-glow, rgba(0, 242, 254, 0.35));
}

.core-popup-reader {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.popup-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--active-hub-color, #00f2fe);
}

.popup-id {
    font-size: 0.95rem;
}

.popup-title {
    font-size: 0.92rem;
    line-height: 1.3;
}

.popup-body {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #e2e8f0;
    max-height: 95px;
    overflow-y: auto;
    padding-right: 4px;
}

.pulse-hint {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
    opacity: 0.8;
}

/* Custom Scrollbar */
.custom-trading-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-trading-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.3);
    border-radius: 4px;
}