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

 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     background-color: #fafafa;
     color: #222;
 }

 a {
     text-decoration: none;
 }

 .header {
     position: fixed;
     top: 0;
     width: 100%;
     background-color: #ffffff;
     box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
     z-index: 1000;
 }

 .containerr {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
     display: flex;
     align-items: center;
     height: 60px;
     justify-content: space-between;
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;

 }

 .logo a {
     font-weight: 700;
     font-size: 1.5rem;
     color: #0073e6;
     cursor: default;
     user-select: none;
 }

 .nav {
     display: flex;
     gap: 25px;
 }

 .nav-link {
     text-decoration: none;
     color: #555555;
     font-weight: 500;
     transition: color 0.3s ease;
 }

 .nav-link:hover,
 .nav-link:focus {
     color: #0073e6;
 }

 .menu-toggle {
     display: none;
     font-size: 1.8rem;
     background: none;
     border: none;
     cursor: pointer;
     color: #0073e6;
 }

 @media (max-width: 768px) {
     .nav {
         position: fixed;
         top: 60px;
         right: 0;
         background-color: #ffffff;
         flex-direction: column;
         width: 200px;
         box-shadow: -2px 0 8px rgb(0 0 0 / 0.1);
         transform: translateX(100%);
         transition: transform 0.3s ease;
         height: calc(100vh - 60px);
         padding-top: 20px;
     }

     .nav.active {
         transform: translateX(0);
     }

     .nav-link {
         padding: 12px 20px;
         font-size: 1.1rem;
     }

     .menu-toggle {
         display: block;
     }
 }

 .hero-section {
     background-image: url('../img/hero.jpg');
     background-size: cover;
     background-position: center;
     padding: 80px 20px;
     color: #f0f0f0;
     text-align: center;
     position: relative;
     min-height: 500px;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .hero-content {
     background: rgba(0, 0, 0, 0.8);
     padding: 30px;
     border-radius: 12px;
     max-width: 900px;
     width: 100%;
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
 }

 .hero-image {
     max-width: 100%;
     height: auto;
     border-radius: 10px;
     margin-bottom: 25px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
 }

 .hero-text h1 {
     font-size: 2.5rem;
     margin-bottom: 20px;
     font-weight: 700;
     line-height: 1.2;
 }

 .hero-text p {
     font-size: 1.15rem;
     line-height: 1.6;
     max-width: 700px;
     margin-left: auto;
     margin-right: auto;
 }

 .btn-play {
     display: inline-block;
     margin-top: 25px;
     padding: 14px 40px;
     background-color: #0073e6;
     color: #fff;
     font-weight: 600;
     font-size: 1.15rem;
     border-radius: 40px;
     text-decoration: none;
     box-shadow: 0 5px 15px rgba(0, 115, 230, 0.4);
     transition: background-color 0.3s ease, box-shadow 0.3s ease;
     cursor: pointer;
 }

 .btn-play:hover,
 .btn-play:focus {
     background-color: #005bb5;
     box-shadow: 0 8px 20px rgba(0, 91, 181, 0.6);
     outline: none;
 }

 .about-game-section {
     background: linear-gradient(135deg, #eaf3ff 0%, #ffffff 100%);
     padding: 80px 20px;
     color: #1a1a1a;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 .about-game-container {
     display: flex;
     gap: 50px;
     align-items: flex-start;
     flex-wrap: wrap;
     justify-content: center;
 }

 .about-game-image {
     flex: 1 1 400px;
     max-width: 450px;
     display: flex;
     flex-direction: column;
     gap: 20px;
     box-shadow: 0 20px 40px rgba(0, 115, 230, 0.15);
     border-radius: 18px;
     overflow: hidden;
     background: white;
     padding: 15px;
     box-sizing: border-box;
 }

 .about-game-image img {
     width: 100%;
     height: auto;
     border-radius: 12px;
     object-fit: cover;
     filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.1));
     transition: transform 0.4s ease;
 }

 .about-game-image img:hover {
     transform: scale(1.05);
 }

 .btn-play {
     align-self: center;
     display: inline-block;
     padding: 14px 40px;
     background-color: #0073e6;
     color: #fff;
     font-weight: 600;
     font-size: 1.15rem;
     border-radius: 40px;
     text-decoration: none;
     box-shadow: 0 5px 15px rgba(0, 115, 230, 0.4);
     transition: background-color 0.3s ease, box-shadow 0.3s ease;
     cursor: pointer;
     margin-top: 10px;
     user-select: none;
 }

 .btn-play:hover,
 .btn-play:focus {
     background-color: #005bb5;
     box-shadow: 0 8px 20px rgba(0, 91, 181, 0.6);
     outline: none;
 }

 .about-game-text {
     flex: 1 1 450px;
     max-width: 550px;
 }

 .about-game-text h2 {
     font-size: 2.8rem;
     font-weight: 800;
     margin-bottom: 12px;
     color: #005bb5;
     letter-spacing: 0.03em;
 }

 .about-game-text h3 {
     font-size: 1.5rem;
     font-weight: 600;
     margin-bottom: 28px;
     color: #0d2c54;
     font-style: italic;
 }

 .about-game-text p {
     font-size: 1.15rem;
     line-height: 1.75;
     margin-bottom: 24px;
     color: #333;
     text-align: justify;
 }

 .subtitle {
     font-weight: 600;
     font-size: 1.1rem;
     color: #004a99;
     background-color: #d9eefe;
     padding: 18px 25px;
     border-radius: 12px;
     max-width: 520px;
     user-select: none;
     box-shadow: inset 0 0 10px rgba(0, 75, 153, 0.15);
     transition: background-color 0.3s ease;
 }

 .subtitle:hover {
     background-color: #c0d8ff;
 }

 /* --- Блок why-choose --- */
 .why-choose-section {
     background-color: #ffffff;
     padding: 80px 20px;
     color: #222;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 .why-choose-container {
     display: flex;
     gap: 60px;
     align-items: center;
     flex-wrap: wrap;
     justify-content: center;
 }

 .why-choose-text {
     flex: 1 1 500px;
     max-width: 600px;
 }

 .why-choose-text h2 {
     font-size: 2.8rem;
     font-weight: 800;
     margin-bottom: 12px;
     color: #004a99;
     letter-spacing: 0.03em;
 }

 .why-choose-text h3 {
     font-size: 1.5rem;
     font-weight: 600;
     margin-bottom: 28px;
     color: #0073e6;
     font-style: italic;
 }

 .why-choose-text p {
     font-size: 1.15rem;
     line-height: 1.7;
     margin-bottom: 20px;
     color: #333;
     text-align: justify;
 }

 .why-choose-text ul {
     list-style: none;
     margin-bottom: 28px;
     padding-left: 0;
 }

 .why-choose-text ul li {
     font-size: 1.1rem;
     margin-bottom: 12px;
     padding-left: 28px;
     position: relative;
     color: #005bb5;
 }

 .why-choose-text ul li::before {
     content: "🔹";
     position: absolute;
     left: 0;
     top: 0;
     font-size: 1.2rem;
 }

 .why-choose-image {
     flex: 1 1 400px;
     max-width: 420px;
     box-shadow: 0 18px 40px rgba(0, 115, 230, 0.15);
     border-radius: 18px;
     overflow: hidden;
     background: white;
     padding: 15px;
     box-sizing: border-box;
     transition: transform 0.4s ease;
 }

 .why-choose-image img {
     width: 100%;
     height: auto;
     display: block;
     border-radius: 18px;
     object-fit: cover;
     filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.1));
 }

 .why-choose-image:hover {
     transform: scale(1.04);
     box-shadow: 0 28px 60px rgba(0, 91, 181, 0.25);
 }

 @media (max-width: 900px) {

     .about-game-container,
     .why-choose-container {
         flex-direction: column;
         text-align: center;
     }

     .about-game-image,
     .about-game-text,
     .why-choose-image,
     .why-choose-text {
         max-width: 100%;
         flex: 1 1 100%;
     }

     .btn-play {
         margin: 20px auto 0;
     }

     .subtitle {
         max-width: 100%;
         margin-left: auto;
         margin-right: auto;
     }
 }

 .features-section {
     background-color: #f0f6ff;
     padding: 80px 20px;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     color: #1a1a1a;
     text-align: center;
 }

 .features-container {
     max-width: 1100px;
     margin: 0 auto;
 }

 .features-section h2 {
     font-size: 2.8rem;
     font-weight: 800;
     margin-bottom: 60px;
     color: #005bb5;
     letter-spacing: 0.03em;
 }

 .features-list {
     list-style: none;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
     gap: 40px 60px;
     padding: 0;
     margin: 0;
     text-align: left;
 }

 .features-list li {
     display: flex;
     gap: 20px;
     align-items: flex-start;
 }

 .features-list i {
     font-size: 2.8rem;
     color: #0073e6;
     flex-shrink: 0;
     margin-top: 6px;
 }

 .feature-text h3 {
     font-size: 1.3rem;
     font-weight: 700;
     margin-bottom: 12px;
     color: #003d99;
 }

 .feature-text p {
     font-size: 1.05rem;
     line-height: 1.6;
     color: #333;
     margin: 0;
 }

 @media (max-width: 480px) {
     .features-list {
         grid-template-columns: 1fr;
         gap: 30px;
     }

     .features-list li {
         flex-direction: row;
     }

     .features-list i {
         font-size: 2.4rem;
     }
 }

 .contact-section {
     background-color: #f9fbff;
     padding: 80px 20px;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     color: #1a1a1a;
 }

 .contact-container {
     max-width: 900px;
     margin: 0 auto;
 }

 .contact-section h2 {
     font-size: 2.5rem;
     font-weight: 700;
     color: #005bb5;
     margin-bottom: 50px;
     text-align: center;
 }

 .contact-content {
     display: flex;
     gap: 60px;
     flex-wrap: wrap;
     justify-content: center;
 }

 .contact-info {
     flex: 1 1 300px;
     max-width: 350px;
     background-color: #ffffff;
     padding: 30px 25px;
     border-radius: 16px;
     box-shadow: 0 8px 25px rgba(0, 91, 181, 0.1);
     color: #222;
     line-height: 1.6;
     user-select: none;
 }

 .contact-info p {
     margin-bottom: 18px;
     font-size: 1.05rem;
 }

 .contact-info a {
     color: #0073e6;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .contact-info a:hover,
 .contact-info a:focus {
     color: #004a99;
     outline: none;
 }

 .contact-form {
     flex: 1 1 450px;
     max-width: 500px;
     background-color: #ffffff;
     padding: 30px 25px;
     border-radius: 16px;
     box-shadow: 0 8px 25px rgba(0, 91, 181, 0.1);
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .contact-form label {
     font-weight: 600;
     font-size: 1rem;
     color: #005bb5;
 }

 .contact-form input,
 .contact-form textarea {
     padding: 12px 15px;
     border: 2px solid #ccc;
     border-radius: 10px;
     font-size: 1rem;
     resize: vertical;
     transition: border-color 0.3s ease;
 }

 .contact-form input:focus,
 .contact-form textarea:focus {
     border-color: #0073e6;
     outline: none;
 }

 .contact-form button {
     padding: 15px;
     background-color: #0073e6;
     color: white;
     font-weight: 700;
     font-size: 1.15rem;
     border: none;
     border-radius: 50px;
     cursor: pointer;
     box-shadow: 0 6px 18px rgba(0, 115, 230, 0.5);
     transition: background-color 0.3s ease, box-shadow 0.3s ease;
 }

 .contact-form button:hover,
 .contact-form button:focus {
     background-color: #005bb5;
     box-shadow: 0 8px 25px rgba(0, 91, 181, 0.7);
     outline: none;
 }

 /* Адаптивність */
 @media (max-width: 720px) {
     .contact-content {
         flex-direction: column;
     }

     .contact-info,
     .contact-form {
         max-width: 100%;
     }
 }

 .footer {
     background-color: #f0f6ff;
     padding: 25px 20px;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     color: #555;
     font-size: 0.95rem;
     border-top: 1px solid #d0dffb;
 }

 .footer-container {
     max-width: 1100px;
     margin: 0 auto;
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
     align-items: center;
     gap: 10px;
 }

 .footer-nav {
     display: flex;
     gap: 25px;
     flex-wrap: wrap;
 }

 .footer-nav a {
     color: #0073e6;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .footer-nav a:hover,
 .footer-nav a:focus {
     color: #004a99;
     outline: none;
 }

 /* Адаптивність */
 @media (max-width: 480px) {
     .footer-container {
         flex-direction: column;
         text-align: center;
         gap: 15px;
     }

     .footer-nav {
         justify-content: center;
     }
 }

 .privacy-section {
     background-color: #f9fbff;
     padding: 60px 20px;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     color: #1a1a1a;
     max-width: 900px;
     margin: 0 auto 80px auto;
     line-height: 1.65;
 }

 .privacy-container h2 {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 30px;
     color: #005bb5;
     text-align: center;
 }

 .privacy-container h3 {
     font-size: 1.5rem;
     font-weight: 600;
     margin-top: 40px;
     margin-bottom: 18px;
     color: #003d99;
     border-bottom: 2px solid #d0dffb;
     padding-bottom: 6px;
 }

 .privacy-container p {
     font-size: 1.05rem;
     margin-bottom: 20px;
     color: #333;
 }

 .privacy-container ul {
     margin-left: 20px;
     margin-bottom: 20px;
     padding-left: 20px;
     list-style-type: disc;
     color: #333;
     font-size: 1.05rem;
 }

 .privacy-container a {
     color: #0073e6;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .privacy-container a:hover,
 .privacy-container a:focus {
     color: #004a99;
     outline: none;
 }

 /* Адаптивність */
 @media (max-width: 600px) {
     .privacy-section {
         padding: 40px 15px;
     }

     .privacy-container h2 {
         font-size: 2rem;
     }

     .privacy-container h3 {
         font-size: 1.3rem;
     }

     .privacy-container p,
     .privacy-container ul {
         font-size: 1rem;
     }
 }

 .thank-you-section {
     background-color: #e3f0ff;
     padding: 60px 20px;
     text-align: center;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     color: #004a99;
 }

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

 .thank-you-section h2 {
     font-size: 2.8rem;
     font-weight: 700;
     margin-bottom: 20px;
 }

 .thank-you-section p {
     font-size: 1.2rem;
     line-height: 1.6;
     color: #003366;
 }

 .cookie-banner {
     position: fixed;
     bottom: 20px;
     left: 20px;
     right: 20px;
     background-color: #0073e6;
     color: white;
     padding: 18px 25px;
     border-radius: 10px;
     box-shadow: 0 8px 20px rgba(0, 115, 230, 0.7);
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 15px;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     z-index: 10000;
 }

 .cookie-banner p {
     margin: 0;
     font-size: 1rem;
 }

 .cookie-banner button {
     background-color: #ff4b4b;
     border: none;
     color: white;
     padding: 10px 18px;
     border-radius: 50px;
     font-weight: 600;
     cursor: pointer;
     transition: background-color 0.3s ease;
 }

 .cookie-banner button:hover {
     background-color: #e03f3f;
 }