/*
Theme Name: NitrobetCasino.net
Theme URI: https://nitrobetcasino.net
Description: Casino review theme for NitrobetCasino.net - Italian SEO brand protection site
Version: 1.0.0
Author: NitrobetCasino.net
Author URI: https://nitrobetcasino.net
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nitrobetcasino-net
*/

/* --- Reset & Base --- */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	background: #09121B;
	color: #f0f0f0;
}

/* --- Sticky Header --- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(15, 25, 35, 0.92) !important;
	border-bottom: 1px solid rgba(49, 222, 116, 0.15);
	transition: box-shadow 0.3s ease;
}

.site-header:hover {
	box-shadow: 0 2px 20px rgba(49, 222, 116, 0.1);
}

/* --- Section Spacing --- */
.section-padding {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

/* --- Star Rating --- */
.star-rating {
	color: #5BF59E;
	font-size: 1.75rem;
	letter-spacing: 2px;
	line-height: 1;
}

.star-rating-large {
	color: #5BF59E;
	font-size: 2.5rem;
	letter-spacing: 4px;
	line-height: 1;
}

.star-rating-small {
	color: #5BF59E;
	font-size: 1.1rem;
	letter-spacing: 1px;
}

/* --- CTA Buttons --- */
.cta-button a,
a.cta-button {
	display: inline-block;
	background: linear-gradient(135deg, #31DE74 0%, #5BF59E 100%);
	color: #09121B !important;
	padding: 16px 40px;
	border-radius: 8px;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(49, 222, 116, 0.3);
}

.cta-button a:hover,
a.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(49, 222, 116, 0.5);
	background: linear-gradient(135deg, #5BF59E 0%, #31DE74 100%);
}

.cta-button-outline a,
a.cta-button-outline {
	display: inline-block;
	background: transparent;
	color: #31DE74 !important;
	padding: 14px 36px;
	border-radius: 8px;
	border: 2px solid #31DE74;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.cta-button-outline a:hover,
a.cta-button-outline:hover {
	background: #31DE74;
	color: #09121B !important;
}

/* --- Card Styles --- */
.info-card {
	background: #0D1520;
	border: 1px solid rgba(49, 222, 116, 0.15);
	border-radius: 12px;
	padding: 1.5rem;
	transition: all 0.3s ease;
}

.info-card:hover {
	border-color: rgba(49, 222, 116, 0.4);
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.info-card-green {
	background: #0D1520;
	border: 2px solid #31DE74;
	border-radius: 12px;
	padding: 1.5rem;
	transition: all 0.3s ease;
}

.info-card-green:hover {
	box-shadow: 0 0 20px rgba(49, 222, 116, 0.2);
}

/* --- Equal Cards Grid --- */
.equal-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}

.equal-cards > * {
	background: #0D1520;
	border: 1px solid rgba(49, 222, 116, 0.15);
	border-radius: 12px;
	padding: 1.5rem;
}

/* --- Stats Grid --- */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1rem;
}

.stats-grid > * {
	background: rgba(26, 38, 52, 0.8);
	border: 1px solid rgba(49, 222, 116, 0.2);
	border-radius: 10px;
	padding: 1.25rem;
	text-align: center;
}

/* --- Payment Grid --- */
.payment-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1rem;
}

.payment-grid > * {
	background: #0D1520;
	border: 1px solid rgba(49, 222, 116, 0.12);
	border-radius: 10px;
	padding: 1.25rem;
}

/* --- Pro & Contro --- */
.pro-item {
	background: rgba(34, 197, 94, 0.08);
	border-left: 4px solid #22c55e;
	border-radius: 0 8px 8px 0;
	padding: 0.85rem 1.25rem;
	margin-bottom: 0.75rem;
}

.contro-item {
	background: rgba(239, 68, 68, 0.08);
	border-left: 4px solid #ef4444;
	border-radius: 0 8px 8px 0;
	padding: 0.85rem 1.25rem;
	margin-bottom: 0.75rem;
}

/* --- FAQ Accordion --- */
.faq-item {
	background: #0D1520;
	border: 1px solid rgba(49, 222, 116, 0.12);
	border-radius: 10px;
	margin-bottom: 0.75rem;
	overflow: hidden;
	transition: border-color 0.3s ease;
}

.faq-item:hover {
	border-color: rgba(49, 222, 116, 0.35);
}

.faq-item .faq-question {
	cursor: pointer;
	padding: 1.25rem 3rem 1.25rem 1.5rem;
	margin: 0 !important;
	position: relative;
	font-size: 1.05rem !important;
	user-select: none;
	transition: color 0.2s ease;
}

.faq-item .faq-question::after {
	content: "+";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 300;
	color: #31DE74;
	transition: transform 0.3s ease;
	font-family: 'Inter', sans-serif;
}

.faq-item.active .faq-question::after {
	content: "-";
	transform: translateY(-50%) rotate(0deg);
}

.faq-item .faq-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 1.5rem;
	transition: max-height 0.35s ease, padding 0.35s ease;
	opacity: 0;
}

.faq-item.active .faq-answer {
	max-height: 500px;
	padding: 0 1.5rem 1.25rem;
	opacity: 1;
	transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease 0.1s;
}

/* --- Rating Breakdown Bars --- */
.rating-bar-container {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.rating-bar-label {
	min-width: 100px;
	font-family: 'Inter', sans-serif;
	font-size: 0.9rem;
}

.rating-bar-track {
	flex: 1;
	height: 10px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 5px;
	overflow: hidden;
}

.rating-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #31DE74, #5BF59E);
	border-radius: 5px;
	transition: width 1s ease;
}

.rating-bar-value {
	min-width: 40px;
	text-align: right;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	color: #31DE74;
}

/* --- Animations --- */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.fade-up {
	opacity: 1;
	transform: translateY(0);
}

.hover-lift {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.stagger-children > * {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.fade-up > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.fade-up > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.fade-up > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.fade-up > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.fade-up > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.fade-up > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.fade-up > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.stagger-children.fade-up > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }

/* --- Green Separator --- */
.green-separator {
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #31DE74, #5BF59E);
	border: none;
	border-radius: 2px;
}

/* --- Hero Section --- */
.hero-section {
	background: linear-gradient(180deg, #09121B 0%, #0D1117 50%, #0D1520 100%);
	position: relative;
	overflow: hidden;
}

.hero-section::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(ellipse at 30% 20%, rgba(49, 222, 116, 0.06) 0%, transparent 50%);
	pointer-events: none;
}

/* --- Section title decoration --- */
.section-title {
	position: relative;
	display: inline-block;
}

/* --- Badge --- */
.badge-green {
	width: fit-content;
	margin-left: auto !important;
	margin-right: auto !important;
	background: rgba(49, 222, 116, 0.15);
	color: #31DE74;
	padding: 0.35rem 1rem;
	border-radius: 20px;
	font-family: 'Inter', sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
	.animate-on-scroll {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.stagger-children > * {
		opacity: 1;
		transform: none;
		transition: none;
	}
	html {
		scroll-behavior: auto;
	}
	.cta-button a:hover,
	.info-card:hover,
	.hover-lift:hover {
		transform: none;
	}
	.faq-item .faq-answer {
		transition: none;
	}
}

/* --- Editor overrides --- */
.editor-styles-wrapper {
	background: #09121B !important;
	color: #f0f0f0 !important;
}

.editor-styles-wrapper .faq-item .faq-answer {
	max-height: none;
	opacity: 1;
	padding: 0 1.5rem 1.25rem;
}

/* --- Footer margin reset --- */
.site-footer {
	margin-top: 0 !important;
}

.site-footer a {
	color: #31DE74 !important;
	text-decoration: none;
}

.site-footer a:hover {
	color: #5BF59E !important;
}

/* --- Table styles --- */
.payment-table {
	width: 100%;
	border-collapse: collapse;
}

.payment-table th,
.payment-table td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid rgba(49, 222, 116, 0.1);
}

.payment-table th {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	color: #31DE74;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* --- Game category cards --- */
.game-category {
	background: #0D1520;
	border: 1px solid rgba(49, 222, 116, 0.15);
	border-radius: 12px;
	padding: 2rem;
	transition: all 0.3s ease;
}

.game-category:hover {
	border-color: rgba(49, 222, 116, 0.35);
}

/* --- Mobile Responsive --- */
@media (max-width: 782px) {
	.section-padding {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.equal-cards {
		grid-template-columns: 1fr;
	}

	.payment-grid {
		grid-template-columns: 1fr;
	}

	.star-rating-large {
		font-size: 1.75rem;
	}

	.cta-button a {
		padding: 14px 30px;
		font-size: 1rem;
	}

	.rating-bar-label {
		min-width: 80px;
		font-size: 0.8rem;
	}

	.faq-item .faq-question {
		padding: 1rem 2.5rem 1rem 1.25rem;
		font-size: 0.95rem !important;
	}
}

@media (max-width: 480px) {
	.stats-grid {
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
	}

	.stats-grid > * {
		padding: 1rem;
	}
}
