/* BDO Shop Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #e8e8e8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 30px;
    border-bottom: 2px solid #c9a227;
}

header h1 {
    color: #c9a227;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

nav {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 30px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #e8e8e8;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: #c9a227;
    color: #1a1a2e;
}

.page-title {
    text-align: center;
    padding: 30px;
    color: #c9a227;
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
    border-color: #c9a227;
}

.card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(45deg, #2a2a4a, #3a3a5a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: #c9a227;
}

.card-price {
    font-size: 18px;
    font-weight: bold;
    color: #4ade80;
}

.card-description {
    font-size: 13px;
    color: #aaa;
    margin-top: 8px;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 30px;
}

.category-btn {
    padding: 12px 25px;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid #c9a227;
    color: #c9a227;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: #c9a227;
    color: #1a1a2e;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.detail-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #2a2a4a, #3a3a5a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(201, 162, 39, 0.3);
}

.detail-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.detail-info {
    padding: 20px 0;
}

.detail-info h2 {
    font-size: 28px;
    color: #c9a227;
    margin-bottom: 20px;
}

.detail-info .price {
    font-size: 32px;
    color: #4ade80;
    margin-bottom: 20px;
}

.detail-info .description {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-buy {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #c9a227, #d4af37);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.5);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #2a2a4a, #3a3a5a);
    color: #666;
    font-size: 12px;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 40px;
    color: #666;
}

@media (max-width: 768px) {
    .detail-container {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
