/*
 Theme Name: Neve Child
 Template: neve
 Version: 1.0
*/

@font-face {
  font-family: 'Lora';
  src: url('assets/fonts/Lora/static/Lora-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Nunito';
  src: url('assets/fonts/Nunito/static/Nunito-Regular.ttf') format('truetype');
}

:root {
  --bodyfontfamily: "Nunito", sans-serif !important;
  --headingsfontfamily: "Lora", sans-serif !important;
}

.nv-single-post-wrap>div:first-child {
	margin-top: 0;
}
img[sizes="auto"],
img[sizes^="auto,"] {
  contain-intrinsic-size: revert;
}
.wp-block-heading {
	margin-top: 30px;
}

.nav-menu-secondary a {
  display: inline-block;
  padding: 12px 28px !important;
  font-size: 16px;
  font-weight: 600;
  color: var(--nv-text-color);
  background: linear-gradient(135deg, var(--nv-primary-accent, #ff2986), #81c784);
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
}

.nav-menu-secondary a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 75, 43, 0.6);
  background: linear-gradient(135deg, var(--nv-primary-accent, #ff2986), #81c784);
}

/* Shine effect */
.nav-menu-secondary a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-25deg);
}

.nav-menu-secondary a:hover::before {
  animation: shine 0.8s forwards;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}
@media (max-width: 480px) {
  .nav-menu-secondary a {
    font-size: 14px;       /* smaller text */
    padding: 10px 20px;    /* smaller button */
    white-space: nowrap;   /* prevent line break */
  }
}


/* First screen */

.game-header-section {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 30px;
    box-sizing: border-box;
    background: var(--nv-light-bg);
    border-radius: 0;
}

/* Inner flex stays the same */
.game-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
	justify-content: center;
    gap: 40px;
    width: 100%;
}

.game-title {
	color: var(--nv-text-color);
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
}
.btn-play-real,
.btn-play-demo {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--nv-text-color);
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s ease;
  margin-right: 12px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255,65,108,0.4);
}

.btn-play-real {
  background: linear-gradient(135deg, var(--nv-primary-accent, #ff2986), #81c784);
}

.btn-play-real:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255,75,43,0.6);
  background: linear-gradient(135deg, var(--nv-primary-accent, #ff2986), #81c784);
}

.btn-play-demo {
  background: none;
  border: 1px solid rgb(146, 148, 248);
}

.btn-play-demo:hover {
  transform: translateY(-2px) scale(1.05);
}
.game-rating {
	margin-bottom: 10px;
}


@media (max-width: 768px) {
	.game-header-section {
		min-height: 100dvh;             
		transition: min-height 0.3s ease;
	}

	.game-header-section.scrolled {
	min-height: auto;    
	}
	.game-header-right {
		width: 230px;
	}
	.game-header-inner {
		flex-direction: column-reverse;
	}
	.game-title {
		text-align: center;
		font-size: 32px;
		margin: 0;
	}
	.btn-play-real, .btn-play-demo {
		width: 100%; 
		text-align: center;
	}
	.game-rating .rating {
		justify-content: center;
	}
	.game-attributes {
		display: flex;
		justify-content: center;
		gap: 15px;
		font-size: 16px;
		flex-wrap: wrap;
    }
    .game-attributes > div {
        min-width: 120px;
    }
}
@media (max-width: 576px) {
	.game-title {
		text-align: center;
		font-size: 28px;
	}
	.btn-play-real, .btn-play-demo {
		width: 100%; 
		text-align: center;
	}
	.game-rating .rating {
		justify-content: center;
	}
	.game-attributes {
        display: flex;
        justify-content: center;
        gap: 10px;
        font-size: 12px;
        flex-wrap: wrap;
    }
    .game-attributes > div {
        min-width: 100px;
    }
}

.post-author-info {
	margin-top: 20px;
}
.author-avatar img {
	border-radius: 50%;
}

/* Quote block styling for dark theme */
.wp-block-quote {
  background: linear-gradient(135deg, #1a1a1a, #262626);
  border-left: 4px solid #ff416c;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 10px;
  color: #e0e0e0;
  font-style: normal;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.wp-block-quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.wp-block-quote strong {
  color: #ff416c;
  font-weight: 600;
}


.mobile-toggle {
  display: none;
}

.collapsible-paragraph {
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
}


@media (max-width: 768px) {
  .collapsible-paragraph {
    max-height: 0;
    opacity: 0;
  }
  .collapsible-paragraph.open {
    max-height: 1000px;
    opacity: 1;
  }


  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--nv-light-bg);
    border: none;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 10px 0;
    cursor: pointer;
    transition: background .2s ease;
  }
  .mobile-toggle:hover {
    background: #1a1a1a;
  }
  .mobile-toggle svg {
    width: 22px;
    height: 22px;
    color: #ffd27a;
    transition: transform .25s ease;
  }
  .mobile-toggle.open svg {
    transform: rotate(180deg);
  }
}

#ez-toc-container {
  background: var(--nv-light-bg); 
  border: 1px solid #222; 
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--nv-text-color);
  font-family: "Inter", "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin: 30px 0;
  transition: all 0.3s ease;
}

#ez-toc-container .ez-toc-list a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.25s ease;
  display: block;
  padding: 4px 0;
}

#ez-toc-container .ez-toc-list a:hover {
  color: var(--nv-text-color);
}

#ez-toc-container ul.ez-toc-list-level-2 {
  margin-left: 15px;
  border-left: 2px solid #222;
  padding-left: 12px;
}

#ez-toc-container ul.ez-toc-list-level-3 {
  margin-left: 12px;
  padding-left: 10px;
  border-left: 1px dashed #333;
}

#scrollTopBtn {
	padding: 0;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--nv-light-bg);
  color: var(--nv-text-color);
  font-size: 20px;
  border: 1px solid var(--nv-text-color);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 9999;
}

#scrollTopBtn:hover {
  background: color-mix(in srgb, var(--nv-light-bg), white 7%);
  transform: translateY(-2px);
}


#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

.custom-table-block {
  margin: 2em 0;
  padding: 1em;
  background: var(--nv-light-bg);
  border: 1px solid #222;
  border-radius: 8px;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--nv-light-bg);
  border-radius: 6px;
  overflow: hidden;
}

.custom-table thead {
  background: var(--nv-light-bg);
}

.custom-table th {
  padding: 12px;
  text-align: left;
  background: color-mix(in srgb, var(--nv-light-bg), white 10%);
  color: var(--nv-text-color);
  font-weight: bold;
  border-bottom: 5px solid #333;
}

.custom-table td {
  padding: 12px;
  color: var(--nv-text-color);
  border-bottom: 1px solid #333;
}


.custom-table tr:hover {
  background: color-mix(in srgb, var(--nv-light-bg), white 3%);
}

.game-attributes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

.game-attributes > div {
	background: color-mix(in srgb, var(--nv-light-bg), black 40%);
    border-radius: 8px;
    text-align: center;
    padding: 10px 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-attributes > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

.game-attributes dt {
    font-size: 14px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.game-attributes dd {
    font-size: 16px;
    font-weight: 600;
    color: var(--nv-text-color);
    margin: 0;
	padding-left: 0;
}


.mechanics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mechanics-card {
    background: var(--nv-light-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mechanics-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.mechanics-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #ffcc00;
}

.mechanics-card p {
    font-size: 15px;
    color: var(--nv-text-color);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .mechanics-grid {
        grid-template-columns: 1fr;
    }
}
.symbols-block h2 {
	margin-top: 30px;
}

.symbols-slider {
    overflow: hidden;
    position: relative;
}
.symbols-slider-track {
    display: flex;
    gap: 15px;
    align-items: stretch;
}
.symbol-card {
    flex: 0 0 160px;
    background: var(--nv-light-bg);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.symbol-image {
    width: 100%;
    height: 100px;
    overflow: hidden;
    margin-bottom: 8px;
}

.symbol-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}
.symbol-card h3 {
    font-size: 16px;
    color: var(--nv-text-color);
    margin-bottom: 6px;
}
.symbol-card p {
    font-size: 13px;
    color: var(--nv-text-color);
    line-height: 1.4;
    flex-grow: 1;
}

.pros-cons-block {
  margin: 30px 0;
}

.pros-cons-block h2 {
  text-align: center;
}

.pros-cons-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}

.pros-cons-table th {
  text-align: center;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  color: var(--nv-text-color);
}

.pros-head {
  background-color: rgba(0, 209, 132, 0.13);
}

.cons-head {
  background-color: rgba(207, 45, 45, 0.21);
}

.pros-cons-table td {
  padding: 10px 15px;
  vertical-align: top;
  font-size: 15px;
  color: var(--nv-text-color);
}

.pros-cell {
  background-color: rgba(0, 209, 132, 0.05);
}

.cons-cell {
  background-color: rgba(207, 45, 45, 0.08);
}
.plus, .minus {
	font-size: 30px;
	vertical-align: middle;
	margin-right: 6px;
}

.pros-cons-table tr:nth-child(even) td {
  opacity: 0.95;
}
.pros-cons-table,
.pros-cons-table th,
.pros-cons-table td {
  border: none;
}


@media (max-width: 768px) {
  .pros-cons-table th,
  .pros-cons-table td {
    font-size: 14px;
    padding: 8px 10px;
  }
}

.comments-block {
    margin: 20px 0;
    font-family: sans-serif;
}



.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-card {
    background: var(--nv-light-bg);
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    color: var(--nv-text-color);
}

.comment-rating {
    font-weight: bold;
    color: #00d184;
    margin-bottom: 5px;
}

.comment-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.comment-text {
    color: var(--nv-text-color);
}

.screenshots-block h2 {
	margin-top: 30px;
}

.screenshots-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
		margin-bottom: 30px;
}

.screenshots-track {
    display: flex;
    gap: 10px;
}

.screenshot-card {
    flex: 0 0 auto;
    width: 150px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #333;
}

.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.screenshot-modal {
    position: fixed;
    top:0; left:0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.screenshot-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.screenshot-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
}

/*============== FAQ container =================*/
.schema-faq.wp-block-yoast-faq-block {
  background-color: var(--nv-site-bg);
  padding: 0;
  border-radius: 10px;
}

/* FAQ item */
.schema-faq-section {
  background: var(--nv-light-bg);
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.3s;
}

/* Hover effect on question */
.schema-faq-section:hover {
  background: color-mix(in srgb, var(--nv-light-bg), white 7%);
}

/* FAQ question */
.schema-faq-question {
  display: block;
  font-size: 24px;
  font-weight: 600;
  padding: 20px 16px;
  cursor: pointer;
  position: relative;
  color: var(--nv-text-color);
  margin-bottom: 0;
}

/* Arrow toggle */
.schema-faq-question::after {
  content: "▼";
  font-size: 16px;
  transition: transform 0.3s;
  float: right;
}

/* Rotate arrow when open */
.schema-faq-section.active .schema-faq-question::after {
  transform: rotate(180deg);
}

/* FAQ answer */
.schema-faq-answer {
  padding: 0 16px 12px 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--nv-text-color);
  display: none;
}

/* Smooth collapse */
.schema-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.schema-faq-section.active .schema-faq-answer {
  display: block;
  max-height: 500px;
  padding-top: 8px;
}




/* ====[geo_block]==== */

.geo-block { width:100%;}
    .geo-inner { display:flex; gap:30px; align-items:flex-start; }
    .geo-left  { flex:0 0 60%; }
    .geo-right { flex:0 0 35%; text-align:right; }
    .geo-image { max-width:100%; height:auto; border-radius:8px; }
    @media (max-width:768px) {
        .geo-inner { flex-direction:column; }
        .geo-right { text-align:center; }
    }

/* ==================== */
/* ====[how_to_play]==== */
.how-to-block {
	color: var(--nv-text-color);
}

.how-to-block h2 {
    text-align: center;
}

.how-to-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: var(--nv-text-color);
}

.how-to-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.how-to-step {
    display: flex;
    gap: 30px;
    background: var(--nv-light-bg);
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-to-step {
    box-shadow: 6px 6px 15px rgba(255, 222, 0, 0.3);
}

.step-content {
    flex: 1;
    position: relative;
}

.step-number {
	width: 100px;
	background: var(--nv-site-bg);
	color: #ffde00;
	font-weight: bold;
	text-align: center;
	border-radius: 12px;
	box-shadow:
		inset 0 0 3px rgba(255, 222, 0, 0.1),
		inset 0 0 5px rgba(255, 222, 0, 0.3);
}

.step-heading {
	margin: 20px 0 10px 0;
}

.step-text {
	color: var(--nv-text-color);
	padding-left: 20px;
}

.step-image img {
	max-width: 300px;
	border-radius: 8px;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(255, 222, 0, 0.7);
    transition: transform 0.3s ease;
}

.lightbox-overlay img:hover {
    transform: scale(1.05);
}

.zoomable-img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.zoomable-img:hover {
    transform: scale(1.02);
}


@media (max-width: 768px) {
	.how-to-step {
		flex-direction: column;
		align-items: flex-start;
	}

	.step-heading,
	.step-text {
		padding-left: 0;
	}

	.step-image img {
		max-width: 100%;
		margin-top: 15px;
	}
}
/* ==================== */


/* === Sticky Footer Bonus Banner === */
.bonus-banner {
	position: fixed;
    bottom: -120px;
    left: 0;
    right: 0;
    background: var(--nv-site-bg, #111);
    color: var(--nv-text-color);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.6);
    z-index: 9999;
    transition: bottom 0.4s ease;
    padding: 15px 20px;
    overflow: visible;
}

.bonus-banner.show {
	bottom: 0;
}

.bonus-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 15px;
	max-width: 1200px;
	margin: 0 auto;
}

.bonus-banner__logo img {
	height: 70px;
	width: auto;
}

.bonus-banner__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bonus-banner__btn {
	background: linear-gradient(135deg, var(--nv-primary-accent, #ff2986), #81c784);
	color: var(--nv-text-color);
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: bold;
	text-decoration: none;
	transition: all 0.3s ease;
	white-space: nowrap;
	position: relative;
	box-shadow: 0 0 0 0 rgba(255, 41, 134, 0.6);
	animation: pulseGlow 0.5s infinite;
}

/* Hover effect */
.bonus-banner__btn:hover {
	filter: brightness(1.2);
	transform: scale(1.08);
	box-shadow: 0 0 15px rgba(255, 41, 134, 0.6);
}


@keyframes pulseGlow {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(255, 41, 134, 0.6);
	}
	70% {
		transform: scale(1.08);
		box-shadow: 0 0 0 10px rgba(255, 41, 134, 0);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(255, 41, 134, 0);
	}
}


.bonus-banner__close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: transparent;
	border: none;
	font-size: 1.8rem;
	color: #333;
	cursor: pointer;
	transition: color 0.25s ease;
	line-height: 1;
	z-index: 2;
}

.bonus-banner__close:hover {
	color: #666;
	background: none;
}

@media (max-width: 768px) {
	.bonus-banner__inner {
		flex-direction: column;
		text-align: center;
	}
	.bonus-banner__logo img {
		max-height: 40px;
	}
	.bonus-banner {
		bottom: -240px;
	}
}
	
/*======================================*/

/* ======= [series_block] ============= */

.series-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
	margin-top: 25px;
}

.series-card {
	background: var(--nv-light-bg);
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.series-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.series-card-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--nv-light-bg);
	margin-bottom: 12px;
}

.series-card-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	margin-bottom: 12px;
	border-radius: 10px;
}

.series-card-title {
	margin-bottom: 10px;
	font-size: 18px;
	color: #ffcc00;
}

.series-card-text {
	font-size: 15px;
	color: var(--nv-text-color);
	line-height: 1.5;
}

.series-table-heading {
	margin-top:20px;
}
.series-table-wrapper {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.series-table-wrapper .custom-table {
	white-space: nowrap;
}

@media (max-width: 768px) {
	.series-grid {
		grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 600px) {
	.series-grid {
		grid-template-columns: 1fr;
	}
}
/* ==================== */