/* Reset e stili base */
:root {
  --primary-color: #0066cc;
  --secondary-color: #e63946;
  --accent-color: #ffaa00;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --text-color: #333333;
  --text-light: #666666;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Intestazione */
.plinko-header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.brand-logo img {
  height: 60px;
}

.main-navigation {
  display: flex;
  gap: 25px;
}

.main-navigation a {
  font-weight: 600;
  color: var(--text-color);
  transition: var(--transition);
  position: relative;
}

.main-navigation a:hover {
  color: var(--primary-color);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-navigation a:hover::after {
  width: 100%;
}

/* Menu mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-icon {
  width: 24px;
  height: 24px;
  color: var(--dark-color);
}

.mobile-navigation {
  display: none;
  flex-direction: column;
  background-color: white;
  padding: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-navigation a {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  color: var(--text-color);
}

.mobile-navigation a:hover {
  color: var(--primary-color);
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #004080);
  color: white;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.navigation-path {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.navigation-path ol {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
}

.navigation-path a {
  color: rgba(255, 255, 255, 0.8);
}

.navigation-path a:hover {
  color: white;
  text-decoration: underline;
}

.navigation-path li:not(:last-child)::after {
  content: '/';
  margin-left: 5px;
  color: rgba(255, 255, 255, 0.6);
}

.main-heading {
  font-size: 2.5rem;
  margin-bottom: 30px;
  line-height: 1.2;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.primary-btn {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.primary-btn:hover {
  background-color: #ff9900;
  transform: translateY(-2px);
}

.secondary-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Elementi animati */
.animation-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.anim-element {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

.anim-element-1 {
  top: 20%;
  left: 10%;
  width: 15px;
  height: 15px;
  animation-delay: 0s;
}

.anim-element-2 {
  top: 60%;
  left: 25%;
  width: 25px;
  height: 25px;
  animation-delay: 2s;
  animation-duration: 20s;
}

.anim-element-3 {
  top: 30%;
  right: 15%;
  width: 18px;
  height: 18px;
  animation-delay: 4s;
  animation-duration: 18s;
}

.anim-element-4 {
  top: 70%;
  right: 20%;
  width: 22px;
  height: 22px;
  animation-delay: 1s;
  animation-duration: 25s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}

/* Indice contenuti */
.content-index-wrapper {
  background-color: white;
  padding: 30px 0;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}

.content-index {
  max-width: 600px;
  margin: 0 auto;
  background-color: #f5f7fa;
  padding: 15px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
  font-size: 0.9rem;
}

.content-index h3 {
  margin-bottom: 12px;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.content-index ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  column-gap: 30px;
  position: relative;
}

.content-index ul::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: #ddd;
  transform: translateX(-50%);
}

.content-index li {
  padding: 3px 0;
}

.content-index a {
  color: var(--text-color);
  transition: var(--transition);
  display: block;
  padding: 3px 8px;
  border-radius: 4px;
}

.content-index a:hover {
  color: var(--primary-color);
  background-color: rgba(0, 102, 204, 0.1);
}

/* Main Content */
.main-content {
  padding: 40px 20px;
}

.main-content h2 {
  color: var(--primary-color);
  margin: 0 0 15px 0;
  font-size: 1.8rem;
  padding-top: 15px;
}

.main-content h3 {
  color: var(--dark-color);
  margin: 15px 0 10px 0;
  font-size: 1.4rem;
}

.main-content h4 {
  color: var(--text-color);
  margin: 12px 0 8px 0;
  font-size: 1.1rem;
}

.main-content p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.content-table {
  margin: 25px 0;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.content-table table {
  width: 100%;
  border-collapse: collapse;
}

.content-table th,
.content-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.content-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.content-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.content-table tr:hover {
  background-color: #f1f1f1;
}

.main-content ul {
	list-style: disc;
	margin: 0 24px 20px;
}
.main-content ol {
	list-style: decimal;
	margin: 0 24px 20px;
}

	/* Blocco autore */
.author-block {
  padding: 40px 0;
  background-color: white;
}

.author-container {
  display: flex;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.author-image {
  flex: 0 0 150px;
}

.author-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.author-details {
  flex: 1;
}

.author-name {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.author-profession {
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 15px;
}

.author-description {
  margin-bottom: 15px;
}

/* Sezione recensioni - новый уникальный стиль */
.reviews-section {
  padding: 50px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf2 100%);
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-size: 2rem;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.review-card {
  background-color: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--primary-color);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 60px;
  color: rgba(0, 102, 204, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.rating-stars {
  color: var(--accent-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-title {
  margin-bottom: 10px;
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding-left: 20px;
}

.review-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background-color: var(--primary-color);
}

.review-content {
  color: var(--text-light);
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* Sezione FAQ */
.faq-section {
  padding: 50px 0;
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: #0055aa;
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
}

.faq-question.active::after {
  content: '-';
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #f9f9f9;
}

.faq-answer p {
  padding: 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Footer */
.main-footer {
  background-color: #f8f9fa;
  color: var(--text-color);
  padding: 50px 0 20px;
  border-top: 1px solid #eee;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.footer-logos img {
  height: 40px;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-logos img:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-color);
}

.footer-info p {
  color: var(--text-light);
}

.footer-info a {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-note {
  margin-top: 15px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.copyright {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Popup */
.info-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transform: translateY(150%);
  transition: transform 0.5s ease;
  max-width: 550px;
}

.info-popup.show {
  transform: translateY(0);
}

.popup-content {
  display: flex;
  padding: 15px;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-light);
}

.popup-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 15px;
}

.popup-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.popup-rating {
  text-align: center;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.rating-stars img {
  width: 16px;
  height: 16px;
}

.popup-text {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  margin-right: 10px;
}

.popup-action {
  display: flex;
  align-items: center;
}

.popup-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
}

.popup-btn:hover {
  background-color: #0055aa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

/* Медиазапросы */
@media (max-width: 992px) {
  .header-content {
    padding: 15px 20px;
  }
  
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }
  
  .mobile-navigation.active {
    display: flex;
  }
  
  .hero-banner {
    padding: 100px 20px 60px;
  }
  
  .main-heading {
    font-size: 2rem;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .content-index {
    padding: 15px;
    font-size: 0.9rem;
    margin-left: 10px;
  }
  
  .content-index ul {
    grid-template-columns: 1fr;
  }
  
  .content-index ul::after {
    display: none;
  }
  
  .author-container {
    flex-direction: column;
    padding: 20px;
  }
  
  .author-image {
    margin: 0 auto 20px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-question {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .main-content {
    padding: 0 20px;
  }
  
  .content-table {
    overflow-x: auto;
  }
}

@media (max-width: 576px) {
  .brand-logo img {
    height: 30px;
  }
  
  .hero-banner {
    padding: 80px 15px 40px;
  }
  
  .main-heading {
    font-size: 1.8rem;
  }
  
  .content-index {
    font-size: 0.8rem;
  }
  
  .info-popup {
    max-width: calc(100% - 30px);
    right: 15px;
  }
  
  .popup-content {
    flex-direction: column;
    text-align: center;
  }
  
  .popup-left {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .popup-text {
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }
}



.form__label {
	width: 100%;
	max-width: 560px;
	margin-bottom: 12px;
}
.form__label input:not([type="checkbox"]),
.form__label textarea {
	display: block;
	width: 100%;
	height: 48px;
	border: 1px solid #ccc;
	padding-left: 12px;
	padding-right: 8px;
	border-radius: 4px;
}
.form__label textarea {
	height: 88px;
	padding-top: 10px;
	resize: none;
}

.form__submit {

}
.form__submit input {

}
.form__submit input:hover {

}