body {
    background-image: url('https://files.catbox.moe/6o320d.jpeg');
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

main {
    width: 100%;
    max-width: 900px;
    border: ridge 8px #FFF4E7;
    outline: solid 3px #BE7C4D;
    background-color: #5E3023;
    padding: 20px;
    border-radius: 10px;
}

.site-header {
    background-color: #BE7C4D;
    background-image: url('https://files.catbox.moe/qo11lf.png');
    background-size: cover;
    background-position: center;
    border: ridge 6px #FFF4E7;
    outline: solid 3px #BE7C4D;
    height: 150px; 
    display: flex;
    align-items: center;
    padding-left: 30px; 
    margin-bottom: 20px;
    border-radius: 10px;
}

.header-title {
    color: #EDEDF4 !important;
    background-color: rgba(94, 48, 35, 0.7); 
    border: none !important;
    outline: none !important;
    padding: 10px 20px !important;
    font-size: 48px;
    text-shadow: 3px 3px 0px #5E3023; 
    margin: 0;
}

#sidebar {
    flex: 1; 
}

#content {
    flex: 2.5; 
}
  
h1 {
    font-family: 'Jersey 20', sans-serif;
    color: #5E3023;
    border: ridge 6px #FFF4E7;
    background-color: #BE7C4D;
    outline: solid 3px #BE7C4D;
    padding: 15px;
    margin-top: 0;
    text-align: center;
}

h2 {
    font-family: 'Jersey 15', sans-serif;
    margin-top: 0;
}

h3 {
      font-family: 'Jersey 15', sans-serif;
}
p {
    font-family: 'DotGothic16', sans-serif;
    line-height: 1.4;
}

.small-text {
    font-family: 'DotGothic16', sans-serif;
    font-size: 14px;
}

/* Containers */
.cont-1 {
    color: #5E3023;
    border: ridge 4px #FFF4E7;
    background-color: #BE7C4D;
    outline: solid 3px #BE7C4D;
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.2s; 
}

.cont-1:hover {
    transform: scale(1.01); 
}

.status-box {
    margin-top: 15px;
    padding: 5px 10px;
}

/* Sidebar Links */
ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li a {
    display: block;
    font-family: 'DotGothic16', sans-serif;
    color: #FFF4E7;
    background-color: #5E3023;
    padding: 10px;
    border: ridge 3px #BE7C4D;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 8px;
    text-align: center;
}

li a:hover {
    background: linear-gradient(to right, #5E3023, #BE7C4D);
    color: #fff;
    border-color: #FFF4E7;
}

footer {
    margin-top: 20px;
    text-align: center;
    color: #FFF4E7;
    border-top: 1px solid #BE7C4D;
    padding-top: 10px;
}

.flex-container {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: flex-start; /* Keeps columns from stretching weirdly, why i dont know :( */
}

/* Column Widths */
#left-column { flex: 1; min-width: 180px; }
#center-column { flex: 2; }
#right-column { flex: 1; min-width: 180px; }

/* Profile Icon Styling */
.profile-box {
    border: ridge 4px #FFF4E7;
    outline: solid 3px #BE7C4D;
    background-color: #BE7C4D;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.profile-img {
    width: 100%;
    image-rendering: pixelated; /* Keeps it crunchy and retro */
}

/* Box Spacing */
.side-box {
    margin-bottom: 15px;
    padding: 10px !important;
}

h3 {
    margin: 0 0 10px 0;
    text-align: center;
    border-bottom: 2px solid #5E3023;
}

/* Update Log Scrolling */
.log-scroll {
    max-height: 100px;
    overflow-y: scroll;
    padding-right: 5px;
}

/* Scrollbar */
.log-scroll::-webkit-scrollbar { width: 5px; }
.log-scroll::-webkit-scrollbar-thumb { background: #5E3023; }

/* To-Do List Cleanup */
.todo-list {
   font-family: 'Jersey 15', sans-serif;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    width: auto !important;
    padding: 0 !important;
}

.todo-list li {
    font-family: 'Jersey 15', sans-serif;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Blinkie Marquee Area */
.blinkie-section {
    margin-top: 20px;
    padding: 10px;
    background: #22110d;
    border: inset 4px #BE7C4D;
}
/* Hit Counter Styling */
.counter-container {
    text-align: center;
    margin-top: 15px;
}

.counter-display {
    background-color: #5E3023; 
    padding: 10px;
    border-radius: 5px;
    display: inline-block; 
}

.counter-display img {
    image-rendering: pixelated; /* Keeps the counter numbers sharp */
    max-width: 100%;
}
/* Ensure the center box stays clean */
#center-column .cont-1 {
    min-height: 200px;
}


.interests-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.interest-tag {
    background-color: #5E3023;
    color: #EDEDF4;
    font-family: 'DotGothic16', sans-serif;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #EDEDF4;
}

/* Stamp Collection */
.stamp-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    justify-items: center;
    padding: 10px;
    background: rgba(0,0,0,0.1);
    border-radius: 8px;
}

.stamp-box img {
    image-rendering: pixelated;
    width: 99px; /* Standard stamp size */
    height: 56px;
    border: 1px solid #5E3023;
}

/* Back Button */
.back-button {
    display: block;
    text-align: center;
    font-family: 'DotGothic16', sans-serif;
    color: #5E3023;
    background-color: #EDEDF4;
    padding: 8px;
    text-decoration: none;
    border-radius: 8px;
    border: 3px solid #BE7C4D;
    margin-top: 10px;
}

.back-button:hover {
    background-color: #BE7C4D;
    color: #EDEDF4;
}
/* Directory List Styling */
.directory-list {
    list-style: "→ ";
    padding-left: 20px;
    font-family: 'DotGothic16', sans-serif;
    color: #EDEDF4;
}

.directory-list li {
    margin-bottom: 10px;
}

.directory-list a {
    color: #EDEDF4;
    font-weight: bold;
    text-decoration: underline;
}

.directory-list a:hover {
    color: #fff;
    background-color: #5E3023;
}

/* 88x31 Button Grid */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 10px;
    background: #22110d;
    padding: 15px;
    border: inset 4px #BE7C4D;
    justify-items: center;
}

.button-grid img {
    image-rendering: pixelated;
    width: 88px;
    height: 31px;
    border: 1px solid #EDEDF4;
}

.button-grid a:hover img {
    border-color: #fff;
    filter: brightness(1.2);
}

/* Sidebar Nav for Subpages */
.link-nav {
    background: none !important;
    border: none !important;
    outline: none !important;
    width: 100% !important;
    padding: 0 !important;
}