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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ff69b4;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    background: transparent;
    padding: 20px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-image {
    max-width: 25vw;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.transaction-lookup {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

.txid-input {
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid #ff1493;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    width: 400px;
    max-width: 80%;
    margin-right: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.txid-input:focus {
    border-color: #ff69b4;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
    background: rgba(255, 255, 255, 1);
}

.view-btn {
    padding: 12px 24px;
    font-size: 1rem;
    background: #ff1493;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.view-btn:hover {
    background: #ff69b4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
}

.view-btn:active {
    transform: translateY(0);
}

.title-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

.gallery-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mint-progress {
    margin-top: 20px;
    text-align: center;
}

.progress-info {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 10px;
    font-weight: bold;
}

.progress-bar {
    width: 300px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff1493, #ff69b4);
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
}

.load-more-btn {
    padding: 12px 24px;
    font-size: 1rem;
    background: #ff69b4;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.load-more-btn:hover {
    background: #ff1493;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
}

.pagination-controls {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.page-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    background: #ff1493;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.page-btn:hover:not(:disabled) {
    background: #ff69b4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
}

.page-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.page-info {
    font-size: 1rem;
    color: white;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 20px;
    min-width: 100px;
}

code {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Monaco', 'Menlo', monospace;
    color: #e74c3c;
}



.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    color: #ff1493;
    font-size: 1.1rem;
    font-weight: bold;
}

.transaction-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.transaction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.transaction-image {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    margin-bottom: 8px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.transaction-txid {
    font-size: 0.7rem;
    color: #666;
    word-break: break-all;
    font-family: 'Monaco', 'Menlo', monospace;
    line-height: 1.2;
}





/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 10px;
    }
    
    .transaction-item {
        padding: 8px;
    }
    
    .transaction-image {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 8px;
    }
    
    .transaction-image {
        width: 48px;
        height: 48px;
    }
}
