* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 10px;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 20px auto;
    width: 90%;
}

h1 {
    color: #333;
    text-align: center;
    margin: 0 0 25px 0;
    font-size: 24px;
    font-weight: 600;
}

.story-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.story-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.4;
}

.story-body {
    font-size: 16px;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 25px;
    text-align: justify;
}

.story-body strong {
    color: #2c3e50;
    font-weight: 600;
}

.story-body p {
    margin-bottom: 16px;
}

.story-body em {
    font-style: italic;
    color: #555;
}

.story-body .date {
    color: #667eea;
    font-weight: normal;
}

.story-body .quote-inline {
    font-style: italic;
    color: #555;
    background: rgba(102, 126, 234, 0.05);
    padding: 0 4px;
    border-radius: 3px;
}

.story-quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    font-size: 16px;
    font-style: italic;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
}

.story-quote:before {
    content: '\201C';
    font-size: 48px;
    position: absolute;
    top: -5px;
    left: 15px;
    opacity: 0.7;
}

.story-quote:after {
    content: '\201D';
    font-size: 48px;
    position: absolute;
    bottom: -25px;
    right: 15px;
    opacity: 0.7;
}

.loading {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 40px 20px;
}

.error {
    color: #e74c3c;
    background-color: #fadbd8;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #f1948a;
}

.disclaimer {
    background-color: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 1200px;
    width: 90%;
    border-left: 4px solid #ffc107;
    font-size: 13px;
    line-height: 1.6;
}

.disclaimer strong {
    color: #664d03;
}

.disclaimer a {
    color: #0056b3;
    text-decoration: underline;
}

.footer {
    text-align: center;
    color: #7f8c8d;
    font-size: 12px;
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer a {
    color: #667eea;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    body {
        padding: 5px;
    }

    .container {
        padding: 20px 15px;
        margin: 10px auto;
    }

    h1 {
        font-size: 22px;
    }

    .story-title {
        font-size: 24px;
    }

    .story-subtitle {
        font-size: 16px;
    }

    .story-body {
        font-size: 15px;
    }

    .disclaimer {
        font-size: 12px;
        padding: 12px;
    }
}
