/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37; /* Pure Gold */
    --secondary-color: #b8860b; /* Dark Gold */
    --bg-color: #050505; /* Deep Black */
    --card-bg: #0f0f0f; /* Dark Gray */
    --text-color: #ffffff;
    --text-muted: #8a8a8a;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Header */
.main-header {
    background-color: var(--card-bg);
    padding: 20px 0;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-top {
    font-weight: 600;
}

.telegram-link {
    color: var(--primary-color);
    text-decoration: none;
    background: rgba(212, 175, 55, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
}

.telegram-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Grid de Produtos */
.products-section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Card de Produto */
.product-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.product-media {
    width: 100%;
    height: 350px; /* Aumentado para dar mais destaque ao player */
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image, .product-video, iframe.product-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
    border: none;
}

.product-video {
    cursor: pointer;
    display: block;
    outline: none;
}

/* Garante que o poster (imagem de capa) cubra bem o espaço enquanto o vídeo não carrega */
video[poster] {
    object-fit: contain;
}

/* Estilo para quando o vídeo está em foco/hover */
.product-card:hover .product-media {
    border-bottom: 2px solid var(--primary-color);
}

/* Customização básica dos controlos do vídeo (depende do browser, mas ajuda na consistência) */
video::-webkit-media-controls-panel {
    background-image: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-price {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-buy {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
}

.btn-buy:hover {
    background-color: var(--secondary-color);
}

/* Footer */
.main-footer {
    background-color: var(--card-bg);
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid #333;
}

.footer-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Responsividade */
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
