:root {
    --bg: #1a120b;
    --accent: #d4a574;
    --text: #e5e5cb;
    --card: #3c2a21;
    --radius: 12px;
    --ornament: #8b5a2b;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(139, 90, 43, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(139, 90, 43, 0.1) 0%, transparent 20%);
}

/* Navbar Custom */
.navbar-custom {
    background-color: #2a1f15;
    border-bottom: 1px solid var(--ornament);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
}

.navbar-custom .navbar-brand {
    color: var(--text);
    font-weight: 700;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-custom .navbar-brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.navbar-custom .nav-link {
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-custom .nav-link:hover {
    color: var(--accent);
}

/* Button Custom */
.btn-custom {
    background: var(--accent);
    color: #1a120b;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: 0.2s;
    border: 1px solid var(--ornament);
    text-decoration: none;
}

.btn-custom:hover {
    background: #e5b887;
    color: #1a120b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-custom {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    transition: 0.2s;
}

.btn-outline-custom:hover {
    background: var(--accent);
    color: #1a120b;
}

/* Card Custom */
.card-custom {
    background: var(--card);
    border: 1px solid var(--ornament);
    border-radius: var(--radius);
    transition: transform 0.3s;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-custom .card-body {
    padding: 20px;
}

.card-custom .card-title {
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 600;
}

.card-custom .card-text {
    color: #d5c9b1;
}

/* Section Background */
.section-dark {
    background-color: #2a1f15;
    border-top: 1px solid var(--ornament);
    border-bottom: 1px solid var(--ornament);
    position: relative;
}

.section-dark::before,
.section-dark::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ornament), transparent);
}

.section-dark::before {
    top: 0;
}

.section-dark::after {
    bottom: 0;
}

/* Hero Section */
.hero {
    position: relative;
    background-image:
        linear-gradient(45deg, transparent 65%, rgba(139, 90, 43, 0.05) 65%, rgba(139, 90, 43, 0.05) 70%, transparent 70%),
        linear-gradient(-45deg, transparent 65%, rgba(139, 90, 43, 0.05) 65%, rgba(139, 90, 43, 0.05) 70%, transparent 70%);
    background-size: 30px 30px;
}

.hero h1 {
    font-size: 2.4em;
    font-weight: 700;
}

.hero-image {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--ornament);
}

/* Demo Image */
.demo-image {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--ornament);
}

/* How To List */
.howto-list {
    list-style: none;
    padding: 0;
}

.howto-list li {
    background: var(--card);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent);
}

.howto-list li strong {
    color: var(--accent);
}

/* CTA Section */
.cta {
    position: relative;
    background-image:
        linear-gradient(135deg, transparent 45%, rgba(139, 90, 43, 0.05) 45%, rgba(139, 90, 43, 0.05) 55%, transparent 55%),
        linear-gradient(-135deg, transparent 45%, rgba(139, 90, 43, 0.05) 45%, rgba(139, 90, 43, 0.05) 55%, transparent 55%);
    background-size: 40px 40px;
}

/* Footer Custom */
.footer-custom {
    background-color: #2a1f15;
    border-top: 1px solid var(--ornament);
    color: #d5c9b1;
}

.footer-custom a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-custom a:hover {
    color: var(--accent);
}

.footer-custom .footer-heading {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-custom .footer-links {
    list-style: none;
    padding: 0;
}

.footer-custom .footer-links li {
    margin-bottom: 0.5rem;
}

.footer-custom .footer-links a {
    color: #d5c9b1;
}

.footer-custom .footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-custom .social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: var(--card);
    border: 1px solid var(--ornament);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 8px;
    color: var(--accent);
    transition: all 0.3s;
}

.footer-custom .social-icons a:hover {
    background-color: var(--accent);
    color: #1a120b;
    transform: translateY(-3px);
}

.footer-custom .copyright {
    border-top: 1px solid rgba(139, 90, 43, 0.3);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* Utility */
.text-accent {
    color: var(--accent);
}

.bg-accent {
    background-color: var(--accent);
}