body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.container {
	word-wrap: break-word; 
    text-align: center;
    max-width: 500px;
	margin: 80px auto 20px auto; /* Added top margin to avoid navbar overlap */
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#dynamic-text {
    font-size: 1.2em;        /* Slightly larger than default */
    line-height: 1.6;        /* Improves readability */
    white-space: pre-line;   /* Ensures line breaks (\n) are respected */
    margin: 15px 0;          /* Optional: adjust spacing */
}

.container h1 {
    margin-top: 0; 
    margin-bottom: 10px; 
}	

.copyright {
    margin-top: 20px;
    color: #777;
    font-size: 0.7em;
}

.social-favicon {
  width: 24px;
  height: 24px;	
  transition: transform 0.2s ease, filter 0.2s ease;
}

.slinks a:hover .social-favicon {
  transform: translateY(-2px);
  filter: brightness(1.2) saturate(1.5); /* Slight glow/enhance on hover */
}

.slinks a:active .social-favicon {
  transform: translateY(0);
}

/* Optional: spacing */
.slinks {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 25px 0 15px;
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white; /* Soft light blue background */
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    transition: background-color 0.3s ease;
}

.navbar a {
    color: #444;
    text-decoration: none;
    margin: 0 18px;
    font-size: 1.1em;
    font-weight: 500;
    transition: color 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 2px solid transparent; /* Invisible border for smooth effect */
}

.nav-link:hover {
    color: #5a8eff; /* Soft blue on hover */
    border-bottom: 2px solid #5a8eff; /* Subtle underline */
}

.nav-link:active {
    color: #3a6ed4;
}   
.reroll {
    font-size: 1.2em;
	text-decoration: none;
    color: #5a8eff;
}

.image-item img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 10px auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: zoom-in; /* Suggests interactivity */
}

.image-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.image-item img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
}

.image-item h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.2em;
}


.image-item p {