.price-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }.widget-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 10px 0 20px 0;
    font-weight: 500;
}

/* Price statistics styling */
.price-stats-header {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px 0 5px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.price-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin: 15px 0 25px 0;
    padding-bottom: 0px;
}

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

.price-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.price-stat-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.price-stat-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Update headers to match style */
.recent-blocks-header,
.hashrate-trend-header {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px 0 5px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.recent-blocks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0 25px 0;
    max-height: 200px;
    overflow-y: auto;
}

.block-item {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 50px;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    align-items: center;
    font-size: 0.8rem;
}

.block-pool {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.pool-logo {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    color: var(--accent);
}

.block-height {
    font-weight: 600;
    color: var(--accent);
}

.block-details {
    color: var(--text-secondary);
}

.block-pool {
    text-align: right;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Hashrate trend with line chart */
.hashrate-trend {
    margin: 15px 0 10px 0;
    background: var(--bg-secondary);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    padding: 15px;
    height: 140px;
}

.hashrate-chart {
    width: 100%;
    height: 80px;
    position: relative;
    margin-bottom: 10px;
}

.chart-line-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-line-svg {
    width: 100%;
    height: 100%;
}

.chart-path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    filter: drop-shadow(0 0 4px rgba(247, 147, 26, 0.3));
}

.chart-area {
    fill: url(#gradient);
    opacity: 0.3;
}

.chart-days {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    font-size: 0.55rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.chart-values {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.chart-low {
    color: #ef4444;
}

.chart-high {
    color: var(--success);
}

.chart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-size: 0.8rem;
}.difficulty-adjustment-header {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px 0 5px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.difficulty-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin: 15px 0 25px 0;
    padding-bottom: 0px;
    /* border-bottom: 1px solid var(--border); */
}

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

.difficulty-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.difficulty-stat-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.difficulty-stat-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

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

.negative {
    color: #ef4444;
}.metric-display {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.metric-value {
    font-size: 2rem;
}

.metric-unit {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Standard: Dunkler Modus */
    --bg-primary: #0a0b0d;
    --bg-secondary: #141518;
    --bg-card: #1c1d21;
    --text-primary: #ffffff;
    --text-secondary: #a0a3a8;
    --text-muted: #6b7280;
    --accent: #f7931a;
    --accent-glow: rgba(247, 147, 26, 0.3);
    --border: #2d2f35;
    --success: #10b981;
    --shadow: rgba(0, 0, 0, 0.5);
}

/* Automatischer heller Modus bei OS-Einstellung */
@media (prefers-color-scheme: light) {
    :root {
        --bg-primary: #f8fafc;
        --bg-secondary: #f1f5f9;
        --bg-card: #ffffff;
        --text-primary: #1e293b;
        --text-secondary: #475569;
        --text-muted: #94a3b8;
        --border: #e2e8f0;
        --shadow: rgba(0, 0, 0, 0.1);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    transition: all 0.4s ease;
    overflow-x: hidden;
}

.status-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.network-status {
    color: var(--success);
    font-size: 12px;
    animation: pulse 2s infinite;
}

.time-display {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.main-container {
    padding: 60px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header {
    text-align: center;
    margin-bottom: 60px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    color: var(--accent);
    filter: drop-shadow(0 0 10px var(--accent-glow));
    transition: all 0.3s ease;
    animation: glow 3s ease-in-out infinite alternate;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
}

.data-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
}

/* Desktop: 2x2 Grid */
@media (min-width: 769px) {
    .data-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .data-card {
        width: 100%;
    }
}

.data-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.data-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--shadow);
}

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

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-icon {
    font-size: 1.5rem;
    opacity: 0.7;
}

.value-container {
    margin: 25px 0;
    text-align: center;
}

.digit-display {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.digit {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 12px;
    width: 50px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.block-card .digit {
    width: 55px;
    height: 80px;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.1);
}

.price-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 80px;
}

.currency-symbol {
    color: var(--accent);
    font-size: 2.5rem;
}

.digit.flipping {
    transform: rotateX(90deg);
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.digit.flipped {
    transform: rotateX(0deg);
    animation: flash 0.5s ease;
}

.card-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    margin-top: auto;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.update-status {
    color: var(--text-secondary);
    font-weight: 500;
}

.update-status.loading {
    color: var(--accent);
    animation: pulse 2s infinite;
}

.update-status.success {
    color: var(--success);
}

.next-update {
    color: var(--text-muted);
    font-size: 0.9rem;
}

#countdown {
    color: var(--accent);
    font-weight: 600;
}

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

@keyframes glow {
    0% { filter: drop-shadow(0 0 10px var(--accent-glow)); }
    100% { filter: drop-shadow(0 0 20px var(--accent-glow)); }
}

@keyframes flash {
    0% { box-shadow: 0 0 20px var(--accent-glow); }
    100% { box-shadow: none; }
}

@media (max-width: 768px) {
    .logo {
        height: 40px;
        width: 160px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .data-grid {
        gap: 20px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .data-card {
        padding: 20px;
        min-width: unset;
    }
    
    .digit {
        width: 35px;
        height: 50px;
        font-size: 1.3rem;
        gap: 4px;
    }
    
    .digit-display {
        gap: 4px;
        justify-content: center;
    }
    
    .block-card .digit {
        width: 40px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .price-display {
        font-size: 2rem;
    }
    
    .currency-symbol {
        font-size: 1.8rem;
    }
    
    .metric-display {
        font-size: 1.4rem;
    }
    
    .metric-value {
        font-size: 1.6rem;
    }
    
    .difficulty-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .recent-blocks {
        max-height: 150px;
    }
    
    .block-item {
        grid-template-columns: 50px 1fr 1fr 50px;
        font-size: 0.75rem;
        padding: 6px 8px;
        gap: 6px;
    }
    
    .hashrate-trend {
        height: 100px;
    }
    
    .info-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Landscape mode for phones */
@media (max-width: 896px) and (orientation: landscape) {
    .data-grid {
        max-width: none;
        margin: 0 auto;
    }
    
    .data-card {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .difficulty-details {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
    }
    
    .main-container {
        padding: 40px 20px 20px;
    }
    
    .header {
        margin-bottom: 40px;
    }
    
    .hashrate-trend {
        height: auto;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 60px 10px 20px;
    }
    
    .data-grid {
        gap: 15px;
        max-width: 100%;
    }
}