/**
* Theme Name: Qamico Child
* Description: This is a child theme of Qamico, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: gamico
* Version: 1.1.1
*/

body.admin-bar .tfm-header {
  top: 32px; /* чтобы не перекрывалась панель администратора */
}

@media (max-width: 782px) {
  body.admin-bar .tfm-header {
    top: 46px;
  }
}

/* чтобы контент не залезал под фиксированную шапку */
#content,
.site-content {
  margin-top: 100px;
}

/* === HEADER BASE === */
.tfm-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid #330000;
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.tfm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tfm-logo a {
  color: #ff4444;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
  text-decoration: none;
}

/* === NAVIGATION === */
.tfm-nav-list {
  display: flex;
  list-style: none;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.tfm-nav-list a {
  color: #c9c9c9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.tfm-nav-list a:hover {
  color: #ff4444;
}

/* === BURGER MENU === */
.tfm-burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.tfm-burger span {
  width: 25px;
  height: 3px;
  background: #c9c9c9;
  transition: all 0.3s ease;
}

.tfm-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.tfm-burger.open span:nth-child(2) {
  opacity: 0;
}
.tfm-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .tfm-nav {
    position: fixed;
    top: 60px;
    right: -100%;
    background: rgba(10, 10, 10, 0.98);
    width: 70%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
  }
  .tfm-nav.active {
    right: 0;
  }
  .tfm-nav-list {
    flex-direction: column;
    gap: 25px;
  }
  .tfm-burger {
    display: flex;
  }
}


body {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 100%);
  overflow-x: hidden;
  overflow-x: clip;
--accent: #ff4444 !important;
	
}

.custom-footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 100%);
  color: #c9c9c9;
  padding: 60px 20px 30px;
  border-top: 1px solid #330000;
  font-family: 'Poppins', sans-serif;
}
.custom-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer-col { flex: 1 1 260px; min-width: 200px; }
.footer-logo {
  font-size: 24px;
  color: #ff4444;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255,0,0,0.4);
}
.footer-col h4 {
  color: #ff4444;
  font-size: 16px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin: 8px 0; }
.footer-col a { color: #c9c9c9; text-decoration: none; }
.footer-col a:hover { color: #ff4444; }
.footer-social a {
  display: inline-block;
  color: #c9c9c9;
  font-size: 20px;
  margin-right: 12px;
  transition: color 0.3s, transform 0.3s;
}
.footer-social a:hover { color: #ff4444; transform: translateY(-3px); }
.footer-bottom {
  text-align: center;
  border-top: 1px solid #330000;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: #777;
}
@media (max-width: 768px) {
  .custom-footer-inner { flex-direction: column; text-align: center; }
  .footer-social a { margin: 0 8px; }
}

.single-post-article {
  max-width: 900px;
  margin: 60px auto;
  background: #0a0a0a;
  color: #e0e0e0;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  padding-bottom: 40px;
}

.single-post-thumb img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.single-post-header {
  text-align: center;
  padding: 30px 20px;
}

.single-meta {
  color: #aaa;
  font-size: 13px;
  margin-bottom: 10px;
}

.single-meta .single-cat {
  margin-left: 10px;
  color: var(--accent, #ff4444);
  font-weight: bold;
}

.single-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--white, #fff);
  margin-bottom: 15px;
  line-height: 1.3;
}

.single-content {
  padding: 0 40px;
  line-height: 1.8;
  font-size: 16px;
}

.single-content p {
  margin-bottom: 18px;
}

.single-footer {
  text-align: center;
  margin-top: 40px;
}

.single-share p {
  margin-bottom: 10px;
  color: #bbb;
}

.single-share a {
  color: var(--accent, #ff4444);
  font-size: 20px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.single-share a:hover {
  color: #ff6666;
}








.single-project {
  max-width: 900px;
  margin: 60px auto;
  background: #0a0a0a;
  color: #e0e0e0;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  padding-bottom: 40px;
}

.project-cover img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.project-header {
  text-align: center;
  padding: 30px 20px 10px;
}

.project-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--white, #fff);
  margin-bottom: 10px;
}

.project-meta {
  color: #aaa;
  font-size: 14px;
}

.project-meta .project-category {
  color: var(--accent, #ff4444);
  font-weight: bold;
  margin-left: 10px;
}

.project-content {
  padding: 0 40px;
  line-height: 1.8;
  font-size: 16px;
}

.project-links {
  text-align: center;
  margin-top: 40px;
}

.btn-steam {
  display: inline-block;
  padding: 12px 24px;
  background: #171a21;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-steam:hover {
  background: #2a2f3a;
}


.project-status {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 14px;
  text-transform: uppercase;
  background: var(--accent, #ff4444);
  color: #fff;
}



.tfm-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid #330000;
  backdrop-filter: blur(6px);
  z-index: 1000;
}

body.admin-bar .tfm-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .tfm-header { top: 46px; }
}

#content, .site-content {
  margin-top: 90px;
}

/* Layout */
.tfm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tfm-logo a {
  font-size: 22px;
  font-weight: 800;
  color: #ff4444;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

/* Desktop menu */
.tfm-nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tfm-nav-list a {
  color: #c9c9c9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.tfm-nav-list a:hover { color: #ff4444; }

/* Burger menu */
.tfm-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  z-index: 1100;
}
.tfm-burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #c9c9c9;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.tfm-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.tfm-burger.open span:nth-child(2) {
  opacity: 0;
}
.tfm-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile menu */
@media (max-width: 768px) {
  .tfm-burger { display: flex; }

  .tfm-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(10,10,10,0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
    z-index: 1000;
  }
  .tfm-nav.active { right: 0; }

  .tfm-nav-list {
    flex-direction: column;
    gap: 25px;
  }

  body.menu-open {
    overflow: hidden;
  }
}