.colored {
    color: #E84118;
}
/* -Link Styling- */
a {
    color: #E84118;
    font-family: Raleway, sans-serif;
	text-decoration: none;
}
a:visited {
    color: #222;
    text-decoration: none;
}
a:hover {
    color: #E84118;
	text-decoration: underline;
}
a:active {
    color: #E84118;
    text-decoration: underline;
}
a:focus {
    color: #E84118;
    text-decoration: none;
}
/* -Resets- */
html, body { 
    background-color: #111;
    /* background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url(/images/bg.png); */
    background-repeat: repeat;
    color: #fff;
    font-size: 16px;
    line-height: 1.5rem; /* 24px */
    max-width: 100%;
	overflow-x: hidden;
}
/* -Full width fluid container- */
.full-width {
    padding-left: 0;
    padding-right: 0;
}
/* -Text Styling */
h1,h2,h3,h4,h5,h6 {
	font-family: Raleway, sans-serif;
}
h1 {
    font-size: 2.25rem; /* 36px */
    font-family: Anurati, sans-serif;
    letter-spacing: 5px;
} 
h2 {
    font-size: 1.50rem; /* 24px */
    font-weight: 500;
}
h3 {
    font-size: 1.25rem; /* 20px */
    font-weight: 400;
}
h4 {
    font-size: 1.10rem;
    font-weight: 300;
}
p {
    font-family: Open Sans, sans-serif;
    font-size: 0.9375rem; /* 15px */
    padding: 5px 5px 5px 0;
    margin: 0;
}
.strong {
    font-weight: bold;
}
.subtle {
	color: #999;
}
.spaced {
    letter-spacing: 5px;
}
.text-center {
	text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
ul {
    list-style-type: none;
    padding: 0;
}
/* -Margins and Floats- */
.floated-left {
     float: left;
}
.floated-right {
    float: right;
}
.inline {
	display: inline;
}
.offset {
	margin-left: 10px;
}
.tiny-margin {
    margin-bottom: 1.5em /* 24px */
}
.small-margin {
	margin-bottom: 3em; /* 48px */
}
.medium-margin {
	margin-bottom: 6em; /* 96px */
}
.large-margin {
	margin-bottom: 12em; /* 192px */
}
/* -<hr>- */
hr {
    width: 100%;
    height: 2px;
    background: #E84118;
    margin: 20px 0;
    border: none;
}
.hr-short {
    width: 100px;
    height: 2px;
    margin: 5px auto;
}
.short-hr-left::after {
    border-top: 2px solid;
    border-color: #E84118;
    content: "";
    display: block;
    height: 1px;
    width: 60px;
    margin: 13px 0 0 0;
}
.short-hr-center::after {
    border-top: 2px solid;
    border-color: #E84118;
    content: "";
    display: block;
    height: 1px;
    width: 60px;
    margin: 13px auto 0 auto;
}


/* General input fields */
input {
    height: 45px;
    padding-left: 10px;
    border: 1px solid #D4D4D4 !important;
}
input:focus {
    border: 1px solid #333;
    outline: none;
}
textarea {
    height: 150px;
	width: 100%;
    max-width: 100%;
	padding-top: 10px;
	padding-left: 10px;
    border: 1px solid #D4D4D4 !important;
}
textarea:focus {
    border: 1px solid #333;
    outline: none;
}
/* -General Button Styles */
button {
    outline: none !important;
}
.button {
	background: #E84118;
    border: none;
    border-radius: 2px;
    color: #FFF;
    font-family: Raleway, sans-serif;
    font-weight: 500;
	display: block;
	height: auto;
    width: auto;
    margin-left: auto;
    margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
    padding: 5px 15px;
    outline: none;
	transition: all 0.2s ease;
    cursor: pointer;
}
.button:hover {
	background: #333;
	color: #FFF;
}
/* --------------------------- /////////// II. PAGE PRELOADER /////////// --------------------------- */
/* 增强的加载动画样式 */
#loader-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    width: 100%;
    position: fixed;
    color: #FFF;
    left: 0;
    top: 0;
    text-align: center;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 隐藏原有的文字元素 */
.loader-logo,
.loader-text {
    display: none;
}

/* 创建一个新的加载动画容器 */
.loader-container {
    position: relative;
    width: 200px;
    height: 200px;
}

/* 外圈旋转动画 */
.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #E84118;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

/* 内圈反向旋转 */
.loader-ring-inner {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid #FFF;
    border-radius: 50%;
    animation: spin-reverse 1.5s linear infinite;
}

/* 中心脉冲点 */
.loader-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #E84118;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1s ease-in-out infinite;
}

/* 进度条增强版 */
#progress {
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #E84118, #FFF, #E84118);
    background-size: 200% 100%;
    position: relative;
    top: 50px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(232, 65, 24, 0.5);
    animation: shimmer 2s ease-in-out infinite;
}

/* 加载提示文字 */
.loading-text {
    color: #FFF;
    font-size: 18px;
    font-weight: 300;
    margin-top: 30px;
    opacity: 0.8;
    animation: fade 2s ease-in-out infinite;
    display: none;
}

/* 动画关键帧 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .loader-container {
        width: 150px;
        height: 150px;
    }
    
    .loading-text {
        font-size: 16px;
    }
}

/* -Loading Screen Animation- */
.loaded {
    -moz-transform: translate3d(0px, -100%, 0px);
    -webkit-transform: translate3d(0px, -100%, 0px);
    -o-transform: translate(0px, -100%);
    -ms-transform: translate(0px, -100%);
    transform: translate3d(0px, -100%, 0px);
    -webkit-transition: all 0.5s ease; 
    transition: all 0.5s ease;
}

/* --------------------------- /////////// III. HEADER & NAVIGATION /////////// --------------------------- */
#logo {
    font-family: Anurati, sans-serif;
    font-size: 1.75rem; /* 28px */;
    letter-spacing: 5px;
}
.navbar-light {
    background-color: rgba(255,255,255,0);
    border: 1px solid rgba(255,255,255,0);
    z-index: 900;
    transition: 0.3s;
}
.scrolled {
    /* background-color: rgba(255,255,255,1);  */
    z-index: 900;
    border: 1px solid #f9f9f9;
}
.nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: 5px;
    transition: 0.2s;
}
.navbar-light .navbar-nav .nav-link {
    color: #fff;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: #E84118;
}
.navbar-light .navbar-nav .nav-link:active {
    color: #E84118;
}
.navbar-light .navbar-nav .nav-link:focus {
    color: #E84118;
}
.navbar-toggler {
    border: none;
    cursor: pointer;
}
#hamburger .icon-bar {
    display: block;
    height: 2px;
    width: 25px;
    background: #222;
    margin: 7px 0;
    transition: .3s ease-in-out;
}
/* - Mobile menu animation - */
#hamburger .icon-bar:nth-child(1) {
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
#hamburger .icon-bar:nth-child(2) {
   -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
#hamburger .icon-bar:nth-child(3) {
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
#hamburger.open .icon-bar:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
#hamburger.open .icon-bar:nth-child(2) {
    width: 0%;
    opacity: 0;
}
#hamburger.open .icon-bar:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
/* --------------------------- /////////// IV. HERO SECTION /////////// --------------------------- */
.hero-unit {
    position: relative;
}
/* -Video- */
#bgvid {
    width: 100%;
    height: 100%;
}
/* -Image Overlay- */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  /*   background-color: rgba(255,255,255,0.6);*/
}
/* -Hero Image Caption- */
.hero-caption {
    position: absolute;
    top: 35%;
    left: 15%;
    right: 15%;
    color: #FFF;
	text-shadow: none; 
    padding: 20px;
    z-index: 5;
    text-align: center;
}
.hero-caption h1 {
    font-weight: bold;
    font-size: 3rem;
    color: #fff;
    font-family: Raleway, sans-serif;
}

.icon-social{
    color: #fff;
}
/* --------------------------- /////////// V. ABOUT SECTION ///////////  margin: 0 0 0 20%; --------------------------- */
#support-image {
    margin: 0 0 0 0%;
}
/* --------------------------- /////////// VI. GAMES SECTION /////////// --------------------------- */
.game-tags {
    background: #FAFAFA;
    padding: 10px;
    border-left: 2px solid #E84118;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.11);
}
.game-tags li {
    display: inline;
    margin: 0 0 0 15px;
    font-family: Raleway, sans-serif;
    font-size:1.10rem; /* 20px */;
    font-weight: 500;
}
.game-tags li a {
    color: #222;
    text-decoration: none;
}
.game-tags li a:hover {
    color: #E84118;
}
.game-tags li a:focus {
    color: #E84118;
}
.game-card {
    width: 100%;
    margin: 0 0 3.5em 0;
    min-height: 270px;
    height: auto;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.11);
}
.lightbox .lb-image {
    border: 4px solid #111;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8));
    border-left: 2px solid #E84118;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0.3s ease;
}
.overlay i {
    position: absolute;
    top: 40%;
    left: 45%;
}
.overlay:hover {
    opacity: 1;
}
.game-card-left {
    padding: 0;
}
.game-card-left img {
    height: 100%;
    width: 100%;
    min-height: 270px;
}
.game-card-right {
    background: #FAFAFA;
    padding: 20px 40px;
    margin: 0;
}
.game-card-right h2 {
    margin-bottom: 0;
}
.game-card-right > .short-hr-left::after {
    margin: 5px 0;
}
.tags {
    font-size: 14px;
    padding-top: 0;
}
.game-description {
    margin: 35px 0;
}
/* -- Modal -- */
.expand {
    cursor: pointer;
}
.game-modal .modal-header {
    height: 150px;
    background-image: url(../images/modal_header_bg.png);
    background-position: bottom;
    background-size:  cover;
    border-bottom: 1px solid #555;
}
.game-modal .modal-title {
    margin: 5% 0 0 5%;
}
.game-modal img {
    margin: 5px 0 50px 0;
}
.modal-vid {
    width: 100%;
    max-width: 768px;
    height: 415px;
    margin: 20px 0 60px 0;
    border: none;
}
/* -- Buttons -- */
.steam-btn {
    display: inline-block;
    margin: 25px 0 0 0;
}
.steam-btn a {
    display: inline-block;
    min-height: 55px;
    min-width: 150px;
    height: auto;
    width: auto;
    background: #111;
    border-radius: 3px;
    padding: 8px;
    border: none;
    color: #FFF;
    cursor: pointer;
    transition: 0.2s;
}
.steam-btn:hover a {
    background: #EEE;
    color: #111;
}
.steam-btn:active {
    color: #FFF;
}
.steam-btn i {
    float: left;
}
.steam-btn p {
    float: right;
    line-height: 20px;
    font-weight: bold;
}
.button-store {
    display: inline-block;
    width: auto;
    height: auto;
    padding: 5px 22px;
    border-radius: 5px;
    margin: 30px 10px 0 0;
    color: #FFF;
    background: #222;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.button-store:visited {
    color: #FFF;
}
.button store:active {
    color: #111;
}
.button-store:hover {
    background: #EEE;
    color: #111;
}
.button-store > i {
    float: left;
    display: inline;
    margin-top: 5px;
}
.button-store  p {
    float: right;
    padding: 0 0 0 10px;
}
.reviews {
    width: auto;
    display: inline-block;
    float: right;
    margin: 20px 0 0 0 ;
    text-align: center;
}
.reviews a {
    color: #222;
}
.reviews a:hover {
    color: #FFF;
}
.reviews a:active {
    color: #FFF;
}
.score-card {
    display: inline-block;
    min-height: 70px;
    min-width: 90px;
    width: auto;
    height: auto;
    background: #EEE;
    text-align: center;
    margin: 0 5px 0 0;
    padding: 5px;
    border-radius: 2px;
    transition: 0.2s;
}
.score-card:hover {
     background: #111;
}
.score-card:hover .score {
    color: #FFF;
}
.score-card p:nth-of-type(2) {
    font-size: 14px;
    padding-top: 0;
}
.score {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 5px;
    padding-bottom: 0;
}
.rating {
    width: auto;
    height: auto;
    padding: 10px 20px;
    background: #EEE;
    text-align: center;
    float: right;
    border-radius: 2px;
    margin: 20px 0 0 0;
}
.rating ul {
    margin: 0;
}
.rating ul li {
    display: inline;
    margin: 0 5px 0 0;
}
.rating p {
    font-size: 1.5rem;
}
/* --------------------------- /////////// VII. TEAM SECTION /////////// --------------------------- */
#full-row {
    width: 100%;
}
#team figure {
    display: inline-block;
    position: relative;
    text-align: center;
    overflow: hidden;
}
#team figure img {
    border-radius: 3px;
    border-bottom: 2px solid #E84118;
}
.team-caption ul {
    margin-top: 10px;
}
.team-caption ul li {
    display: inline;
    margin: 0 5px;
}
.team-caption ul li > a {
    color: #444;
}
.team-caption ul li > a:hover {
    color: #E84118;
}
.team-caption {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8));
    text-align: center; 
    padding: 40% 20px 20px 20px;
    z-index: 5;
    opacity: 0;
    transition: all 0.3s ease;
}
#team figure:hover > .team-caption {
    opacity: 1;
}
#team figure:hover > img {
    filter: blur(2px);
}
.team-name {
    font-size: 1.5rem;
    padding-bottom: 0;
}
.gallery-item {
    padding: 0 2.5px;
}
.grid-gallery .row {
    margin: 0 0 5px 0;
}
.overlay.gallery {
    left: 0;
    width: 100%;
    border: none;
}
/* --------------------------- /////////// VIII. CAREERS SECTION /////////// --------------------------- */
.job-card {
    text-align: center;
    /* background: #FAFAFA;
    border-left: 2px solid #E84118; */
    padding: 25px 35px;
    margin: 10px 0;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.11);
}
.modal-content {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1));
}
.modal-header {
    border-bottom: 1px solid #E84118;
}
.modal-body > ul > li > p {
    padding: 0px 5px;
    display: inline;
}
.modal-body ul {
    list-style: none;
    margin: 10px 0 0 25px;
}
.modal-body ul li {
    margin: 5px 0;
}
.modal-body ul li:before {
    content: "\f101";
    color: #E84118;
    display: inline-block;
    width: 1em;
    margin-left: -10px;
    font-family: fontawesome;
}
.modal-body .skill-list {   
    margin: 10px 0;
}
.modal-body .skill-list li {
    display: inline-block;
    padding: 5px 15px 7px 15px;
    margin: 5px 5px;
    border: 1px solid #E84118;
    border-radius: 20px;
}
.modal-body .skill-list li:before {
    display: none;
}
.modal-body h3 {
    margin-bottom: 0;
}
.modal-footer {
    border-top: 1px solid #E84118;
}
.modal-footer button {
    margin: 0;
}
.button.secondary {
    background: #222;
}
.button.secondary:hover {
    background: #FFF;
}
.close {
    color: #222;
    opacity: 1;
    text-shadow: none;
    cursor: pointer;
}
.close:hover {
    color: #E84118;
    opacity: 1;
}
/* -- Newsletter -- */
#newsletter input {
    width: 40%;
    height: 45px;
    background: #EEE;
    border: none !important;
    padding: 0 0 0 20px;
    display: inline-block;
    margin-top: 20px;
    color: #222;
}
#newsletter button {
    display: inline-block;
    height: 43px;
    width: auto;
}
/* --------------------------- /////////// IX. CONTACT SECTION /////////// --------------------------- */
#contactForm {
    background: #FAFAFA;
    padding: 5%;
    margin-top: 25px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.11);
}
#contactForm input {
    width: 100%;
    color: #222;
    background: none;
    border-bottom: 2px solid #E84118 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    margin-bottom: 25px;
}
#contactForm textarea {
    width: 100%;
    color: #222;
    background: none;
    border-bottom: 2px solid #E84118 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    margin-bottom: 25px;
}
#contactForm .button {
    margin-left: 0;
    padding: 15px 25px;
    font-size: 1.25rem;
}
/* - Warning and succes msg text- */
.text-danger, .text-success {
    font-family: Open Sans, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.25rem;
}

#about {
    background-image: url('../images/about/about_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* 可选：固定背景效果 */
}

/* 如果需要添加半透明遮罩让文字更清晰 */
#about::before {
    content: '';
    position: absolute;

    background: rgba(0, 0, 0, 0.5); /* 黑色半透明遮罩 */
    z-index: 0;
}
#careers {
    background-image: url('../images/careers/careers_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* 可选：固定背景效果 */
}

/* 如果需要添加半透明遮罩让文字更清晰 */
#careers::before {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.5); /* 黑色半透明遮罩 */
    z-index: 0;
}
#contact {
    background-image: url('../images/contact/contact_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* 可选：固定背景效果 */
}

/* 如果需要添加半透明遮罩让文字更清晰 */
#contact::before {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.5); /* 黑色半透明遮罩 */
    z-index: 0;
}

#contact-info {
    margin-top: 25px;
}
#contact ul li i {
    color: #E84118;
    background: #FAFAFA;
    padding: 10px;  
}

#contact ul li p {
    display: inline;
    margin-left: 5px;
}
#contact ul li {
    margin-bottom: 15px;
}
#map-canvas {
    width: 100%;
    height: 330px;
    opacity: 0.9;
}
/* --------------------------- /////////// X. FOOTER /////////// --------------------------- */
#footer {
    width: 100%;
    min-height: 70px;
    height: auto;
    /* background: #FFF; */
    border-top: 2px solid #E84118;
    padding: 20px 0 0 0;
}
.social-links {
    float: right;
}
.social-links li {
    display: inline;
    margin-left: 15px;
}
.social-links li a {
    color: #222;
}
.social-links li a:hover {
    color: #E84118;
}
.social-links li a:focus {
    color: #E84118;
}
#copyright {
    float: left;
}
/* --------------------------- /////////// XI. 404 PAGE /////////// --------------------------- */
#container-404 {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
#container-404 .row-fluid {
     margin-top: 18%;
}
.text-404 h1 {
    font-family: Anurati, sans-serif;
    font-size: 4rem;
}
.text-404 a {
    display: inline-block;
    text-decoration: none;
    color: #FFF;
}
/* --------------------------- /////////// XII. RESPONSIVE STYLES /////////// --------------------------- */
@media (max-width : 991px) {
    .nav-item > a::first-letter {
    color: #E84118;
    }
    .navbar-light{
        background-color: rgba(255,255,255,0.7); /* navbar background gradient */
    }
    .scrolled {
        background-color: rgba(255,255,255,1); /* navbar background gradient */
    }
    #footer {
        text-align: center;
        padding: 10px 0 0 0;
    }
    .social-links {
        float: none;
    }
    #copyright {
        float: none;
        margin-bottom: 5px;
    }
    #container-404 .row-fluid {
        margin-top: 40%;
    }
}
@media (max-width : 767px) {
    .large-margin {
	   margin-bottom: 4em; /* 96px */
    }
    .medium-margin {
        margin-bottom: 3em;
    }
    .small-margin {
        margin-bottom: 2em;
    }
    .heading {
        font-size: 1.50rem;
    }
    hr {
        margin: 0;
    }
    #support-image {
        display: block;
        margin: 2em auto 0 auto;
    }
    .game-card {
        margin: 0 0 3em 0;
    }
    .steam-btn {
        display: block;
        text-align: center;
    }
    .button-store:nth-of-type(2) {
        float: right;
    }
    .reviews {
        display: block;
        margin: 15px auto 0 auto;
        float: left;
        width: 100%;
    }
    .rating {
        display: block;
        margin: 15px auto 0 auto;
        float: none;
    }
    #team figure {
        margin: 20px auto;
    }
    .gallery-item {
        margin: 5px 0;
    }
    .grid-gallery .row {
        margin: 0;
    }
    #newsletter input {
        width: 100%;
        display: block;
        margin: 20px 0;
    }
    #newsletter button {
        width: 100%; 
        display: block;
    }
    #contactForm {
        margin: 0 0 3em 0;
    }
    .text-404 h1 {
        font-size: 3.5rem;
    }
}
@media (max-width : 480px) {
    .game-card-left img {
        min-height: 0;
    }
    .score-card {
        margin: 5px 0;
    }
    .hero-caption h1 {
        font-size: 1.5rem;
        line-height: 1.4;
        word-wrap: break-word;
        hyphens: auto;
    }
    .hero-caption {
        left: 3%;
        right: 3%;
        padding: 8px;
    }
    .button-store {
        margin: 5px auto;
    }
    .button-store:nth-of-type(2) {
        float: none;
    }
}

/* 平板和中等屏幕 */
@media (max-width: 768px) {
    .hero-caption h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    .hero-caption {
        left: 10%;
        right: 10%;
        padding: 15px;
    }
}

/* 小平板和大手机 */
@media (max-width: 576px) {
    .hero-caption h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    .hero-caption {
        left: 5%;
        right: 5%;
        padding: 10px;
    }
}

/* 超小屏幕 */
@media (max-width: 360px) {
    .hero-caption h1 {
        font-size: 1.2rem;
        line-height: 1.4;
    }
}

/* 语言选择器容器样式 */
.language-selector-container {
    display: flex;
    align-items: center;
    order: 2;
}

/* 语言选择器样式 */
.language-selector {
    position: relative;
    display: inline-block;
}

.current-lang {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa; /* 浅灰色背景 */
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #495057; /* 深灰色文字 */
    min-width: 80px;
    justify-content: space-between;
    font-size: 14px;
    border: 1px solid #dee2e6; /* 浅灰色边框 */
    font-weight: 500;
}

.current-lang:hover {
    background: #e9ecef; /* 稍深的灰色 */
    border-color: #adb5bd;
    color: #212529;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 简单阴影 */
    display: none;
    z-index: 1000;
    margin-top: 4px;
    min-width: 120px;
    border: 1px solid #dee2e6;
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
}

.lang-option:hover {
    background-color: #f8f9fa;
    color: #212529;
}

.lang-option .flag {
    margin-right: 8px;
    font-size: 14px;
}

/* 滚动后的样式 - 保持简洁 */
.navbar-light.scrolled .current-lang {
    background: #fff; /* 白色背景 */
    color: #495057;
    border-color: #dee2e6;
}

.navbar-light.scrolled .current-lang:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #212529;
}

/* 桌面端导航栏布局 */
@media (min-width: 992px) {
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .navbar-brand {
        order: 1;
        flex: 0 0 auto;
    }

    /* 导航菜单居中 */
    .navbar-collapse {
        order: 2;
        flex: 1 1 auto;
        justify-content: center;
    }

    .navbar-nav {
        display: flex;
        align-items: center;
        margin: 0;
    }

    /* 桌面端右侧按钮组 */
    .navbar-right-group {
        order: 3;
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 0 0 auto;
    }

    .language-selector-container {
        order: 1;
        margin: 0;
    }

    /* 桌面端隐藏汉堡菜单 */
    .navbar-toggler {
        display: none;
    }
}

/* 移动端样式 - 语言切换器在汉堡菜单左侧 */
@media (max-width: 991px) {
    .navbar .container {
        position: relative;
    }
    
    .navbar-right-group {
        display: flex;
        align-items: center;
        gap: 8px;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .language-selector-container {
        order: 1; /* 语言切换器在左侧 */
    }
    
    .navbar-toggler {
        order: 2; /* 汉堡菜单在右侧 */
        position: relative;
        right: 0;
        display: block;
    }
    
    /* 移动端语言切换器样式优化 */
    .current-lang {
        padding: 6px 10px;
        min-width: 70px;
        font-size: 13px;
    }
    
    .lang-dropdown {
        min-width: 100px;
    }
    
    .lang-option {
        padding: 8px 10px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .navbar-right-group {
        gap: 6px;
    }
    
    .current-lang {
        padding: 5px 8px;
        min-width: 60px;
        font-size: 12px;
    }
    
    .current-lang .fa {
        font-size: 10px;
    }
    
    .lang-dropdown {
        min-width: 90px;
    }
    
    .lang-option {
        padding: 6px 8px;
        font-size: 12px;
    }
}

/* 桌面端：隐藏移动端语言选择器，显示桌面端语言选择器 */
@media (min-width: 992px) {
    #language-selector-mobile {
        display: none !important;
    }
    
    #language-selector-desktop {
        display: block;
    }
    
    .navbar-right-group {
        display: none;
    }
}

/* 移动端：显示移动端语言选择器，隐藏桌面端语言选择器 */
@media (max-width: 991.98px) {
    #language-selector-desktop {
        display: none !important;
    }
    
    #language-selector-mobile {
        display: block;
    }
    
    .navbar-right-group {
        display: flex;
        order: 1;
    }
}


 /* 为内容区域增加缩进效果 */
        #about, #careers, #contact {
            padding-left: 40px;
            padding-right: 40px;
            transition: all 0.3s ease;
        }

        /* 响应式调整 */
        @media (max-width: 768px) {
            #about, #careers, #contact {
                padding-left: 20px;
                padding-right: 20px;
            }
        }

        @media (max-width: 576px) {
            #about, #careers, #contact {
                padding-left: 15px;
                padding-right: 15px;
            }
        }

        /* 为背景图片部分添加半透明遮罩，提高文字可读性 */
        #about, #careers, #contact {
            position: relative;
            z-index: 1;
        }

        #about::before, #careers::before, #contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4); /* 深色半透明遮罩 */
            z-index: -1;
        }

        /* 增强标题样式 */
        #about h1, #careers h1, #contact h1 {
            margin-bottom: 30px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        /* 增强段落样式 */
        #about p, #careers p, #contact p {
            line-height: 1.8;
            margin-bottom: 20px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        }

        /* 游戏合作部分卡片样式增强 */
        .job-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-radius: 8px;
            overflow: hidden;
        }

        .job-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* 联系方式部分样式增强 */
        #contact-info ul li {
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        #contact-info ul li:last-child {
            border-bottom: none;
        }

        #contact-info ul li p {
            display: flex;
            align-items: center;
            margin: 0;
        }

        #contact-info ul li img {
            margin-right: 15px;
            width: 24px;
            height: 24px;
        }

        /* 全局样式优化 */
html, body {
    background-color: #0a0a0a;
    color: #f0f0f0;
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 紧凑间距调整 */
.tiny-margin {
    margin-bottom: 1em;
}
.small-margin {
    margin-bottom: 2em;
}
.medium-margin {
    margin-bottom: 3em;
}
.large-margin {
    margin-bottom: 4em;
}

/* 优化色彩方案 */
.colored {
    color: #FF6B35; /* 更温暖的橙色 */
}

a {
    color: #FF6B35;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #FF8C42;
    text-decoration: none;
}

/* 标题样式优化 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75em;
}

/* 导航栏优化 */
.navbar-light {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-light.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-light .navbar-nav .nav-link {
    color: #f0f0f0;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #FF6B35;
}

/* 英雄区域优化 */
.hero-caption {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.hero-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

/* 内容区域优化 */
#about, #careers, #contact {
    padding: 3em 2em;
    position: relative;
    z-index: 1;
}

#about::before, #careers::before, #contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* 游戏合作卡片优化 */
.job-card {
    background: rgba(30, 30, 30, 0.8);
    border-left: 4px solid #FF6B35;
    padding: 1.5em;
    margin-bottom: 1.5em;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 按钮样式优化 */
.button {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 0.75em 1.5em;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.button:hover {
    background: #FF8C42;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* 联系信息优化 */
#contact-info ul li {
    margin-bottom: 1em;
    display: flex;
    align-items: center;
}

#contact-info ul li img {
    margin-right: 15px;
    width: 24px;
    height: 24px;
    /* filter: brightness(0) invert(1); */
    
}

/* 页脚优化 */
#footer {
    background: #111;
    border-top: 1px solid #333;
    padding: 1.5em 0;
    margin-top: 2em;
}

.social-links li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.social-links li a:hover {
    color: #FF6B35;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-caption h1 {
        font-size: 1.8rem;
    }
    
    #about, #careers, #contact {
        padding: 2em 1em;
    }
    
    .job-card {
        margin-bottom: 1em;
    }
}

@media (max-width: 576px) {
    .hero-caption h1 {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* 全局配色优化 */
:root {
    --primary-color: #FF5722; /* 更鲜艳的橙色 */
    --secondary-color: #2196F3; /* 明亮的蓝色 */
    --accent-color: #FFC107; /* 金色作为点缀 */
    --dark-bg: #0a0a0a;
    --light-text: #ffffff;
    --card-bg: rgba(40, 40, 40, 0.9);
}

/* 优化色彩方案 */
.colored {
    color: var(--primary-color) !important;
}

/* 链接颜色优化 */
a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* 导航栏配色优化 */
.navbar-light {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 30, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--primary-color);
}

.navbar-light.scrolled {
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.98) 0%, rgba(25, 25, 35, 0.98) 100%);
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.2);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--light-text);
    font-weight: 600;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 87, 34, 0.1);
    transform: translateY(-2px);
}

/* 按钮样式优化 */
.button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF7043 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.button:hover {
    background: linear-gradient(135deg, #FF7043 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
    color: white;
}

/* 游戏合作卡片优化 */
.job-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(50, 50, 60, 0.9) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 2em;
    margin-bottom: 1.5em;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.3);
    border-color: var(--primary-color);
}

.job-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* 内容区域背景优化 */
#about, #careers, #contact {
    /* background: linear-gradient(135deg, rgba(15, 15, 25, 0.9) 0%, rgba(25, 25, 35, 0.9) 100%); */
    border-radius: 10px;
    margin: 2em 0;
    padding: 3em 2em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#about::before, #careers::before, #contact::before {
    background: rgba(0, 0, 0, 0.3); /* 调整遮罩透明度 */
}

/* 标题样式优化 */
h1, h2, h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

/* 分隔线优化 */
hr {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    height: 3px;
    border: none;
    margin: 30px 0;
}

.hr-short {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    height: 3px;
    width: 100px;
}

/* 联系信息优化 */
#contact-info ul li {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

#contact-info ul li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

#contact-info ul li p {
    color: var(--light-text);
    font-size: 1.1rem;
    font-family:'微软雅黑';
}

/* 页脚优化 */
#footer {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    border-top: 3px solid var(--primary-color);
    padding: 2em 0;
    margin-top: 3em;
}

.social-links li a {
    color: var(--light-text);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links li a:hover {
    color: var(--primary-color);
    background: rgba(255, 87, 34, 0.2);
    transform: translateY(-3px);
}

/* 加载动画优化 */
#loader-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.loader-ring {
    border-top: 4px solid var(--accent-color);
}

.loader-pulse {
    background: var(--accent-color);
}

/* 模态框优化 */
.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
}

.modal-header {
    border-bottom: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1) 0%, rgba(33, 150, 243, 0.1) 100%);
}

.modal-footer {
    border-top: 2px solid var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    #about, #careers, #contact {
        padding: 2em 1em;
        margin: 1em 0;
    }
    
    .job-card {
        padding: 1.5em;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
}

/* 新增动画效果 */
@keyframes glow {
    0% { box-shadow: 0 0 5px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--primary-color); }
    100% { box-shadow: 0 0 5px var(--primary-color); }
}

.glow-effect {
    animation: glow 2s infinite;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}