: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%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 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);
}

.navbar-custom .nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

/* 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;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.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;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.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: 25px;
}

.card-custom .card-title {
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Terms Card */
.terms-card {
    background: var(--card);
    border: 1px solid var(--ornament);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 30px;
}

.terms-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(139, 90, 43, 0.3);
}

.terms-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.terms-section h2 {
    color: var(--accent);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.terms-section h2 i {
    font-size: 1.8rem;
}

.terms-section h3 {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.terms-section p {
    color: #d5c9b1;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.terms-section strong {
    color: var(--accent);
}

.terms-section ul,
.terms-section ol {
    color: #d5c9b1;
    padding-left: 1.8rem;
    margin-bottom: 1.2rem;
}

.terms-section li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
}

.terms-section li strong {
    color: var(--accent);
}

/* Info Box */
.info-box {
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid var(--ornament);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
}

.info-box i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Highlight Box */
.highlight-box {
    background: rgba(60, 42, 33, 0.7);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px;
    margin: 20px 0;
}

/* Page Header */
.page-header {
    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;
    border-bottom: 1px solid var(--ornament);
    border-top: 1px solid var(--ornament);
}

/* Last Updated */
.last-updated {
    background: var(--card);
    border: 1px solid var(--ornament);
    border-radius: var(--radius);
    padding: 15px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Footer Custom */
.footer-custom {
    background-color: #2a1f15;
    border-top: 1px solid var(--ornament);
    color: #d5c9b1;
    margin-top: auto;
}

.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: 1.2rem;
    font-size: 1.1rem;
}

.footer-custom .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-custom .footer-links li {
    margin-bottom: 0.7rem;
}

.footer-custom .footer-links a {
    color: #d5c9b1;
    transition: all 0.2s;
    display: inline-block;
}

.footer-custom .footer-links a:hover {
    color: var(--accent);
    transform: translateX(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);
}

.border-accent {
    border-color: var(--ornament) !important;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.text-center .section-title:after {
    left: 25%;
    right: 25%;
    width: 50%;
}

/* Agreement Badge */
.agreement-badge {
    background: rgba(212, 165, 116, 0.15);
    border: 1px solid var(--ornament);
    border-radius: 50px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}