/* ============================================
   MARNYL - Vinyls Tab Styles
   ============================================ */

.marnyl-vinyls-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Boxes Shop Section */
.marnyl-vinyls-boxes-section {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #000;
    padding: 30px;
    box-shadow: 6px 6px 0 #000;
}

.marnyl-vinyls-boxes-section h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff69b4;
}

.marnyl-vinyls-balance {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff69b4;
    margin-bottom: 25px;
    text-align: center;
}

.marnyl-vinyls-balance span {
    color: #000;
    font-size: 1.5rem;
}

.marnyl-vinyls-boxes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.marnyl-vinyl-box-card {
    background: #fff;
    border: 3px solid #000;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 6px 6px 0 #000;
}

.marnyl-vinyl-box-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vinyl-box-icon {
    font-size: 4rem;
}

.vinyl-box-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
}

.vinyl-box-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ff69b4;
}

.vinyl-box-description {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

.vinyl-box-chances {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
}

.vinyl-box-chance {
    display: flex;
    justify-content: space-between;
    padding: 5px;
}

.vinyl-box-chance.common {
    background: #f0f0f0;
}

.vinyl-box-chance.rare {
    background: #e0f0ff;
}

.vinyl-box-chance.epic {
    background: #f0e0ff;
}

.vinyl-box-chance.legendary {
    background: #fff0e0;
}

.vinyl-box-btn {
    width: 100%;
    padding: 12px 20px;
    background: #ff69b4;
    border: 3px solid #000;
    color: #000;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.vinyl-box-btn:hover {
    background: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #000;
}

.vinyl-box-btn:active {
    transform: translate(1px, 1px);
    box-shadow: none;
}

.vinyl-box-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vinyl-box-btn:disabled:hover {
    transform: none;
    box-shadow: none;
    background: #ff69b4;
}

/* Loadout Section (5 Slots) */
.marnyl-vinyls-loadout-section {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #000;
    padding: 30px;
    box-shadow: 6px 6px 0 #000;
}

.marnyl-vinyls-loadout-section h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff69b4;
}

.marnyl-vinyls-section-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
}

.marnyl-vinyls-loadout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.marnyl-vinyl-slot {
    position: relative;
    min-height: 180px;
    border: 3px solid #000;
    background: #fff;
    box-shadow: 6px 6px 0 #000;
}

.vinyl-slot-inner {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vinyl-slot-inner.empty {
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.02);
}

.vinyl-slot-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.vinyl-slot-text {
    font-weight: 900;
    font-size: 1.1rem;
    color: #000;
    text-transform: uppercase;
}

.vinyl-slot-hint {
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
}

.vinyl-slot-inner.equipped {
    position: relative;
}

.vinyl-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 2px solid #000;
    margin-bottom: 10px;
}

.vinyl-slot-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vinyl-name {
    font-weight: 900;
    font-size: 0.95rem;
    color: #000;
    text-transform: uppercase;
    line-height: 1.2;
}

.vinyl-bonus {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 10px;
    border: 2px solid #000;
    background: #f0f0f0;
    text-align: center;
}

.vinyl-bonus.damage {
    background: #ffe0e0;
    color: #cc0000;
}

.vinyl-bonus.health {
    background: #e0ffe0;
    color: #00cc00;
}

.vinyl-bonus.speed {
    background: #e0e0ff;
    color: #0000cc;
}

.vinyl-unequip-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background: #ff0000;
    border: 2px solid #000;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.vinyl-unequip-btn:hover {
    background: #cc0000;
    transform: scale(1.1);
}

/* Total Bonuses Display */
.marnyl-vinyls-bonuses {
    margin-top: 30px;
}

.marnyl-vinyls-bonuses h3 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.marnyl-vinyls-bonuses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.marnyl-vinyl-bonus-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 3px solid #000;
    background: #fff;
    box-shadow: 6px 6px 0 #000;
}

.marnyl-vinyl-bonus-card.damage {
    background: #ffe0e0;
}

.marnyl-vinyl-bonus-card.health {
    background: #e0ffe0;
}

.marnyl-vinyl-bonus-card.speed {
    background: #e0e0ff;
}

.marnyl-vinyl-bonus-card .bonus-icon {
    font-size: 2rem;
}

.marnyl-vinyl-bonus-card .bonus-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
}

.marnyl-vinyl-bonus-card .bonus-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    line-height: 1.4;
    text-align: center;
}

.marnyl-vinyl-bonus-card.damage .bonus-value {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Collection Section */
.marnyl-vinyls-collection-section {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #000;
    padding: 30px;
    box-shadow: 6px 6px 0 #000;
}

.marnyl-vinyls-collection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff69b4;
    flex-wrap: wrap;
}

.marnyl-vinyls-collection-header h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    margin: 0;
}

.marnyl-vinyl-collection-count {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff69b4;
}

.marnyl-vinyls-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.marnyl-vinyls-filters input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 3px solid #000;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
}

.marnyl-vinyls-filters input:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.2);
}

.marnyl-vinyls-filters select {
    padding: 12px 40px 12px 15px;
    border: 3px solid #000;
    background: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.marnyl-vinyls-filters select:hover,
.marnyl-vinyls-filters select:focus {
    outline: none;
    border-color: #ff69b4;
}

/* Loading State */
.marnyl-vinyls-loading {
    text-align: center;
    padding: 60px 20px;
}

.marnyl-vinyls-loading .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #000;
    border-top-color: #ff69b4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.marnyl-vinyls-loading p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

/* Empty State */
.marnyl-vinyls-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 15px;
}

.marnyl-vinyls-empty .empty-icon {
    font-size: 5rem;
    opacity: 0.3;
}

.marnyl-vinyls-empty h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    margin: 0;
}

.marnyl-vinyls-empty p {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    margin: 0;
}

/* Collection Grid */
.marnyl-vinyls-collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.marnyl-vinyl-card {
    background: #fff;
    border: 3px solid #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 6px 6px 0 #000;
}

.vinyl-card-image {
    width: 100%;
    height: 200px;
    border-bottom: 3px solid #000;
    overflow: hidden;
    background: #f5f5f5;
}

.vinyl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vinyl-card-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vinyl-card-name {
    font-weight: 900;
    font-size: 1rem;
    color: #000;
    text-transform: uppercase;
    line-height: 1.2;
}

.vinyl-card-bonus {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 10px;
    border: 2px solid #000;
    background: #f0f0f0;
    text-align: center;
}

.vinyl-card-bonus.damage {
    background: #ffe0e0;
    color: #cc0000;
}

.vinyl-card-bonus.health {
    background: #e0ffe0;
    color: #00cc00;
}

.vinyl-card-bonus.speed {
    background: #e0e0ff;
    color: #0000cc;
}

.vinyl-card-attributes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vinyl-attribute {
    padding: 4px 8px;
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #000;
}

.vinyl-card-actions {
    padding: 15px;
    border-top: 3px solid #000;
}

.vinyl-equip-btn {
    width: 100%;
    padding: 12px 20px;
    background: #ff69b4;
    border: 3px solid #000;
    color: #000;
    font-weight: 900;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.vinyl-equip-btn:hover {
    background: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #000;
}

.vinyl-equip-btn:active {
    transform: translate(1px, 1px);
    box-shadow: none;
}

/* Responsive adjustments for vinyls */
@media (max-width: 1200px) {
    .marnyl-vinyls-loadout-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .marnyl-vinyls-boxes-grid {
        grid-template-columns: 1fr;
    }

    .marnyl-vinyls-loadout-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .marnyl-vinyls-collection-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .marnyl-vinyls-filters {
        flex-direction: column;
    }

    .marnyl-vinyls-filters input,
    .marnyl-vinyls-filters select {
        width: 100%;
        min-width: auto;
    }

    .marnyl-vinyls-bonuses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .marnyl-vinyls-loadout-grid {
        grid-template-columns: 1fr;
    }

    .marnyl-vinyls-collection-grid {
        grid-template-columns: 1fr;
    }
}
