body {
    background-color: #1c1e22; /* Dark, slightly cool grey */
    color: #e0e0e0; /* Off-white text for better readability */
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        "Open Sans",
        "Helvetica Neue",
        sans-serif; /* Modern font stack */
    margin: 0;
    padding: 30px 20px; /* Adjusted padding */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Animated Background Glow */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensure it's behind all content */
    pointer-events: none; /* Prevent interaction */
    background:
        /* Glow 1: Muted Blueish */
        radial-gradient(
            ellipse at 10% 20%,
            rgba(60, 80, 130, 0.35) 0%,
            /* Increased alpha from 0.15 */ transparent 50%
        ),
        /* Glow 2: Muted Purplish */
            radial-gradient(
                ellipse at 85% 30%,
                rgba(90, 70, 120, 0.3) 0%,
                /* Increased alpha from 0.12 */ transparent 50%
            ),
        /* Glow 3: Muted Tealish */
            radial-gradient(
                ellipse at 50% 80%,
                rgba(70, 100, 100, 0.25) 0%,
                /* Increased alpha from 0.1 */ transparent 50%
            );
    background-size: 100% 100%; /* Make gradients very large for soft edges */
    animation: subtleGlowingBackground 5s ease-in-out infinite;
}

@keyframes subtleGlowingBackground {
    0% {
        background-position: 0% 0%;
        opacity: 0.5; /* Start opacity for the pseudo-element */
    }
    25% {
        background-position: 75% 50%; /* Shift pattern */
        opacity: 0.7;
    }
    50% {
        background-position: 100% 100%; /* Shift to another area */
        opacity: 0.6;
    }
    75% {
        background-position: 25% 50%; /* Shift again */
        opacity: 0.8; /* Slightly brighter peak */
    }
    100% {
        background-position: 0% 0%;
        opacity: 0.5; /* Return to start state */
    }
}

h1 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px; /* Increased margin */
    font-size: 2.2em; /* Slightly larger for modern feel */
    font-weight: 600;
}

.update-banner {
    background-color: #4a412a; /* Dark, muted yellowish-brown background */
    color: #fffacd; /* Lemon chiffon - a light, pale yellow for text */
    padding: 15px 20px;
    margin: 20px auto; /* Centered with some vertical margin */
    border-radius: 10px; /* Rounded corners, consistent with other elements */
    max-width: 800px; /* Similar to message-container width but can be adjusted */
    text-align: center;
    border: 1px solid #6b5f3a; /* A slightly lighter border for definition */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25); /* Consistent shadow style */
    font-size: 0.95em;
    line-height: 1.6;
}

.update-banner p {
    margin: 0; /* Remove default paragraph margin if text is wrapped in <p> */
}

.info-banner {
    background-color: #2a3b4a; /* Dark, muted blue background */
    color: #cfe2f3; /* Light, pale blue for text */
    padding: 15px 20px;
    margin: 20px auto; /* Centered with some vertical margin */
    border-radius: 10px; /* Rounded corners, consistent with other elements */
    max-width: 800px; /* Similar to message-container width but can be adjusted */
    text-align: center;
    border: 1px solid #3a5f6b; /* A slightly lighter blue border for definition */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25); /* Consistent shadow style */
    font-size: 0.95em;
    line-height: 1.6;
}

.info-banner p {
    margin: 0; /* Remove default paragraph margin if text is wrapped in <p> */
}

.logo-container {
    text-align: center;
    margin-bottom: 30px; /* Increased margin */
}

.message-container {
    max-width: 850px; /* Slightly wider */
    margin: 0 auto;
    background-color: rgba(
        30,
        32,
        36,
        0.85
    ); /* Semi-transparent dark background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    padding: 35px; /* Adjusted padding */
    border-radius: 18px; /* More rounded corners */
    margin-bottom: 50px; /* Increased margin */
    flex-grow: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); /* Softer, more prominent shadow */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border for definition */
}

.intro-text {
    margin-bottom: 35px; /* Increased margin */
    text-align: justify;
    line-height: 1.7; /* Improved readability */
    color: #c5c5c5; /* Softer text color */
    font-size: 1.05em;
}

.message {
    display: flex;
    margin-bottom: 25px; /* Increased margin */
    background-color: rgba(
        44,
        47,
        53,
        0.9
    ); /* Semi-transparent, slightly lighter than container */
    backdrop-filter: blur(8px); /* Frosted glass effect */
    padding: 20px; /* Adjusted padding */
    border-radius: 12px; /* Rounded corners */
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25); /* Subtle shadow for depth */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle border */
}

.profile-pic {
    width: 50px;
    height: 50px;
    background-color: #2d2d2d; /* Darker placeholder color */
    border-radius: 50%; /* Circular */
    margin-right: 18px; /* Adjusted margin */
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, 0.12); /* Subtle border */
}

.message-content {
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #dcdcdc; /* Ensure good contrast for message text */
}

.username {
    font-weight: 600; /* Slightly less bold than default 'bold' if font supports it */
    margin-bottom: 8px; /* Increased margin */
    color: #ffffff; /* Bright white for username */
    font-size: 1.05em;
}

.reply-to {
    font-size: 0.85em;
    color: #a0a0a0; /* Lighter grey for better readability */
    margin-bottom: 10px; /* Increased margin */
    padding: 8px 12px; /* Adjusted padding */
    background-color: rgba(
        25,
        27,
        30,
        0.8
    ); /* Darker semi-transparent background */
    border-radius: 8px; /* Rounded corners */
    position: relative;
    border-left: 3px solid #555c66; /* Slightly more prominent border color */
}

.discord-link {
    font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; /* Modern monospace stack */
    padding: 12px 15px;
    background: rgba(28, 30, 34, 0.75); /* Dark, semi-transparent background */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    border-radius: 8px;
    margin: 25px 0; /* Adjusted margin */
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
    color: #b0b8c0; /* Muted text color */
    display: block; /* Ensure it takes up block space for centering or full width */
    text-align: center;
}

.social-link {
    text-align: center;
    margin-top: 30px; /* Increased margin */
}

.social-link a {
    color: #b0b0b0; /* Muted link color */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Increased gap */
    padding: 5px 10px; /* Add some padding for better click area */
    border-radius: 6px; /* Rounded corners for links */
    transition:
        background-color 0.2s ease,
        color 0.2s ease; /* Smooth transition for hover */
}

.social-link a:hover {
    background-color: rgba(255, 255, 255, 0.05); /* Subtle hover background */
    color: #ffffff; /* Brighter color on hover */
}

.social-link img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    filter: brightness(0) invert(1) opacity(0.7); /* White icons, slightly transparent */
    transition: opacity 0.2s ease; /* Smooth transition for hover */
}

.social-link a:hover img {
    opacity: 1; /* Full opacity on hover */
}

.social-divider {
    width: 25%;
    margin: 20px auto; /* Adjusted margin */
    height: 1px;
    background-color: rgba(
        255,
        255,
        255,
        0.15
    ); /* Lighter, more visible divider */
    border: none;
}

@media (max-width: 768px) {
    /* Adjusted breakpoint for tablets */
    .message-container {
        margin: 0 0;
        padding: 25px;
        border-radius: 15px;
    }
    h1 {
        font-size: 2em;
    }
}

@media (max-width: 600px) {
    body {
        padding: 20px 15px; /* Adjusted padding */
    }

    .message-container {
        border-radius: 12px; /* Consistent rounding for mobile */
        padding: 20px; /* Reduced padding */
        margin-bottom: 30px;
        /* Consider reducing or removing backdrop-filter on mobile for performance if needed */
        /* backdrop-filter: blur(5px); */
    }

    .message {
        padding: 15px; /* Reduced padding */
        border-radius: 10px; /* Consistent rounding */
        margin-bottom: 20px;
        /* backdrop-filter: blur(5px); */
    }

    .profile-pic {
        width: 45px; /* Slightly smaller */
        height: 45px;
        margin-right: 12px;
    }

    h1 {
        font-size: 1.8em; /* Further adjust for small screens */
        margin-bottom: 20px;
    }

    .intro-text {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .discord-link {
        padding: 10px 12px;
        font-size: 0.9em;
    }
}
