
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;700;800;900&display=swap');

:root {
    --primary-color: #FF6B9D; /* Яркий розовый */
    --secondary-color: #4ECDC4; /* Мятный */
    --accent-1: #FFD93D; /* Желтый */
    --accent-2: #A8E6CF; /* Светло-зеленый */
    --accent-3: #FF8B94; /* Коралловый */
    --accent-4: #C7CEEA; /* Лавандовый */
    --accent-5: #FFB6C1; /* Светло-розовый */
    --background-color: #FFF5F5;
    --surface-color: #FFFFFF;
    --text-color: #2D2D2D;
    --text-light: #FFFFFF;
    --font-family: 'Fredoka', sans-serif;
    --font-secondary: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, #FFE5E5 0%, #FFF5F5 25%, #E5F5FF 50%, #FFF5F5 75%, #FFE5E5 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 157, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 217, 61, 0.2) 0%, transparent 50%);
    animation: twinkle 3s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.95) 0%, rgba(78, 205, 196, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
    border-bottom: 3px solid var(--accent-1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 15px;
    animation: bounce-rotate 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(255, 217, 61, 0.5));
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #FFFFFF, #FFD93D, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn {
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8B94 50%, #FFD93D 100%);
    color: var(--text-light);
    font-size: 22px;
    padding: 25px 50px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.5);
}


#hero {
    padding-top: 150px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
}

#hero::before {
    content: '🎮';
    position: absolute;
    font-size: 200px;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

#hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

#hero .text {
    max-width: 60%;
    text-align: left;
}

#hero h1 {
    font-size: 80px;
    font-weight: 700;
    background: linear-gradient(45deg, #FF6B9D, #4ECDC4, #FFD93D, #FF6B9D);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: gradient-text 3s ease infinite;
    line-height: 1.1;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
}

#hero h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 600;
    font-family: var(--font-secondary);
}

#hero p {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #555;
    font-family: var(--font-secondary);
}

#hero .image {
    position: relative;
    width: 100%;
    max-width: 500px;
}

#hero .image .hero-main-img {
    max-width: 100%;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3);
    filter: drop-shadow(0 10px 30px rgba(255, 107, 157, 0.3));
    object-fit: cover;
    height: 350px;
}

#hero .image .hero-bg-img {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: -1;
    border-radius: 20px;
    filter: blur(10px);
    transform: scale(1.1);
}

.floating {
    animation: float-bounce 4s ease-in-out infinite;
}


#features {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 217, 61, 0.1) 50%, transparent 100%);
}

#features h2 {
    text-align: center;
    font-size: 56px;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #FF6B9D, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
    padding: 0;
    text-align: center;
    border-radius: 30px;
    border: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card h3,
.feature-card p {
    padding: 0 20px;
}

.feature-card h3 {
    margin-top: 20px;
}

.feature-card p {
    padding-bottom: 30px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:nth-child(1) {
    border-color: #FF6B9D;
}

.feature-card:nth-child(2) {
    border-color: #4ECDC4;
}

.feature-card:nth-child(3) {
    border-color: #FFD93D;
}

.feature-card:nth-child(4) {
    border-color: #A8E6CF;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-width: 5px;
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card .feature-main-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s;
}

.feature-card .feature-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    height: 60px;
    width: auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s;
    z-index: 2;
}

.feature-card:hover .feature-main-img {
    transform: scale(1.1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
}

.feature-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    font-family: var(--font-secondary);
}


#how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(255, 107, 157, 0.1) 100%);
}

#how-it-works h2 {
    text-align: center;
    font-size: 56px;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #4ECDC4, #FF6B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    text-align: center;
    max-width: 280px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    position: relative;
}

.step:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8B94 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 700;
    margin: 0 auto 25px;
    color: var(--text-light);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
    animation: pulse-number 2s ease-in-out infinite;
}

.step:nth-child(2) .step-number {
    background: linear-gradient(135deg, #4ECDC4 0%, #A8E6CF 100%);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.4);
}

.step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #FFD93D 0%, #FFE5B4 100%);
    box-shadow: 0 8px 20px rgba(255, 217, 61, 0.4);
}

.step h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
}

.step p {
    color: #666;
    font-size: 16px;
    font-family: var(--font-secondary);
}

.arrow {
    font-size: 60px;
    color: #FF6B9D;
    animation: arrow-bounce 1.5s ease-in-out infinite;
}

.arrow img {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 157, 0.3));
}

#download {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 217, 61, 0.15) 100%);
}

#download h2 {
    font-size: 56px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #FFD93D, #FF6B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

#download p {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    font-family: var(--font-secondary);
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.platforms a {
    display: inline-block;
    background: transparent;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.platforms a.platform-apple {
    background: transparent !important;
}

.platforms a:hover {
    transform: translateY(-10px) scale(1.15);
    background: rgba(255, 255, 255, 0.1);
}

.platforms a.platform-apple:hover {
    background: transparent !important;
}

.platforms a img {
    height: 80px;
    width: auto;
    transition: transform 0.3s;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    background: transparent;
    object-fit: contain;
}

.platforms a.platform-apple img {
    background: transparent !important;
    mix-blend-mode: normal;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

#faq {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
}

#faq h2 {
    text-align: center;
    font-size: 56px;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #FF6B9D, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.faq-item {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
    border-radius: 25px;
    margin-bottom: 25px;
    padding: 30px;
    cursor: pointer;
    border: 3px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
}

.faq-item:hover {
    border-color: #FF6B9D;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
    transform: translateX(10px);
}

.faq-item.active {
    border-color: #4ECDC4;
    background: linear-gradient(135deg, #FFF5F5 0%, #E5F5FF 100%);
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 22px;
    color: var(--text-color);
    font-weight: 700;
    margin: 0;
}

.faq-toggle {
    font-size: 36px;
    font-weight: 700;
    color: #FF6B9D;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF6B9D, #FF8B94);
    border-radius: 50%;
    color: white;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #4ECDC4, #A8E6CF);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
    padding-top: 20px;
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    font-family: var(--font-secondary);
}

footer {
    padding: 50px 0;
    text-align: center;
    background: linear-gradient(135deg, #FF6B9D 0%, #4ECDC4 100%);
    color: var(--text-light);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

footer p {
    font-size: 16px;
    font-family: var(--font-secondary);
    opacity: 0.9;
}

/* Responsive Design */
/* Планшеты и средние экраны - 2 ряда по 2 карточки */
@media (max-width: 1200px) and (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Мобильные устройства - каждое окно в своем ряду */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    #hero h1 {
        font-size: 48px;
    }
    
    #hero h2 {
        font-size: 24px;
    }
    
    #hero .hero-content {
        flex-direction: column;
    }
    
    #hero .text {
        max-width: 100%;
        text-align: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .arrow {
        transform: rotate(0deg);
        margin: 20px 0;
    }
    
    nav ul {
        display: none;
    }
}

/* Animations */
@keyframes bounce-rotate {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-10px) rotate(5deg); 
    }
    75% { 
        transform: translateY(-10px) rotate(-5deg); 
    }
}

@keyframes float-bounce {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-20px) rotate(2deg); 
    }
    50% { 
        transform: translateY(-30px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-20px) rotate(-2deg); 
    }
}

@keyframes gradient-text {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.15; }
}

@keyframes pulse-number {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}
