/*
Theme Name: Nitrobet.it.com
Theme URI: https://nitrobet.it.com
Description: Guida operativa e verticali slot/scommesse per Nitrobet - Italian SEO brand utility site
Version: 1.0.0
Author: Nitrobet.it.com
Author URI: https://nitrobet.it.com
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: nitrobet-it-com
*/

/* --- 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: #FFFFFF;
	color: #1A202C;
}

/* --- Sticky Header --- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.95) !important;
	border-bottom: 1px solid rgba(11, 95, 255, 0.12);
	transition: box-shadow 0.3s ease;
}

.site-header:hover {
	box-shadow: 0 2px 20px rgba(11, 95, 255, 0.08);
}

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

/* --- CTA Buttons --- */
.cta-button a,
a.cta-button {
	display: inline-block;
	background: linear-gradient(135deg, #0B5FFF 0%, #3B7FFF 100%);
	color: #FFFFFF !important;
	padding: 16px 40px;
	border-radius: 10px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(11, 95, 255, 0.25);
}

.cta-button a:hover,
a.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(11, 95, 255, 0.4);
	background: linear-gradient(135deg, #3B7FFF 0%, #0B5FFF 100%);
}

.cta-button-orange a,
a.cta-button-orange {
	display: inline-block;
	background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
	color: #FFFFFF !important;
	padding: 16px 40px;
	border-radius: 10px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button-orange a:hover,
a.cta-button-orange:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.cta-button-outline a,
a.cta-button-outline {
	display: inline-block;
	background: transparent;
	color: #0B5FFF !important;
	padding: 14px 36px;
	border-radius: 10px;
	border: 2px solid #0B5FFF;
	font-family: 'Plus Jakarta Sans', 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: #0B5FFF;
	color: #FFFFFF !important;
}

/* --- HowTo Step Cards --- */
.step-card {
	background: #F7F9FC;
	border: 1px solid rgba(11, 95, 255, 0.12);
	border-left: 4px solid #0B5FFF;
	border-radius: 10px;
	padding: 1.5rem;
	position: relative;
	transition: all 0.3s ease;
}

.step-card:hover {
	border-left-color: #FF6B35;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(11, 95, 255, 0.08);
}

.step-number {
	display: inline-block;
	width: 32px;
	height: 32px;
	background: #0B5FFF;
	color: #FFFFFF;
	border-radius: 50%;
	text-align: center;
	line-height: 32px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	margin-right: 0.75rem;
}

/* --- Card Styles --- */
.info-card {
	background: #FFFFFF;
	border: 1px solid rgba(11, 95, 255, 0.15);
	border-radius: 12px;
	padding: 1.5rem;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-card:hover {
	border-color: rgba(11, 95, 255, 0.4);
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(11, 95, 255, 0.1);
}

.info-card-accent {
	background: #FFFFFF;
	border: 2px solid #0B5FFF;
	border-radius: 12px;
	padding: 1.5rem;
	transition: all 0.3s ease;
}

.info-card-accent:hover {
	box-shadow: 0 0 20px rgba(11, 95, 255, 0.15);
}

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

.equal-cards > * {
	background: #FFFFFF;
	border: 1px solid rgba(11, 95, 255, 0.12);
	border-radius: 12px;
	padding: 1.75rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
}

.equal-cards > *:hover {
	border-color: rgba(255, 107, 53, 0.4);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.stats-grid > * {
	background: #F7F9FC;
	border: 1px solid rgba(11, 95, 255, 0.15);
	border-radius: 10px;
	padding: 1.25rem;
	text-align: center;
}

/* --- Slot Card (verticale slot) --- */
.slot-card {
	background: #FFFFFF;
	border: 1px solid rgba(11, 95, 255, 0.15);
	border-radius: 14px;
	padding: 1.5rem;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.slot-card:hover {
	border-color: #FF6B35;
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(255, 107, 53, 0.12);
}

.slot-card h3 {
	margin-top: 0;
	color: #0B5FFF;
}

.slot-meta {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 0.85rem;
	color: #4A5568;
	margin-bottom: 1rem;
}

.slot-meta-label {
	font-weight: 600;
	color: #1A202C;
}

/* --- Tables --- */
.data-table {
	width: 100%;
	border-collapse: collapse;
	background: #FFFFFF;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.data-table th,
.data-table td {
	padding: 0.85rem 1rem;
	text-align: left;
	border-bottom: 1px solid rgba(11, 95, 255, 0.08);
}

.data-table th {
	background: #F7F9FC;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 700;
	color: #0B5FFF;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.data-table tr:hover td {
	background: rgba(11, 95, 255, 0.02);
}

/* --- 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: #FFFFFF;
	border: 1px solid rgba(11, 95, 255, 0.12);
	border-radius: 10px;
	margin-bottom: 0.75rem;
	overflow: hidden;
	transition: border-color 0.3s ease;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
	border-color: rgba(11, 95, 255, 0.4);
}

.faq-item .faq-question {
	cursor: pointer;
	padding: 1.25rem 3rem 1.25rem 1.5rem;
	margin: 0 !important;
	position: relative;
	font-size: 1.05rem !important;
	font-weight: 600;
	user-select: none;
	color: #1A202C;
	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: #FF6B35;
	transition: transform 0.3s ease;
	font-family: 'Plus Jakarta Sans', 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;
	color: #4A5568;
}

.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;
}

/* --- 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.08);
}

.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); }

/* --- Separator --- */
.accent-separator {
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #0B5FFF, #FF6B35);
	border: none;
	border-radius: 2px;
}

/* --- Hero Section --- */
.hero-section {
	background: linear-gradient(180deg, #F7F9FC 0%, #EBF1FC 50%, #FFFFFF 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(11, 95, 255, 0.08) 0%, transparent 50%);
	pointer-events: none;
}

/* --- Badge --- */
.badge-blue {
	width: fit-content;
	margin-left: auto !important;
	margin-right: auto !important;
	background: rgba(11, 95, 255, 0.1);
	color: #0B5FFF;
	padding: 0.35rem 1rem;
	border-radius: 20px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.badge-orange {
	width: fit-content;
	margin-left: auto !important;
	margin-right: auto !important;
	background: rgba(255, 107, 53, 0.12);
	color: #FF6B35;
	padding: 0.35rem 1rem;
	border-radius: 20px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	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,
	.slot-card:hover {
		transform: none;
	}
	.faq-item .faq-answer {
		transition: none;
	}
}

/* --- Editor overrides --- */
.editor-styles-wrapper {
	background: #FFFFFF !important;
	color: #1A202C !important;
}

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

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

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

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

/* --- 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;
	}

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

	.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;
	}
}
