
:root {
	--bg-arcade: #0f0a1c;	   /* Viola scurissimo vibrante da sala giochi */
	--panel-dark: #1b1233;	  /* Sfondo pannelli */
	
	/* Colori Pop-Neon */
	--pop-yellow: #fff200;	  /* Giallo evidenziatore */
	--pop-pink: #ff007f;		/* Rosa shocking / Magenta */
	--pop-cyan: #00e5ff;		/* Azzurro cyber */
	
	--text-light: #ffffff;
	--text-dark: #0f0a1c;
	
	--font-display: 'Impact', 'Arial Black', sans-serif; 
	--font-body: 'Segoe UI', system-ui, sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg-arcade);
	color: var(--text-light);
	font-family: var(--font-body);
	overflow-x: hidden;
	position: relative;
}


.fun-blob {
	position: absolute;
	width: 500px;
	height: 500px;
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
	filter: blur(120px);
	z-index: -1;
	opacity: 0.15;
	pointer-events: none;
}
.blob-yellow { top: -100px; left: -100px; background: var(--pop-yellow); }
.blob-pink { top: 800px; right: -100px; background: var(--pop-pink); }

/* Asimmetria */
.arcade-layout {
	max-width: 1300px;
	margin: 0 auto;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 60px;
}

/* NAV */
.arcade-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #000;
	border: 3px solid var(--pop-cyan);
	padding: 15px 30px;
	transform: rotate(-1deg); 
	box-shadow: 6px 6px 0px var(--pop-pink); 
}

/* Logo */
.nav-logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	padding: 5px 0;
}

.nav-logo-img {
	height: 100px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(3px 3px 0px #000); 
	transition: transform 0.2s ease;
}

.nav-logo-link:hover .nav-logo-img {
	transform: scale(1.05) rotate(-1deg);
}


@media (max-width: 768px) {
	.nav-logo-img {
		height: 100px;
	}
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 25px;
}
.nav-menu a {
	color: var(--text-light);
	text-decoration: none;
	font-weight: 800;
	font-size:20px;
	letter-spacing: 1px;
	transition: 0.2s;
}
.nav-menu a:hover, .nav-menu a.active {
	color: var(--pop-cyan);
	background: rgba(0, 229, 255, 0.1);
	padding: 2px 8px;
	border-radius: 4px;
}

.hero-fun {
	background: var(--panel-dark);
	border: 4px solid var(--text-light);
	padding: 60px 40px;
	transform: rotate(1deg); 
	box-shadow: 10px 10px 0px var(--pop-yellow);
	max-width: 900px;
	margin-top: 20px;
}

.arcade-badge {
	background: var(--pop-pink);
	color: white;
	display: inline-block;
	padding: 4px 12px;
	font-weight: 900;
	font-size: 0.8rem;
	margin-bottom: 20px;
	transform: rotate(-2deg);
}

.hero-fun h1 {
	font-family: var(--font-display);
	font-size: 4rem;
	text-transform: uppercase;
	line-height: 1;
	margin-bottom: 20px;
}

.hero-fun p {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.8);
	max-width: 650px;
	margin-bottom: 35px;
}

.btn-fun {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 1.5rem;
	background: var(--pop-cyan);
	color: var(--text-dark);
	padding: 12px 35px;
	text-decoration: none;
	text-transform: uppercase;
	border: 3px solid #000;
	box-shadow: 5px 5px 0px var(--pop-pink);
	transition: 0.1s;
}
.btn-fun:hover {
	transform: translate(-2px, -2px);
	box-shadow: 7px 7px 0px var(--pop-pink);
}


.panel-about {
	max-width: 950px;
	margin-left: auto;
	background: var(--pop-pink);
	color: var(--text-light);
	padding: 45px;
	border: 3px solid #000;
	transform: rotate(-0.5deg);
	box-shadow: -8px 8px 0px #000;
}

.split-azienda {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
}

.about-text {
	flex: 1.3;
	min-width: 290px;
}

.panel-about h2 {
	font-family: var(--font-display);
	font-size: 2.5rem;
	text-transform: uppercase;
	margin-bottom: 15px;
}
.panel-about p {
	font-size: 1.1rem;
	line-height: 1.6;
}

/* CONTENITORE IMMAGINE AZIENDA */
.about-image-wrapper {
	flex: 1;
	min-width: 260px;
	border: 3px solid #000;
	background: #fff;
	padding: 10px;
	transform: rotate(3deg); /* Contrapposta alla pendenza del pannello */
	box-shadow: 6px 6px 0px #000;
	transition: transform 0.3s ease;
}
.about-image-wrapper:hover {
	transform: rotate(1deg) scale(1.03);
}
.about-img {
	width: 100%;
	height: auto;
	display: block;
}


.showcase-fun {
	margin-top: 20px;
}
.showcase-intro h2 {
	font-family: var(--font-display);
	font-size: 3rem;
	text-transform: uppercase;
	color: var(--pop-cyan);
	margin-bottom: 10px;
}
.showcase-intro p {
	color: rgba(255,255,255,0.7);
}

.cards-stack {
	display: flex;
	flex-direction: column;
	gap: 50px;
	margin-top: 40px;
}


.card-fun {
	border: 4px solid #000;
	padding: 40px;
	position: relative;
	color: var(--text-dark);
}
.card-yellow {
	background: var(--pop-yellow);
	box-shadow: 8px 8px 0px var(--pop-cyan);
	transform: rotate(0.5deg);
}
.card-pink {
	background: #ffffff;
	border-color: #000;
	box-shadow: 8px 8px 0px var(--pop-pink);
	transform: rotate(-0.5deg);
}

.card-sticker {
	position: absolute;
	top: -15px;
	right: 20px;
	background: #000;
	color: #fff;
	padding: 5px 15px;
	font-family: var(--font-display);
	font-size: 1.1rem;
	transform: rotate(3deg);
}


.split-card {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	align-items: flex-start;
}
.card-text-content {
	flex: 2;
	min-width: 300px;
}

.game-id {
	font-family: monospace;
	font-weight: bold;
	opacity: 0.6;
}
.card-fun h3 {
	font-family: var(--font-display);
	font-size: 2.8rem;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.card-fun .desc {
	font-size: 1.1rem;
	margin-bottom: 25px;
}


.bullet-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	background: rgba(0, 0, 0, 0.05);
	padding: 20px;
	border-radius: 8px;
}
.bullet {
	font-size: 0.95rem;
	line-height: 1.4;
}
.bullet strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.1rem;
	letter-spacing: 0.5px;
	margin-bottom: 2px;
}
.card-yellow .bullet strong { color: var(--pop-pink); }
.card-pink .bullet strong { color: var(--pop-pink); }


.card-product-image {
	flex: 1;
	min-width: 200px;
	display: flex;
	justify-content: center;
	align-self: center;
}
.card-product-image img {
	max-width: 100%;
	max-height: 380px;
	object-fit: contain;
	filter: drop-shadow(6px 6px 0px #000);
	transition: transform 0.3s;
}
.card-product-image:hover img {
	transform: scale(1.05);
}


.footer-fun {
	background: #000;
	border: 3px solid var(--pop-pink);
	padding: 50px 30px;
	text-align: center;
	box-shadow: 0px -10px 0px var(--pop-yellow);
}
.footer-box h3 {
	font-family: var(--font-display);
	font-size: 2.5rem;
	text-transform: uppercase;
	color: var(--pop-yellow);
	margin-bottom: 10px;
}
.footer-box p {
	color: rgba(255,255,255,0.7);
	margin-bottom: 30px;
}
/* SEZIONE SUB-FOOTER: DATI OBBLIGATORI & CREDITS */
.sub-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.company-data {
    text-align: center;
}

.company-data strong {
    color: #fff;
}

/* STILE PER LA TUA PUBBLICITÀ */
.web-credits {
    font-family: monospace;
    letter-spacing: 0.5px;
}

.web-credits a {
    color: var(--pop-cyan);
    text-decoration: none;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.web-credits a:hover {
    color: #000;
    background-color: var(--pop-cyan);
    box-shadow: 0 0 8px var(--pop-cyan);
}

/* Adattamento responsive per schermi mobile */
@media (max-width: 768px) {
    .sub-footer {
        font-size: 0.8rem;
    }
}

.insert-coin-zone {
	background: #111;
	border: 2px dashed var(--pop-cyan);
	padding: 30px;
	max-width: 550px;
	margin: 0 auto;
	position: relative;
}
.coin-slot { text-align: left; }
.coin-slot .label {
	display: inline-block;
	background: red;
	color: white;
	font-weight: 900;
	padding: 2px 8px;
	font-size: 0.75rem;
	margin-bottom: 15px;
	animation: flash 1s infinite alternate;
}

.contact-line {
	font-size: 1.2rem;
	color: #fff;
	margin-bottom: 8px;
}
.status-badge {
	position: absolute;
	bottom: -15px;
	right: 20px;
	background: var(--pop-cyan);
	color: #000;
	padding: 3px 10px;
	font-family: var(--font-display);
	font-size: 0.9rem;
}

.blink { animation: blinker 0.8s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }
@keyframes flash { 0% { opacity: 0.3; } 100% { opacity: 1; } }

@media (max-width: 768px) {
	.hero-fun h1 { font-size: 2.5rem; }
	.card-fun h3 { font-size: 2rem; }
	.arcade-nav { flex-direction: column; gap: 15px; }
	.nav-menu { gap: 15px; }
	.split-card, .split-azienda { flex-direction: column; align-items: stretch; }
	.card-product-image { margin-top: 20px; }
}


/* GAMES - Gallery */
.product-gallery {
	margin-top: 30px;
	padding-top: 25px;
	border-top: 3px dashed rgba(0, 0, 0, 0.15);
	width: 100%; /* Forziamo l'intera larghezza */
}

.gallery-title {
	font-family: var(--font-display);
	font-size: 1.2rem;
	letter-spacing: 1px;
	margin-bottom: 15px;
	color: var(--pop-pink);
	text-transform: uppercase;
}

.image-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr); 
	gap: 15px;
}

.gallery-item {
	background: #fff;
	border: 3px solid #000;
	padding: 6px;
	transform: rotate(calc(var(--item-rotation, 1) * 1.5deg));
	box-shadow: 4px 4px 0px #000;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:nth-child(even) { --item-rotation: -1; }
.gallery-item:nth-child(odd) { --item-rotation: 1; }

.gallery-item:hover {
	transform: scale(1.05) rotate(0deg);
	box-shadow: 6px 6px 0px var(--pop-cyan);
	z-index: 10;
}

.gallery-item img {
	width: 100%;
	height: 140px; /* Dimensione fissa e controllata della miniatura */
	object-fit: cover; /* Taglio perfetto senza distorsioni */
	display: block;
}


@media (max-width: 768px) {
	.image-gallery-grid {
		grid-template-columns: repeat(2, 1fr); 
		gap: 12px;
	}
	.gallery-item img {
		height: 120px;
	}
}


.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #0f172a; /* Il tuo blu notte profondo */
	color: #fff;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	z-index: 9999;
	box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
	font-size: 0.9rem;
	font-family: sans-serif;
	transform: translateY(100%);
	transition: transform 0.3s ease-in-out;
}
.cookie-banner.show {transform: translateY(0);}
.cookie-banner a {color: #FF6500; text-decoration: underline;}
.btn-cookie {
	background: #FF6500;
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	white-space: nowrap;
	transition: opacity 0.2s;
}
.btn-cookie:hover {opacity: 0.9;}

@media (max-width: 768px) {
	.cookie-banner {flex-direction: column;text-align: center;gap: 10px;}
}
