:root {
    --color-black: #080303;
    --color-dark: #140707;
    --color-red: #8B0000;
    --color-fire: #E63900;
    --color-orange: #ff7300;
    --color-gold: #FFD700;
    --color-text: #f0e6e6;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--color-black);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        linear-gradient(rgba(10,5,5,0.75), rgba(0,0,0,0.85)),
        url('background.jpg') center center / cover no-repeat;
    z-index: -2;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 1px;
}

.text-gold { color: var(--color-gold); }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* Embers Animation */
#ember-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.ember {
    position: absolute;
    bottom: -10px;
    background: radial-gradient(circle, var(--color-gold) 10%, var(--color-orange) 50%, var(--color-red) 100%);
    border-radius: 50%;
    opacity: 0;
    animation: rise infinite linear;
    filter: blur(1px) drop-shadow(0 0 5px var(--color-fire));
}

@keyframes rise {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    10% { opacity: 0.9; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-110vh) scale(1.5) translateX(20px); }
}

/* Navbar */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(8, 3, 3, 0.98);
    border-bottom: 1px solid rgba(230, 57, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: background 0.3s, padding 0.3s;
}

.navbar > a {
    justify-self: start;
}

.navbar.scrolled {
    background: rgba(8, 3, 3, 1);
    padding: 0.8rem 5%;
}

.nav-logo {
    height: 90px;
    filter: drop-shadow(0 0 8px var(--color-fire));
    transition: transform 0.3s;
    border-radius: 8px;
}
.nav-logo:hover { transform: scale(1.05); }

.nav-links {
    justify-self: center;
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
    padding-bottom: 6px;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--color-gold);
    text-shadow: 0 0 10px var(--color-orange);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gold);
    box-shadow: 0 0 8px var(--color-orange);
}

.nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
}

.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.cart-icon svg {
    width: 28px;
    height: 28px;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--color-red);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px var(--color-fire);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 1rem;
}

.glow-text {
    font-size: 4.5rem;
    color: var(--color-gold);
    text-shadow: 0 0 10px var(--color-fire), 0 0 30px var(--color-red);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.3rem;
    color: #ffdcb3;
    max-width: 650px;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 5px black;
}

/* Buttons */
.btn-primary, .btn-primary-small, .btn-ghost, .social-btn {
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-red), var(--color-fire));
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(230, 57, 0, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    transform: scale(1.05);
}

.btn-primary-small {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 4px;
}
.btn-primary-small:hover {
    background: var(--color-gold);
    color: var(--color-black);
    box-shadow: 0 0 15px var(--color-gold);
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid var(--color-fire);
    padding: 15px 40px; /* matched primary button padding */
    border-radius: 4px;
    font-size: 1.1rem;
}
.btn-ghost:hover {
    background: rgba(230, 57, 0, 0.3);
    border-color: var(--color-gold);
}

/* Layout Utilities */
.section {
    padding: 100px 5%;
    position: relative;
    z-index: 1;
}

.dark-section {
    background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(20,5,5,0.7), rgba(0,0,0,0.5));
    border-top: 1px solid rgba(139,0,0,0.3);
    border-bottom: 1px solid rgba(139,0,0,0.3);
}

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

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-gold);
    border-bottom: 2px solid var(--color-red);
    display: inline-block;
    padding-bottom: 10px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(30, 10, 10, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 115, 0, 0.2);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 50px rgba(230, 57, 0, 0.4);
}

/* Product Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    text-align: left;
}

.product-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle at center, rgba(30,10,10,0.8), rgba(5,0,0,0.9));
    border: 1px solid rgba(230, 57, 0, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(255,115,0,0.3);
    overflow: hidden;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.product-name {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 0.3rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

.product-price {
    font-size: 1.3rem;
    color: #e85d04;
    font-family: var(--font-body);
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffdcb3;
    margin-bottom: 2rem;
    flex-grow: 1;
}

a.btn-primary-small {
    text-align: center;
    display: block;
    padding: 12px 20px;
}

/* Contact Form */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}
.contact-header {
    margin-bottom: 2rem;
}
.contact-form {
    padding: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(10, 0, 0, 0.8);
    border: 1px solid var(--color-red);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.social-btn {
    padding: 15px 35px;
    border: 2px solid var(--color-red);
    border-radius: 30px;
    color: white;
    font-size: 1.1rem;
    background: rgba(10,0,0,0.5);
}
.social-btn:hover {
    background: var(--color-red);
    box-shadow: 0 0 20px var(--color-fire);
    color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    background: rgba(5,1,1,0.9);
    border-top: 1px solid var(--color-red);
    position: relative;
    z-index: 1;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .glow-text { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .section-title { font-size: 2.2rem; }
    .btn-ghost { padding: 15px 40px; }
}
