/* Import Cinzel from Google Fonts:
   @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');
   Import Merriweather from Google Fonts:
   @import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');
*/
:root {
    --primary-orange: #F28C28;
    --primary-orange-hover: #c8741f;
    --secondary-blue: #288EF2;
    --secondary-green: #28F28C;
    --tertiary-purple: #8C28F2;

    /* Provider Brand Colors */
    --provider-discord: #5865F2;
    --provider-twitch: #9146FF;
    --provider-steam: #2a475e;
    --provider-reddit: #FF4500;
}
body {
    font-family: 'Merriweather', serif;
    background: #18181b url('../images/background.png') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    color: #f3f4f6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
}

.logo {
    width: 120px;
    display: block;
    margin: 0 auto 1.5em auto;
}
h1 {
    color: var(--primary-orange);
    font-size: 2.5rem;
    margin-bottom: 0.5em;
}
p {
    color: #d1d5db;
    font-size: 1.2rem;
}
a.button {
    display: inline-block;
    margin-top: 2em;
    padding: 0.75em 2em;
    background: var(--primary-orange);
    color: #18181b;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
a.button:hover {
    background: var(--tertiary-purple);
    color: #fff;
}
.game-list {
    list-style: none;
    padding: 0;
}
.game {
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid #27272a;
}
.game:last-child {
    border-bottom: none;
}
.game-title {
    font-size: 1.3rem;
    color: var(--primary-orange);
    font-weight: 600;
    font-family: 'Cinzel', serif;
}
.game-desc {
    color: #d1d5db;
    margin-top: 0.3em;
}
a.home-link {
    display: inline-block;
    margin-top: 2em;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}
a.home-link:hover {
    text-decoration: underline;
    color: var(--primary-orange-hover);
}

/* --- Navigation Bar Styles --- */
.main-nav {
    background: rgba(24,24,27,0.98);
    box-shadow: 0 2px 12px #0006;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7em 1.2em;
    position: relative;
}
.nav-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
}
.nav-links-center {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}
.nav-links {
    display: flex;
    gap: 2em;
    align-items: center;
    justify-content: center;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 1em;
}
.discord-link {
    color: #5865F2;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    text-decoration: none;
    margin-right: 0.7em;
}

/* User dropdown */
.nav-user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-bottom: 5px;
    margin-bottom: -5px;
}
.nav-user-info {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--primary-orange);
    padding: 0.2em 0.7em 0.2em 0.2em;
    border-radius: 8px;
    transition: background 0.2s;
}
.nav-user-dropdown.open .nav-user-info,
.nav-user-dropdown:hover .nav-user-info {
    background: #23232a;
}
.nav-dropdown-arrow {
    font-size: 0.9em;
    color: #aaa;
    margin-left: 0.2em;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 40px;
    right: auto;
    min-width: 170px;
    background: #23232a;
    border-radius: 10px;
    box-shadow: 0 4px 16px #000a;
    padding: 0.5em;
    z-index: 200;
    flex-direction: column;
    gap: 0.5em;
    text-align: left;
    overflow-x: visible;
}
.nav-user-dropdown.open .nav-dropdown-menu,
.nav-user-dropdown:hover .nav-dropdown-menu {
    display: flex;
}
.nav-dropdown-menu a,
.nav-dropdown-menu button {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #f3f4f6;
    font-family: 'Cinzel', serif;
    font-size: 1em;
    padding: 0.6em 0.8em;
    border-radius: 6px;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    text-decoration: none;
    box-sizing: border-box;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu button:hover {
    background: var(--tertiary-purple);
    color: #fff;
}

@media (max-width: 900px) {
    .nav-links {
        gap: 1em;
    }
    .nav-container {
        padding: 0.7em 0.3em;
    }
}
@media (max-width: 700px) {
    .nav-links-center {
        display: none;
    }
    .nav-social {
        display: none;
    }
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        width: 100vw;
        background: rgba(24,24,27,0.98);
        box-shadow: 0 2px 12px #0006;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2em;
        padding: 1.5em 2em 1.5em 2.5em;
        z-index: 150;
        text-align: left;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        color: #f3f4f6;
        font-size: 1.2em;
        width: 100%;
        padding: 0.5em 0;
        border-radius: 6px;
        background: none;
    }
    .nav-links a.nav-active {
        color: var(--primary-orange) !important;
    }
    .nav-links a:hover {
        color: var(--tertiary-purple) !important;
        background: rgba(140,40,242,0.08);
    }
    .nav-right {
        gap: 0.5em;
    }
}

footer a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    text-shadow: 0 1px 6px #18181b, 0 0 2px #18181b;
}
footer a:hover {
    color: var(--secondary-green);
}

.nav-user-info {
    display: flex;
    align-items: center;
    gap: 0.7em;
    margin-left: 2em;
}
.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #18181b;
}
.nav-username {
    color: var(--secondary-blue);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-right: 0.5em;
}
.nav-logout-form {
    display: inline;
}
.nav-logout-link {
    background: none;
    border: none;
    color: var(--secondary-blue);
    font-weight: 700;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1em;
    padding: 0;
    margin-left: 0.5em;
    transition: color 0.2s;
}
.nav-logout-link:hover {
    color: var(--primary-orange);
}
.nav-login-link {
    color: var(--secondary-blue);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-decoration: none;
    margin-left: 2em;
    font-size: 1.1em;
    transition: color 0.2s;
}
.nav-login-link:hover {
    color: var(--tertiary-purple);
}
.nav-login-link.nav-active {
    color: var(--primary-orange);
}
.nav-login-link.nav-active:hover {
    color: var(--tertiary-purple);
}

.auth-box {
    max-width: 400px;
    width: 90vw;
    margin: 60px auto;
    background: rgba(24,24,27,0.92);
    border-radius: 16px;
    box-shadow: 0 4px 24px #0008;
    padding: 40px 32px;
    color: #f3f4f6;
    text-align: center;
}
@media (max-width: 500px) {
    .auth-box { padding: 24px 8px; }
}
.auth-box input {
    width: 100%;
    margin-bottom: 0.7em;
    padding: 0.5em;
    border-radius: 6px;
    border: none;
}
.content-box {
    max-width: 1000px;
    width: 90vw;
    margin: 60px auto 0 auto;
    background: rgba(24, 24, 27, 0.92);
    border-radius: 16px;
    box-shadow: 0 4px 24px #0008;
    padding: 48px 32px 40px 32px;
    color: #f3f4f6;
    text-align: center;
}
@media (max-width: 500px) {
    .content-box { padding: 24px 8px; }
}

/* --- Content Box Custom Styles for Legal Pages --- */
.content-box h1 {
    font-size: 2.2rem;
    margin-bottom: 1em;
    color: var(--primary-orange);
    font-family: 'Cinzel', serif;
}
.content-box h2 {
    font-size: 1.3rem;
    margin-top: 2em;
    color: var(--secondary-green);
    font-family: 'Cinzel', serif;
}
.content-box ul {
    margin: 0 !important;
}
.content-box li {
    margin-bottom: 0.5em;
}
.content-box p, .content-box li {
    font-family: 'Merriweather', serif;
}
.content-box strong {
    color: var(--secondary-green);
}
.content-box address {
    font-style: normal;
    color: #d1d5db;
}
.content-box.legal-content {
    text-align: left;
}
.content-box.legal-content h1 {
    text-align: center;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7em;
    width: 90%;
    max-width: 420px;
    margin: 1.2em auto 0 auto;
    padding: 0.8em 1.5em;
    min-height: 56px;
    height: 56px;
    border: none;
    border-radius: 10px;
    font-size: 1.15em;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px #0004;
    text-decoration: none;
}
.login-btn .login-btn-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin-right: 1em;
}
.login-btn .login-btn-text {
    flex: 1 1 auto;
    text-align: right;
    display: block;
    width: 100%;
}
.login-btn-discord {
    background: #5865F2;
    color: #fff;
}
.login-btn-discord:hover {
    background: #4752c4;
}
.login-btn-email {
    background: #222;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}
.login-btn-email:hover {
    background: #18181b;
    color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}
.login-btn-twitch {
    background: #9147ff;
    color: #fff;
}
.login-btn-twitch:hover {
    background: #772ce8;
    color: #fff;
}

/* Example: Google login button using secondary green */
.login-btn-google {
    background: var(--secondary-green);
    color: #18181b;
}
.login-btn-google:hover {
    background: #1ec47a;
    color: #fff;
}

/* Example: highlight text using tertiary purple */
.highlight-purple {
    color: var(--tertiary-purple);
    font-weight: 700;
}

/* Add more color variety to nav and links */
.nav-links a {
    color: #f3f4f6;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.08em;
    padding: 0.2em 0.5em;
    border-radius: 4px;
}
.nav-links a.nav-active {
    color: var(--primary-orange) !important;
}
.nav-links a:hover {
    color: var(--tertiary-purple) !important;
    background: rgba(140,40,242,0.08);
}
footer a:hover {
    color: var(--secondary-green);
}
.button:hover {
    background: var(--tertiary-purple);
    color: #fff;
}

/* --- Socials section in nav --- */
.nav-socials {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-right: 0.5em;
}
.nav-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: none;
    transition: background 0.18s;
    text-decoration: none;
}
.nav-social-icon:hover {
    background: rgba(88,101,242,0.12);
}
.nav-social-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

/* Hide nav-toggle except on mobile */
.nav-toggle {
    display: none;
}
@media (max-width: 700px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5em;
        margin-left: 0.5em;
    }
    .nav-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: #f3f4f6;
        border-radius: 2px;
        transition: all 0.3s;
    }
}

/* --- Form Input and Button Consistency --- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea {
    width: 100%;
    margin-bottom: 0.7em;
    padding: 0.5em;
    border-radius: 6px;
    border: 1.5px solid #23232a;
    background: #23232a;
    color: #f3f4f6;
    font-size: 1.08em;
    font-family: 'Merriweather', serif;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px var(--primary-orange-hover);
}
.button {
    display: inline-block;
    padding: 0.75em 2em;
    background: var(--primary-orange);
    color: #18181b;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    font-size: 1.08em;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.18s;
    box-shadow: 0 2px 8px #0004;
}
.button:hover {
    background: var(--tertiary-purple);
    color: #fff;
}
.button-secondary {
    background: #23232a;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    font-weight: 600;
}
.button-secondary:hover {
    background: var(--tertiary-purple);
    color: #fff;
    border-color: var(--tertiary-purple);
}

/* --- Account Page Redesign --- */
.provider-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.link-provider-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 1em;
}

.link-provider-button, .provider-banner {
    display: flex;
    width: 100%;
    min-height: 56px;
    height: 56px;
    align-items: center;
    box-sizing: border-box;
    justify-content: space-between;
    padding: 0.8em 1.5em;
    border-radius: 10px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1em;
}

.link-provider-button {
    border-radius: 10px;
    padding: 0.8em 1.5em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1em;
    text-decoration: none;
}

.link-provider-button:hover {
    filter: brightness(1.2);
    color: #fff;
}

.link-provider-button svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    opacity: 0.9;
}

.provider-banner {
    border-radius: 10px;
    padding: 0.8em 1.5em;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    background: #23232a; /* Default */
}
.provider-banner-discord { background: var(--provider-discord); }
.provider-banner-twitch { background: #9147ff; }
.provider-banner-steam { background: #1b2838; } /* Steam's dark grey */
.provider-banner-reddit { background: var(--provider-reddit); }

.provider-info, .link-provider-button span {
    display: flex;
    align-items: center;
    gap: 1em;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1em;
}
.provider-info img.provider-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
}
.provider-info svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    opacity: 0.9;
}
.provider-info svg.provider-icon-steam {
    fill: #c7d5e0; /* Steam's light grey/blue text color */
}
.provider-actions {
    display: flex;
    align-items: center;
    gap: 1.5em;
    margin-left: auto;
}
.provider-actions a {
    color: #fff;
    font-size: 0.95em;
    text-decoration: underline;
    font-family: 'Merriweather', serif;
}
.provider-actions a:hover {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
}
.avatar-selection-form {
    margin: 0;
}
.avatar-option {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.95em;
    cursor: pointer;
    font-family: 'Merriweather', serif;
}
.avatar-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #fff;
    cursor: pointer;
}
.account-section {
    padding: 1.5em 0;
    border-bottom: 1px solid #23232a;
}
.account-section:last-child {
    border-bottom: none;
}

.nav-user-area {
    display: flex;
    align-items: center;
    gap: 1em;
}

.nav-user-area .social-icon svg {
    width: 28px;
    height: 28px;
    fill: #7289da; /* Discord color */
    transition: filter 0.2s ease-in-out;
}

.nav-user-area .social-icon:hover svg {
    filter: brightness(1.2);
}

.nav-user-area .user-dropdown-toggle {
    background-color: #e2e8f0;
    color: #1a202c;
    border: 1px solid #a0aec0;
    border-radius: 6px;
    padding: 0.25em 0.6em;
    cursor: pointer;
    font-family: 'Merriweather', serif;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 0.25em;
}

.nav-user-area .nav-account-link,
.nav-user-area .nav-logout-link {
    font-family: 'Merriweather', serif;
    text-decoration: underline;
    font-weight: 700;
}

.nav-user-area .nav-account-link {
    color: var(--tertiary-purple);
}
.nav-user-area .nav-account-link:hover {
    filter: brightness(1.2);
}

.nav-user-area .nav-logout-link {
    color: var(--secondary-blue);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1em; /* inherit size */
}

.nav-user-area .nav-logout-link:hover {
    filter: brightness(1.2);
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75em;
    font-family: 'Cinzel', serif;
    color: var(--secondary-blue);
    font-weight: 700;
    font-size: 1.1em;
}

.user-dropdown-toggle .nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.user-dropdown-toggle .nav-dropdown-arrow {
    font-size: 0.8em;
    color: #a0aec0;
}

.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
    background-color: #1a1a1f;
    min-width: 155px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    border-radius: 8px;
    z-index: 100;
    text-transform: uppercase;
}
.user-dropdown.open .user-dropdown-content {
    display: block;
}

.user-dropdown-content a {
    color: #d1d5db;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 6px;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    transition: background-color 0.2s ease-in-out;
}


.user-dropdown-content a:hover {
    background-color: var(--tertiary-purple);
    color: #fff;
    font-weight: 700;
}

/* --- Login/Register Buttons --- */
.nav-right .button {
    font-size: 1em;
}

header {
    position: relative;
    z-index: 1000;
}

.provider-list li,
.link-provider-list a {
    margin: 0;
}

.nav-right > a {
    color: #f3f4f6;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.08em;
    padding: 0.2em 0.5em;
    border-radius: 4px;
}
.nav-right > a.nav-active {
    color: var(--primary-orange) !important;
}
.nav-right > a:hover {
    color: var(--tertiary-purple) !important;
    background: rgba(140,40,242,0.08);
}

/* ENFORCE DROPDOWN LINK HOVER AT END OF FILE */
.user-dropdown.open .user-dropdown-content a:hover, .user-dropdown-content a:hover {
    background-color: var(--tertiary-purple) !important;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.user-dropdown-toggle:hover span {
    color: var(--secondary-green);
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 1em;
    margin: 0 1em;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #aaa;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--provider-discord);
    background: rgba(88, 101, 242, 0.1);
    transform: translateY(-1px);
}

/* Steam icon specific hover */
.social-icon[href*="steamcommunity"]:hover {
    color: var(--provider-steam);
    background: rgba(27, 40, 56, 0.1);
}

/* Discord icon specific hover */
.social-icon[href*="discord"]:hover {
    color: var(--provider-discord);
    background: rgba(88, 101, 242, 0.1);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* === BOT PAGE STYLES === */

/* Bot Hero Section */
.bot-hero {
    margin-bottom: 3em;
    text-align: center;
}

.bot-intro h2 {
    color: var(--secondary-green);
    font-size: 2rem;
    margin-bottom: 1em;
}

.bot-intro p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2em;
    color: #d1d5db;
}

.bot-links {
    display: flex;
    gap: 1em;
    justify-content: center;
    flex-wrap: wrap;
}

.bot-links .button {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-size: 1.1rem;
    padding: 0.8em 1.5em;
}

/* Discord-specific buttons */
.bot-links .button[href*="discord"],
.bot-cta .button[href*="discord"] {
    background: var(--provider-discord);
    color: #fff;
}

.bot-links .button-secondary[href*="discord"] {
    border: none;
}

.bot-links .button[href*="discord"]:hover,
.bot-cta .button[href*="discord"]:hover {
    background: #4752C4;
    color: #fff;
}

/* Feature Grid */
.bot-features {
    margin-bottom: 3em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.feature-card {
    background: rgba(39, 39, 42, 0.6);
    border-radius: 12px;
    padding: 2em;
    border: 1px solid #374151;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-orange);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 0.5em;
    display: block;
}

.feature-card h3 {
    color: var(--primary-orange);
    font-size: 1.4rem;
    margin-bottom: 1em;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card li {
    color: #d1d5db;
    padding: 0.3em 0;
    border-bottom: 1px solid #374151;
    font-size: 1rem;
}

.feature-card li:last-child {
    border-bottom: none;
}

/* Commands Section */
.bot-commands {
    margin-bottom: 3em;
}

.command-section {
    margin-bottom: 2.5em;
}

.command-section h3 {
    color: var(--secondary-blue);
    font-size: 1.3rem;
    margin-bottom: 1em;
    border-bottom: 2px solid var(--secondary-blue);
    padding-bottom: 0.5em;
}

.command-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.command-item {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1em;
    background: rgba(39, 39, 42, 0.4);
    border-radius: 8px;
    border-left: 4px solid var(--tertiary-purple);
}

.command-item code {
    background: #1f2937;
    color: var(--secondary-green);
    padding: 0.4em 0.6em;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    min-width: 200px;
    flex-shrink: 0;
}

.command-item span {
    color: #d1d5db;
    font-size: 1rem;
}

/* Tech Details */
.bot-tech {
    margin-bottom: 3em;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.tech-item {
    background: rgba(39, 39, 42, 0.4);
    border-radius: 8px;
    padding: 1.5em;
    border: 1px solid #374151;
}

.tech-item h4 {
    color: var(--secondary-blue);
    font-size: 1.2rem;
    margin-bottom: 1em;
}

.tech-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-item li {
    color: #d1d5db;
    padding: 0.4em 0;
    font-size: 1rem;
    position: relative;
    padding-left: 1.5em;
}

.tech-item li:before {
    content: "▸";
    color: var(--primary-orange);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Loyalty System */
.bot-loyalty {
    margin-bottom: 3em;
}

.loyalty-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5em;
    margin-top: 2em;
    margin-bottom: 2em;
}

.tier-item {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1.5em;
    background: rgba(39, 39, 42, 0.4);
    border-radius: 12px;
    border: 1px solid #374151;
    transition: transform 0.2s, border-color 0.2s;
}

.tier-item:hover {
    transform: translateY(-2px);
    border-color: var(--secondary-green);
}

.tier-badge {
    font-size: 2.5em;
    flex-shrink: 0;
}

.tier-info h4 {
    color: var(--secondary-green);
    font-size: 1.2rem;
    margin-bottom: 0.3em;
}

.tier-info p {
    color: #d1d5db;
    margin: 0;
    font-size: 0.95rem;
}

.xp-sources {
    background: rgba(39, 39, 42, 0.4);
    border-radius: 12px;
    padding: 2em;
    border: 1px solid #374151;
}

.xp-sources h3 {
    color: var(--tertiary-purple);
    font-size: 1.3rem;
    margin-bottom: 1em;
    border-bottom: 2px solid var(--tertiary-purple);
    padding-bottom: 0.5em;
}

.xp-sources ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xp-sources li {
    color: #d1d5db;
    padding: 0.5em 0;
    font-size: 1rem;
    border-bottom: 1px solid #374151;
    position: relative;
    padding-left: 1.5em;
}

.xp-sources li:last-child {
    border-bottom: none;
}

.xp-sources li:before {
    content: "⭐";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
}

.xp-sources strong {
    color: var(--secondary-green);
}

/* Setup Steps */
.bot-setup {
    margin-bottom: 3em;
}

.setup-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    padding: 1.5em;
    background: rgba(39, 39, 42, 0.4);
    border-radius: 12px;
    border: 1px solid #374151;
}

.step-number {
    background: var(--primary-orange);
    color: #18181b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--secondary-green);
    font-size: 1.1rem;
    margin-bottom: 0.5em;
}

.step-content p {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Call to Action */
.bot-cta {
    text-align: center;
    padding: 2em;
    background: rgba(39, 39, 42, 0.6);
    border-radius: 12px;
    border: 1px solid var(--primary-orange);
}

.bot-cta h2 {
    color: var(--primary-orange);
    font-size: 2rem;
    margin-bottom: 1em;
}

.bot-cta p {
    font-size: 1.2rem;
    margin-bottom: 2em;
}

.bot-cta .button {
    font-size: 1.2rem;
    padding: 1em 2em;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bot-links {
        flex-direction: column;
        align-items: center;
    }
    
    .bot-links .button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .command-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5em;
    }
    
    .command-item code {
        min-width: auto;
        width: 100%;
    }
    
    .setup-steps {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .loyalty-tiers {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    
    .tier-item {
        padding: 1em;
        flex-direction: column;
        text-align: center;
        gap: 0.5em;
    }
    
    .tier-badge {
        font-size: 2em;
    }
    
    .xp-sources {
        padding: 1.5em;
    }
    
    .bot-intro h2 {
        font-size: 1.6rem;
    }
    
    .bot-intro p {
        font-size: 1.1rem;
    }
}

/* Error Pages */
.error-page {
    text-align: center;
    max-width: 800px;
    /* Don't override the margin from .content-box which provides nav spacing */
}

.error-content {
    padding: 2em 0;
}

.error-icon {
    margin-bottom: 2em;
    display: flex;
    justify-content: center;
}

.error-icon svg {
    opacity: 0.8;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.error-title {
    font-size: 6rem;
    font-weight: 900;
    color: var(--primary-orange);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.error-subtitle {
    font-size: 2.5rem;
    color: var(--secondary-green);
    margin: 0.5em 0 1.5em 0;
    font-weight: 600;
}

.error-message {
    margin-bottom: 3em;
}

.error-message p {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-bottom: 1em;
    line-height: 1.6;
}

.error-suggestions {
    margin-bottom: 3em;
}

.error-suggestions h3 {
    color: var(--secondary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5em;
}

.suggestion-links {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2em;
}

.suggestion-links .button {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    padding: 1em 1.5em;
    min-width: 160px;
    justify-content: center;
}

.error-help {
    background: rgba(39, 39, 42, 0.4);
    border-radius: 12px;
    padding: 2em;
    border: 1px solid #374151;
}

.error-help h3 {
    color: var(--tertiary-purple);
    font-size: 1.3rem;
    margin-bottom: 1em;
}

.error-help p {
    color: #d1d5db;
    margin-bottom: 1.5em;
    font-size: 1.1rem;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    background: var(--provider-discord);
    color: #fff;
    padding: 0.8em 1.5em;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
}

.discord-link:hover {
    background: #4752C4;
    transform: translateY(-2px);
    color: #fff;
}

/* Error Page Responsive */
@media (max-width: 768px) {
    .error-title {
        font-size: 4rem;
    }
    
    .error-subtitle {
        font-size: 2rem;
    }
    
    .error-message p {
        font-size: 1.1rem;
    }
    
    .suggestion-links {
        flex-direction: column;
        align-items: center;
    }
    
    .suggestion-links .button {
        width: 100%;
        max-width: 280px;
    }
    
    .error-help {
        padding: 1.5em;
    }
    
    .error-icon svg {
        width: 80px;
        height: 80px;
    }
} 

.content-box a:not([class]) {
    color: var(--secondary-blue);
    text-decoration: underline;
    transition: color 0.18s;
}
.content-box a:not([class]):visited {
    color: var(--tertiary-purple);
}
.content-box a:not([class]):hover {
    color: var(--secondary-green);
}

.termsfeed-com---palette-dark .cc-cp-foot-save, .termsfeed-com---palette-dark .cc-nb-okagree, .termsfeed-com---palette-dark .cc-nb-reject {
    background: var(--primary-orange);
}

.termsfeed-com---palette-dark .cc-pc-head-close:active, .termsfeed-com---palette-dark .cc-pc-head-close:focus {
    border-color: var(--primary-orange);
}

.content-box .button[href*="discord"]:hover {
    background: #4752C4;
    color: #fff;
}
.content-box .button[href*="discord"] {
    background: #5865F2; 
    color: #fff; 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5em;
}