/* ==========================================================================
   DogecoinToday.com Custom Design System & Stylesheet
   Theme: Glassmorphism, Dark mode, Gold & Cyan Cyberpunk Accents
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: hsl(224, 25%, 6%);
    --bg-card: hsla(224, 22%, 12%, 0.7);
    --bg-card-hover: hsla(224, 22%, 16%, 0.8);
    
    --text-primary: hsl(0, 0%, 96%);
    --text-secondary: hsl(220, 12%, 70%);
    --text-muted: hsl(220, 10%, 50%);
    
    --primary: hsl(42, 95%, 53%); /* Doge Gold */
    --primary-glow: hsla(42, 95%, 53%, 0.15);
    --secondary: hsl(195, 95%, 50%); /* Cyber Cyan */
    --secondary-glow: hsla(195, 95%, 50%, 0.15);
    
    --success: hsl(142, 70%, 45%); /* Neon Green */
    --success-bg: hsla(142, 70%, 45%, 0.1);
    --danger: hsl(354, 70%, 53%); /* Coral Red */
    --danger-bg: hsla(354, 70%, 53%, 0.1);
    --warning: hsl(45, 95%, 50%);
    
    --border-color: hsla(224, 20%, 25%, 0.4);
    --border-color-focus: hsla(42, 95%, 53%, 0.6);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Effects */
    --glass-blur: blur(12px);
    --glass-border: 1px solid hsla(0, 0%, 100%, 0.08);
    --shadow-sm: 0 4px 10px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px hsla(42, 95%, 53%, 0.2);
    --radius-lg: 16px;
    --radius-md: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    line-height: 1.5;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Glowing Ambient Backgrounds */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    top: -100px;
    left: -100px;
    background-color: var(--primary);
}

.bg-glow-2 {
    bottom: 20%;
    right: -100px;
    background-color: var(--secondary);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: hsla(224, 25%, 6%, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    padding: 1rem 0;
}

.header-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(254, 189, 44, 0.4));
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
}

.logo-accent {
    color: var(--primary);
}

/* Header Ticker */
.header-ticker {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    transition: var(--transition);
}

.header-ticker:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary);
}

.ticker-label {
    color: var(--text-secondary);
}

.ticker-price {
    font-weight: 700;
    color: var(--text-primary);
}

.ticker-change {
    font-weight: 600;
}

.ticker-change.positive {
    color: var(--success);
}

.ticker-change.negative {
    color: var(--danger);
}

.ticker-status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--success);
}

.ticker-status-dot.pulsing {
    animation: pulse-dot 1s infinite alternate;
}

@keyframes pulse-dot {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--success); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #d89f2a 100%);
    color: #121212;
    box-shadow: 0 4px 15px rgba(254, 189, 44, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 189, 44, 0.5);
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary) 0%, #0392b5 100%);
    color: #121212;
    box-shadow: 0 4px 15px rgba(3, 181, 229, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 181, 229, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-primary {
    background-color: var(--primary-glow);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.badge-secondary {
    background-color: var(--secondary-glow);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

/* ==========================================================================
   Ad Slots (Monetization Layouts)
   ========================================================================== */
.ad-wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 1.5rem auto;
    display: flex;
    justify-content: center;
}

.ad-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.ad-container:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary);
}

.ad-badge {
    position: absolute;
    top: 4px;
    left: 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.ad-placeholder-content {
    text-align: center;
    color: var(--text-secondary);
    padding: 1rem;
}

.ad-placeholder-content i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 0.3rem;
}

.ad-placeholder-content small {
    display: block;
    margin-top: 0.2rem;
    color: var(--text-muted);
}

/* Specific Sizes */
.ad-leaderboard .ad-container {
    width: 728px;
    height: 90px;
}

.ad-sidebar .ad-container {
    width: 300px;
    height: 250px;
    margin: 1rem 0;
}

/* ==========================================================================
   Layout Setup
   ========================================================================== */
.main-layout {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto 3rem auto;
}

.content-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* Cards (Standard Content Containers) */
.card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 0.8rem;
    margin-bottom: 1.2rem;
}

.card-title {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.card-title i {
    color: var(--primary);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

/* ==========================================================================
   Hero/Live Price Section
   ========================================================================== */
.hero-card {
    background: linear-gradient(135deg, hsla(224, 22%, 12%, 0.8) 0%, hsla(224, 25%, 8%, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.coin-logo {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 12px rgba(254, 189, 44, 0.4));
}

.coin-name {
    font-size: 1.6rem;
}

.coin-symbol {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1.2rem;
}

.coin-update-time {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

.coin-metrics {
    text-align: right;
}

.main-price-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
}

.live-price {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.price-badge-change {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.price-badge-change.positive {
    background-color: var(--success-bg);
    color: var(--success);
}

.price-badge-change.negative {
    background-color: var(--danger-bg);
    color: var(--danger);
}

.secondary-price {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.1rem;
}

/* SVG Sparkline Spark */
.sparkline-container {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.sparkline-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.sparkline-title {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sparkline-legend {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.legend-dot.positive {
    background-color: var(--success);
    box-shadow: 0 0 6px var(--success);
}

.legend-dot.negative {
    background-color: var(--danger);
    box-shadow: 0 0 6px var(--danger);
}

.sparkline-svg {
    width: 100%;
    height: 90px;
    margin-top: 0.5rem;
    overflow: visible;
}

.sparkline-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 4px 6px rgba(254, 189, 44, 0.3));
}

.sparkline-fill {
    fill: url(#sparkline-grad);
}

/* Floating Animations */
.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   Tool Cards & Form Controls
   ========================================================================== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-heading);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
}

.input-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.75rem 0.75rem 2.2rem;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: var(--transition);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(254, 189, 44, 0.2);
}

/* Selector tags under inputs */
.quick-selectors {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
}

.btn-quick, .btn-quick-target {
    background: rgba(255, 255, 255, 0.04);
    border: var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-quick:hover, .btn-quick-target:hover {
    background-color: var(--primary-glow);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-quick-target.active {
    background-color: var(--primary);
    color: #121212;
    border-color: var(--primary);
}

/* Slider Controls */
.range-group {
    margin: 1.5rem 0;
}

.range-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.range-value {
    font-weight: 700;
    color: var(--primary);
}

.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    margin: 0.5rem 0;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(254, 189, 44, 0.7);
    transition: var(--transition);
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(254, 189, 44, 1);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Results Grid */
.sim-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.sim-result-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.sim-result-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sim-result-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.total-value {
    border-left: 3px solid var(--secondary);
}

.total-value .sim-result-value {
    color: var(--secondary);
}

.profit-gain {
    border-left: 3px solid var(--success);
}

.profit-gain .sim-result-value {
    color: var(--success);
}

.multiplier {
    border-left: 3px solid var(--primary);
}

.multiplier .sim-result-value {
    color: var(--primary);
}

.doge-owned {
    border-left: 3px solid var(--text-muted);
}

/* ==========================================================================
   Converter Elements
   ========================================================================== */
.converter-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.converter-row {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.15);
    border: var(--glass-border);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
}

.converter-input-col, .converter-select-col {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.converter-input-col label, .converter-select-col label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.converter-input-col input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    outline: none;
}

.custom-select {
    background: rgba(255, 255, 255, 0.05);
    border: var(--glass-border);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.4rem;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
}

.custom-select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.converter-divider {
    display: flex;
    justify-content: center;
    margin: -0.5rem 0;
    z-index: 10;
}

.btn-swap {
    background: var(--primary);
    border: none;
    color: #121212;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.btn-swap:hover {
    transform: rotate(180deg) scale(1.1);
    background-color: var(--text-primary);
}

.conversion-rate-info {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ==========================================================================
   Sidebar: Stats, Sentiment & News
   ========================================================================== */
.stats-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stats-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.5rem;
    font-size: 0.9rem;
}

.stats-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-name {
    color: var(--text-secondary);
}

.stat-value {
    font-weight: 700;
    font-family: var(--font-heading);
}

.stat-value.positive {
    color: var(--success);
}

.stat-value.negative {
    color: var(--danger);
}

/* Sentiment Dial Gauge */
.sentiment-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.gauge-wrapper {
    position: relative;
    width: 160px;
    height: 100px;
}

.gauge-svg-container {
    width: 100%;
    height: 100%;
}

.gauge-svg {
    width: 100%;
    height: 100%;
    transform: scaleY(1);
}

.gauge-track {
    stroke: rgba(255,255,255,0.06);
}

.gauge-fill {
    stroke: url(#gauge-grad);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease-in-out;
}

/* Radial Gauge needle */
.gauge-needle {
    stroke: var(--text-primary);
    transform-origin: 50px 50px;
    transform: rotate(0deg); /* Updated by JS */
    transition: transform 0.8s ease-in-out;
}

.gauge-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gauge-score {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.gauge-sentiment-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

/* Sentiment Bar */
.social-sentiment {
    width: 100%;
}

.social-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.sentiment-bar-wrapper {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
}

.sentiment-bar {
    height: 100%;
    transition: var(--transition);
}

.positive-bar {
    background-color: var(--success);
}

.neutral-bar {
    background-color: var(--text-muted);
}

.negative-bar {
    background-color: var(--danger);
}

.sentiment-legend {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.dot.positive { background-color: var(--success); }
.dot.neutral { background-color: var(--text-muted); }

/* Affiliate items */
.affiliate-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.affiliate-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.affiliate-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.affiliate-logo {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.affiliate-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.affiliate-info h4 {
    font-size: 0.95rem;
}

.affiliate-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.affiliate-info .btn {
    align-self: flex-start;
    margin-top: 0.4rem;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.75rem;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.news-title-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    transition: var(--transition);
}

.news-title-link:hover {
    color: var(--primary);
}

/* Loading States Skeleton */
.loading {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.loading-line {
    height: 12px;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: loading-shine 1.5s infinite;
    border-radius: 4px;
}

.loading-line.short {
    width: 60%;
}

@keyframes loading-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background: hsla(224, 25%, 3%, 0.85);
    border-top: var(--glass-border);
    padding: 3rem 0 1.5rem 0;
    margin-top: 3rem;
}

.footer-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    width: 90%;
    max-width: 1400px;
    margin: 1.5rem auto 0 auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.6;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(6, 9, 15, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 90%;
    max-width: 460px;
    padding: 2rem;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

.modal-icon {
    font-size: 3rem;
    color: var(--danger);
    margin-bottom: 1rem;
}

.animate-pulse {
    animation: heart-pulse 1.5s infinite alternate;
}

@keyframes heart-pulse {
    0% { transform: scale(0.95); }
    100% { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(239, 83, 80, 0.4)); }
}

.modal-body h3 {
    margin-bottom: 0.5rem;
}

.modal-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.qr-container {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.qr-code {
    display: block;
    width: 150px;
    height: 150px;
}

.address-copy-container {
    text-align: left;
}

.address-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.address-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.address-text {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
    word-break: break-all;
}

.btn-copy {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.2rem;
    transition: var(--transition);
}

.btn-copy:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.copy-success-message {
    display: none;
    font-size: 0.75rem;
    color: var(--success);
    margin-top: 0.4rem;
    text-align: center;
}

.copy-success-message.show {
    display: block;
    animation: fade-in 0.3s ease;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   AI Trading Signals Dashboard Styles
   ========================================================================== */
.signal-dashboard {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.signal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.signal-action-badge {
    font-weight: bold;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-family: var(--font-heading);
}

.signal-action-badge.long {
    background-color: var(--success-bg);
    color: var(--success);
    border: 1px solid var(--success);
    animation: signal-glow 2s infinite alternate;
}

@keyframes signal-glow {
    0% { box-shadow: 0 0 5px var(--success-bg); }
    100% { box-shadow: 0 0 15px var(--success); }
}

.signal-leverage {
    color: var(--text-secondary);
}

.signal-leverage strong {
    color: var(--primary);
}

.signal-params-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.signal-param-box {
    background: rgba(255, 255, 255, 0.02);
    border: var(--glass-border);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
}

.param-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.param-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.signal-targets-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.target-progress-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.target-progress-col {
    background: rgba(0, 0, 0, 0.15);
    border: var(--glass-border);
    border-radius: 8px;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    opacity: 0.5;
    transition: var(--transition);
}

.target-progress-col.reached {
    opacity: 1;
    border-color: var(--success);
    background: hsla(142, 70%, 45%, 0.03);
}

.target-progress-col.active {
    opacity: 1;
    border-color: var(--primary);
    background: hsla(42, 95%, 53%, 0.03);
}

.target-indicator {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.target-progress-col.reached .target-indicator i {
    color: var(--success);
}

.pulse-dot-indicator {
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--primary);
    animation: target-pulse 1s infinite alternate;
}

@keyframes target-pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--primary); }
}

.target-name {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.target-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.target-status {
    font-size: 0.65rem;
    margin-top: 0.2rem;
}

.target-progress-col.reached .target-status {
    color: var(--success);
}

.target-progress-col.active .target-status {
    color: var(--primary);
}

.success-text {
    color: var(--success) !important;
}

.danger-text {
    color: var(--danger) !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .content-container {
        grid-template-columns: 1fr;
    }
    
    .ad-leaderboard .ad-container {
        width: 100%;
        height: auto;
        min-height: 90px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .nav-menu {
        justify-content: space-between;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }
    
    .header-ticker {
        align-self: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .sim-results-grid {
        grid-template-columns: 1fr;
    }
    
    .converter-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .converter-select-col {
        width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   Language Selector Dropdown
   ========================================================================== */
.lang-selector-wrapper {
    position: relative;
    display: inline-block;
}

.lang-selector-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: var(--glass-border);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.lang-selector-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #0f1322; /* Fallback dark bg */
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    min-width: 120px;
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.open {
    display: flex;
}

.lang-opt {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 0.6rem 1rem;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    width: 100%;
}

.lang-opt:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.lang-opt.active {
    color: var(--primary);
    font-weight: 600;
    background: rgba(254, 189, 44, 0.05);
}

/* ==========================================================================
   MSN-Style Rich News Grid
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.news-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(254, 189, 44, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.news-image-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #121212;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.news-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.6rem;
    text-decoration: none;
    transition: var(--transition);
}

.news-card-title:hover {
    color: var(--primary);
}

.news-card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.news-card-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 0.75rem;
    margin-top: auto;
}

.news-card-action .news-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.news-card-action .news-link:hover {
    color: var(--text-primary);
    transform: translateX(3px);
}

/* ==========================================================================
   Article Reader Modal
   ========================================================================== */
.article-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(6, 9, 15, 0.9);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.article-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.article-modal-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: var(--transition);
}

.article-modal-overlay.open .article-modal-card {
    transform: scale(1);
}

.article-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: var(--glass-border);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.article-modal-close:hover {
    background: var(--primary);
    color: #121212;
    transform: scale(1.1);
}

.article-modal-hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.article-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-modal-category {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: var(--primary);
    color: #121212;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.article-modal-body {
    padding: 2rem;
}

.article-modal-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.article-modal-meta span i {
    color: var(--primary);
    margin-right: 6px;
}

.article-modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.article-modal-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.article-modal-text p {
    margin-bottom: 1.25rem;
}

.article-modal-text h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-modal-text blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-primary);
    background: rgba(254, 189, 44, 0.03);
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
}

/* Custom Scrollbar for Modal Card */
.article-modal-card::-webkit-scrollbar {
    width: 8px;
}

.article-modal-card::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.article-modal-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.article-modal-card::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Header/Footer X.com Hover and Icon Adjustment */
.social-header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: var(--glass-border);
    transition: var(--transition);
    margin-left: 0.5rem;
    color: var(--text-secondary) !important;
    text-decoration: none;
}

.social-header-link i {
    color: var(--text-secondary) !important;
    transition: var(--transition);
    font-size: 0.95rem;
}

.social-header-link:hover {
    background: rgba(254, 189, 44, 0.15) !important;
    border-color: var(--primary) !important;
}

.social-header-link:hover img {
    transform: scale(1.1);
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary) !important;
}

