/**
 * MyArcadeTheme - Friv Dark Stylesheet
 * Dark purple/red color scheme matching the MyFriv demo aesthetic
 */

/* Dark background */
body {
  background-color: #21194c;
}

.bdcn {
  background-color: transparent;
}

.boxed-cont .bdcn {
  padding-top: 0;
}

/* Content area - dark container */
.main-cn.cols-n12 {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
}

/* Friv header */
#header {
  background: #423780;
  height: 80px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid #423780;
  width: 100%;
  position: relative;
  z-index: 100;
}

#header .header_wrap {
  /* max-width: 1170px; */
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.cont {
  width: 100%;
}

#header .logo {
  margin-right: auto;
  display: flex;
  align-items: center;
}

#header .logo img {
  max-height: 50px;
  width: auto;
}

/* Friv menu button + dropdown */
#header .friv-menu {
  position: relative;
}

#header .friv-menu .btn-friv {
  display: inline-block;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
}

#header .friv-menu .btn-friv .icon {
  margin-right: 5px;
  color: #dd2033;
}

#header .friv-menu .btn-friv:hover {
  background: #dd2033;
}

#header .friv-menu .btn-friv:hover .icon {
  color: #fff;
}

#header .friv-menu ul.actions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
  margin: 0;
  z-index: 9999;
  list-style: none;
}

#header .friv-menu ul.actions::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

#header .friv-menu:hover ul.actions {
  display: block;
}

#header .friv-menu ul.actions li {
  padding: 0;
  margin: 0;
}

#header .friv-menu ul.actions li a {
  display: block;
  padding: 8px 20px;
  color: #2D3E58;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

#header .friv-menu ul.actions li a:hover {
  background: #dd2033;
  color: #fff;
}

/* Search bar */
#header .header-search {
  margin: 0;
}

#header .header-search form {
  position: relative;
  height: 40px;
}

#header .header-search input.text {
  height: 40px;
  line-height: 40px;
  padding: 0 42px 0 15px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 13px;
  width: 180px;
  margin: 0;
  outline: none;
}

#header .header-search input.text::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.6);
}

#header .header-search input.text::-moz-placeholder {
  color: rgba(255, 255, 255, 0.6);
}

#header .header-search input.text:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.6);
}

#header .header-search input.text:focus {
  background: rgba(255, 255, 255, 0.25);
}

#header .header-search .submit {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: #dd2033 !important;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  border-radius: 0 20px 20px 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Social icons in header */
#header .social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 5px;
}

#header .social ul li {
  display: inline-block;
}

#header .social ul li a {
  display: block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  color: #fff !important;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

#header .social ul li a:hover {
  opacity: 1;
}

#header .social ul li a span {
  display: none;
}

#header .social ul li a.fa-facebook {
  background: #2b60b8;
}

#header .social ul li a.fa-twitter {
  background: #459ae2;
}

#header .social ul li a.fa-youtube {
  background: #dd2033;
}

#header .social ul li a.fa-instagram {
  background: #e1306c;
}

#header .social ul li a.fa-pinterest {
  background: #c92228;
}

#header .social ul li a.fa-linkedin {
  background: #007bb6;
}

#header .social ul li a.fa-rss {
  background: #f26522;
  display: none;
}

#header .social ul li a.fa-tumblr {
  background: #2c4762;
}

#header .social ul li a.fa-reddit {
  background: #ff4500;
}

#header .social ul li a.fa-steam {
  background: #171a21;
}

#header .social ul li a.fa-twitch {
  background: #6441a5;
}

#header .social ul li a.fa-vimeo-square {
  background: #1ab7ea;
}

#header .social ul li a.fa-soundcloud {
  background: #ff5500;
}

#header .social ul li a.fa-vk {
  background: #4680c2;
}

#header .social ul li a.fa-medium {
  background: #02b875;
}

#header .social ul li a.fa-telegram {
  background: #0088cc;
}

#header .social ul li a.fa-snapchat {
  background: #fffc00;
  color: #000 !important;
}

#header .social ul li a.fa-delicious {
  background: #3399ff;
}

#header .social ul li a.fa-stumbleupon {
  background: #eb4924;
}

#header .social ul li a.fa-quora {
  background: #a82400;
}

#header .social ul li a.fa-odnoklassniki {
  background: #ee8208;
}

#header .social ul li a.fa-renren {
  background: #005baa;
}

#header .social ul li a.fa-weibo {
  background: #e6162d;
}

/* Accent color: red instead of teal */
.titl {
  border-bottom-color: #dd2033 !important;
  color: #fff;
}

.titl div {
  color: #fff;
}

.lstgms {
  border-bottom-color: #dd2033 !important;
}

[class*="botn"],
button,
input[type="reset"],
input[type="submit"] {
  background-color: #dd2033 !important;
}

[class*="botn"]:hover,
button:hover,
input[type="submit"]:hover {
  background-color: #c41a2b !important;
}

.titl strong {
  color: #dd2033;
}

/* Game tiles - dark rounded thumbnails */
[class*="lst-gams-friv"]>li {
  padding: 7px;
}

[class*="lst-gams-friv"]>li .gmcn-midl {
  background: #423780;
  border-radius: 10px;
  border: 1px solid rgba(250, 250, 250, 0.1);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

[class*="lst-gams-friv"]>li .gmcn-midl:hover {
  background: #dd2033;
}

[class*="lst-gams-friv"] .gmcn-midl figure.gm-imag {
  background: #000;
  border-radius: 8px;
}

[class*="lst-gams-friv"] .gmcn-midl figure.gm-imag img {
  border-radius: 8px;
}

/* Hide overlay text on friv game tiles */
[class*="lst-gams-friv"] .gm-text {
  display: none;
}

/* Pagination */
.wp-pagenavi span.current {
  background-color: #dd2033 !important;
}

.wp-pagenavi a {
  background-color: #423780 !important;
  color: #fff !important;
}

/* Footer */
.ftcn-1 {
  background: rgba(0, 0, 0, 0.3) !important;
}

.ftcn-2 {
  background: transparent !important;
}

.ftcn,
.ftcn a {
  color: #fff;
}

/* Text colors */
h1,
h2 {
  color: #fff;
}

/* Select / sorting UI */
.mt-slct-cn .selecter-selected {
  color: #fff;
}

.mt-slct-cn .selecter-selected:after {
  color: #dd2033;
}

.mt-slct-cn .selecter-item:hover {
  background-color: #dd2033;
}

.mt-slct-cn label {
  color: #fff;
}

/* Game page */
.single .main-cn {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
}

.game-cn {
  background: transparent !important;
}

.post-game header h1 {
  color: #fff;
}

.description {
  color: #ddd;
}


/* Links */
a {
  color: #dd2033;
}

a:hover {
  color: #fff;
}

/* Widgets */
.sdbr-cn {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
}

.sdbr-cn .titl {
  color: #fff;
  border-bottom-color: #dd2033;
}

.sdbr-cn a {
  color: #ddd;
}

.sdbr-cn a:hover {
  color: #dd2033;
}

/* Archive pages */
.cntcls .main-cn.cols-n9 {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
}

.archive .titl div,
.search .titl div,
.category .titl div,
.tag .titl div {
  color: #fff;
}

/* Single post */
.single .main-cn.cols-n9 {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
}

/* BuddyPress */
.main-buddypress {
  background: rgba(0, 0, 0, 0.3) !important;
}

/* Responsive: Friv header */
@media screen and (max-width: 767px) {
  #header {
    height: auto;
    min-height: 60px;
  }

  #header .header_wrap {
    height: auto;
    min-height: 60px;
    flex-wrap: wrap;
    padding: 10px 15px;
    gap: 10px;
  }

  #header .logo {
    margin-right: 0;
  }

  #header .logo img {
    max-height: 40px;
  }

  #header .header-search {
    order: 5;
    width: 100%;
  }

  #header .header-search input.text {
    width: 100%;
  }

  #header .social ul {
    gap: 3px;
  }

  #header .social ul li a {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 12px;
  }

  #header .friv-menu .btn-friv {
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    font-size: 13px;
  }
}


/* Gallery */

@media screen and (min-width: 768px) and (max-width: 991px) {

  [class*="lst-gams"]>li,
  .yarpp-related>div {
    width: 20% !important;
  }
}

@media screen and (min-width: 992px) {

  [class*="lst-gams"]>li,
  .yarpp-related>div {
    width: 20%;
  }
}

@media screen and (min-width: 1200px) {

  [class*="lst-gams"]>li,
  .yarpp-related>div {
    width: 10%;
  }
}