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

body {
    background: linear-gradient(145deg, #10161a 0%, #1a252c 100%);
    font-family: 'Inter', system-ui, 'Segoe UI', sans-serif;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    color: #eef4ff;
}

.arsenal-container {
    max-width: 1400px;
    margin: 0 auto;
}

.vault-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.vault-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #F5E7D3, #C0A080);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.vault-header h1 i {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #e4b363;
}

.sub {
    color: #9ab3c7;
    margin-top: 0.6rem;
    font-weight: 500;
    border-bottom: 1px dashed #3e5568;
    display: inline-block;
    padding-bottom: 6px;
}

.search-panel {
    background: rgba(20, 30, 38, 0.75);
    backdrop-filter: blur(14px);
    border-radius: 48px;
    padding: 0.6rem 0.8rem 0.6rem 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    border: 1px solid rgba(255,215,170,0.2);
}

.search-wrapper {
    flex: 4;
    min-width: 250px;
}

.search-wrapper input {
    width: 100%;
    background: #0f1a1f;
    border: 1px solid #3e5a6b;
    border-radius: 60px;
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
    color: #f0f3f8;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}

.search-wrapper input:focus {
    border-color: #e4b363;
    box-shadow: 0 0 0 3px rgba(228, 179, 99, 0.3);
}

.search-wrapper input::placeholder {
    color: #7e95ab;
    font-weight: 400;
}

button {
    border: none;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border-radius: 60px;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.1s ease, background 0.2s;
}

button:active {
    transform: scale(0.97);
}

.search-action-btn {
    background: #e4b363;
    color: #1c2a32;
    box-shadow: 0 4px 12px rgba(228, 179, 99, 0.3);
}

.search-action-btn:hover {
    background: #f5cd8c;
}

.reset-action-btn {
    background: #2a3b44;
    color: #eef4ff;
    border: 1px solid #4f6e82;
}

.reset-action-btn:hover {
    background: #3e5664;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin: 1rem 0.5rem 1.2rem 0.5rem;
}

.item-counter {
    font-size: 0.9rem;
    background: #1e2f38;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hint-text {
    font-size: 0.8rem;
    color: #8ba0b0;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.6rem;
    margin-top: 0.5rem;
}

.item-card {
    background: rgba(25, 38, 46, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 28px;
    border: 1px solid rgba(228, 179, 99, 0.25);
    transition: all 0.25s ease;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(228, 179, 99, 0.6);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
}

.card-inner {
    padding: 1.4rem 1.2rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item-name {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-name span:first-child {
    background: linear-gradient(120deg, #fff, #d9c8ae);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.item-badge {
    font-size: 1.3rem;
}

.item-detail {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    flex-wrap: wrap;
    margin-top: 5px;
}

.item-type {
    background: #1e2f3a;
    padding: 0.25rem 0.9rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.item-desc {
    font-size: 0.85rem;
    color: #b9cfdf;
    line-height: 1.4;
    margin-top: 6px;
    border-top: 1px dashed #3a5468;
    padding-top: 10px;
}

.loading-placeholder, .no-results {
    text-align: center;
    padding: 3rem;
    background: #1e2f38a0;
    border-radius: 48px;
    grid-column: 1 / -1;
    font-size: 1.2rem;
    color: #bbd1e0;
}

.no-results i {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

@media (max-width: 680px) {
    body {
        padding: 1rem;
    }
    .search-panel {
        border-radius: 28px;
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
    }
    .search-action-btn, .reset-action-btn {
        justify-content: center;
    }
}