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

:root {
    --primary-red: #ff0000;
    --dark-red: #cc0000;
    --blood-red: #990000;
    --jet-black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #666666;
    --neon-glow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000;
    --success-green: #00ff00;
    --warning-orange: #ff9900;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, var(--jet-black) 0%, var(--dark-gray) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--primary-red); }
    50% { box-shadow: 0 0 20px var(--primary-red), 0 0 30px var(--blood-red); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 1s ease-out;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--jet-black) 0%, var(--blood-red) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-red);
    animation: glow 3s infinite alternate;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: slideIn 3s infinite;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: var(--neon-glow);
    position: relative;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--primary-red);
    white-space: nowrap;
    margin: 0 auto;
    animation: typewriter 3s steps(40, end), blink 0.8s infinite;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.stat-badge {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Navigation */
nav {
    background: var(--dark-gray);
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid var(--primary-red);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 1rem;
    flex-wrap: wrap;
}

nav li {
    margin: 0.5rem 1rem;
    position: relative;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: var(--medium-gray);
    border: 1px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transition: left 0.5s;
}

nav a:hover::before {
    left: 100%;
}

nav a:hover, nav a.active {
    background: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--primary-red);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
}

.stat-content h3 {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.stat-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-red);
}

/* Controls Section */
.controls-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-container {
    flex: 1;
    min-width: 300px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-gray);
    z-index: 2;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--dark-gray);
    border: 2px solid var(--medium-gray);
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.btn-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--light-gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    background: rgba(255, 0, 0, 0.2);
    color: var(--primary-red);
}

.filter-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-container select {
    background: var(--dark-gray);
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-container select:focus {
    border-color: var(--primary-red);
    outline: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--blood-red) 100%);
    color: white;
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--blood-red) 0%, var(--primary-red) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

.btn-action {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
}

.btn-action:hover {
    background: var(--primary-red);
    color: white;
}

/* Data Section */
.data-section {
    background: var(--dark-gray);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--primary-red);
    margin-bottom: 2rem;
}

.data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-red);
}

.data-header h2 {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.data-count {
    color: var(--light-gray);
    font-size: 0.9rem;
}

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

.data-item {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
}

.data-item.verified {
    border-color: var(--success-green);
}

.data-item.pending {
    border-color: var(--warning-orange);
}

.data-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.2);
}

.data-item-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.data-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.data-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.data-title h3 {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.data-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.status-verified {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--success-green);
    color: var(--success-green);
}

.status-pending {
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid var(--warning-orange);
    color: var(--warning-orange);
}

.data-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--light-gray);
}

.data-content {
    background: var(--jet-black);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--medium-gray);
    line-height: 1.6;
}

.data-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--medium-gray);
}

.data-ids {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.id-item {
    background: rgba(255, 0, 0, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.data-actions {
    display: flex;
    gap: 0.5rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--dark-gray);
    border-radius: 15px;
    border: 2px dashed var(--primary-red);
}

.empty-icon {
    font-size: 4rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.empty-state h2 {
    color: white;
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--light-gray);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    border-radius: 15px;
    border: 2px solid var(--primary-red);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.modal-header h2 {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--light-gray);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: var(--primary-red);
}

.modal-body {
    padding: 1.5rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 0.5rem;
}

.detail-content {
    background: var(--jet-black);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--medium-gray);
    line-height: 1.6;
    white-space: pre-wrap;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.detail-item label {
    font-weight: bold;
    color: var(--primary-red);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.detail-item span {
    color: white;
    font-size: 1rem;
}

.verification-info {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
}

.verification-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 6px;
}

.verification-status.verified {
    background: rgba(0, 255, 0, 0.1);
    color: var(--success-green);
}

.verification-status.pending {
    background: rgba(255, 153, 0, 0.1);
    color: var(--warning-orange);
}

.hash-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hash-display label {
    font-weight: bold;
    color: var(--primary-red);
}

.hash-display code {
    flex: 1;
    background: var(--jet-black);
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--medium-gray);
    font-family: 'Courier New', monospace;
    word-break: break-all;
    color: var(--primary-red);
}

.btn-copy {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: var(--primary-red);
    color: white;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--medium-gray);
    text-align: right;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-red);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background: var(--success-green);
}

.notification.error {
    background: var(--dark-red);
}

/* Particle Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-red);
    animation: float 20s infinite linear;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin: 0.3rem 0;
        width: 100%;
        text-align: center;
    }

    nav a {
        display: block;
        width: 100%;
        justify-content: center;
    }

    .controls-section {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        min-width: auto;
    }

    .filter-container {
        justify-content: space-between;
    }

    .data-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .data-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .data-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .data-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .empty-actions {
        flex-direction: column;
    }

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

    .hash-display {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

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

    .data-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .data-ids {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* Mining Status Styles */
.mining-status-section {
    margin-bottom: 2rem;
}

.status-card {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid;
    transition: all 0.3s ease;
}

.status-card.has-pending {
    border-color: var(--warning-orange);
    animation: pulse 2s infinite;
}

.status-card.all-mined {
    border-color: var(--success-green);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.status-header h3 {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-badge.pending {
    background: rgba(255, 153, 0, 0.2);
    border: 1px solid var(--warning-orange);
    color: var(--warning-orange);
}

.status-badge.mined {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid var(--success-green);
    color: var(--success-green);
}

.status-content p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.mining-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}