/* Global Styles */
:root {
    --primary-color: #6A3DE8;
    --secondary-color: #FF5757;
    --accent-color: #FFC107;
    --text-color: #333333;
    --bg-color: #FFFFFF;
    --light-bg: #F8F9FA;
    --dark-bg: #212529;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    background-color: #5831c4;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

section {
    padding: 80px 0;
}

/* Header and Navigation */
.main_menu {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand img {
    height: 40px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    position: relative;
    transition: var(--transition);
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    top: 8px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(106, 61, 232, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6a3de8 0%, #ff5757 100%);
    color: white;
    padding: 100px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: perspective(800px) rotateY(-5deg);
}

/* Features Section */
.features {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(106, 61, 232, 0.1);
}

.feature-icon.color-mix {
    background: linear-gradient(135deg, #FF5757, #FFC107, #6A3DE8);
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Game Description Section */
.game-description .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.description-content {
    flex: 1;
}

.description-content p {
    margin-bottom: 15px;
}

.description-image {
    flex: 1;
    position: relative;
}

.description-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.description-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    top: 20px;
    left: 20px;
    z-index: 0;
}

/* Download Section */
.download {
    background: linear-gradient(to right, #ff5757, #ff8c42);
    color: white;
    text-align: center;
}

.download .section-title {
    color: white;
}

.download .section-title::after {
    background: white;
}

.download p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.download-btn {
    padding: 15px 30px;
    border-radius: var(--border-radius);
    background-color: white;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.download-btn::before {
    content: '';
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.download-btn.android::before {
    background-image: url('../img/android.png');
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    color: var(--primary-color);
    text-align: right;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(106, 61, 232, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
}

.contact-icon::before {
    content: '';
    width: 30px;
    height: 30px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo img {
    height: 40px;
}

.footer-links h3 {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookies-notice a {
    color: rgba(255, 255, 255, 0.8);
}

.cookies-notice a:hover {
    color: white;
}

/* Mobile Navigation Responsive Design */
@media screen and (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 15px;
        z-index: 2;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        transition: var(--transition);
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-link {
        font-size: 18px;
        padding: 10px 20px;
        display: block;
        text-align: center;
    }

    .nav-toggle:checked ~ .nav-wrapper {
        left: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }
}

/* General Responsive Design */
@media screen and (max-width: 992px) {
    .hero .container,
    .game-description .container {
        flex-direction: column;
    }

    .hero-image {
        margin-top: 40px;
    }

    .description-image {
        margin-top: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 20px;
    }

    section {
        padding: 60px 0;
    }
}


/* Global Styles */
:root {
    --primary-color: #6A3DE8;
    --secondary-color: #FF5757;
    --accent-color: #FFC107;
    --text-color: #333333;
    --bg-color: #FFFFFF;
    --light-bg: #F8F9FA;
    --dark-bg: #212529;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    background-color: #5831c4;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

section {
    padding: 80px 0;
}

/* Header and Navigation */
.main_menu {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand img {
    height: 40px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: #000;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #000;
    transition: all 0.3s ease;
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    top: 8px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(106, 61, 232, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6a3de8 0%, #ff5757 100%);
    color: white;
    padding: 100px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: perspective(800px) rotateY(-5deg);
}

/* Features Section */
.features {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(106, 61, 232, 0.1);
}

.feature-icon.color-mix {
    background: linear-gradient(135deg, #FF5757, #FFC107, #6A3DE8);
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Game Description Section */
.game-description .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.description-content {
    flex: 1;
}

.description-content p {
    margin-bottom: 15px;
}

.description-image {
    flex: 1;
    position: relative;
}

.description-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.description-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    top: 20px;
    left: 20px;
    z-index: 0;
}

/* Download Section */
.download {
    background: linear-gradient(to right, #ff5757, #ff8c42);
    color: white;
    text-align: center;
}

.download .section-title {
    color: white;
}

.download .section-title::after {
    background: white;
}

.download p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.download-btn {
    padding: 15px 30px;
    border-radius: var(--border-radius);
    background-color: white;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.download-btn::before {
    content: '';
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.download-btn.android::before {
    background-image: url('../img/android.png');
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    color: var(--primary-color);
    text-align: right;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(106, 61, 232, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
}

.contact-icon::before {
    content: '';
    width: 30px;
    height: 30px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo img {
    height: 40px;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookies-notice a {
    color: rgba(255, 255, 255, 0.8);
}

.cookies-notice a:hover {
    color: white;
}

/* Mobile Navigation Responsive Design */
@media screen and (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 15px;
        z-index: 2;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        transition: all 0.3s ease;
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }

    .nav-link {
        display: inline-block;
        padding: 10px 20px;
        font-size: 18px;
        color: #000;
    }

    .nav-toggle:checked ~ .nav-wrapper {
        left: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }
}

@media screen and (min-width: 769px) {
    .nav-wrapper {
        display: block;
    }

    .navbar-nav {
        display: flex;
        gap: 30px;
    }
}

/* General Responsive Design */
@media screen and (max-width: 992px) {
    .hero .container,
    .game-description .container {
        flex-direction: column;
    }

    .hero-image {
        margin-top: 40px;
    }

    .description-image {
        margin-top: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 20px;
    }

    section {
        padding: 60px 0;
    }
}

/* Дополнительные переменные */
:root {
    --gradient-primary: linear-gradient(135deg, #6A3DE8 0%, #FF5757 100%);
    --hover-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --card-shadow-hover: 0 10px 20px rgba(106, 61, 232, 0.2);
}

/* Улучшенные глобальные стили */
body {
    background-color: #fafafa;
    overflow-x: hidden;
}

.section-title {
    overflow: hidden;
    font-weight: 700;
    margin-bottom: 3rem;
}

.section-title::after {
    transition: var(--hover-transition);
}

/* Улучшения для хедера */
.main_menu {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main_menu.scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.navbar-brand {
    position: relative;
    overflow: hidden;
}

.navbar-brand span {
    position: relative;
    transition: var(--hover-transition);
}

.navbar-brand span::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--hover-transition);
}

.navbar-brand:hover span::after {
    width: 100%;
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Улучшенный герой-раздел */
.hero {
    position: relative;
    overflow: hidden;
}

@keyframes backgroundMove {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.hero-content h1 {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.hero-content p {
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--hover-transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.hero-image img {
    transition: var(--hover-transition);
}

.hero-image:hover img {
    transform: perspective(800px) rotateY(-8deg) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Улучшенные карточки функций */
.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: var(--hover-transition);
    border: 1px solid rgba(106, 61, 232, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: translateY(-4px);
    transition: var(--hover-transition);
}

.feature-card:hover::before {
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--card-shadow-hover);
}

.feature-icon {
    transition: var(--hover-transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Улучшенный раздел описания игры */
.game-description {
    position: relative;
    overflow: hidden;
}

.description-content p {
    position: relative;
    padding-left: 20px;
}

.description-content p::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.description-image img {
    transition: var(--hover-transition);
}

.description-image:hover img {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.description-image::before {
    transition: var(--hover-transition);
}

.description-image:hover::before {
    transform: translate(5px, 5px);
}

/* Улучшенные кнопки скачивания */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-btn {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 15px 30px;
    transition: var(--hover-transition);
    z-index: 1;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: var(--hover-transition);
}

.download-btn:hover {
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(255, 87, 87, 0.3);
}

.download-btn:hover::after {
    opacity: 1;
}

/* Улучшенные отзывы */
.testimonial-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: var(--hover-transition);
    border: 1px solid rgba(106, 61, 232, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(50%, 50%);
    transition: var(--hover-transition);
}

.testimonial-card:hover::before {
    transform: translate(30%, 30%) scale(1.5);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.stars {
    display: inline-block;
    position: relative;
    transition: var(--hover-transition);
}

.testimonial-card:hover .stars {
    transform: scale(1.1);
}

/* Улучшенный контактный раздел */
.contact-icon {
    position: relative;
    overflow: hidden;
    transition: var(--hover-transition);
}

.contact-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--hover-transition);
    z-index: -1;
}

.contact-item:hover .contact-icon {
    transform: translateY(-5px);
}

.contact-item:hover .contact-icon::after {
    opacity: 0.1;
}

/* Улучшенный футер */
.footer-logo {
    position: relative;
}

.footer-logo img {
    transition: var(--hover-transition);
}

.footer-logo:hover img {
    transform: rotate(10deg);
}

.footer-links li {
    position: relative;
    transition: var(--hover-transition);
}

.footer-links a {
    position: relative;
    display: inline-block;
    padding: 3px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: var(--hover-transition);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links li:hover {
    transform: translateX(5px);
}

/* Страница About - дополнительные стили */
.about-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes floatBackground {
    0% {
        background-position: 0px 0px;
    }
    100% {
        background-position: 500px 500px;
    }
}

.about-subtitle {
    font-size: 1.2rem;
    margin-top: -1rem;
    opacity: 0.9;
}

.our-story {
    padding: 100px 0;
}

.our-story .container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.story-content {
    flex: 1;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
}

.story-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-image {
    flex: 1;
    position: relative;
}

.story-image img {
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--hover-transition);
}

.story-image:hover img {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.our-mission {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.mission-item {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--hover-transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(106, 61, 232, 0.1);
}

.mission-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--hover-transition);
}

.mission-item:hover::before {
    height: 100%;
}

.mission-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.mission-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-left: 15px;
}

.mission-item p {
    padding-left: 15px;
}

.game-features {
    padding: 100px 0;
}

.features-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-box {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--hover-transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(106, 61, 232, 0.1);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    transition: var(--hover-transition);
}

.feature-box:hover::before {
    transform: scale(2);
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--card-shadow-hover);
}

.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.team-member {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--hover-transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.member-photo {
    height: 220px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--hover-transition);
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.team-member h3 {
    margin: 20px 0 5px;
    color: var(--primary-color);
}

.team-member p {
    color: #777;
    margin-bottom: 20px;
}

/* Интерактивная анимация для страниц */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title, .feature-card, .testimonial-card,
.mission-item, .feature-box, .team-member {
    animation: fadeInUp 0.6s ease forwards;
}

/* Адаптивность для страницы About */
@media screen and (max-width: 992px) {
    .our-story .container {
        flex-direction: column;
    }

    .story-image {
        margin-top: 40px;
    }
}

@media screen and (max-width: 768px) {
    .story-content h2 {
        font-size: 2rem;
    }

    .mission-content,
    .features-content,
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}

/* Color Challenge CTA Section */
.color-challenge {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9edf5 100%);
    position: relative;
    overflow: hidden;
}

.color-challenge::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #6A3DE8 0%, #FF5757 100%);
    border-radius: 50%;
    opacity: 0.1;
    transform: translate(50%, -50%);
}

.challenge-wrapper {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
}

.color-palette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    display: flex;
}

.color-dot {
    flex: 1;
    height: 100%;
}

.dot-1 {
    background-color: #FF5757;
}

.dot-2 {
    background-color: #FFC107;
}

.dot-3 {
    background-color: #4CAF50;
}

.dot-4 {
    background-color: #2196F3;
}

.dot-5 {
    background-color: #6A3DE8;
}

.challenge-content {
    padding: 50px;
    flex: 1;
}

.challenge-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.challenge-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40%;
    height: 4px;
    background: linear-gradient(to right, #FF5757, #6A3DE8);
    border-radius: 2px;
}

.challenge-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.7;
    max-width: 700px;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 2.5rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-basis: calc(33.333% - 14px);
    min-width: 250px;
}

.feature-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFC107, #FF5757);
    flex-shrink: 0;
}

.cta-feature span {
    font-weight: 500;
    color: #333;
}

.cta-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6A3DE8 0%, #FF5757 100%);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(106, 61, 232, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transition: all 0.4s ease;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(106, 61, 232, 0.4);
}

.cta-btn:hover::before {
    left: 100%;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(106, 61, 232, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(106, 61, 232, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(106, 61, 232, 0.3);
    }
}

/* Contact Form Section */
.contact-form {
    padding: 100px 0;
    background-color: #fafafa;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #6A3DE8 0%, #FF5757 100%);
    border-radius: 50%;
    opacity: 0.05;
    transform: translate(-50%, 50%);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.form-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
}

.form-design {
    flex: 1;
    background: linear-gradient(135deg, #6A3DE8 0%, #FF5757 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-width: 300px;
}

.color-mixer {
    position: relative;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mixer-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    opacity: 0.8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.circle-red {
    background-color: #FF5757;
    left: 10px;
    animation: moveCircle1 8s ease-in-out infinite alternate;
}

.circle-yellow {
    background-color: #FFC107;
    left: 110px;
    animation: moveCircle2 7s ease-in-out infinite alternate;
}

.circle-blue {
    background-color: #2196F3;
    left: 60px;
    animation: moveCircle3 9s ease-in-out infinite alternate;
}

.mixer-result {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #9C27B0, #4CAF50);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: morphShape 8s ease-in-out infinite alternate;
}

.design-squares {
    display: flex;
    justify-content: space-around;
}

.square {
    width: 50px;
    height: 50px;
    opacity: 0.2;
    border-radius: 10px;
}

.square-1 {
    background-color: white;
    transform: rotate(15deg);
    animation: rotateSquare 10s linear infinite;
}

.square-2 {
    background-color: white;
    transform: rotate(30deg);
    animation: rotateSquare 12s linear infinite reverse;
}

.square-3 {
    background-color: white;
    transform: rotate(45deg);
    animation: rotateSquare 14s linear infinite;
}

.contact-form-fields {
    flex: 2;
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e1e5ee;
    border-radius: 8px;
    background-color: #f8f9fc;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 61, 232, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aab0bc;
}

.submit-btn {
    padding: 16px 30px;
    background: linear-gradient(135deg, #6A3DE8 0%, #FF5757 100%);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(106, 61, 232, 0.25);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(106, 61, 232, 0.35);
}

.submit-btn:active {
    transform: translateY(1px);
}

@keyframes moveCircle1 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

@keyframes moveCircle2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-20px, 20px); }
}

@keyframes moveCircle3 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 40px); }
}

@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        background: linear-gradient(135deg, #9C27B0, #4CAF50);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        background: linear-gradient(135deg, #FF5757, #2196F3);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        background: linear-gradient(135deg, #FFC107, #6A3DE8);
    }
}

@keyframes rotateSquare {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .form-container {
        flex-direction: column;
    }

    .form-design {
        min-height: 250px;
    }

    .cta-feature {
        flex-basis: calc(50% - 10px);
    }
}

@media screen and (max-width: 768px) {
    .challenge-content {
        padding: 30px;
    }

    .challenge-content h2 {
        font-size: 2rem;
    }

    .cta-features {
        flex-direction: column;
    }

    .cta-feature {
        flex-basis: 100%;
    }

    .contact-form-fields {
        padding: 30px;
    }
}

@media screen and (max-width: 576px) {
    .challenge-content h2 {
        font-size: 1.8rem;
    }

    .challenge-content p {
        font-size: 1rem;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 16px;
    }
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #6A3DE8 0%, #FF5757 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/pattern-dots.webp');
    background-size: 30px;
    opacity: 0.1;
    animation: floatBackground 30s linear infinite;
}

@keyframes floatBackground {
    0% {
        background-position: 0px 0px;
    }
    100% {
        background-position: 500px 500px;
    }
}

.about-subtitle {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.our-story {
    padding: 100px 0;
}

.our-story .container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.story-content {
    flex: 1;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
}

.story-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-image {
    flex: 1;
    position: relative;
}

.story-image img {
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.story-image:hover img {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.our-mission {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.mission-item {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(106, 61, 232, 0.1);
}

.mission-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(135deg, #6A3DE8 0%, #FF5757 100%);
    transition: all 0.3s ease;
}

.mission-item:hover::before {
    height: 100%;
}

.mission-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.mission-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-left: 15px;
}

.mission-item p {
    padding-left: 15px;
}

/* Development Process Timeline */
.development-process {
    padding: 100px 0;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 30px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #6A3DE8, #FF5757);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    display: flex;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6A3DE8, #FF5757);
    box-shadow: 0 0 0 5px rgba(106, 61, 232, 0.2);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.timeline-content p {
    line-height: 1.7;
}

.game-features {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.features-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-box {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(106, 61, 232, 0.1);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6A3DE8, #FF5757);
    opacity: 0.05;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-box:hover::before {
    transform: scale(2);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .our-story .container {
        flex-direction: column;
    }

    .story-image {
        margin-top: 40px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: center;
    }

    .timeline-content {
        width: 80%;
    }

    .timeline-dot {
        position: relative;
        top: 0;
        margin-bottom: 15px;
    }

    .process-timeline::before {
        left: 50%;
    }
}

@media screen and (max-width: 768px) {
    .story-content h2 {
        font-size: 2rem;
    }

    .mission-content,
    .features-content {
        grid-template-columns: 1fr;
    }

    .timeline-content {
        width: 90%;
    }
}

@media screen and (max-width: 576px) {
    .about-subtitle {
        font-size: 1rem;
    }

    .story-content h2 {
        font-size: 1.8rem;
    }

    .mission-item,
    .timeline-content,
    .feature-box {
        padding: 20px;
    }
}



/* Cookie Disclaimer Styles */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #6A3DE8, #FF5757) 1;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.cookie-btns {
    display: flex;
    gap: 10px;
}

.accept-cookies {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6A3DE8 0%, #FF5757 100%);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.accept-cookies:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 61, 232, 0.3);
}

@media screen and (max-width: 768px) {
    .thank-you-container {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .thank-you-title {
        font-size: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.hero-image img {
    max-height: 50%;
    max-width: 50%;
}