/*------------------------------------------------------------------
[Master Stylesheet]

Author: AtypicalThemes
Template: Strider - A Game Studio Template
Version:	1.0

This file contains the styling for the actual theme, this
is the file you need to edit to change the look of the
theme.

-------------------------------------------------------------------
Table of contents

    I.General
    II.Page Prealoader
    III.Header & Navigation
    IV.Hero Section
    V.About Section
    VI.Games Section
    VII.Team Section
    VIII.Careers Section
    IX.Contact Section
    X.Footer
    XI.404 Page
    XII.Responsive Styles

-------------------------------------------------------------------
[Color codes]

Background:	#111; (black)
Content:	#FFF; (white)
Footer:		#070707; (black)

a (standard):	#F5F5F5; (white)
a (hover): #E84118; (orange)
a (visited):	#E84118;
a (active):	#E84118;

[Colors]

Primary Color: #E84118;
-------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,500'); /* Raleway Font */
@import url('https://fonts.googleapis.com/css?family=Open+Sans'); /* Open Sans Font */
@font-face {
    font-family: 'Anurati';
    src: url('../fonts/Anurati-Regular.otf');
}

/* --------------------------- /////////// I. GENERAL /////////// --------------------------- */
/* -Color- */
.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: #222;
    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); /* navbar background gradient */
    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: #222;
}
.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: #222;
    font-family: Raleway, sans-serif;
}

/* --------------------------- /////////// V. ABOUT SECTION /////////// --------------------------- */
#support-image {
    margin: 0 0 0 20%;
}
/* --------------------------- /////////// 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;
}
#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;
    }
}
