/* ==========================================================================
   NEWS HUNTER — DIVISI BARU PHANTOM INTELLIGENCE
   Design System: Dark theme matching existing PI brand
   ========================================================================== */

/* ---- HERO SECTION ---- */
.news-hero-section {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.news-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(0, 245, 255, 0.03) 0%, transparent 50%);
    animation: newsHeroPulse 15s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes newsHeroPulse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, -20px) scale(1.05); }
}

.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFD700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: badgeGlow 3s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
    0% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.1); }
    100% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.2); }
}

.news-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #EAEAEA 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-headline .gold-accent {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-subheadline {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.news-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 32px;
}

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

.hero-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #FFD700;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- FEATURED COUNTDOWN SECTION ---- */
.featured-countdown-section {
    padding: 40px 0 80px;
}

.featured-card {
    position: relative;
    background: linear-gradient(145deg, rgba(20, 20, 23, 0.9), rgba(30, 30, 35, 0.6));
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    padding: 48px;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, #00F5FF, transparent);
    animation: topLineSlide 4s ease-in-out infinite;
}

@keyframes topLineSlide {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.featured-card::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.featured-info {
    flex: 1;
    min-width: 250px;
}

.featured-event-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    font-family: 'JetBrains Mono', var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFD700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.featured-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 8px;
    line-height: 1.2;
}

.featured-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    max-width: 100%;
    margin: 0;
    line-height: 1.5;
}

.featured-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-family: 'JetBrains Mono', var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.featured-status-badge.upcoming {
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    color: #00F5FF;
}

.featured-status-badge.live {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.4);
    color: #FF5252;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255, 82, 82, 0); }
}

.featured-status-badge.completed {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: #00E676;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.status-dot.live {
    animation: dotBlink 1s infinite;
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}

.countdown-value {
    font-family: 'JetBrains Mono', var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    background: linear-gradient(180deg, #FFFFFF 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.countdown-value::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

.countdown-separator {
    font-family: 'JetBrains Mono', var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.4);
    line-height: 1;
    align-self: flex-start;
    animation: separatorBlink 1.5s ease-in-out infinite;
}

@keyframes separatorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Featured Bottom Prediction Strip */
.featured-prediction-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pred-item {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.pred-item-label {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.pred-item-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.pred-item-value.bullish {
    color: #00E676;
}

.pred-item-value.bearish {
    color: #FF5252;
}

.pred-item-value.gold {
    color: #FFD700;
}

.pred-item-value.cyan {
    color: #00F5FF;
}

/* ---- EVENTS GRID SECTION ---- */
.events-section {
    padding: 80px 0;
}

.events-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.events-section-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

/* Individual Event Card */
.event-card {
    position: relative;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(255, 215, 0, 0.05);
}

.event-card:hover::before {
    opacity: 1;
}

.event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.event-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}

.event-type-badge.cpi {
    background: rgba(255, 215, 0, 0.12);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.event-type-badge.nfp {
    background: rgba(0, 245, 255, 0.12);
    color: #00F5FF;
    border: 1px solid rgba(0, 245, 255, 0.25);
}

.event-type-badge.fomc {
    background: rgba(156, 39, 176, 0.12);
    color: #CE93D8;
    border: 1px solid rgba(156, 39, 176, 0.25);
}

.event-status-mini {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-status-mini.upcoming {
    background: rgba(0, 245, 255, 0.1);
    color: #00F5FF;
}

.event-status-mini.live {
    background: rgba(255, 82, 82, 0.15);
    color: #FF5252;
    animation: livePulse 1.5s ease-in-out infinite;
}

.event-status-mini.profit {
    background: rgba(0, 230, 118, 0.12);
    color: #00E676;
}

.event-status-mini.loss {
    background: rgba(255, 82, 82, 0.12);
    color: #FF5252;
}

.event-status-mini.completed {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-secondary);
}

.event-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    line-height: 1.3;
}

.event-card-subtitle {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.4;
    max-width: 100%;
}

/* Mini Countdown in Card */
.card-countdown {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.card-countdown-unit {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.card-countdown-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.card-countdown-label {
    font-size: 0.6rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Prediction Preview on Card */
.card-prediction {
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 16px;
}

.card-bias {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.card-bias-label {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-bias-value {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
}

.card-bias-value.bullish { color: #00E676; }
.card-bias-value.bearish { color: #FF5252; }

/* Confidence Bar */
.confidence-bar-container {
    margin-top: 8px;
}

.confidence-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.confidence-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.confidence-label {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 0.65rem;
    color: var(--color-text-secondary);
}

/* Card Action */
.card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-agent-count {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.card-agent-count strong {
    color: #FFD700;
}

.card-view-btn {
    font-size: 0.75rem;
    color: #00F5FF;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.event-card:hover .card-view-btn {
    gap: 8px;
}

/* ---- REPORT MODAL / OVERLAY ---- */
.report-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 20px;
}

.report-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.report-modal {
    width: 100%;
    max-width: 900px;
    background: linear-gradient(180deg, #141417 0%, #0D0D0F 100%);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 24px;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.report-modal-overlay.active .report-modal {
    transform: translateY(0) scale(1);
}

.report-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--color-text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.report-modal-close:hover {
    background: rgba(255, 82, 82, 0.15);
    border-color: rgba(255, 82, 82, 0.3);
    color: #FF5252;
}

/* Modal Header */
.report-modal-header {
    padding: 40px 40px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.report-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #00F5FF, #FFD700);
}

.report-modal-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.report-modal-title {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
}

.report-modal-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 100%;
}

/* Scenario Overview in Modal */
.report-scenarios {
    padding: 24px 40px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.scenario-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scenario-bar-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.scenario-bar-label {
    width: 180px;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

.scenario-bar-track {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 5px;
    overflow: hidden;
}

.scenario-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.scenario-bar-pct {
    width: 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: right;
    flex-shrink: 0;
}

/* Report Sections in Modal */
.report-modal-body {
    padding: 40px;
}

.report-section {
    margin-bottom: 40px;
}

.report-section-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #FFD700;
    letter-spacing: 2px;
    margin-bottom: 6px;
    display: block;
}

.report-section-title {
    font-size: 1.35rem;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

/* Report Content Styling */
.report-content h3 {
    font-size: 1.1rem;
    color: white;
    margin: 24px 0 12px;
}

.report-content h4 {
    font-size: 0.95rem;
    color: #FFD700;
    margin: 20px 0 10px;
}

.report-content p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
    max-width: 100%;
}

.report-content blockquote {
    border-left: 3px solid #FFD700;
    padding: 12px 20px;
    margin: 16px 0;
    background: rgba(255, 215, 0, 0.03);
    border-radius: 0 8px 8px 0;
}

.report-content blockquote em {
    color: var(--color-text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.report-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.85rem;
}

.report-content table thead th {
    background: rgba(255, 215, 0, 0.06);
    color: #FFD700;
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.report-content table tbody td {
    padding: 10px 14px;
    color: var(--color-text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.report-content table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.report-content ul,
.report-content ol {
    padding-left: 20px;
    margin: 12px 0;
}

.report-content li {
    color: var(--color-text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.report-content li strong {
    color: white;
}

/* ---- DISCLAIMER SECTION ---- */
.disclaimer-section {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.disclaimer-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 32px;
    background: rgba(255, 82, 82, 0.04);
    border: 1px solid rgba(255, 82, 82, 0.12);
    border-radius: 12px;
}

.disclaimer-box p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin: 0;
    max-width: 100%;
    line-height: 1.7;
}

.disclaimer-box strong {
    color: #FF5252;
}

/* ---- POWERED BY SECTION ---- */
.powered-section {
    padding: 0 0 60px;
    text-align: center;
}

.powered-label {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.powered-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: white;
    opacity: 0.5;
}

/* ---- RESULT OVERLAY ON EVENT CARD ---- */
.result-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(13, 13, 15, 0.75);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
}

.event-card.has-result:hover .result-overlay {
    opacity: 1;
}

.result-badge {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.result-badge.profit { color: #00E676; }
.result-badge.loss { color: #FF5252; }

.result-note {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .news-headline {
        font-size: 2.2rem;
    }

    .featured-card {
        padding: 28px 20px;
    }

    .countdown-value {
        font-size: 2.2rem;
    }

    .countdown-separator {
        font-size: 1.8rem;
    }

    .countdown-unit {
        min-width: 60px;
    }

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

    .featured-header {
        flex-direction: column;
    }

    .featured-prediction-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .report-modal-header,
    .report-modal-body,
    .report-scenarios {
        padding-left: 20px;
        padding-right: 20px;
    }

    .report-modal-title {
        font-size: 1.2rem;
    }

    .scenario-bar-label {
        width: 120px;
        font-size: 0.7rem;
    }

    .report-modal {
        border-radius: 16px;
        margin: 10px;
    }

    .news-hero-stats {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .news-headline {
        font-size: 1.8rem;
    }

    .countdown-container {
        gap: 8px;
    }

    .countdown-value {
        font-size: 1.8rem;
    }

    .countdown-separator {
        font-size: 1.4rem;
    }

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

    .report-modal-overlay {
        padding: 10px;
    }
}

/* ---- DOCK NAVIGATION STYLING ---- */
.dock-container {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 10000;
    pointer-events: none;
}

@media (max-width: 768px) {
    .dock-container {
        display: flex !important;
        bottom: 12px;
    }
    .dock-panel {
        padding: 6px 10px;
        gap: 8px;
        border-radius: 20px;
        background: rgba(10, 10, 15, 0.92);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 245, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .dock-item {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .dock-icon {
        font-size: 20px;
    }
}

.dock-panel {
    display: flex;
    align-items: flex-end;
    padding: 8px 12px;
    gap: 12px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.dock-item {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: transform 0.1s ease, width 0.1s ease, height 0.1s ease, background 0.3s;
    will-change: width, height, transform;
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dock-item.active {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.05);
}

.dock-icon {
    font-size: 24px;
    user-select: none;
}

.dock-label {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dock-item:hover .dock-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dock-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 8px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.dock-badge.hot {
    background: linear-gradient(45deg, #ff4b2b, #ff416c);
    color: white;
}

.dock-badge.live {
    background: #00ff88;
    color: black;
}

.dock-badge.pro {
    background: linear-gradient(45deg, #f1c40f, #f39c12);
    color: black;
}

.dock-badge.new {
    background: #3b82f6;
    color: white;
}

.dock-item.scaling {
    transition: none;
}
