/*
========================================
OKFILES — GLOBAL (scoped)
========================================
*/

.okfiles-page,
.page-id-6 #content,
.page-id-6 .content-area {
  color: #ffffff;
}

/*
========================================
OKFILES — BACKGROUND
========================================
*/

html {
  background-image: url('/wp-content/uploads/2026/08/okfiles/background-taixiuonline9.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  background-color: rgba(255, 255, 255, 0) !important;
}

#wrapper,
#main,
#main.dark,
.content-area,
#content {
  background-color: rgba(10, 10, 10, 0) !important;
}

.page-id-6 #content.page-wrapper {
  overflow-x: hidden;
}

/*
========================================
OKFILES — TYPOGRAPHY
========================================
*/

.okfiles-page h1,
.okfiles-page h2,
.okfiles-page h3,
.okfiles-page h4,
.okfiles-page h5,
.okfiles-page h6,
.okfiles-page .heading-font,
.page-id-6 .okfiles-main-title-text,
.page-id-6 .okfiles-section-title {
  color: #f4f42e !important;
}

.okfiles-page p,
.okfiles-page li,
.okfiles-page .ux-text {
  color: #ffffff;
}

.okfiles-page a {
  color: #f4f42e;
}

.okfiles-page a:hover {
  color: #ffffff;
}

/*
========================================
OKFILES — HEADER
========================================
*/

.header-bg-color {
  background-color: rgba(10, 10, 10, 0.9) !important;
}

.header-bottom,
#wide-nav,
.header .header-bottom {
  background: linear-gradient(to right, #e39000, #915c00, #3b2602, #915c00, #e39000) !important;
  min-height: 55px !important;
  height: 55px !important;
}

.header-bottom-nav > li > a {
  color: #f4f42e !important;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 25px;
  font-size: 14.4px;
}

.header-bottom .flex-row,
#wide-nav .flex-row {
  min-height: 55px;
  align-items: center;
}

.header-bottom-nav > li > a:hover {
  color: #ffffff !important;
}

.header-main {
  height: 90px;
}

#logo img {
  max-height: 90px;
}

.header.show-on-scroll .header-main,
.stuck .header-main {
  height: 70px !important;
}

.stuck #logo img {
  max-height: 70px !important;
}

.header-button {
  margin: 0;
}

.header-button > a,
.header-button .button {
  background: linear-gradient(90deg, #ff9966, #ffcc66, #99ff99, #a6f6f1, #ff66cc) !important;
  background-size: 500% 500% !important;
  animation: okfiles-smooth-warm-mint 8s ease-in-out infinite, okfiles-shockwave-jump 1s ease-out infinite;
  color: #000 !important;
  font-size: 0.9rem;
  border: none !important;
  padding: 0 12px;
  position: relative;
  outline: 0;
  border-radius: 5px !important;
  font-weight: 700;
  text-transform: lowercase;
  box-shadow: none !important;
}

.header-button > a:before,
.header-button > a:after,
.header-button .button:before,
.header-button .button:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 8px;
  animation: okfiles-shockwave 1s ease-out infinite;
  pointer-events: none;
}

.header-button > a:before,
.header-button .button:before {
  animation-delay: 0.5s;
}

.header-button > a:after,
.header-button .button:after {
  animation-delay: 0.65s;
}

.header-button .button.secondary,
.header-button .button.secondary.is-outline {
  color: #c05530 !important;
  border: 2px solid #c05530 !important;
}

@keyframes okfiles-smooth-warm-mint {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes okfiles-shockwave-jump {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  50% { transform: scale(0.98); }
  55% { transform: scale(1.02); }
  60% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

@keyframes okfiles-shockwave {
  0% {
    transform: scale(1);
    box-shadow: 0 0 2px #fff, inset 0 0 1px #fff;
  }
  95% {
    box-shadow: 0 0 25px transparent, inset 0 0 20px transparent;
  }
  100% { transform: scale(2); }
}

/*
========================================
OKFILES — HERO
========================================
*/

.okfiles-hero {
  padding: 0 !important;
}

.okfiles-hero .section-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
}

.okfiles-hero .row-collapse,
.okfiles-hero .row {
  max-width: 100vw !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.okfiles-hero .col-inner {
  padding: 0 !important;
}

.okfiles-hero-image,
.okfiles-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/*
========================================
OKFILES — MAIN TITLE
========================================
*/

.okfiles-main-title {
  padding: 15px 0 !important;
}

.okfiles-main-title-text {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 15px 0;
  line-height: 1.3;
}

/*
========================================
OKFILES — GAME ITEMS (one section each)
========================================
*/

.okfiles-game-item {
  padding: 5px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.okfiles-game-item .col-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.okfiles-game-row {
  margin: 0;
}

.okfiles-game-logo,
.okfiles-game-logo img {
  max-width: 89px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.okfiles-game-hot,
.okfiles-game-hot img {
  max-width: 58px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.okfiles-game-title {
  color: #f4f42e !important;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 4px;
  line-height: 1.3;
}

.okfiles-game-desc {
  color: #ffffff;
  font-size: 14px;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

.okfiles-game-promo {
  color: #f4f42e;
  font-weight: 700;
  font-size: 14px;
  margin: 4px 0 0;
  text-align: center;
}

.okfiles-game-button.button {
  color: #446084 !important;
  border-color: #446084 !important;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 2px;
}

.okfiles-game-review.button {
  color: #446084 !important;
  font-weight: 700;
  text-transform: capitalize;
  margin: 2px;
}

.okfiles-shine-button {
  position: relative;
  overflow: hidden;
}

.okfiles-shine-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244, 244, 46, 0.3), transparent);
  animation: okfiles-shine 2.5s infinite;
}

@keyframes okfiles-shine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/*
========================================
OKFILES — SEO CONTENT
========================================
*/

.okfiles-content {
  padding: 30px 0 !important;
}

.okfiles-content h2 {
  font-size: 1.6rem;
  margin: 25px 0 15px;
}

.okfiles-content p {
  line-height: 1.7;
  margin-bottom: 15px;
}

.okfiles-content .accordion-title {
  color: #f4f42e;
  background: rgba(255, 255, 255, 0.05);
}

/*
========================================
OKFILES — BLOG
========================================
*/

.okfiles-blog .box-text {
  color: #ffffff;
}

.okfiles-blog .box-text h5 {
  color: #f4f42e;
}

/*
========================================
OKFILES — LICENSE
========================================
*/

.okfiles-license {
  padding: 30px 0 !important;
}

.okfiles-license-intro {
  color: #ffffff;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.okfiles-license .section-title-main {
  color: #f4f42e !important;
}

.okfiles-license-card .featured-box,
.okfiles-license-card .box {
  background: transparent !important;
}

.okfiles-license-card img {
  max-width: 168px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.okfiles-license-card h4,
.okfiles-license-card h3 {
  color: #f4f42e !important;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin: 10px 0 8px;
}

.okfiles-license-card p {
  color: #ffffff;
  font-size: 14px;
  text-align: left;
  line-height: 1.6;
  margin: 0;
}

/*
========================================
OKFILES — FOOTER
========================================
*/

.okfiles-footer {
  background-color: rgba(10, 10, 10, 0.95) !important;
}

.okfiles-footer h3 {
  color: #f4f42e !important;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.okfiles-footer ul {
  list-style: none;
  padding: 0;
}

.okfiles-footer ul li {
  margin-bottom: 8px;
}

.okfiles-copyright {
  opacity: 0.7;
  font-size: 13px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/*
========================================
OKFILES — RESPONSIVE
========================================
*/

@media (max-width: 849px) {
  .header-main {
    height: 70px;
  }

  #logo img {
    max-height: 70px;
  }

  .okfiles-main-title-text {
    font-size: 1.2rem;
  }

  .okfiles-game-logo img {
    max-width: 70px;
  }

  .okfiles-game-promo {
    font-size: 12px;
  }

  .okfiles-game-button,
  .okfiles-game-review {
    font-size: 12px;
    padding: 8px 12px;
  }
}

@media (max-width: 549px) {
  .okfiles-main-title-text {
    font-size: 1rem;
  }

  .okfiles-content h2 {
    font-size: 1.2rem;
  }

  .header-button .button {
    font-size: 11px;
    padding: 6px 12px;
  }
}
