* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #0b0c10;
    color: #c5c6c7;
    padding: 30px 15px;
}

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

header {
    text-align: center;
    padding: 30px;
    background: #1f2833;
    border-radius: 12px;
    border-bottom: 4px solid #45f3ff;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(69, 243, 255, 0.15);
}

header h1 {
    color: #45f3ff;
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(69, 243, 255, 0.3);
}

header p {
    color: #a9b7c6;
    font-size: 1.1rem;
}

.search-bar {
    width: 100%;
    padding: 15px 20px;
    background: #1f2833;
    border: 1px solid #2f3b4c;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 30px;
    transition: 0.3s ease;
}

.search-bar:focus {
    outline: none;
    border-color: #45f3ff;
    box-shadow: 0 0 10px rgba(69, 243, 255, 0.2);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: #151a23;
    border-radius: 12px;
    border: 1px solid #232d3b;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #45f3ff;
    box-shadow: 0 5px 15px rgba(69, 243, 255, 0.1);
}

.card-image-box {
    background: #1f2833;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: #45f3ff;
    position: relative;
}

.rarity-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card.limited .rarity-badge { background: #ff3e6c; color: #fff; }
.card.legendary .rarity-badge { background: #ffa000; color: #000; }
.card.rare .rarity-badge { background: #8a2be2; color: #fff; }

.card-content {
    padding: 20px;
}

.item-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.stat-label {
    color: #8f9cae;
}

.stat-value {
    font-weight: 600;
}

.price {
    color: #00ff88;
    font-size: 1.15rem;
}

.demand-high { color: #00ff88; }
.demand-stable { color: #ffa000; }
.demand-low { color: #ff3e6c; }

.trend-up { color: #00ff88; }
.trend-stable { color: #a9b7c6; }
.trend-down { color: #ff3e6c; }
