/* Ретро-стиль начала 90-х */
:root {
    --primary: #ffb347; /* Тёплый оранжевый */
    --secondary: #3a3a6a;
    --accent: #ffe066; /* Мягкий жёлтый */
    --background: #f5e6c8; /* Светлый ретро-фон */
    --text: #3a2c1a;
    --light: #fff;
    --dark: #2d1a0a;
    --highlight: #ff6666;
    --neon: #b3ffe6; /* Очень мягкий неон */
    --fazbear-red: #e65c00;
    --fazbear-purple: #a259ff;
    --fazbear-blue: #1e90ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    background-image: none;
    line-height: 1.6;
    font-size: 18px;
    position: relative;
    overflow-x: hidden;
}

/* Ретро-эффект CRT монитора */
body::before {
    display: none;
}

header {
    background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
    border-bottom: 4px dashed var(--secondary);
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.08);
    border-radius: 0 0 18px 18px;
}

h1 {
    font-size: 2.6rem;
    color: var(--secondary);
    text-shadow: 2px 2px 0 var(--accent), 0 0 2px var(--light);
    letter-spacing: 2px;
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
    margin-bottom: 8px;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    animation: none;
}

@keyframes shine {
    0% { background-position: -200px; }
    100% { background-position: 200px; }
}

.navbar {
    background: var(--secondary);
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-menu a {
    color: var(--light);
    background: var(--primary);
    border: 2px solid var(--accent);
    border-radius: 12px;
    text-shadow: 1px 1px 0 var(--accent);
    transition: all 0.2s;
    box-shadow: none;
    font-size: 1rem;
}

.nav-menu a:hover {
    background: var(--accent);
    color: var(--secondary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transform: scale(1.06);
}

main {
    background: #fffbe6;
    border: 2px solid var(--primary);
    border-radius: 16px;
    box-shadow: 0 0 16px 0 rgba(0,0,0,0.06);
    margin-top: 18px;
}

.hero {
    border: 3px solid var(--accent);
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.08);
    border-radius: 14px;
}

.hero-overlay {
    background: linear-gradient(transparent, rgba(255,255,255,0.7));
    color: var(--secondary);
    text-shadow: 1px 1px 0 var(--accent);
}

.section-title {
    color: var(--primary);
    text-shadow: 1px 1px 0 var(--accent);
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
    font-size: 2rem;
    margin-bottom: 18px;
}

.animatronics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.animatronic-card {
    background: #fffbe6;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-radius: 16px;
    width: 270px;
    align-items: center;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
    display: flex;
    flex-direction: column;
}

.animatronic-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    transform: translateY(-3px) scale(1.03);
}

.animatronic-image {
    width: 270px;
    height: 270px;
    overflow: hidden;
    border-radius: 12px;
    margin: 14px auto 0 auto;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animatronic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: none;
    background: #eee;
}

.animatronic-info {
    padding: 14px 12px 18px 12px;
    text-align: center;
}

.animatronic-name {
    color: var(--secondary);
    text-shadow: 1px 1px 0 var(--accent);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.btn {
    background: var(--primary);
    color: var(--secondary);
    border: 2px solid var(--accent);
    border-radius: 14px;
    text-shadow: 1px 1px 0 var(--accent);
    box-shadow: none;
    font-size: 1rem;
    transition: all 0.15s;
    padding: 8px 20px;
}

.btn:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transform: scale(1.06);
}

.info-section {
    background: #fffbe6;
    border: 2px solid var(--primary);
    color: var(--text);
    box-shadow: 0 0 12px rgba(0,0,0,0.06);
    border-radius: 12px;
}

footer {
    background: var(--secondary);
    border-top: 4px dashed var(--primary);
    color: var(--accent);
    text-shadow: 1px 1px 0 var(--primary);
    box-shadow: 0 0 12px rgba(0,0,0,0.08) inset;
    border-radius: 14px 14px 0 0;
}

.disclaimer {
    background: #ffe066;
    border: 2px dashed var(--primary);
    color: var(--secondary);
    text-shadow: 1px 1px 0 var(--accent);
    border-radius: 8px;
}

.counter {
    background: var(--primary);
    color: var(--secondary);
    border: 2px solid var(--accent);
    text-shadow: 1px 1px 0 var(--accent);
    border-radius: 6px;
}

.wood-frame {
    display: inline-block;
    padding: 18px;
    background: linear-gradient(135deg, #a97c50 0%, #e2b07a 40%, #c69c6d 100%);
    border: 8px solid #7a4a1a;
    border-radius: 22px;
    box-shadow: 0 6px 32px rgba(80,60,30,0.18), 0 2px 0 #e2b07a inset;
    position: relative;
    margin: 24px 0;
}
.wood-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 3px solid #e2b07a;
    pointer-events: none;
    box-shadow: 0 0 0 2px #c69c6d inset;
}
.wood-frame img {
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background: #fffbe6;
    max-width: 100%;
    max-height: 400px;
}

.centered-main {
    border: 4px double var(--secondary);
    box-shadow: 0 0 24px rgba(0,0,0,0.08);
    background: #fffbe6;
    border-radius: 18px;
    margin: 32px auto 32px auto;
    max-width: 900px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.centered-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.centered-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 0 auto 24px auto;
}
.centered-card {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 24px 20px;
    max-width: 340px;
    min-width: 220px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.centered-card ul {
    margin: 12px 0 0 0;
    padding: 0 0 0 18px;
    text-align: left;
}
.centered-card h3 {
    margin-bottom: 10px;
}
.section-title {
    text-align: center;
    margin-bottom: 18px;
}
.contact-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}
.contact-methods {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.contact-card {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 24px 20px;
    max-width: 320px;
    min-width: 200px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-form {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 28px 24px 20px 24px;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
}
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
    width: 100%;
}
.form-group label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid var(--secondary);
    border-radius: 8px;
    font-size: 1rem;
    background: #fffbe6;
    margin-bottom: 2px;
    box-sizing: border-box;
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}
.contact-form button.btn {
    margin-top: 10px;
    font-size: 1.1rem;
    padding: 10px 0;
    width: 100%;
}
.location-map {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 20px 18px;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

@media (max-width: 700px) {
    .itemsUl {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .menu-item-card {
        padding: 10px !important;
        font-size: 1rem !important;
    }
    .menu-item-card img {
        height: 120px !important;
    }
    .category-buttons {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .search-container {
        max-width: 98vw !important;
    }
    main, .centered-main {
        padding: 6px !important;
        border-radius: 10px !important;
    }
    .section-title, h1 {
        font-size: 1.3rem !important;
    }
    .navbar .nav-menu {
        flex-direction: column !important;
        gap: 4px !important;
    }
    .footer-content {
        font-size: 0.95rem !important;
    }
    .menu-note, .party-info {
        font-size: 0.98rem !important;
    }
    .menu-item-card .price {
        font-size: 1.1rem !important;
    }
    #scrollToTopButton {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
}