/*
Theme Name: ReelZappy
Theme URI: https://reelzappy.com
Author: Invicta Group
Author URI: https://blazesoft.ca
Description: Custom theme for ReelZappy, built from scratch with a lean template structure and ACF/SCF Gutenberg blocks.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: reelzappy
*/

:root {
  --color-button-primary-border: transparent;
  --color-button-primary-background: #F8F503;
  --color-button-primary-text: #000000;
  --color-button-primary-hover-background: #FFFF73;
  --color-button-primary-hover-text: #000000;
  --color-button-primary-disabled-background: #2b2b2b;
  --color-button-primary-disabled-text: #696969;
  --color-button-secondary-background: #1A1E2B;
  --color-button-secondary-text: #FFFFFF;
  --color-button-secondary-border: #fff;
  --color-button-secondary-hover-background: #F8F503;
  --color-button-secondary-hover-text: #000000;
  --color-button-secondary-disabled-border: #2F344766;
  --color-button-secondary-disabled-background: #252A3A;
  --color-button-secondary-disabled-text: #6B7080;
  --color-link: #F8F503;
  --color-link-hover: #F8F503;
  --color-promotion-card-hot-tag-background-start: #000000;
  --color-promotion-card-hot-tag-text-color: linear-gradient(90deg, rgba(248, 245, 3, 0.08) 26.3%, rgba(248, 245, 3, 0.38) 58.13%);
  --color-footer-background: #141414;
  --color-footer-text: #FFFFFF;
  --color-global-background: #141414;
  --color-global-gradient: #2f3441;
  --color-provider-icon-background: #000000;
  --color-tooltip-background: #2f3441;
  --color-form-background: #b8b8b8;
  --color-popup-background: #1A1E2B;
  --color-popup-title: #F8F503;
  --color-game-card-overlay-gradient-start: #1A1E2B;
  --color-side-menu-background: #1A1E2B;
  --color-table-background-first: #76797f;
  --color-table-background-second: #d2d5da;
  --color-gc-color: #F8F503;
  --color-sc-color: #5FE8B0;
  --color-card-background: #1A1E2B;
  --color-text: #F5F5FA;
  --color-checkbox-background: #000000;
  --color-checkbox-border: #6B7080;
  --color-checkbox-checked: #F8F503;
  --color-radio-button-checked: #F8F503;
  --color-radio-button-border: #6B7080;
  --color-radio-button-background: #FFFFFF;
  --color-header-background: transparent;
  --color-promotion-tnc-trigger-background: linear-gradient(90deg, rgba(248, 245, 3, 0.08) 26.3%, rgba(248, 245, 3, 0.38) 58.13%);
  --color-promotion-details-banner-background: linear-gradient(90deg, rgba(248, 245, 3, 0.08) 26.3%, rgba(248, 245, 3, 0.38) 58.13%);
  --color-promotion-details-banner-background-mobile: linear-gradient(0deg, rgba(248, 245, 3, 0.08) 26.3%, rgba(248, 245, 3, 0.38) 58.13%);
  --color-active-category: #F8F503;
  --color-category-search-background: #1A1E2B;
  --color-card-border: #F8F503;
  --box-shadow-card: 0 -1px 37.4px -11px #F8F503 inset;
  --color-jackpots-text: #F8F503;
  --color-account-balance-coin-background: #F8F503;
  --color-signup-login-input-background: #2F3447;
  --color-signup-login-input-text: #FFFFFF;
  --color-redeem-clock: #F8F503;
  --color-text-on-tooltip: #e3e3e3;
  --color-text-side-menu: #FFFFFF;
  --font-family-heading: 'Archivo Black', sans-serif;
  --font-family-subheading: 'Archivo', sans-serif;
  --color-home-page-title-line-1: #FFF;
  --color-home-page-title-line-2: #FCF71F;
  --color-page-title: #F8F503;
  --color-page-content: #000000;
}

/* -----------------------------------------------------------------------
   Reset & base
   ----------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.5;
	color: #1a1a1a;
	background: #0A0B10;
	background-image: url(assets/images/bg-desktop.avif);
	background-repeat: repeat-y;
	background-size:contain;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
}

ul,
ol {
	padding-left: 1.2em;
}

/* -----------------------------------------------------------------------
   Layout
   ----------------------------------------------------------------------- */

.site-main {

	margin: 0 auto;

}

.site-main .container {
	max-width: 1200px;
	padding: 0 20px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	padding-top: 24px;
	padding-bottom: 24px;
	background-color: #000000;
}

.site-header.blurred {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap; /* keep logo, Log In and hamburger on one line */
	gap: 16px;
}

.site-branding {
	flex: 0 1 auto;
	min-width: 0; /* let the logo shrink instead of pushing the actions to a new line */
}

.site-header__right {
	flex: none;
}

.mobile-nav-panel__top .custom-logo,
.site-branding .custom-logo {
    height: 2.875rem;
    width: auto; /* size to the logo itself, not the 200px width attribute */
    max-width: 100%;
    object-fit: contain;
	object-position: left;
}

.site-title {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 700;
}

.site-title a {
	text-decoration: none;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation a {
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-header__right {
	display: flex;
	align-items: center;
	gap: 40px;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.site-header__actions .btn a {
	white-space: nowrap;
}

/* -----------------------------------------------------------------------
   Mobile nav (hamburger) — checkbox-driven, no JS
   ----------------------------------------------------------------------- */

.mobile-nav-toggle-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mobile-nav-toggle {
	display: none;
	position: relative;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 20;
}

.mobile-nav-toggle__icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: opacity 0.2s ease;
}

.mobile-nav-toggle__icon--close {
	opacity: 0;
}

.mobile-nav-panel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 0;
	opacity: 0;
	overflow: hidden;
	background: var(--color-popup-background, #1a1e2b);
	transition: opacity 0.3s ease, height 0s 0.3s;
	z-index: 15;
}

.mobile-nav-panel__top {
	display: flex;
	align-items: center;
	padding-top: 24px;
	padding-bottom: 24px;
	padding-left:20px;
}

.mobile-nav-panel__logo {
	height: 40px;
	width: auto;
}

.mobile-nav-panel__buttons {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 20px 20px 10%;
	justify-content: space-around;
}

.mobile-nav-panel__nav {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: calc(100% - 76px);
	overflow-y: auto;
	padding: 0 20px 24px 10%;
}

.mobile-nav-panel__nav a {
	display: block;
	color: #fff;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 2.5;
	text-transform: uppercase;
	text-decoration: none;
}
@media (min-width:1280px) {
	.site-header__actions {
		display:none;
	}

}
@media (max-width: 1281px) {
	.main-navigation {
		display: none;
	}

	.site-header__right {
		gap: 16px;
	}

	.site-header__signup {
		display: none;
	}

	.mobile-nav-toggle {
		display: flex;
	}

	.mobile-nav-toggle-input:checked ~ .mobile-nav-panel {
		height: 100vh;
		opacity: 1;
		transition: opacity 0.3s ease;
	}

	.mobile-nav-toggle-input:checked ~ .site-header__inner .mobile-nav-toggle__icon--open {
		opacity: 0;
	}

	.mobile-nav-toggle-input:checked ~ .site-header__inner .mobile-nav-toggle__icon--close {
		opacity: 1;
	}
}

.site-main {
	min-height: 40vh;
}

.site-footer {
	width: 100%;
	padding-bottom: 35px;
}

.site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.footer-top {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	padding-bottom: 24px;
}

.footer-brand {
	flex: 0 0 220px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer-logo {
    max-width: min(271px, 40vw);
    width: 100%;
    height: auto;
    max-height: 7rem;
}

.footer-social {
	display: flex;
	gap: 16px;
}

.footer-social__link {
	display: inline-flex;
	width: 48px;
	height: 48px;
	color: #9daabd;
	transition: color 0.2s ease;
}

.footer-social__link svg {
	width: 100%;
	height: 100%;
	display: block;
}

.footer-social__link:hover {
	color: #f8f503;
}

.footer-description {
	flex: 1 1 360px;
}

.footer-description p {
	margin: 0;
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
}

.footer-navigation {
	flex: 0 0 220px;
}

.footer-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-navigation a {
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #f8f503;
}


.footer-disclaimer {
	margin: 0 0 12px;
	text-align: center;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
}

.footer-age-restriction {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 24px;
	text-align: center;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
}

.footer-age-badge {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.footer-partners {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin: 0 0 32px;
}

.footer-partners__brought-by {
	height: 118px;
	width: auto;
}

@media (max-width:768px) {
	.footer-partners__brought-by {
		width:171px;
		height:auto;
	}
}

.footer-partners__dmca {
	width: 100px;
	height: 36px;
}

.footer-partners__player-safety {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #f8f503;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.footer-partners__player-safety:hover {
	opacity: 0.8;
}

.footer-partners__player-safety img {
	width: 53px;
	height: 53px;
}

@media (max-width:640px) {
	.footer-partners__player-safety img {
		width:35px;
		height:35px;
	}
}


.footer-copyright {
	text-align: center;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
}

.footer-copyright p {
	margin: 0 0 8px;
}

.footer-copyright p:last-child {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.site-footer {
		padding-bottom: 28px;
	}

	.footer-top {
		flex-direction: column;
		align-items: center;
		gap: 28px;
		text-align: center;
	}

	.footer-brand,
	.footer-description,
	.footer-navigation {
		flex: 0 0 auto;
		width: 100%;
	}

	.footer-brand {
		align-items: center;
	}

	.footer-logo {
		height: 88px;
	}

	.footer-navigation ul {
		align-items: center;
	}

	.footer-partners {
		gap: 20px;
	}
}

/* -----------------------------------------------------------------------
   Entries
   ----------------------------------------------------------------------- */

.entry-title {
	font-size: 2rem;
	line-height: 1.2;
	margin: 0 0 0.5em;
}

.entry-meta {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: 1em;
}

.entry-content > * + * {
	margin-top: 1em;
}

.post-thumbnail {
	margin-bottom: 1.5em;
}

/* -----------------------------------------------------------------------
   404
   ----------------------------------------------------------------------- */

.error-404 {
	text-align: center;
	padding-top: 80px;
	padding-bottom: 80px;
}

/* -----------------------------------------------------------------------
   Button
   ----------------------------------------------------------------------- */

.mobile-nav-panel__nav .btn {
	display:none;
}

.btn a {
    font-family: var(--font-family-subheading);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 solid;
    border-radius: 9999px;
    transition: background-color .3s,color .3s;
    padding: .75rem 1.75rem;
    cursor: pointer;
    text-align: center;
    font-size: .875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
	text-decoration: none;
}

.btn-black a {
    color: var(--color-button-secondary-text);
    background: var(--color-button-secondary-background);
    border-color: var(--color-button-secondary-border);
    border-width: 2px;
    border-style: solid;
    transition: background-color .3s, color .3s;
}
.btn-black a:hover {
	background: var(--color-button-secondary-hover-background);
    color: var(--color-button-secondary-hover-text);
}

.btn-yellow a {
    color: var(--color-button-primary-text);
    background: var(--color-button-primary-background);
    border-color: var(--color-button-primary-border);
    border-width: 2px;
    border-style: solid;
    transition: background-color .3s, color .3s;
}
.btn-yellow a:hover {
	background-color:var(--color-button-primary-hover-background);
}

/* -----------------------------------------------------------------------
   Accessibility: visually hidden, still read by screen readers and search
   engines (standard WordPress class).
   ----------------------------------------------------------------------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
