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

body {
    font-family: 'Crimson Text', 'Georgia', serif;
    line-height: 1.8;
    background: url('fairy_tale_background.png') center/cover no-repeat fixed;
    color: #2c1810;
    min-height: 100vh;
    position: relative;
    padding: 2rem 1rem;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 40, 23, 0.3);
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
    pointer-events: none;
    z-index: 0;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 3rem;
    position: relative;
    z-index: 1;
    background: 
        linear-gradient(to right, rgba(0,0,0,0.1) 0%, transparent 5%, transparent 95%, rgba(0,0,0,0.1) 100%),
        linear-gradient(to bottom, rgba(244, 228, 193, 0.9) 0%, rgba(249, 240, 219, 0.9) 50%, rgba(244, 228, 193, 0.9) 100%);
    box-shadow: 
        0 0 60px rgba(0,0,0,0.5),
        inset 0 0 100px rgba(139,69,19,0.1);
    border: 1px solid #c9a961;
    border-radius: 4px;
    position: relative;
}

main::before,
main::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #c9a961 10%, #c9a961 90%, transparent);
}

main::before {
    left: 1.5rem;
}

main::after {
    right: 1.5rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: transparent;
    border: none;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(to right, transparent, #8b4513 20%, #8b4513 80%, transparent);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, transparent, #c9a961, transparent);
}

header h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #5c3317;
    text-shadow: 1px 1px 0px rgba(201,169,97,0.3);
    position: relative;
}

header h1::first-letter {
    font-size: 150%;
    color: #8b4513;
    font-weight: 900;
}

header p {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #6b4423;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 1rem;
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.character-section {
    position: relative;
    padding-top: 2rem;
}

.character-section::before {
    content: '❦';
    display: block;
    text-align: center;
    font-size: 2.5rem;
    color: #8b4513;
    margin-bottom: 1rem;
}

.character-section h2 {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    margin-bottom: 2rem;
    font-weight: 700;
    color: #5c3317;
    text-shadow: 1px 1px 0px rgba(201,169,97,0.2);
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 0.03em;
}

.character-section h2::first-letter {
    font-size: 130%;
    color: #8b4513;
}

.character-section h2::after {
    content: '';
    display: block;
    width: 200px;
    height: 2px;
    background: linear-gradient(to right, transparent, #8b4513, transparent);
    margin: 1rem auto 0;
}

.comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.card {
    background: #fef9f1;
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid #8b6f47;
    box-shadow: 
        0 4px 12px rgba(92,51,23,0.2),
        inset 0 0 40px rgba(201,169,97,0.1);
    position: relative;
}

.card::before {
    content: '✦';
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 1rem;
    color: #c9a961;
    opacity: 0.4;
    z-index: 10;
}

.card::after {
    content: '✦';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1rem;
    color: #c9a961;
    opacity: 0.4;
    z-index: 10;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 20px rgba(92,51,23,0.3),
        inset 0 0 40px rgba(201,169,97,0.15);
}

.image-container {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f5e6d3;
    border-bottom: 2px solid #8b6f47;
    position: relative;
    padding: 0.5rem;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(92,51,23,0.05) 100%);
    pointer-events: none;
    border: 1px solid rgba(139,111,71,0.3);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content {
    padding: 1.5rem;
    background: #fef9f1;
    position: relative;
}

.content::before {
    content: '✦';
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    font-size: 1rem;
    color: #c9a961;
    opacity: 0.4;
}

.content::after {
    content: '✦';
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 1rem;
    color: #c9a961;
    opacity: 0.4;
}

.content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-style: italic;
}

.classic .content h3 {
    color: #8b6f47;
}

.modern .content h3 {
    color: #6b3410;
}

.content ul {
    list-style: none;
}

.content li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #4a3628;
    font-size: 1.2rem;
    line-height: 1.6;
}

.content li::before {
    content: "❋";
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.classic li::before {
    color: #b8956a;
}

.modern li::before {
    color: #d4a574;
}

footer {
    margin-top: 4rem;
    padding: 3rem 0;
    text-align: center;
}

.insight {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background: rgba(254,249,241,0.6);
    border: 2px solid #8b6f47;
    border-radius: 2px;
    box-shadow: 0 4px 16px rgba(92,51,23,0.15);
    position: relative;
}

.insight::before {
    content: '❦';
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    background: #f4e4c1;
    padding: 0 1rem;
    color: #8b4513;
}

.insight::after {
    content: '✦';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    color: #c9a961;
    opacity: 0.3;
}

.insight h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #8b4513;
}

.insight p {
    color: #4a3628;
    font-size: 1.4rem;
    line-height: 1.9;
}

.cinderella-table {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: rgba(254,249,241,0.5);
    border: 2px solid #8b6f47;
    border-radius: 2px;
    box-shadow: 0 4px 16px rgba(92,51,23,0.15);
    position: relative;
}

.cinderella-table::before {
    content: '❦';
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    background: #f4e4c1;
    padding: 0 1rem;
    color: #8b4513;
}

.cinderella-table h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #8b4513;
    text-shadow: 1px 1px 2px rgba(212, 165, 116, 0.5);
}

.cinderella-table .subtitle {
    text-align: center;
    font-size: 1.6rem;
    color: #6b4423;
    font-style: italic;
    margin-bottom: 3rem;
}

.table-wrapper {
    overflow-x: auto;
    background: #fef9f1;
    border: 2px solid #8b6f47;
    border-radius: 2px;
    padding: 1rem;
    box-shadow: inset 0 0 20px rgba(139,111,71,0.1);
}

.cinderella-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1.2rem;
}

.cinderella-table thead {
    background: linear-gradient(to bottom, #8b4513, #6b3410);
}

.cinderella-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    color: #f4e4c1;
    font-weight: 700;
    font-size: 1.4rem;
    border-bottom: 3px solid #5c3317;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cinderella-table th:first-child {
    width: 60px;
    text-align: center;
}

.cinderella-table tbody tr {
    background: #fef9f1;
    transition: all 0.3s ease;
}

.cinderella-table tbody tr:nth-child(even) {
    background: rgba(244, 228, 193, 0.3);
}

.cinderella-table tbody tr:hover {
    background: rgba(212, 165, 116, 0.2);
    transform: scale(1.01);
}

.cinderella-table td {
    padding: 1rem;
    border-bottom: 1px solid #c9a961;
    color: #2c1810;
    line-height: 1.7;
}

.cinderella-table td.number {
    text-align: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: #8b4513;
    background: rgba(139, 69, 19, 0.05);
    border-right: 2px solid #c9a961;
}

.cinderella-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .table-wrapper {
        padding: 0.5rem;
    }
    
    .cinderella-table table {
        font-size: 1rem;
    }
    
    .cinderella-table th {
        padding: 0.8rem 0.5rem;
        font-size: 1.1rem;
    }
    
    .cinderella-table td {
        padding: 0.8rem 0.5rem;
    }
    
    .cinderella-table th:first-child,
    .cinderella-table td.number {
        width: 40px;
    }
}

.adjectives-comparison {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: rgba(254,249,241,0.5);
    border: 2px solid #8b6f47;
    border-radius: 2px;
    box-shadow: 0 4px 16px rgba(92,51,23,0.15);
    position: relative;
}

.adjectives-comparison::before {
    content: '❦';
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    background: #f4e4c1;
    padding: 0 1rem;
    color: #8b4513;
}

.adjectives-comparison h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #8b4513;
    text-shadow: 1px 1px 2px rgba(212, 165, 116, 0.5);
}

.adjectives-comparison .subtitle {
    text-align: center;
    font-size: 1.6rem;
    color: #6b4423;
    font-style: italic;
    margin-bottom: 3rem;
}

.adjectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.adjective-column {
    background: #fef9f1;
    border-radius: 2px;
    padding: 2rem;
    border: 2px solid #8b6f47;
    box-shadow: 0 4px 12px rgba(92,51,23,0.1);
    position: relative;
}

.adjective-column::before {
    content: '';
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    background: #f4e4c1;
    padding: 0 0.8rem;
}

.adjective-column.then::before {
    content: '⏳';
}

.adjective-column.now::before {
    content: '✦';
}

.adjective-column h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    padding-top: 0.5rem;
}

.adjective-column.then h3 {
    color: #8b6f47;
}

.adjective-column.now h3 {
    color: #6b3410;
}

.adjective-column ul {
    list-style: none;
    padding: 0;
}

.adjective-column li {
    padding: 0.7rem 1.5rem;
    font-size: 1.4rem;
    color: #2c1810;
    position: relative;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.adjective-column li::before {
    content: '❋';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.adjective-column.then li::before {
    color: #b8956a;
}

.adjective-column.now li::before {
    color: #d4a574;
}

.adjective-column.then li {
    border-left-color: #b8956a;
}

.adjective-column.now li {
    border-left-color: #d4a574;
}

.adjective-column li:hover {
    background: rgba(212, 165, 116, 0.1);
    padding-left: 2rem;
}

.discussion-questions {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: rgba(254,249,241,0.4);
    border: 2px solid #8b6f47;
    border-radius: 2px;
    position: relative;
}

.discussion-questions::before {
    content: '❦';
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    background: #f4e4c1;
    padding: 0 1rem;
    color: #8b4513;
}

.discussion-questions h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    font-weight: 700;
    color: #8b4513;
    text-shadow: 1px 1px 2px rgba(212, 165, 116, 0.5);
}

.discussion-questions h2::before,
.discussion-questions h2::after {
    content: '✦';
    margin: 0 1rem;
    font-size: 0.7em;
}

.questions-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.question {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fef9f1;
    border: 1px solid #8b6f47;
    border-left: 3px solid #8b4513;
    border-radius: 2px;
    opacity: 0;
    animation: slideInFromLeft 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform: translateX(-150px);
    box-shadow: 0 2px 8px rgba(92,51,23,0.1);
    transition: all 0.3s ease;
}

.question:hover {
    box-shadow: 0 4px 12px rgba(92,51,23,0.15);
    transform: translateX(8px);
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-150px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.question .number {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: #8b4513;
    color: #f4e4c1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 6px rgba(92,51,23,0.3);
    border: 2px solid #5c3317;
}

.question p {
    color: #2c1810;
    font-size: 1.35rem;
    line-height: 1.7;
    margin: 0;
    padding-top: 0.25rem;
}

@media (max-width: 768px) {
    main {
        padding: 1rem;
    }

    .comparison-cards {
        grid-template-columns: 1fr;
    }

    header {
        margin-bottom: 2rem;
    }

    .character-section {
        margin-bottom: 2rem;
    }

    .question {
        gap: 1rem;
        padding: 1rem;
    }

    .question .number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .question p {
        font-size: 1rem;
    }
}