.shozin-container {
    margin-top: 20px; 
    padding: 20px;
    min-height: 100vh;
}

.shozin-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.9));
                
    background-size: cover;
    text-align: center;
    border-radius: 20px;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    padding: 40px 30px;
    margin-bottom: 30px;
    overflow: hidden;
}

.shozin-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ffd700, #ff6b35, #f7931e, #ffd700);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    border-radius: 20px;
    z-index: -1;
    padding: 3px;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.shozin-header h2 {
    font-size: 36px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 0px 0px 20px rgba(255, 215, 0, 0.8), 
                 0px 0px 40px rgba(255, 215, 0, 0.4);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.shozin-header p {
    font-size: 16px;
    color: #e0e0e0;
    margin: 0;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}

.search-container {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 30, 30, 0.8));
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.search-input {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.8);
}

.search-btn {
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-btn:hover {
    background: linear-gradient(45deg, #ff6b35, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.shozin-content {
    display: flex;
    gap: 25px;
    min-height: 950px;
}

.items-list, .item-details {
    flex: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.8));
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.loading-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 15px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #ffd700;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.pagination-container {
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.pagination-btn {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.8), rgba(255, 107, 53, 0.8));
    color: #000;
    border: none;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    background: rgba(100, 100, 100, 0.5);
    color: #666;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.requirement {
    width: 100%;
    color: #fff;
    border-collapse: collapse;
    background: transparent;
}

.requirement .head2 th {
    background: linear-gradient(135deg, #1a1a1a, #333, #1a1a1a);
    color: #ffd700;
    padding: 18px 15px;
    text-align: center;
    font-weight: bold;
    border-bottom: 3px solid #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.requirement tr {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.requirement tr:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.1));
    transform: scale(1.02);
}

.requirement td {
    padding: 15px 10px;
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.requirement td a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.requirement td a:hover {
    color: #fff;
    text-shadow: 0 0 10px #ffd700;
}

.requirement img {
    max-width: 40px;
    max-height: 40px;
    cursor: pointer;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.requirement img:hover {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
    transform: scale(1.1);
}

.scrollable-content {
    max-height: 950px;
    overflow-y: auto;
    position: relative;
}

.scrollable-content::-webkit-scrollbar {
    width: 12px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff6b35, #ffd700);
}

.recipe-result {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.8));
    border-radius: 15px;
    margin: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.recipe-result img {
    max-width: 80px;
    max-height: 80px;
    border: 3px solid #ffd700;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.success-rate {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@media (max-width: 950px) {
    .shozin-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .shozin-header h2 {
        font-size: 28px;
    }
    
    .shozin-header {
        padding: 25px 20px;
    }
    
    .search-container {
        padding: 20px;
    }
    
    .requirement img {
        max-width: 32px;
        max-height: 32px;
    }
}