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

body {
    font-family: 'Georgia', serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5vh;
}

.container {
    width: 95%;
    max-width: 1200px;
    text-align: center;
}

header {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInDown 1.5s ease-out forwards;
}

.title {
    font-size: 3rem;
    color: #ff4444;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: #888;
    font-style: italic;
}

.divider {
    display: flex;
    align-items: center;
    margin: 3rem 0;
    opacity: 0;
    animation: fadeIn 2s ease-out 1s forwards;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff4444, transparent);
}

.divider-text {
    margin: 0 2rem;
    color: #ff4444;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.modern-title {
    font-size: 2.5rem;
    color: #ff4444;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInDown 1.5s ease-out 1.5s forwards;
}

.modern-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #d0d0d0;
    text-align: left;
    text-indent: 2rem;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 2s forwards;
}

.story-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #333;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 0.5s forwards;
}

.story-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #d0d0d0;
    text-align: left;
    text-indent: 2rem;
}

.phone-ring {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeIn 2s ease-out 2s forwards;
}

.answer-phone {
    background: #ff4444;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.answer-phone:hover {
    background: #ff6666;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
}

.phone-call {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ff4444;
    border-radius: 10px;
    animation: phoneRing 0.5s ease-in-out infinite;
}

.caller-voice {
    text-align: center;
}

.caller-text {
    font-size: 1.5rem;
    color: #ff4444;
    margin-bottom: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: textFlicker 2s infinite;
}

.hang-up {
    background: #333;
    color: #aaa;
    border: 1px solid #555;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hang-up:hover {
    background: #444;
    color: white;
}

.hidden {
    display: none;
}

.vocabulary-section {
    margin-top: 4rem;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff4444;
    border-radius: 10px;
    padding: 2rem;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 2.5s forwards;
}

.vocabulary-image {
    text-align: center;
    margin-bottom: 2rem;
}

.moon-window-img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
    border: 2px solid #333;
}

.vocabulary-title {
    font-size: 2rem;
    color: #ff4444;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.vocab-section {
    margin-bottom: 2rem;
    text-align: left;
}

.vocab-section h4 {
    color: #ff6666;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ff4444;
    padding-bottom: 0.5rem;
}

.vocab-list {
    list-style: none;
    padding-left: 0;
}

.vocab-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #d0d0d0;
    padding-left: 1rem;
    position: relative;
}

.vocab-list li:before {
    content: "▶";
    color: #ff4444;
    position: absolute;
    left: 0;
}

.vocab-list strong {
    color: #ff8888;
    font-weight: bold;
}

.urban-legends {
    margin-top: 4rem;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff4444;
    border-radius: 10px;
    padding: 2rem;
}

.legends-title {
    font-size: 2rem;
    color: #ff4444;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.legends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.post-it {
    background: linear-gradient(135deg, #4a3a2a 0%, #3a2a1a 100%);
    border: 2px solid #8a6a4a;
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
    min-height: 300px;
}

.legend-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 2px solid #8a6a4a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.post-it h4 {
    font-size: 1.8rem;
    color: #ff8888;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.post-it p {
    color: #d0d0d0;
    font-size: 1.2rem;
    line-height: 1.7;
    text-align: left;
}

.post-it::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #8a6a4a, #4a3a2a, #8a6a4a);
    border-radius: 10px;
    z-index: -1;
}

.post-it:nth-child(odd) {
    transform: rotate(-1deg);
}

.post-it:nth-child(even) {
    transform: rotate(1deg);
}

.post-it:nth-child(3n) {
    transform: rotate(-2deg);
}

.post-it:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .story-text {
        font-size: 1.1rem;
    }
    
    .legends-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes phoneRing {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes textFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.volume-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ff4444;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.volume-control label {
    color: #ff8888;
    font-size: 0.9rem;
    font-weight: bold;
}

#ambient-volume {
    width: 100px;
    height: 5px;
    background: #333;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
}

#ambient-volume::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    background: #ff4444;
    border-radius: 50%;
    cursor: pointer;
}

#mute-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#mute-btn:hover {
    transform: scale(1.1);
}