:root {
    --primary-color: #5D4037;  /* Deeper, more subtle brown */
    --secondary-color: #D7CCC8;  /* Soft, muted wood color */
    --accent-color: #8D6E63;  /* Warm brown accent */
    --text-color: #263238;  /* Dark blue-grey for better readability */
    --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --link-color: #8cb2df;
}

body {
    font-family: var(--font-family);
    background: var(--secondary-color); /* ease on the eyes + never use pure white for backgrounds*/
    color: var(--text-color);
    margin: 0;
    padding-top: 60px;
    min-height: 100vh;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--accent-color); /* to go with the above change */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.centeredText {
    text-align: center;
    margin: 20px 0;
}

hr {
    width: 80%;
    border: none;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 20px auto;
}

#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: center;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

#navbar a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

#navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

#content {
    max-width: 800px;
    width: 100%;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

#content h1 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

#content p {
    line-height: 1.6;
    font-size: 1em;
}

.error {
    color: #dc3545;
    padding: 12px;
    background-color: #f8d7da;
    border-radius: var(--border-radius);
    border: 1px solid #dc3545;
    margin: 16px 0;
}

barrel {
    display: inline-block;
    transform: translateY(3px);
    width: 32px;
    height: 32px;
    background-image: url('https://cdn.discordapp.com/emojis/1296987889942397001.webp?size=128');
    background-size: cover;
}

barrelspin {
    display: inline-block;
    transform: translateY(3px);
    width: 32px;
    height: 32px;
    background-image: url('https://cdn.discordapp.com/emojis/1310793136389226577.webp?size=128&animated=true');
    background-size: cover;
}

barrelcoin {
    display: inline-block;
    transform: translateY(3px);
    width: 16px;
    height: 16px;
    background-image: url('https://cdn.discordapp.com/emojis/1364027068936884405.webp?size=128');
    background-size: cover;
}

/* Add some wood texture inspired elements */
.wood-panel {
    background: linear-gradient(45deg, var(--primary-color) 25%, transparent 25%),
                linear-gradient(-45deg, var(--primary-color) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, var(--primary-color) 75%),
                linear-gradient(-45deg, transparent 75%, var(--primary-color) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}

/* Add barrel-themed buttons */
button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius); /* either everything has a radius or nothing has it*/
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--box-shadow);
}

button:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
}


/* links */
a {
    color: var(--link-color);
}

/* quick nav on mainpage */
#quick-nav li::marker {
    content: "▶ ";
    color: var(--primary-color);
}

/* Footer (because we can and it's cool) */

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: var(--accent-color);
    max-height: 3%;
}

#footer p {
    margin-right: 7px;
}

/* Skeleton Loading Styles */
.skeleton {
    background-color: #e0e0e0;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: "";
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: skeleton-loading 1.2s infinite;
}

@keyframes skeleton-loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Skeleton variants */
.skeleton-text,
.skeleton-line {
    height: 16px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 32px;
    width: 60%;
    margin-bottom: 16px;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
}

/* New skeleton variants */
.skeleton-line-short {
    height: 16px;
    width: 40%;
    margin-bottom: 8px;
}

.skeleton-details {
    height: 13px;
    width: 70%;
    margin-bottom: 6px;
    border-radius: 6px;
}
.skeleton-line {
    height: 1em;
    width: 100%;
    margin-bottom: 0.5em;
}

.skeleton-title {
    height: 2em;
    width: 60%;
    margin-bottom: 1em;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
}

/* New skeleton variants */
.skeleton-line-short {
    height: 1em;
    width: 40%;
    margin-bottom: 0.5em;
}

.skeleton-details {
    height: 0.8em;
    width: 70%;
    margin-bottom: 0.4em;
    border-radius: 6px;
}