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

:root {
    --cherry-red: #c41e3a;
    --sky-blue: #4a90e2;
    --text-dark: #333;
    --text-light: #666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Cherry background - full cover */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/prunux-cherries.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
    filter: blur(1px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 200px;
}

.language-selector a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin: 5px 0;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.language-selector a:hover {
    background: var(--cherry-red);
    color: white;
    transform: translateX(5px);
}

.lang-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 1.5em;
    flex-shrink: 0;
    transition: all 0.3s ease;
    filter: grayscale(0.2);
}

.language-selector a:hover .lang-icon {
    transform: scale(1.2);
    filter: grayscale(0) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.lang-name {
    flex: 1;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    perspective: 1000px;
}

.blank-container {
    text-align: center;
    animation: fadeIn 1.5s ease-in;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.blank-container:hover {
    transform: rotateY(5deg) rotateX(-5deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) translateZ(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

.blank-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(196, 30, 58, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    transform: translateZ(50px);
    position: relative;
}

.blank-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
        rgba(196, 30, 58, 0.1) 0%,
        rgba(74, 144, 226, 0.1) 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blank-content:hover::before {
    opacity: 1;
}

.cherry-image {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.cherry-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow:
        0 10px 30px rgba(196, 30, 58, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.1);
    border: 5px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cherry-image img:hover {
    transform: scale(1.05);
    box-shadow:
        0 15px 40px rgba(196, 30, 58, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.15);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.blank-content h2 {
    font-size: 2.5em;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.subtitle p {
    font-size: 1.2em;
    color: var(--text-light);
    margin: 15px 0;
}

.subtitle .hint {
    font-style: italic;
    color: var(--cherry-red);
    margin-top: 25px;
    font-size: 1em;
    opacity: 0.8;
}

.poem {
    margin-top: 40px;
    padding: 30px;
    background: rgba(196, 30, 58, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--cherry-red);
    font-style: italic;
    line-height: 1.8;
    color: var(--text-dark);
}

.poem p {
    margin: 8px 0;
    font-size: 1em;
}

.poem-title {
    font-weight: 600;
    color: var(--cherry-red);
    margin-bottom: 15px;
    font-style: normal;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer {
    padding: 40px 20px 20px;
    color: var(--text-light);
}

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

footer p {
    font-size: 0.9em;
    opacity: 0.7;
    margin: 0;
}

footer nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

footer nav a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

footer nav a:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--cherry-red);
}

/* Single page layout */
.single-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    margin: 0 auto;
}

.single-content h1 {
    color: var(--cherry-red);
    margin-bottom: 30px;
    font-size: 2.5em;
}

.single-content h2 {
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.single-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.single-content a {
    color: var(--cherry-red);
    text-decoration: none;
    border-bottom: 1px solid var(--cherry-red);
    transition: all 0.3s ease;
}

.single-content a:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .language-selector {
        position: static;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .blank-content {
        padding: 40px 20px;
    }

    .blank-content h2 {
        font-size: 1.8em;
    }

    .cherry-image img {
        width: 150px;
        height: 150px;
    }

    .poem {
        margin-top: 30px;
        padding: 20px;
        font-size: 0.95em;
    }

    .single-content {
        padding: 40px 20px;
    }

    .single-content h1 {
        font-size: 2em;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    footer nav {
        flex-direction: column;
    }
}
