/* shopguild.css - Fast-Baiak Premium Theme */

:root {
    --fast-green-dark: #122822;
    --fast-green-light: #1b3d34;
    --fast-gold: #c5a059;
    --fast-gold-bright: #ffdf91;
    --fast-border: #4a4a4a;
    --fast-text-white: #ffffff;
    --fast-text-gray: #bbbbbb;
    --tibia-bg-dark: #0a0a0a;
}

.shop-container {
    font-family: "Verdana", "Arial", sans-serif;
    color: var(--fast-text-white);
    background-color: #d4c0a1; /* Fundo bege do Tibia original para o container */
    padding: 20px;
    border: 1px solid #000;
    image-rendering: pixelated;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.shop-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 10px;
    background: #505050;
    border: 2px solid #333;
}

.shop-tab {
    padding: 10px 15px;
    background: #d4c0a1;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: inset 0 0 2px #fff;
}

.shop-tab:hover {
    background: #f1e0c6;
}

.shop-tab.active {
    background: #1b3d34;
    color: #fff;
    border-color: var(--fast-gold);
}

.shop-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 15px;
}

/* --- O CARD PREMIADO --- */
.shop-item {
    background: var(--fast-green-dark);
    border: 2px solid var(--fast-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.6), inset 0 0 20px rgba(0,0,0,0.4);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 280px;
}

.shop-item:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--fast-gold-bright);
    box-shadow: 0 10px 25px rgba(0,0,0,0.8), 0 0 15px rgba(197, 160, 89, 0.4);
    z-index: 10;
}

.item-name-box {
    width: 100%;
    background: rgba(0,0,0,0.4);
    padding: 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--fast-gold);
}

.item-name {
    font-size: 13px;
    font-weight: bold;
    color: var(--fast-text-white);
    text-align: center;
    text-shadow: 1px 1px 2px #000;
    margin: 0;
}

.item-image-container {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--fast-green-light) 0%, var(--fast-green-dark) 100%);
    border: 1px solid rgba(197, 160, 89, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    border-radius: 4px;
}

.item-image {
    max-width: 64px;
    max-height: 64px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.8));
    transition: transform 0.3s;
}

.shop-item:hover .item-image {
    transform: scale(1.15);
}

.item-desc {
    font-size: 10px;
    color: var(--fast-text-gray);
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
}

.item-points {
    font-size: 14px;
    font-weight: bold;
    color: var(--fast-text-white);
    margin-bottom: 15px;
    text-shadow: 1px 1px 1px #000;
}

/* Seletor de Quantidade Estilo Fast-Baiak */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    background: rgba(0,0,0,0.3);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.qty-btn {
    width: 24px;
    height: 24px;
    background: var(--fast-gold);
    border: 1px solid #000;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.qty-btn:hover {
    background: var(--fast-gold-bright);
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.9);
}

.qty-input {
    width: 30px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

.buy-button {
    width: 100%;
    background: linear-gradient(to bottom, #4caf50 0%, #2e7d32 100%);
    border: 1px solid #000;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.buy-button:hover {
    filter: brightness(1.2);
    box-shadow: 0 5px 12px rgba(0,0,0,0.6);
}

/* Efeito Card Premiado (Brilho dinâmico) */
@keyframes card-shine {
    from { left: -100%; }
    to { left: 100%; }
}

.shop-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

.shop-item:hover::after {
    animation: card-shine 1.5s infinite;
}

/* Badge de "Oferta" ou "Novo" */
.item-badge {
    position: absolute;
    top: 40px;
    right: -5px;
    background: #ff4444;
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 8px;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: none; /* Ativar se necessário */
}
