/* ====================================================
   DESIGN SYSTEM - BacaPrimbon.my.id
   Premium Mystical Javanese Aesthetic
   ==================================================== */

:root {
    --primary: #8B4513;     /* SaddleBrown - Earthy Teak */
    --accent: #D4AF37;      /* Gold - Premium */
    --bg-dark: #0D0A05;     /* Near Black */
    --bg-card: #1A140B;     /* Dark Brown Card */
    --text-main: #F5E6D3;   /* Parchment / Lontar */
    --text-muted: #A89885;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F1D382 50%, #B8860B 100%);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Noto Serif', serif;
}

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

body {
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(13, 10, 5, 0.9), rgba(13, 10, 5, 0.9)), url('/assets/images/bg.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand {
    font-family: var(--font-serif);
    color: var(--accent);
}

.brand-logo {
    height: 50px;
    vertical-align: middle;
}

.brand img {
    mix-blend-mode: screen; /* Keep for logo if needed */
}

/* Premium Pure CSS Divider */
.css-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    opacity: 0.8;
}

.css-divider::before,
.css-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    max-width: 150px;
}

.css-divider-icon {
    color: var(--accent);
    font-size: 1.5rem;
    margin: 0 15px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    animation: pulse 2s infinite;
}

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

/* Common Components */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .container {
        padding: 0 15px;
    }
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

/* Card Styling */
.card {
    background: rgba(26, 20, 11, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 600px) {
    .card {
        padding: 20px;
        border-radius: 16px;
    }
}

.card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: fadeIn 1s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}
