:root {
    --primary-yellow: #FFD700;
    --bg-black: #121212;
    --card-bg: #1e1e1e;
    --text-white: #f5f5f5;
    --text-dark: #121212;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
html { scroll-behavior: smooth; }

header {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid var(--text-dark);
    padding: 5px 10px;
}

.nav-links { display: flex; gap: 20px; }
.nav-links a { font-weight: 600; text-transform: uppercase; transition: opacity 0.3s; }
.nav-links a:hover { opacity: 0.7; }

@media (max-width: 768px) {
    .nav-links { width: 100%; flex-direction: column; text-align: center; padding-top: 10px; display: none; }
    nav:hover .nav-links { display: flex; } 
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1529252309904-80252323e200?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 5px solid var(--primary-yellow);
}

.hero h1 { font-size: 3rem; color: var(--primary-yellow); margin-bottom: 10px; }
.hero p { font-size: 1.2rem; margin-bottom: 20px; }

.section-title {
    text-align: center; margin: 60px 0 30px; font-size: 2.5rem;
    color: var(--primary-yellow); text-transform: uppercase;
    border-bottom: 2px solid var(--primary-yellow); display: inline-block;
}
.section-container { text-align: center; }

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

.product-card {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover { transform: translateY(-5px); border-color: var(--primary-yellow); }

.product-img {
    width: 100%; height: 250px; background-color: #333;
    object-fit: cover; display: flex; align-items: center; justify-content: center; color: #777;
}

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

.product-title { font-size: 1.4rem; margin-bottom: 10px; color: var(--primary-yellow); }
.product-desc { margin-bottom: 20px; flex-grow: 1; }
.product-price { font-size: 1.3rem; font-weight: bold; margin-bottom: 15px; display: block; color: white; }

.buy-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-yellow); 
    color: var(--text-dark); 
    border: none;
    border-radius: 5px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: auto;
}

.buy-btn:hover { background-color: #fff; }

.info-box {
    background-color: var(--card-bg); padding: 40px; margin: 20px 0;
    border-left: 5px solid var(--primary-yellow); text-align: left;
}
.info-box h3 { color: var(--primary-yellow); margin-bottom: 15px; font-size: 1.8rem; }
.alert-box { border: 2px dashed var(--primary-yellow); padding: 15px; margin-bottom: 20px; background: rgba(255, 215, 0, 0.1); }

.modal {
    display: none; 
    position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 10% auto; padding: 30px;
    border: 2px solid var(--primary-yellow);
    width: 90%; max-width: 500px;
    border-radius: 10px; text-align: center;
    position: relative;
}

.close {
    color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer;
    position: absolute; right: 20px; top: 10px;
}
.close:hover { color: var(--primary-yellow); }

.shipping-option {
    display: block; width: 100%; padding: 15px; margin: 10px 0;
    background: transparent; border: 1px solid #555; color: white;
    cursor: pointer; text-align: left; transition: 0.3s;
    display: flex; justify-content: space-between;
}
.shipping-option:hover { border-color: var(--primary-yellow); background: rgba(255,215,0,0.1); }
.ship-price { font-weight: bold; color: var(--primary-yellow); }

.modal-warning {
    background-color: rgba(255, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border-left: 3px solid red;
    text-align: left;
}

footer { background-color: #000; color: #777; text-align: center; padding: 20px 0; margin-top: 60px; border-top: 1px solid #333; }