/* KiezForm Blockchain Explorer - Professional AAA Design */
/* Ultra-modern monochrome theme with advanced animations */

/* CSS Variables for Consistent Theming */
:root {
    --kf-black: #0a0a0a;
    --kf-dark: #1a1a1a;
    --kf-gray: #2a2a2a;
    --kf-light-gray: #808080;
    --kf-white: #ffffff;
    --kf-border: rgba(255, 255, 255, 0.05);
    --kf-border-hover: rgba(255, 255, 255, 0.15);
    --kf-glow: rgba(255, 255, 255, 0.03);
    --animation-fast: 0.3s;
    --animation-medium: 0.6s;
    --animation-slow: 1.2s;
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--kf-black);
    border: 1px solid var(--kf-border);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--kf-gray), var(--kf-dark));
    border-radius: 4px;
    transition: background var(--animation-fast) ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--kf-light-gray), var(--kf-gray));
}

/* Professional Keyframe Animations */
@keyframes dataStream {
    0% { transform: translateY(100%) scaleY(0); opacity: 0; }
    50% { transform: translateY(0) scaleY(1); opacity: 0.3; }
    100% { transform: translateY(-100%) scaleY(0); opacity: 0; }
}

@keyframes matrixRain {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

@keyframes circuitPulse {
    0% { opacity: 0; }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% { opacity: 0; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.02); }
    50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.05); }
}

@keyframes slideInFromTop {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Blockchain Header with Matrix Effect */
.blockchain-header {
    background: linear-gradient(180deg, 
        var(--kf-black) 0%, 
        rgba(26, 26, 26, 0.95) 50%, 
        var(--kf-black) 100%);
    border: 1px solid var(--kf-border);
    padding: 4rem 3rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    animation: slideInFromTop var(--animation-medium) ease-out;
}

.blockchain-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.01) 10px,
            rgba(255, 255, 255, 0.01) 20px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.01) 10px,
            rgba(255, 255, 255, 0.01) 20px
        );
    animation: circuitPulse 2s ease-in-out;
    animation-fill-mode: forwards;
}

.blockchain-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: dataStream 2s linear;
    animation-fill-mode: forwards;
}

.blockchain-header h1 {
    font-size: 3rem;
    font-weight: 100;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.blockchain-header .subtitle {
    font-size: 1rem;
    color: #808080;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.chain-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    padding: 1px;
    position: relative;
    z-index: 1;
}

.info-item {
    background: #000;
    padding: 2rem 1rem;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.05), 
        transparent);
    transition: left var(--animation-medium) ease;
}

.info-item:hover::before {
    left: 100%;
}

.info-item:hover {
    border-color: var(--kf-border-hover);
    background: linear-gradient(135deg, 
        var(--kf-black) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
}

.info-label {
    display: block;
    font-size: 0.8rem;
    color: #606060;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.info-value {
    display: block;
    font-size: 1.2rem;
    color: var(--kf-white);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: all var(--animation-fast) ease;
}

.info-item:hover .info-value {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Search Section */
.search-section {
    margin-bottom: 4rem;
}

.search-container {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.02));
    opacity: 0;
    transition: opacity 0.3s;
}

.search-container:hover::before {
    opacity: 1;
}

.search-container h2 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.search-description {
    color: #808080;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.search-input-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    padding: 1px;
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.search-input {
    background: #000;
    border: 1px solid transparent;
    color: #fff;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    outline: none;
}

.search-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(10, 10, 10, 0.9);
}

.search-input::placeholder {
    color: #606060;
    text-transform: none;
    letter-spacing: normal;
}

.search-button {
    background: #000;
    border: 1px solid transparent;
    color: #808080;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.search-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.search-button:hover::before {
    opacity: 1;
}

.search-button:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.search-results {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

/* Blockchain Section */
.blockchain-section {
    margin-bottom: 4rem;
}

.blockchain-section .section-title {
    font-size: 2rem;
    font-weight: 100;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
}

.section-description {
    text-align: center;
    color: #808080;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.blockchain-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.view-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    padding: 1px;
}

.control-btn {
    background: #000;
    border: 1px solid transparent;
    color: #808080;
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0, 255, 0, 0.02));
    opacity: 0;
    transition: opacity 0.3s;
}

.control-btn:hover::before,
.control-btn.active::before {
    opacity: 1;
}

.control-btn:hover,
.control-btn.active {
    border-color: var(--kf-border-hover);
    color: var(--kf-white);
    background: linear-gradient(135deg, 
        var(--kf-dark) 0%, 
        var(--kf-gray) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.filter-select {
    background: var(--kf-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #808080;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: 
        linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.4) 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.4) 50%, transparent 50%);
    background-position: 
        calc(100% - 15px) calc(1em + 2px),
        calc(100% - 10px) calc(1em + 2px);
    background-size: 
        5px 5px,
        5px 5px;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
}

.filter-select:focus {
    border-color: var(--kf-border-hover);
    color: var(--kf-white);
    background-color: var(--kf-dark);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.filter-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* Dropdown Option Styling */
.filter-select option {
    background: var(--kf-dark);
    color: #ffffff;
    padding: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
}

.filter-select option:hover,
.filter-select option:focus,
.filter-select option:checked {
    background: var(--kf-gray);
    color: #ffffff;
}

/* Blockchain Container with Advanced Effects */
.blockchain-container {
    background: linear-gradient(135deg, 
        var(--kf-black) 0%, 
        rgba(26, 26, 26, 0.95) 50%, 
        var(--kf-black) 100%);
    border: 1px solid var(--kf-border);
    padding: 3rem;
    min-height: 600px;
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
    animation: slideInFromTop var(--animation-medium) ease-out 0.2s both;
}

.blockchain-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Grid View with Stagger Animation */
.blockchain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1px;
    background: var(--kf-border);
    padding: 1px;
    position: relative;
}

/* Chain View with Flow Animation */
.blockchain-chain {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: var(--kf-border);
    padding: 1px;
    position: relative;
}

/* Advanced Block Entry Animations */
@keyframes blockEntry {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blockGlow {
    0%, 100% {
        box-shadow: 
            inset 0 0 10px rgba(255, 255, 255, 0.02),
            0 0 10px rgba(255, 255, 255, 0.02);
    }
    50% {
        box-shadow: 
            inset 0 0 15px rgba(255, 255, 255, 0.05),
            0 0 15px rgba(255, 255, 255, 0.05);
    }
}

/* Block Styles with Professional Animations */
.block {
    background: var(--kf-black);
    border: 1px solid transparent;
    padding: 1.5rem 1rem;
    transition: all var(--animation-fast) cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: blockEntry var(--animation-medium) ease-out backwards;
    will-change: transform, opacity;
}

/* Stagger animation for blocks - subtle */
.block:nth-child(1) { animation-delay: 0.02s; }
.block:nth-child(2) { animation-delay: 0.04s; }
.block:nth-child(3) { animation-delay: 0.06s; }
.block:nth-child(4) { animation-delay: 0.08s; }
.block:nth-child(5) { animation-delay: 0.1s; }
.block:nth-child(6) { animation-delay: 0.12s; }
.block:nth-child(7) { animation-delay: 0.14s; }
.block:nth-child(8) { animation-delay: 0.16s; }
.block:nth-child(9) { animation-delay: 0.18s; }
.block:nth-child(10) { animation-delay: 0.2s; }

.block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width var(--animation-fast) ease, height var(--animation-fast) ease;
    pointer-events: none;
}

.block:hover::before {
    width: 200%;
    height: 200%;
}

.block:hover {
    border-color: var(--kf-border-hover);
    transform: translateY(-2px);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.02);
}

/* Block Types with Monochrome Theme */
.block.mint {
    border-left: 3px solid var(--kf-white);
    background: linear-gradient(135deg, 
        var(--kf-black) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
}

.block.mint::after {
    content: 'MINT';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.6rem;
    color: var(--kf-white);
    opacity: 0.3;
    letter-spacing: 0.1em;
}

.block.transfer {
    border-left: 3px solid var(--kf-light-gray);
    background: linear-gradient(135deg, 
        var(--kf-black) 0%, 
        rgba(128, 128, 128, 0.02) 100%);
}

.block.transfer::after {
    content: 'TRANSFER';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.6rem;
    color: var(--kf-light-gray);
    opacity: 0.3;
    letter-spacing: 0.1em;
}

/* Highlighted Block with Pulse Animation */
@keyframes highlightPulse {
    0% {
        box-shadow: 
            0 0 10px rgba(255, 255, 255, 0.2),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.6);
    }
    50% {
        box-shadow: 
            0 0 20px rgba(255, 255, 255, 0.3),
            inset 0 0 10px rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.8);
    }
    100% {
        box-shadow: 
            0 0 10px rgba(255, 255, 255, 0.2),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.6);
    }
}

.block.highlighted {
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 100%);
    animation: highlightPulse 2s ease-in-out;
    animation-fill-mode: forwards;
    transform: scale(1.02);
    z-index: 10;
}

.block.highlighted::before {
    width: 200%;
    height: 200%;
    opacity: 1;
}

/* Block Content */
.block-header {
    margin-bottom: 1rem;
}

.block-id {
    font-size: 0.8rem;
    color: var(--kf-white);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
    opacity: 0.9;
    transition: all var(--animation-fast) ease;
}

.block:hover .block-id {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.block-type {
    font-size: 0.7rem;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.block-content {
    flex-grow: 1;
}

.block-product {
    font-size: 0.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.block-owner {
    font-size: 0.7rem;
    color: #808080;
    font-family: monospace;
}

.block-timestamp {
    font-size: 0.6rem;
    color: #606060;
    margin-top: 0.5rem;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #00ff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

/* Pagination */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.pagination-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #808080;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--kf-border-hover);
    color: var(--kf-white);
    background: var(--kf-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-info {
    color: #808080;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Block Modal with Professional Effects */
@keyframes modalSlideIn {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes modalBackdropFade {
    from { backdrop-filter: blur(0px); opacity: 0; }
    to { backdrop-filter: blur(20px); opacity: 1; }
}

.block-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--animation-fast) cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
}

.block-modal.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: modalBackdropFade var(--animation-medium) ease-out;
}

.block-modal .modal-content {
    background: linear-gradient(135deg,
        var(--kf-black) 0%,
        rgba(26, 26, 26, 0.98) 50%,
        var(--kf-black) 100%);
    border: 1px solid var(--kf-border-hover);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(255, 255, 255, 0.05);
    animation: modalSlideIn var(--animation-medium) cubic-bezier(0.34, 1.56, 0.64, 1);
}

.block-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #808080;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-modal .modal-close:hover {
    color: #fff;
}

.block-modal .modal-body {
    padding: 3rem;
}

.block-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #fff;
}

.block-details {
    display: grid;
    gap: 1.5rem;
}

.detail-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.detail-label {
    font-size: 0.8rem;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.detail-value {
    color: #fff;
    font-family: monospace;
    word-break: break-all;
}

.detail-value.hash {
    font-size: 0.8rem;
    color: #00ff00;
}

.detail-value.owner {
    color: #0088ff;
}

/* Compact Block Detail Layout Styles */
.detail-header-compact {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.detail-header-compact .header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.detail-header-compact .block-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-header-compact .block-info .block-id-badge {
    padding: 0.25rem 0.6rem;
    background: rgba(255, 165, 0, 0.25);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.4);
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: bold;
}

.detail-header-compact .block-info .block-number {
    color: #999;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.detail-header-compact .block-info .transaction-type-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.detail-header-compact .block-info .transaction-type-badge.mint {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.detail-header-compact .block-info .transaction-type-badge.transfer {
    background: rgba(0, 150, 255, 0.2);
    color: #0096ff;
    border: 1px solid rgba(0, 150, 255, 0.3);
}

.detail-header-compact .timestamp-compact {
    color: #666;
    font-size: 0.8rem;
    text-align: right;
}

.detail-header-compact .product-info-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-header-compact .product-name {
    color: #ffffff;
    font-weight: 400;
    font-size: 0.95rem;
}

.detail-header-compact .serial-number {
    color: #999;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

/* Kompakte Eigentümer-Darstellung */
.ownership-compact {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.ownership-compact h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 300;
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ownership-compact .ownership-flow-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ownership-compact .ownership-flow-inline .owner {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 100, 200, 0.2);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 3px;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ownership-compact .ownership-flow-inline .arrow {
    color: #00ff00;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.ownership-compact .ownership-flow-inline .transfer-method {
    color: #666;
    font-size: 0.75rem;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Technische Details - 2-Spalten Layout */
.technical-details-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.technical-details-compact .detail-column {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.technical-details-compact .detail-column h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 300;
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.technical-details-compact .detail-item {
    margin-bottom: 0.6rem;
}

.technical-details-compact .detail-item:last-child {
    margin-bottom: 0;
}

.technical-details-compact .detail-item .label {
    color: #999;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.2rem;
}

.technical-details-compact .detail-item .value {
    color: #ffffff;
    font-size: 0.85rem;
    word-break: break-all;
}

.technical-details-compact .detail-item .value.hash {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.3rem;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #00ff00;
}

.technical-details-compact .detail-item .value.status.valid {
    color: #00ff00;
    font-weight: 500;
}

.technical-details-compact .detail-item .value.status.invalid {
    color: #ff0000;
    font-weight: 500;
}

/* Legend */
.legend-section {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    margin-bottom: 4rem;
}

.legend-section h3 {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #808080;
    font-size: 0.9rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-color.mint {
    border-left: 3px solid var(--kf-white);
    background: rgba(255, 255, 255, 0.05);
}

.legend-color.transfer {
    border-left: 3px solid var(--kf-light-gray);
    background: rgba(128, 128, 128, 0.05);
}

.legend-color.highlighted {
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

/* Professional Search Result Animations */
@keyframes searchResultSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.search-result-item {
    animation: searchResultSlide var(--animation-medium) ease-out backwards;
    position: relative;
}

.search-result-item:nth-child(1) { animation-delay: 0.1s; }
.search-result-item:nth-child(2) { animation-delay: 0.15s; }
.search-result-item:nth-child(3) { animation-delay: 0.2s; }
.search-result-item:nth-child(4) { animation-delay: 0.25s; }
.search-result-item:nth-child(5) { animation-delay: 0.3s; }

/* Success/Error Animations */
@keyframes successWave {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message {
    animation: successWave var(--animation-medium) cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--kf-border-hover);
    color: var(--kf-white);
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.success-message::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: dataStream 2s linear;
    animation-fill-mode: forwards;
}

/* Loading States with Advanced Animations */
@keyframes loadingSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loadingDots {
    0%, 20% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all var(--animation-fast) ease;
}

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

.loading-spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.loading-spinner::before,
.loading-spinner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--kf-white);
    animation: loadingSpinner 1s linear infinite;
}

.loading-spinner::after {
    animation-delay: 0.2s;
    opacity: 0.5;
}

/* Toast Notifications with Professional Styling */
@keyframes toastSlideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes toastShimmer {
    0% { background-position: -200% 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { background-position: 200% 0; opacity: 0; }
}

.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg,
        var(--kf-dark) 0%,
        var(--kf-gray) 50%,
        var(--kf-dark) 100%);
    border: 1px solid var(--kf-border-hover);
    color: var(--kf-white);
    padding: 1rem 2rem;
    border-radius: 4px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(255, 255, 255, 0.05);
    z-index: 10000;
    animation: toastSlideUp var(--animation-medium) cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 250px;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.toast-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    animation: toastShimmer 2s linear;
    animation-fill-mode: forwards;
}

.toast-notification.success {
    border-color: rgba(255, 255, 255, 0.3);
}

.toast-notification.error {
    border-color: rgba(255, 100, 100, 0.3);
    background: linear-gradient(135deg,
        rgba(40, 10, 10, 0.95) 0%,
        rgba(60, 20, 20, 0.95) 50%,
        rgba(40, 10, 10, 0.95) 100%);
}

/* Search Results Display with Smooth Animations */
@keyframes searchResultFadeIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes searchResultFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }
}

/* Material Design 3 Container Animations */
@keyframes containerExpand {
    from {
        max-height: 0;
        opacity: 0;
        transform: scaleY(0);
        padding: 0 1.5rem;
        margin-bottom: 0;
    }
    to {
        max-height: 300px;
        opacity: 1;
        transform: scaleY(1);
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

@keyframes containerCollapse {
    from {
        max-height: 300px;
        opacity: 1;
        transform: scaleY(1);
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    to {
        max-height: 0;
        opacity: 0;
        transform: scaleY(0);
        padding: 0 1.5rem;
        margin-bottom: 0;
    }
}

@keyframes pulseHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
        border-color: rgba(255, 255, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.8);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        border-color: rgba(255, 255, 255, 0.6);
    }
}

.pulse-highlight {
    animation: pulseHighlight 1s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    position: relative;
    z-index: 2;
}

.search-results-wrapper {
    background: linear-gradient(135deg, 
        var(--kf-black) 0%, 
        rgba(26, 26, 26, 0.95) 50%, 
        var(--kf-black) 100%);
    border: 1px solid var(--kf-border-hover);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: visible; /* Changed from hidden to visible for proper scrolling */
    transform-origin: top center;
    /* Initial collapsed state */
    max-height: 0;
    opacity: 0;
    transform: scaleY(0);
    padding: 0 1.5rem;
    margin-bottom: 0;
}

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

.search-results-header h3 {
    font-size: 1.1rem;
    color: var(--kf-white);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.clear-search-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--kf-light-gray);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--animation-fast) ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-search-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--kf-border-hover);
    color: var(--kf-white);
    transform: translateY(-1px);
}

.clear-search-btn span {
    font-size: 1rem;
    line-height: 1;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1px;
    background: var(--kf-border);
    padding: 1px;
}

.search-result-block {
    background: var(--kf-black);
    border: 1px solid transparent;
    padding: 1rem;
    cursor: pointer;
    transition: all var(--animation-fast) ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.5);
}

.search-result-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.05), 
        transparent);
    transition: left var(--animation-medium) ease;
}

.search-result-block:hover::before {
    left: 100%;
}

.search-result-block:hover {
    border-color: var(--kf-border-hover);
    background: linear-gradient(135deg, 
        var(--kf-black) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-result-block.mint {
    border-left: 2px solid var(--kf-white);
}

.search-result-block.transfer {
    border-left: 2px solid var(--kf-light-gray);
}

.result-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.result-block-id {
    font-size: 0.75rem;
    color: var(--kf-white);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.result-block-type {
    font-size: 0.65rem;
    color: var(--kf-light-gray);
    text-transform: uppercase;
    opacity: 0.6;
}

.result-block-product {
    font-size: 0.85rem;
    color: var(--kf-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-block-date {
    font-size: 0.7rem;
    color: var(--kf-light-gray);
    opacity: 0.7;
}

.search-results-more {
    background: var(--kf-black);
    border: 1px solid var(--kf-border);
    padding: 1rem;
    text-align: center;
    color: var(--kf-light-gray);
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.8;
}

/* Enhanced Mobile Responsiveness für moderne Smartphones */
@media (max-width: 768px) {
    /* Search Results Mobile Optimization */
    .search-results-wrapper {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .search-results-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .search-results-header h3 {
        font-size: 1rem;
    }
    
    .clear-search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .search-result-block {
        padding: 0.8rem;
    }
    
    .result-block-product {
        font-size: 0.75rem;
    }
    
    /* Existing Mobile Styles */
    .blockchain-header {
        padding: 4rem 1rem 3rem 1rem;
        margin-bottom: 3rem;
    }

    .blockchain-header h1 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        letter-spacing: 0.12em;
        margin-bottom: 2rem;
        line-height: 1.15;
    }
    
    .blockchain-header .subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        margin-bottom: 3rem;
        letter-spacing: 0.06em;
        line-height: 1.4;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .chain-info {
        grid-template-columns: 1fr;
        gap: 1px;
        margin-top: 2rem;
    }

    .info-item {
        padding: 1.5rem;
        text-align: center;
    }

    .info-label {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .info-value {
        font-size: 1.1rem;
    }
    
    .search-section {
        padding: 2.5rem 1rem;
        margin-bottom: 3rem;
    }

    .search-section h2 {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
        margin-bottom: 2rem;
        letter-spacing: 0.1em;
        line-height: 1.2;
    }

    .search-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .search-input-container {
        grid-template-columns: 1fr;
        max-width: none;
        gap: 0.8rem;
    }

    .search-input {
        padding: 1rem 1.2rem;
        font-size: 1rem;
        min-height: 48px;
    }

    .search-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        min-height: 48px;
        letter-spacing: 0.1em;
    }
    
    .blockchain-section {
        padding: 2rem 1.5rem;
    }

    .blockchain-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .blockchain-section .section-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .blockchain-controls {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .view-controls {
        display: flex;
        gap: 0.5rem;
        justify-content: center;
    }

    .control-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
        min-height: 44px;
        flex: 1;
        max-width: 120px;
    }

    .filter-controls {
        display: flex;
        justify-content: center;
    }

    .filter-select {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        min-height: 44px;
        min-width: 200px;
    }
    
    .blockchain-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1px;
    }

    .block {
        min-height: 120px;
        padding: 1rem;
    }

    .block-header {
        margin-bottom: 1rem;
    }

    .block-id {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }

    .block-type {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .block-content {
        margin-bottom: 1rem;
    }

    .block-product {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .block-owner {
        font-size: 0.7rem;
    }

    .block-timestamp {
        font-size: 0.65rem;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .pagination-btn {
        padding: 1rem 2rem;
        font-size: 0.85rem;
        min-height: 44px;
        letter-spacing: 0.1em;
    }

    .page-info {
        font-size: 0.9rem;
        order: -1;
    }
    
    .legend-section {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }

    .legend-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .legend-items {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
        margin: 0 auto;
    }

    .legend-item {
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.02);
        text-align: center;
    }
    
    .block-modal {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }

    .block-modal .modal-content {
        max-height: 95vh;
        width: 100%;
        margin: 0;
    }

    .block-modal .modal-body {
        padding: 1.5rem 1rem;
    }

    .block-modal .modal-title {
        font-size: 1.4rem;
        margin-bottom: 2rem;
        text-align: center;
        letter-spacing: 0.1em;
    }

    .block-details {
        gap: 1rem;
    }

    .detail-item {
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.02);
    }

    .detail-label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .detail-value {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .detail-value.hash {
        word-break: break-all;
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* Samsung S24 Ultra Modal Optimierungen - Blockchain */
@media (max-width: 768px) and (min-height: 900px) and (min-resolution: 2dppx) {
    .block-modal {
        padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 1rem) env(safe-area-inset-bottom, 1rem) env(safe-area-inset-left, 1rem) !important;
        align-items: flex-start !important;
        padding-top: max(env(safe-area-inset-top, 0), 2rem) !important;
    }
    
    .block-modal .modal-content {
        max-height: calc(100vh - env(safe-area-inset-top, 0) - env(safe-area-inset-bottom, 0) - 4rem) !important;
        width: calc(100% - 2rem) !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    
    .block-modal .modal-close {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.8rem !important;
        top: 1rem !important;
        right: 1rem !important;
        background: rgba(0, 0, 0, 0.95) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 50% !important;
        z-index: 1000 !important;
        touch-action: manipulation !important;
    }
    
    .block-modal .modal-body {
        padding: 2.5rem 1.8rem 2rem 1.8rem !important;
        padding-top: calc(48px + 1.5rem) !important;
    }
    
    .block-modal .modal-title {
        font-size: 1.7rem !important;
        margin-bottom: 2.5rem !important;
        padding-right: 4rem !important;
        letter-spacing: 0.1em !important;
    }
    
    .block-details {
        gap: 1.5rem !important;
    }
    
    .detail-item {
        padding: 1.2rem !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        background: rgba(255, 255, 255, 0.03) !important;
    }
    
    .detail-label {
        font-size: 0.85rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .detail-value {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    .detail-value.hash {
        font-size: 0.8rem !important;
        word-break: break-all !important;
        line-height: 1.4 !important;
    }
}

/* Mobile Responsive Styles für Compact Layout */
@media (max-width: 768px) {
    .detail-header-compact .header-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .detail-header-compact .block-info {
        gap: 0.5rem;
    }

    .detail-header-compact .timestamp-compact {
        text-align: left;
        width: 100%;
    }

    .detail-header-compact .product-info-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .ownership-compact .ownership-flow-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .ownership-compact .ownership-flow-inline .arrow {
        transform: rotate(90deg);
        margin: -0.25rem 0;
    }

    .ownership-compact .ownership-flow-inline .transfer-method {
        margin-left: 0;
    }

    .technical-details-compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Tablet Responsive Styles für Compact Layout */
@media (max-width: 1024px) and (min-width: 769px) {
    .technical-details-compact {
        gap: 0.75rem;
    }

    .technical-details-compact .detail-column {
        padding: 0.875rem;
    }

    .detail-header-compact .header-top-row .block-info {
        gap: 0.5rem;
    }
}

/* Kompakte Smartphones - Blockchain Explorer */
@media (max-width: 480px) {
    .blockchain-header h1 {
        font-size: clamp(1.6rem, 7vw, 1.8rem);
        letter-spacing: 0.08em;
        margin-bottom: 1.5rem;
    }

    .blockchain-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .view-controls {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .control-btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        min-height: 48px;
        padding: 1.2rem;
        font-size: 1rem;
        border-radius: 12px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }
    
    .block {
        min-height: 120px;
        padding: 1.2rem;
        border-radius: 12px;
        touch-action: manipulation;
    }

    .search-input-container {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .search-input {
        font-size: 16px; /* Verhindert Zoom auf iOS */
        min-height: 48px;
        padding: 1rem;
        border-radius: 12px;
        width: 100%;
    }
    
    .search-btn {
        min-height: 48px;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 12px;
        touch-action: manipulation;
    }

    .pagination-controls {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
        border-radius: 8px;
    }

    .legend-items {
        max-width: 100%;
        text-align: center;
    }
    
    .legend-item {
        margin: 0.5rem;
        min-height: 40px;
        padding: 0.8rem 1rem;
    }
}

/* ===== PROFESSIONELLE FADE & SEARCH ANIMATIONS ===== */

/* Elegante Fade-Out Animation für alte Suchergebnisse */
@keyframes fadeOutAndRemove {
    0% {
        opacity: 1;
        transform: scale(1) translateX(0);
        filter: blur(0) brightness(1);
    }
    20% {
        opacity: 0.9;
        transform: scale(1.01) translateX(0);
        filter: blur(0px) brightness(1.1);
    }
    40% {
        opacity: 0.6;
        transform: scale(1) translateX(-5px);
        filter: blur(0.8px) brightness(0.9);
    }
    70% {
        opacity: 0.2;
        transform: scale(0.98) translateX(-10px);
        filter: blur(2px) brightness(0.7);
    }
    100% {
        opacity: 0;
        transform: scale(0.95) translateX(-20px);
        filter: blur(4px) brightness(0.5);
        pointer-events: none;
    }
}

/* Ultra-Smooth Animation für Treffer */
@keyframes silkySmooth {
    0% {
        opacity: 0;
        transform: translate3d(0, 25px, 0) scale(0.94);
        filter: blur(2px);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0);
    }
    40% {
        opacity: 0.8;
        transform: translate3d(0, 8px, 0) scale(0.98);
        filter: blur(0.5px);
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
        box-shadow: 0 2px 15px rgba(255, 255, 255, 0.05);
    }
}

/* Sanfte Glow-Animation */
@keyframes gentleGlow {
    0% {
        opacity: 0;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.03) 50%,
            rgba(255, 255, 255, 0) 100%
        );
    }
    60% {
        opacity: 1;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.04) 50%,
            rgba(255, 255, 255, 0.01) 100%
        );
    }
    100% {
        opacity: 0.3;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.04) 0%,
            rgba(255, 255, 255, 0.02) 50%,
            rgba(255, 255, 255, 0) 100%
        );
    }
}

/* Premium Particle Effects for Success */
@keyframes successParticle {
    0% {
        transform: translateY(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        transform: translateY(-5px) rotate(45deg) scale(0.3);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-25px) rotate(180deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) rotate(360deg) scale(0);
        opacity: 0;
    }
}

/* Holographic Success Effect */
@keyframes holographicSuccess {
    0% {
        background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
        transform: translateX(-100%);
    }
    50% {
        background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.3), transparent);
        transform: translateX(0%);
    }
    100% {
        background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
        transform: translateX(100%);
    }
}

/* Error Glitch Effect */
@keyframes errorGlitch {
    0%, 100% { 
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    10% { 
        transform: translate(-2px, 1px);
        filter: hue-rotate(90deg);
    }
    20% { 
        transform: translate(-1px, -1px);
        filter: hue-rotate(180deg);
    }
    30% { 
        transform: translate(1px, 1px);
        filter: hue-rotate(270deg);
    }
    40% { 
        transform: translate(1px, -1px);
        filter: hue-rotate(360deg);
    }
    50% { 
        transform: translate(-1px, 1px);
        filter: hue-rotate(180deg);
    }
}

/* Success Text Reveal Animation */
@keyframes textReveal {
    0% {
        width: 0%;
        opacity: 0;
    }
    50% {
        width: 100%;
        opacity: 0.7;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* Elegant Scanline Effect */
@keyframes scanlineReveal {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Monochrome Glitter/Particle Animation */
@keyframes glitterParticle {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    20% {
        transform: translateY(-10px) scale(0.5);
        opacity: 0.8;
        filter: blur(0px);
    }
    50% {
        transform: translateY(-25px) scale(1);
        opacity: 1;
        filter: blur(0.5px);
    }
    80% {
        transform: translateY(-40px) scale(0.8);
        opacity: 0.6;
        filter: blur(1px);
    }
    100% {
        transform: translateY(-50px) scale(0);
        opacity: 0;
        filter: blur(2px);
    }
}

/* Subtle Shimmer Effect */
@keyframes shimmerEffect {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Subtle Opacity Pulse for Inputs */
@keyframes opacityPulse {
    0% {
        opacity: 1;
        background: rgba(255, 255, 255, 0.03);
    }
    50% {
        opacity: 0.9;
        background: rgba(255, 255, 255, 0.06);
    }
    100% {
        opacity: 1;
        background: rgba(255, 255, 255, 0.03);
    }
}

/* Gentle Input Focus Effect */
@keyframes gentleFocus {
    0% {
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
    100% {
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
    }
}

/* Elegant Success Animation - Monochrome & Subtle */
@keyframes subtleSuccess {
    0% { 
        transform: scale(1); 
        opacity: 1; 
        background: rgba(0, 0, 0, 0);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
    8% { 
        transform: scale(1.01); 
        background: rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.2);
    }
    20% { 
        transform: scale(1.02); 
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.35);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    }
    40% { 
        transform: scale(1.015); 
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
    }
    65% { 
        transform: scale(1.008); 
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
    85% { 
        transform: scale(1.003); 
        background: rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    }
    100% { 
        transform: scale(1); 
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.25);
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
    }
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        background: rgba(0, 255, 0, 0.1);
        border-color: #00ff00;
    }
    50% {
        transform: scale(1.02);
        background: rgba(0, 255, 0, 0.2);
        border-color: #00ff00;
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    }
}

@keyframes successGlow {
    0% {
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.8), 0 0 30px rgba(0, 255, 0, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    }
}

@keyframes successScanline {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Gentle Not Found Animation - Subtle & Dignified */
@keyframes gentleRejection {
    0% { 
        transform: translateX(0); 
        opacity: 1; 
        background: rgba(0, 0, 0, 0);
        border-color: rgba(255, 255, 255, 0.1);
    }
    12% { 
        transform: translateX(-3px); 
        opacity: 0.85; 
        background: rgba(0, 0, 0, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }
    25% { 
        transform: translateX(3px); 
        opacity: 0.7; 
        background: rgba(0, 0, 0, 0.12);
        border-color: rgba(255, 255, 255, 0.2);
    }
    40% { 
        transform: translateX(-2px); 
        opacity: 0.75; 
        background: rgba(0, 0, 0, 0.1);
        border-color: rgba(255, 255, 255, 0.18);
    }
    55% { 
        transform: translateX(1px); 
        opacity: 0.8; 
        background: rgba(0, 0, 0, 0.08);
        border-color: rgba(255, 255, 255, 0.16);
    }
    70% { 
        transform: translateX(-0.5px); 
        opacity: 0.85; 
        background: rgba(0, 0, 0, 0.06);
        border-color: rgba(255, 255, 255, 0.14);
    }
    85% { 
        transform: translateX(0.3px); 
        opacity: 0.9; 
        background: rgba(0, 0, 0, 0.04);
        border-color: rgba(255, 255, 255, 0.12);
    }
    100% { 
        transform: translateX(0); 
        opacity: 0.85; 
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(255, 255, 255, 0.12);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.6;
        background: rgba(0, 0, 0, 0.05);
    }
    50% {
        opacity: 1;
        background: rgba(0, 0, 0, 0.1);
    }
}

@keyframes monochromeGlow {
    0% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 25px rgba(200, 200, 200, 0.2);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    }
}

@keyframes staticNoise {
    0%, 100% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 25% 75%;
    }
}

/* Search Animation States */
.search-animation-success {
    animation: searchSuccess 1.5s ease-out;
}

.search-animation-not-found {
    animation: searchNotFound 0.6s ease-in-out;
}

/* Fade-Out für alte Suchergebnisse */
.search-result-fade-out {
    animation: fadeOutAndRemove 0.8s cubic-bezier(0.4, 0, 0.6, 1) forwards;
    pointer-events: none;
}

/* Ultra-Smooth Fade-In für neue Suchergebnisse */
.search-result-smooth {
    animation: silkySmooth 1.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    position: relative;
    overflow: hidden;
}

/* Sanfter Glow Overlay */
.search-result-smooth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: gentleGlow 1.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    pointer-events: none;
    z-index: 1;
}

/* SMOOTH Success Result Highlighting */
.search-result-success {
    position: relative;
    animation: silkySmooth 1.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
    overflow: hidden;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    contain: layout;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.search-result-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: gentleGlow 1.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
    z-index: 1;
}

/* Clean - keine unnötigen Pseudo-Elemente */
.search-result-success::after {
    display: none;
}

/* Gentle Not Found Result Highlighting - Subtle */
.search-result-not-found {
    position: relative;
    animation: gentleRejection 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(0, 0, 0, 0) !important;
    overflow: hidden;
    will-change: transform, opacity, background, border-color;
    backface-visibility: hidden;
    transform: translateZ(0);
    contain: layout style paint;
    transition: all 0.3s ease;
}

.search-result-not-found::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 2px,
        transparent 16px
    );
    opacity: 0;
    animation: opacityPulse 1.2s ease-in-out 0.3s;
    pointer-events: none;
    z-index: 1;
}

.search-result-not-found::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: opacityPulse 1s ease-in-out 0.5s;
    z-index: 2;
    pointer-events: none;
}

/* Search Input States - Monochrome Elegant Design */
.search-input-success {
    animation: elegantInputSuccess 1.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow, background, border-color;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.search-input-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.06), 
        transparent
    );
    animation: scanlineReveal 1.2s ease-out 0.2s;
    pointer-events: none;
    z-index: 1;
}

.search-input-error {
    animation: gentleInputError 1.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-color: rgba(200, 200, 200, 0.6) !important;
    box-shadow: 0 0 20px rgba(150, 150, 150, 0.08);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow, background, border-color;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.search-input-error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        rgba(120, 120, 120, 0.04) 1px,
        transparent 2px,
        transparent 12px
    );
    animation: opacityPulse 1s ease-in-out 0.3s;
    pointer-events: none;
    z-index: 1;
}

.search-input-error::placeholder {
    color: rgba(180, 180, 180, 0.8);
    text-shadow: none;
}

/* Gestaffeltes Timing-System - Elegante Monochrome Version */
.search-result-success:nth-child(1) { animation-delay: 0ms; }
.search-result-success:nth-child(2) { animation-delay: 80ms; }
.search-result-success:nth-child(3) { animation-delay: 160ms; }
.search-result-success:nth-child(4) { animation-delay: 240ms; }
.search-result-success:nth-child(5) { animation-delay: 320ms; }
.search-result-success:nth-child(6) { animation-delay: 400ms; }
.search-result-success:nth-child(7) { animation-delay: 480ms; }
.search-result-success:nth-child(8) { animation-delay: 560ms; }
.search-result-success:nth-child(9) { animation-delay: 640ms; }
.search-result-success:nth-child(n+10) { animation-delay: 720ms; }

/* Monochrome Block-Typ Unterscheidung */
.search-result-success.block.mint {
    animation-duration: 2.4s;
    border-left: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.12),
        inset 0 0 20px rgba(255, 255, 255, 0.06),
        0 8px 24px rgba(255, 255, 255, 0.08);
}

.search-result-success.block.transfer {
    animation-duration: 2.1s;
    border-left: 3px solid rgba(200, 200, 200, 0.5);
    box-shadow: 
        0 0 18px rgba(200, 200, 200, 0.1),
        inset 0 0 18px rgba(200, 200, 200, 0.05),
        0 6px 20px rgba(200, 200, 200, 0.06);
}

.search-result-success.block.transfer::before {
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.08), 
        rgba(240, 240, 240, 0.06),
        rgba(255, 255, 255, 0.08), 
        transparent
    );
}

/* Erweiterte Gestaffelte Timing für Not-Found Animationen */
.search-result-not-found:nth-child(1) { animation-delay: 0ms; }
.search-result-not-found:nth-child(2) { animation-delay: 100ms; }
.search-result-not-found:nth-child(3) { animation-delay: 200ms; }
.search-result-not-found:nth-child(4) { animation-delay: 300ms; }
.search-result-not-found:nth-child(5) { animation-delay: 400ms; }
.search-result-not-found:nth-child(n+6) { animation-delay: 500ms; }

/* Hardware-Beschleunigung und Performance-Optimierungen - Monochrome Version */
.search-result-success,
.search-result-not-found,
.search-input-success,
.search-input-error {
    transform: translateZ(0);
    will-change: transform, opacity, background-color, border-color, box-shadow;
    backface-visibility: hidden;
    perspective: 1000px;
    contain: layout style paint;
    isolation: isolate;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000px;
}

/* GPU-Optimierte Animationen für bessere Performance */
.search-result-success::before,
.search-result-success::after,
.search-result-not-found::before,
.search-result-not-found::after,
.search-input-success::before,
.search-input-error::before {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
}

/* Erweiterte Accessibility-Unterstützung für Monochrome Animationen */
@media (prefers-reduced-motion: reduce) {
    .search-result-success,
    .search-result-not-found,
    .search-input-success,
    .search-input-error {
        animation-duration: 0.2s !important;
        animation-iteration-count: 1 !important;
        animation-timing-function: ease-out !important;
    }
    
    .search-result-success::before,
    .search-result-success::after,
    .search-result-not-found::before,
    .search-result-not-found::after,
    .search-input-success::before,
    .search-input-error::before {
        animation: none !important;
        opacity: 0 !important;
    }
    
    /* Static Visual Feedback für Reduced Motion */
    .search-result-success {
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.1) !important;
    }
    
    .search-result-not-found {
        opacity: 0.7 !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        background: rgba(0, 0, 0, 0.08) !important;
    }
    
    .search-input-success {
        border-color: rgba(255, 255, 255, 0.4) !important;
        background: rgba(255, 255, 255, 0.04) !important;
    }
    
    .search-input-error {
        border-color: rgba(200, 200, 200, 0.5) !important;
        background: rgba(120, 120, 120, 0.06) !important;
    }
}

/* High-End Visual Effects für Premium Displays - Monochrome Glitter */
@media (min-resolution: 2dppx) {
    .search-result-success::after {
        width: 12px;
        height: 12px;
        box-shadow: 
            0 0 15px rgba(255, 255, 255, 0.8),
            0 0 30px rgba(255, 255, 255, 0.4),
            0 0 45px rgba(255, 255, 255, 0.2);
    }
    
    .search-result-not-found::after {
        width: 10px;
        height: 10px;
        box-shadow: 
            0 0 12px rgba(150, 150, 150, 0.6),
            0 0 24px rgba(120, 120, 120, 0.3),
            0 0 36px rgba(100, 100, 100, 0.2);
    }
}

/* No Results Container - Monochrome Style */
.no-results-container {
    text-align: center;
    padding: 4rem 2rem;
    border: 2px dashed rgba(150, 150, 150, 0.5);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.08);
    animation: fadeInOut 2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.no-results-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(100, 100, 100, 0.03) 10px,
            rgba(100, 100, 100, 0.03) 20px
        );
    animation: staticNoise 2s linear infinite;
    z-index: 1;
}

.no-results-content {
    position: relative;
    z-index: 2;
}

.no-results-icon {
    font-size: 3rem;
    color: rgba(150, 150, 150, 0.8);
    margin-bottom: 1rem;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

.no-results-title {
    color: rgba(200, 200, 200, 0.9);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.no-results-message {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Loading State Animation */
@keyframes searchLoading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.search-loading {
    position: relative;
}

.search-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: searchLoading 1s linear infinite;
    transform: translateY(-50%);
}

/* Mobile-Optimierte Animationen für Touch-Geräte */
@media (max-width: 768px) {
    .search-result-success,
    .search-result-not-found {
        animation-duration: 1.1s !important;
        animation-delay: 0ms !important;
    }
    
    .search-input-success,
    .search-input-error {
        animation-duration: 0.9s !important;
    }
    
    /* Touch-freundliche Animation-Delays reduzieren */
    .search-result-success:nth-child(1) { animation-delay: 0ms !important; }
    .search-result-success:nth-child(2) { animation-delay: 40ms !important; }
    .search-result-success:nth-child(3) { animation-delay: 80ms !important; }
    .search-result-success:nth-child(4) { animation-delay: 120ms !important; }
    .search-result-success:nth-child(n+5) { animation-delay: 160ms !important; }
    
    .no-results-container {
        padding: 2.5rem 1.2rem;
        animation-duration: 1s;
    }
    
    .no-results-icon {
        font-size: 2.2rem;
    }
    
    .no-results-title {
        font-size: 1.1rem;
    }
}

/* Kompakte Mobile Geräte - Animation Performance Optimierung */
@media (max-width: 480px) {
    .search-result-success,
    .search-result-not-found,
    .search-input-success,
    .search-input-error {
        animation-duration: 0.8s !important;
        animation-delay: 0ms !important;
    }
    
    /* Vereinfachte Animationen für sehr kleine Bildschirme */
    .search-result-success::before,
    .search-result-success::after,
    .search-result-not-found::before,
    .search-result-not-found::after {
        display: none;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .search-animation-success,
    .search-animation-not-found,
    .search-result-success,
    .search-input-error,
    .no-results-container {
        animation: none;
    }
    
    .search-result-success {
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.05);
    }
    
    .search-input-error {
        border-color: rgba(150, 150, 150, 0.5);
        background: rgba(100, 100, 100, 0.05);
    }
}

/* === SEARCH RESULTS SCROLLVIEW === */

/* Scrollview Container - Desktop optimized for 3+ rows */
.search-results-scrollview {
    max-height: 75vh; /* Increased from 60vh to show 3+ rows */
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    margin-right: -8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    /* Ensure smooth scrolling behavior */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
    /* Prevent scroll chaining to parent elements */
    overscroll-behavior: contain;
    
    /* Webkit scrollbar styling */
    &::-webkit-scrollbar {
        width: 8px; /* Wider scrollbar for desktop */
    }
    
    &::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 4px;
    }
    
    &::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        transition: background 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    &::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.35);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

/* Grid Inside Scrollview - Desktop optimized */
.search-results-scrollview .search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Slightly larger min-width */
    gap: 1.25rem; /* Increased gap for better spacing */
    padding: 1.25rem 0 2.5rem 0; /* More generous padding */
}

/* Individual Result Blocks */
.search-result-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    
    /* Hover Effects */
    &:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    /* Active State */
    &:active {
        transform: translateY(0px);
    }
}

/* Block Header */
.result-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-block-id {
    font-family: monospace;
    font-size: 0.85rem;
    color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    font-weight: 500;
}

.result-block-type {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Transaction Type Colors */
.search-result-block.mint .result-block-type {
    background: rgba(0, 150, 255, 0.15);
    color: #0096ff;
    border: 1px solid rgba(0, 150, 255, 0.3);
}

.search-result-block.transfer .result-block-type {
    background: rgba(255, 150, 0, 0.15);
    color: #ff9600;
    border: 1px solid rgba(255, 150, 0, 0.3);
}

/* Product Info */
.result-block-product {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Date */
.result-block-date {
    font-size: 0.8rem;
    color: #999;
    font-family: monospace;
}

/* Desktop Large Screens - Optimize for 3+ rows */
@media (min-width: 1200px) {
    .search-results-wrapper {
        overflow: visible;
        border-radius: 12px;
    }
    
    .search-results-scrollview {
        max-height: 80vh; /* Even more height on large desktops */
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.02);
    }
    
    .search-results-scrollview .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Larger cards on big screens */
        gap: 1.5rem;
        padding: 1.5rem 0 3rem 0;
    }
    
    /* Better scrollbar for large screens */
    .search-results-scrollview::-webkit-scrollbar {
        width: 10px;
    }
    
    .search-results-scrollview::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.4);
        border-radius: 5px;
    }
    
    .search-results-scrollview::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.25);
        border-radius: 5px;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .search-results-scrollview::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.4);
        border-color: rgba(255, 255, 255, 0.25);
    }
}

/* Desktop Medium Screens */
@media (min-width: 769px) and (max-width: 1199px) {
    .search-results-wrapper {
        overflow: visible;
        border-radius: 10px;
    }
    
    .search-results-scrollview {
        max-height: 75vh;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.015);
    }
    
    .search-results-scrollview .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.25rem;
    }
    
    /* Medium screen scrollbar */
    .search-results-scrollview::-webkit-scrollbar {
        width: 8px;
    }
    
    .search-results-scrollview::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.35);
        border-radius: 4px;
    }
    
    .search-results-scrollview::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.22);
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }
    
    .search-results-scrollview::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.35);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-results-scrollview {
        max-height: 50vh;
        padding-right: 4px;
        margin-right: -4px;
    }
    
    .search-results-scrollview .search-results-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.75rem 0 1.5rem 0;
    }
    
    .search-result-block {
        padding: 1.25rem;
    }
    
    .result-block-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        text-align: left;
    }
    
    .result-block-id {
        font-size: 0.8rem;
    }
    
    .result-block-type {
        font-size: 0.7rem;
    }
    
    .result-block-product {
        font-size: 0.95rem;
    }
}

/* Samsung S24 Ultra and High-DPI Devices */
@media screen and (max-width: 430px) 
       and (-webkit-device-pixel-ratio: 3),
       screen and (max-width: 430px) 
       and (-webkit-device-pixel-ratio: 4) {
    
    .search-results-scrollview {
        max-height: 45vh;
    }
    
    .search-result-block {
        padding: 1rem;
        border-radius: 6px;
    }
    
    .result-block-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.375rem;
    }
    
    .result-block-product {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

/* Smooth Scrolling */
.search-results-scrollview {
    scroll-behavior: smooth;
}

/* iOS Momentum Scrolling */
.search-results-scrollview {
    -webkit-overflow-scrolling: touch;
}

/* Focus Management */
.search-result-block:focus {
    outline: 2px solid rgba(0, 255, 0, 0.5);
    outline-offset: 2px;
}