body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #0b0c10;
    color: #ffffff;
}

.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #0b0c10;
    border-bottom: 2px solid #1f4068;
    z-index: 1000;
    padding: 15px 0;
}

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

}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1f8ef1;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #1f8ef1;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #1f8ef1;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger span {
    height: 3px;
    width: 25px;
    background-color: #1f8ef1;
    border-radius: 2px;
}

/* Адаптив */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #0b0c10;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        display: none;
        border: 1px solid #1f4068;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        display: flex;
    }

    .burger {
        display: flex;
    }
}

.hero-section {
    position: relative;
    background: url('../img/hero.webp') no-repeat center center/cover;
    padding: 180px 0 120px;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000a3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-card img {
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #ffffff;
}

.hero-text .blue {
    color: #1f8ef1;
}

.hero-text p {
    font-size: 20px;
    line-height: 1.8;
    color: #dddddd;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 18px;
    }
}

.google-icon img {
    width: 200px;
}

.about-section {
    padding: 120px 0;
    background-color: #0b0c10;
    color: #ffffff;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 500px;
}

.about-text h2 {
    font-size: 36px;
    color: #1f8ef1;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #dddddd;
    margin-bottom: 20px;
}

.about-subtitle {
    margin-top: 20px;
    font-style: italic;
    color: #aaaaaa;
    font-size: 16px;
}

.about-image {
    flex: 1 1 400px;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Адаптив */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .about-subtitle {
        font-size: 14px;
    }
}

.features-section {
    padding: 100px 0;
    background-color: #0b0c10;
    color: #ffffff;
    text-align: center;
}

.features-title {
    font-size: 36px;
    color: #1f8ef1;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-box {
    background-color: #101218;
    border: 1px solid #1f4068;
    padding: 30px 25px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-box i {
    color: #1f8ef1;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.why-section {
    padding: 100px 0;
    background-color: #0b0c10;
    color: #ffffff;
}

.why-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
    justify-content: space-between;
}

.why-text {
    flex: 1 1 580px;
}

.why-text h2 {
    font-size: 36px;
    color: #1f8ef1;
    margin-bottom: 25px;
}

.why-text p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #dddddd;
}

.why-text ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.why-text ul li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #bbbbbb;
    line-height: 1.6;
    list-style-type: disc;
}

.why-text em {
    color: #aaaaaa;
    font-style: italic;
}

.why-images {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

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

    .why-text ul {
        text-align: left;
        padding-left: 0;
    }

    .why-images {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .why-images img {
        width: 100%;
    }
}

.contact-section {
    padding: 100px 0;
    background-color: #0b0c10;
    color: #ffffff;
}

.contact-heading {
    text-align: center;
    margin-bottom: 50px;
}

.contact-heading h2 {
    font-size: 36px;
    color: #1f8ef1;
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 16px;
    color: #aaaaaa;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-info {
    flex: 1 1 350px;
    font-size: 16px;
    line-height: 1.8;
}

.contact-info a {
    color: #1f8ef1;
    text-decoration: none;
}

.contact-form {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    background-color: #101218;
    color: #ffffff;
    font-size: 16px;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #1f8ef1;
}

.contact-form button {
    padding: 12px;
    background-color: #1f8ef1;
    color: #ffffff;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #186fc0;
}

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

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

.site-footer {
    background-color: #0a0c12;
    color: #bbbbbb;
    padding-top: 60px;
    font-size: 15px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #1f4068;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #1f8ef1;
}

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

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

.footer-nav a:hover {
    color: #1f8ef1;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: #777777;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

.privacy-section {
    background-color: #0b0c10;
    color: #ffffff;
    padding: 100px 0;
}

.privacy-title {
    font-size: 36px;
    text-align: center;
    color: #1f8ef1;
    margin-bottom: 10px;
}

.privacy-subtitle {
    text-align: center;
    color: #aaaaaa;
    margin-bottom: 40px;
    font-size: 16px;
}

.privacy-block {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #dddddd;
}

.privacy-block h3 {
    margin-top: 40px;
    color: #1f8ef1;
    font-size: 20px;
}

.privacy-block ul {
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.privacy-block ul li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.privacy-footer {
    margin-top: 40px;
    font-size: 15px;
    color: #aaaaaa;
}

.privacy-footer a {
    color: #1f8ef1;
    text-decoration: none;
}

.thankyou-section {
    padding: 120px 0;
    background-color: #0b0c10;
    color: #ffffff;
    text-align: center;
}

.thankyou-content h2 {
    font-size: 40px;
    color: #1f8ef1;
    margin-bottom: 20px;
}

.thankyou-content p {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 40px;
}

.thankyou-btn {
    display: inline-block;
    background-color: #1f8ef1;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.thankyou-btn:hover {
    background-color: #186fc0;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0b0c10;
    color: #ffffff;
    padding: 20px;
    border-top: 2px solid #1f8ef1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-size: 15px;
}

.cookie-banner a {
    color: #1f8ef1;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cookie-buttons button {
    background-color: #1f8ef1;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-buttons button:hover {
    background-color: #186fc0;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

.play-game {
    background-color: #1f8ef1; 
    color: #fff; 
    padding: 12px 30px; 
    font-size: 18px; 
    font-weight: bold; 
    border-radius: 6px; 
    text-align: center;
    text-decoration: none; 
    display: inline-block; 
    transition: background-color 0.3s ease, transform 0.3s ease; 
}

.play-game:hover {
    background-color: #1a7bd0; 
    transform: scale(1.05); 
}

.play-game:active {
    background-color: #1881dd; 
    transform: scale(0.98); 
}

.play-game:focus {
    outline: none; 
}