@import url('https://fonts.googleapis.com/css2?family=Impact:wght@400&family=Comic+Neue:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(45deg, #FFD700, #FFED4E, #FFF700);
    color: #000;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Декоративные элементы */
.doge-face {
    position: fixed;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    z-index: 1;
    opacity: 0.3;
}

.doge-1 { top: 10%; left: 5%; animation-delay: 0s; }
.doge-2 { top: 20%; right: 10%; animation-delay: 1s; }
.doge-3 { bottom: 30%; left: 8%; animation-delay: 2s; }
.doge-4 { bottom: 10%; right: 5%; animation-delay: 0.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.pepe-hands {
    position: absolute;
    font-size: 2rem;
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

/* Основные секции */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 50px 20px;
}


.frame {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    text-align: center;
    width: 100%;
    max-width: 1400px;
    height: 90vh;
    border: 8px solid #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: #fff;
}

.final-frame{
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 900px;
    height: 60vh;
    border: 8px solid #000;
    border-radius: 20px;
    overflow: hidden;
    margin-top: -10%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: #fff;
    padding: 20px;
}

.half-section {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    position: relative;
    overflow-y: auto;
}

.half-section:nth-child(1) {
    background: linear-gradient(135deg, #000, #333);
    color: #fff;
    border-right: 4px solid #FFD700;
}

.half-section:nth-child(2) {
    background: linear-gradient(135deg, #fff, #f0f0f0);
    color: #000;
}

/* Заголовки в стиле мемов */
.meme-title {
    font-family: 'Impact', sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 3px 3px 0px #FFD700;
    animation: pulse 2s ease-in-out infinite;
}

.white-title {
    text-shadow: 3px 3px 0px #000;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 30px;
    text-align: left;
}

/* Информационные блоки */

.final-block {
    background: rgba(255, 215, 0, 0.2);
    border: 3px solid #FFD700;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    width: 100%;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.final-block h3 {
    font-family: 'Impact', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #000;
}

.final-block p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.info-block {
    background: rgba(255, 215, 0, 0.2);
    border: 3px solid #FFD700;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    width: 100%;
    max-width: 450px;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.info-block h3 {
    font-family: 'Impact', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #000;
}

.info-block p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

/* Списки в стиле мемов */
.meme-list {
    list-style: none;
    text-align: left;
    max-width: 450px;
    width: 100%;
}

.meme-list li {
    background: rgba(255, 215, 0, 0.2);
    margin: 10px 0;
    padding: 15px 20px;
    border: 2px solid #000;
    border-radius: 10px;
    font-weight: 700;
    position: relative;
    animation: listSlide 0.5s ease-out;
}

.meme-list li:before {
    content: "👉";
    margin-right: 10px;
    font-size: 1.2rem;
}

@keyframes listSlide {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Предупреждения */
.warning-box {
    background: linear-gradient(45deg, #ff4444, #ff6666);
    color: #fff;
    border: 4px solid #000;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 5px 5px 0px #000;
    animation: warningPulse 2s ease-in-out infinite;
    width: 100%;
    max-width: 450px;
}

@keyframes warningPulse {
    0%, 100% { background: linear-gradient(45deg, #ff4444, #ff6666); }
    50% { background: linear-gradient(45deg, #ff6666, #ff8888); }
}

.success-box {
    background: linear-gradient(45deg, #44ff44, #66ff66);
    color: #000;
    border: 4px solid #000;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    font-weight: 700;
    box-shadow: 5px 5px 0px #000;
    width: 100%;
    max-width: 450px;
}

/* Декоративные элементы в секциях */
.section-decoration {
    position: absolute;
    font-size: 6rem;
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.decoration-1 { top: 10%; left: 10%; }
.decoration-2 { bottom: 10%; right: 10%; animation-direction: reverse; }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Эмодзи декорации */
.emoji-rain {
    position: absolute;
    top: -50px;
    animation: fall 12s linear infinite;
    font-size: 1.5rem;
    opacity: 0.6;
}

.emoji-1 { left: 5%; animation-delay: 0s; }
.emoji-2 { left: 25%; animation-delay: 3s; }
.emoji-3 { left: 45%; animation-delay: 6s; }
.emoji-4 { left: 65%; animation-delay: 9s; }
.emoji-5 { left: 85%; animation-delay: 1.5s; }

@keyframes fall {
    to { transform: translateY(100vh) rotate(360deg); }
}

/* Статистика */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    max-width: 450px;
    margin: 20px 0;
}

.stat-item {
    background: rgba(0,0,0,0.1);
    border: 2px solid #000;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.stat-number {
    font-family: 'Impact', sans-serif;
    font-size: 2rem;
    color: #FFD700;
    text-shadow: 2px 2px 0px #000;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Адаптивность */
@media (max-width: 768px) {
    .frame {
        grid-template-columns: 1fr;
        height: auto;
    }

    .half-section {
        padding: 40px 20px;
        min-height: 50vh;
    }

    .half-section:nth-child(1) {
        border-right: none;
        border-bottom: 4px solid #FFD700;
    }

    .meme-title {
        font-size: 2.2rem;
    }

    .doge-face {
        font-size: 2rem;
    }

    .section-decoration {
        font-size: 4rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Специальные эффекты */
.glitch {
    animation: glitch 4s ease-in-out infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-1px, 1px); }
    20% { transform: translate(1px, -1px); }
    30% { transform: translate(-1px, -1px); }
    40% { transform: translate(1px, 1px); }
    50% { transform: translate(-1px, 1px); }
    60% { transform: translate(1px, -1px); }
    70% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
    90% { transform: translate(-1px, 1px); }
}

.neon-glow {
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
    animation: neonFlicker 3s ease-in-out infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

/* Прокрутка */
.half-section::-webkit-scrollbar {
    width: 8px;
}

.half-section::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.half-section::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 10px;
    border: 2px solid #000;
}