/* GOLD TOOLS WIDGET - DASHBOARD */

.gold-tools-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.gold-tools-header {
    padding: 0 8px;
}

.gold-tools-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.gold-tools-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    line-height: 1.5;
}

/* GRID */
.gold-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.side-tools .gold-tools-grid {
    grid-template-columns: 1fr;
}

.side-tools .gold-tools-grid .gold-tool-card:nth-child(3) {
    display: none;
}

.gold-tools-grid[data-columns="1"] {
    grid-template-columns: 1fr;
}

.gold-tools-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

/* TOOL CARD */
.gold-tool-card {
    display: block;
    background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

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

.gold-tool-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.gold-tool-card:hover::before {
    opacity: 1;
}

/* ICON */
.gold-tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.gold-tool-icon svg {
    width: 24px;
    height: 24px;
    stroke: #3b82f6;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* TEXT */
.gold-tool-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.gold-tool-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    margin: 0 0 12px 0;
}

/* LIVE DATA */
.gold-tool-live-data {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
    margin: 0;
}

/* BADGE */
.gold-tool-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* LIVE DOT */
.gold-live-dot {
    width: 5px;
    height: 5px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
    }
    50% {
        opacity: 0.3;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .gold-tools-grid,
    .gold-tools-grid[data-columns="2"],
    .gold-tools-grid[data-columns="3"] {
        grid-template-columns: 1fr;
    }
    
    .gold-tool-card {
        padding: 24px 20px;
    }
}

@media (max-width: 600px) {
    .gold-tools-title {
        font-size: 16px;
    }
    
    .gold-tools-subtitle {
        font-size: 12px;
    }
    
    .gold-tool-icon {
        width: 40px;
        height: 40px;
    }
    
    .gold-tool-icon svg {
        width: 20px;
        height: 20px;
    }
}


@media screen and (min-width: 786px) {
    .entry-content .gold-tools-panel  h3 {
        margin-top: 0 !important;
    }
}


/* HERO */
/* ============================================
   HERO PRICE WIDGET
   ============================================ */
/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 60px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

@media screen and (max-width: 1200px) {
    .hero-section {
        padding: 48px 20px;
    }
}

@media screen and (max-width: 480px) {
    .hero-section {
        padding: 35px 15px;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: 0;
    width: 100%;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 60px;
    align-items: center;
}
@media screen and (max-width: 1100px) {
    .hero-content {
        gap: 40px;
    }
}

/* PRICE BLOCK */
.price-block {
    text-align: left;
}

.price-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.price-main {
    font-size: 72px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 12px;
    font-feature-settings: 'tnum';
}

.price-change-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-change {
    font-size: 24px;
    font-weight: 700;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-badge {
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-change.negative,
.price-badge.negative {
    color: #ef4444;
}

.price-badge.negative {
    background: rgba(239, 68, 68, 0.15);
}

/* MINI CHART */
/* MINI CHART CONTAINER */
.mini-chart {
    flex: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

@media screen and (max-width: 901px) {
    .mini-chart {
        width: 100%;
        height: 180px;
        padding: 0;
    }

}


.hero-mini-chart {
    border-radius: 8px;
}

/* CHART PLACEHOLDER - vnútorný gradient box */
.chart-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.2), transparent);
    border-radius: 8px;
}

/* CHART LINE - horizontálna čiara */
.chart-line {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

/* MARKET STATS */
.market-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-item {
    text-align: right;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .price-main {
        font-size: 40px;
    }
}
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .price-block {
        text-align: center;
    }
    
    .market-stats {
        flex-direction: row;
        justify-content: center;
        gap: 32px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .price-main {
        font-size: 56px;
    }
}