* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Raleway", Arial, sans-serif;
    background: linear-gradient(135deg, #3b327f 0%, #2d1b69 100%);
    min-height: 100vh;
    padding: 40px 20px;
    color: #e1e2ef;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 800px 600px at 20% 30%, rgba(88, 70, 180, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 80% 70%, rgba(88, 70, 180, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#eula_main,
#main {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.block {
    background: rgba(26, 20, 54, 0.6);
    border: 1px solid rgba(129, 106, 237, 0.2);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(8px);
}

.bb_h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 2px solid #816aed;
}

.bb_h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 12px;
}

.bb_h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #c5b8ff;
    margin-top: 20px;
    margin-bottom: 10px;
}

#eula_content b {
    display: inline-block;
    margin-top: 14px;
    color: #c5b8ff;
    font-weight: 600;
}

.bb_ul {
    list-style: disc;
    padding-left: 24px;
    margin: 10px 0 14px;
}

.bb_ul li {
    margin-bottom: 6px;
    color: #d8d9e8;
}

a,
.bb_link {
    color: #a594ff;
    text-decoration: none;
    word-break: break-word;
}

a:hover,
.bb_link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Hide Steam chrome that won't render without their CSS/JS */
#application_config,
#application_root,
.responsive_page_menu_ctn,
.responsive_local_menu_tab,
.responsive_page_content_overlay,
.responsive_fixonscroll_ctn,
#responsive_store_nav_ctn,
#responsive_store_nav_overlay,
#responsive_store_search_overlay,
.miniprofile_hover,
.FullModalOverlay {
    display: none !important;
}

@media (max-width: 768px) {
    body {
        padding: 20px 12px;
    }

    .block {
        padding: 24px 20px;
    }

    .bb_h1 {
        font-size: 1.6rem;
    }

    .bb_h2 {
        font-size: 1.2rem;
    }
}
