/* --- 1. Variables & Base Setup --- */
:root {
    --viking-brown: #3e2723;
    --ember-orange: #d84315;
    --parchment-cream: #f4e4bc;
    --glow: 0 0 10px rgba(216, 67, 21, 0.8), 0 0 20px rgba(216, 67, 21, 0.5);
}

body {
    /* FULL ABSOLUTE PATH - This must work if the file exists */
    background-image: url('https://beardedviking.valhallasecuritylabs.com/assets/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #2c1e1a; /* Fallback color */
    color: var(--viking-brown);
    font-family: 'MedievalSharp', cursive;
    margin: 0;
    padding: 0;
    opacity: 0; 
    transition: opacity 1.5s ease-in-out;
}

/* --- Ensure visibility for testing --- */
.viking-parchment-bg {
    opacity: 1 !important;
}

/* --- 2. Typography & Glowing Effects --- */
h1, h2, h3 {
    font-family: 'Germania One', cursive;
    text-transform: uppercase;
    color: var(--viking-brown);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

h1:hover {
    text-shadow: var(--glow);
    color: var(--ember-orange);
    cursor: default;
}

.brand-text {
    font-family: 'Uncial Antiqua', cursive;
    letter-spacing: 3px;
}

/* --- 3. Viking Components --- */
.parchment-panel {
    background: rgba(244, 228, 188, 0.6);
    border: 2px solid var(--viking-brown);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-viking {
    background-color: var(--viking-brown);
    color: var(--parchment-cream);
    font-family: 'Skranji', cursive;
    border: 2px solid var(--ember-orange);
    padding: 10px 25px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.btn-viking:hover {
    background-color: var(--ember-orange);
    color: #fff;
    box-shadow: var(--glow);
}

/* --- 4. Responsive Utility --- */
.img-fluid {
    filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.5));
}