/**
 * THE SOUNDS OF AUBREY // RUSTIC NORDIC THEME
 * DESIGN: IRON, ASH, AND WEATHERED HIDE
 * ARCHITECT: DR. AUBREY LOVE II
 */

/* --- ANCIENT PALETTE --- */
:root {
    --burnt-leather: #5d4037;    /* Deep brownish/yellowish tint */
    --weathered-parchment: #d7ccc8;
    --charcoal-ash: #1e1e1e;
    --iron-grey: #455a64;
    --embers-gold: #ffb300;      /* Muted yellow for highlights */
    --deep-oak: #2b1d12;
    --sepia-filter: sepia(0.3) contrast(1.1);
}

/* --- FOUNDATION --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--charcoal-ash);
    /* Subtle texture: imagine a dark, grainy leather or wood surface */
    background: radial-gradient(circle, rgba(43,29,18,0.3) 0%, rgba(30,30,30,1) 100%),
                url('https://www.transparenttextures.com/patterns/dark-leather.png');
    color: var(--weathered-parchment);
    font-family: 'EB Garamond', serif;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* --- TYPOGRAPHY: ETCHED IN STONE --- */
h1, h2, h3, .viking-title {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--embers-gold);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.text-humble {
    color: var(--weathered-parchment);
    opacity: 0.85;
    font-style: italic;
}

/* --- RUSTIC COMPONENTS --- */

/* The Mead Hall Card */
.rustic-card {
    background: rgba(43, 29, 18, 0.6);
    border: 1px solid rgba(93, 64, 55, 0.3);
    padding: 2.5rem;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5), 10px 10px 30px rgba(0,0,0,0.6);
    transition: all 0.4s ease;
    border-radius: 2px;
}

.rustic-card::before {
    content: "";
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    border: 1px solid rgba(255, 179, 0, 0.05); /* Very subtle internal frame */
    pointer-events: none;
}

.rustic-card:hover {
    border-color: var(--embers-gold);
    transform: translateY(-3px);
}

/* The Iron Button */
.btn-viking {
    font-family: 'Cinzel', serif;
    background: var(--burnt-leather);
    color: var(--embers-gold);
    border: 1px solid var(--embers-gold);
    padding: 12px 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-viking:hover {
    background: var(--embers-gold);
    color: var(--deep-oak);
    box-shadow: 0 0 15px rgba(255, 179, 0, 0.4);
}

/* --- FREQUENCY VISUALS --- */

/* A heavy, stone-like progress bar for octaves */
.range-bar {
    background: #121212;
    height: 10px;
    border: 1px solid var(--burnt-leather);
    margin: 20px 0;
    overflow: hidden;
}

.range-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--burnt-leather), var(--embers-gold));
    width: 0%;
    transition: width 2s ease-in-out;
}

/* --- UTILITIES --- */
.sepia-tint {
    filter: var(--sepia-filter);
}

.divider-ornament {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--embers-gold), transparent);
    width: 60%;
    margin: 40px auto;
    position: relative;
}

.divider-ornament::after {
    content: "ᚦ"; /* A Norse rune placeholder for visual flair */
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--charcoal-ash);
    padding: 0 15px;
    color: var(--embers-gold);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .rustic-card { padding: 1.5rem; }
    h1 { font-size: 2rem; }
}