/* Warden of Systems - Custom CSS Styles */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Navigation Styles */
.wardrobe-nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.wardrobe-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.wardrobe-nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #f39c12;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.wardrobe-nav-menu {
    display: flex;
    gap: 2rem;
}

.wardrobe-nav-link {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.wardrobe-nav-link:hover {
    color: #f39c12;
}

.wardrobe-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #f39c12;
    transition: width 0.3s ease;
}

.wardrobe-nav-link:hover::after {
    width: 100%;
}

.wardrobe-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.wardrobe-nav-bar {
    width: 25px;
    height: 3px;
    background-color: #ecf0f1;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.wardrobe-main {
    margin-top: 70px;
}

.wardrobe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.wardrobe-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.7)), url('images/index-header.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.wardrobe-hero-content {
    flex: 0 0 60%;
    max-width: 600px;
    padding: 4rem 2rem 4rem 4rem;
    z-index: 2;
    position: relative;
}

.wardrobe-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #f39c12;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(243, 156, 18, 0.3);
    margin-bottom: 1rem;
    animation: wardrobe-fadeInUp 1s ease-out;
}

.wardrobe-hero-subtitle {
    font-size: 1.5rem;
    color: #ecf0f1;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    animation: wardrobe-fadeInUp 1s ease-out 0.2s both;
}

.wardrobe-hero-description {
    font-size: 1.2rem;
    color: #ecf0f1;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    animation: wardrobe-fadeInUp 1s ease-out 0.4s both;
}

.wardrobe-hero-actions {
    display: flex;
    gap: 1rem;
    animation: wardrobe-fadeInUp 1s ease-out 0.6s both;
}

.wardrobe-hero-visual {
    flex: 1;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wardrobe-magic-circle {
    width: 300px;
    height: 300px;
    border: 3px solid #f39c12;
    border-radius: 50%;
    position: relative;
    animation: wardrobe-rotate 20s linear infinite;
}

.wardrobe-magic-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid #e74c3c;
    border-radius: 50%;
    animation: wardrobe-rotate 15s linear infinite reverse;
}

.wardrobe-magic-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #f39c12, transparent);
    border-radius: 50%;
    animation: wardrobe-pulse 2s ease-in-out infinite;
}

.wardrobe-floating-runes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wardrobe-rune {
    position: absolute;
    font-size: 2rem;
    color: #f39c12;
    font-weight: bold;
    animation: wardrobe-float 6s ease-in-out infinite;
}

.wardrobe-rune:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.wardrobe-rune:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.wardrobe-rune:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.wardrobe-rune:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

.wardrobe-rune:nth-child(5) {
    top: 50%;
    left: 10%;
    animation-delay: 4s;
}

/* Button Styles */
.wardrobe-btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.wardrobe-btn-primary {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.wardrobe-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
}

.wardrobe-btn-secondary {
    background: transparent;
    color: #f39c12;
    border-color: #f39c12;
}

.wardrobe-btn-secondary:hover {
    background: #f39c12;
    color: white;
    transform: translateY(-2px);
}

/* Features Section */
.wardrobe-features {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.wardrobe-section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.wardrobe-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.wardrobe-feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.wardrobe-feature-card:hover {
    transform: translateY(-10px);
}

.wardrobe-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.wardrobe-feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.wardrobe-feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Latest Chapter Section */
.wardrobe-latest {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.wardrobe-chapter-preview {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.wardrobe-chapter-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.wardrobe-chapter-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.wardrobe-chapter-image:hover .wardrobe-chapter-img {
    transform: scale(1.05);
}

.wardrobe-chapter-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.wardrobe-chapter-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.2;
}

.wardrobe-chapter-content p {
    margin-bottom: 2rem;
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Footer */
.wardrobe-footer {
    background: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
@keyframes wardrobe-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wardrobe-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes wardrobe-pulse {
    0%, 100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

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

/* Page Headers */
.wardrobe-chapters-header{
    padding: 8rem 0 4rem;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.7)), url('images/chapters-header.png');
    color: white;
    text-align: center;
}
.wardrobe-characters-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.7)), url('images/characters-header.png');
    color: white;
    text-align: center;
}

.wardrobe-page-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #f39c12;
}

.wardrobe-page-subtitle {
    font-size: 1.3rem;
    color: #bdc3c7;
    max-width: 600px;
    margin: 0 auto;
}

/* Chapters List Styles */
.wardrobe-chapters-list {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.wardrobe-chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.wardrobe-chapter-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.wardrobe-chapter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.wardrobe-chapter-card:hover .wardrobe-chapter-thumb-img {
    transform: scale(1.05);
}

.wardrobe-chapter-thumbnail {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 40%; /* 16:6.4 aspect ratio for landscape */
}

.wardrobe-chapter-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wardrobe-chapter-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.wardrobe-chapter-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f39c12;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.wardrobe-chapter-info {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wardrobe-chapter-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.2;
}

.wardrobe-chapter-summary {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    flex: 1;
}

.wardrobe-chapter-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    margin-top: auto;
}

.wardrobe-chapter-date {
    color: #95a5a6;
}

.wardrobe-chapter-status {
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wardrobe-status-published {
    background: #27ae60;
    color: white;
}

.wardrobe-status-upcoming {
    background: #f39c12;
    color: white;
}

.wardrobe-chapter-upcoming {
    opacity: 0.7;
}

/* Chapter Reader Styles */
.wardrobe-chapter-reader {
    padding: calc(100vh - 70px) 0 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    min-height: calc(200vh - 70px);
    position: relative;
}

.wardrobe-chapter-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
    padding-top: 2rem;
}

.wardrobe-chapter-breadcrumb {
    margin-bottom: 2rem;
}

.wardrobe-chapter-breadcrumb a {
    color: #7f8c8d;
    text-decoration: none;
    font-weight: 600;
}

.wardrobe-chapter-breadcrumb a:hover {
    color: #f39c12;
}

.wardrobe-chapter-reader-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.wardrobe-chapter-reader-image {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wardrobe-chapter-reader-img {
    width: 100vw;
    height: calc(100vh - 70px);
    object-fit: cover;
    position: fixed;
    top: 70px;
    left: 0;
    z-index: -1;
}

.wardrobe-chapter-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.wardrobe-chapter-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1a1a1a;
}

.wardrobe-chapter-text p {
    margin-bottom: 1.5rem;
}

.wardrobe-chapter-inline-img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wardrobe-chapter-navigation {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #ecf0f1;
    position: relative;
    z-index: 10;
}

.wardrobe-chapter-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.wardrobe-chapter-nav-center {
    text-align: center;
    color: #7f8c8d;
    font-weight: 600;
}

.wardrobe-btn-disabled {
    background: #bdc3c7;
    color: #7f8c8d;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Accessibility: Skip Links */
.wardrobe-skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #2c3e50;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.wardrobe-skip-link:focus {
    top: 6px;
}

/* Accessibility: Focus indicators */
.wardrobe-btn:focus {
    outline: 3px solid #f39c12;
    outline-offset: 2px;
}

.wardrobe-btn-primary:focus {
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.5);
}

.wardrobe-btn-secondary:focus {
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.3);
}

/* Characters Styles */
.wardrobe-characters-list {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.wardrobe-characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.wardrobe-character-card {
    background: transparent;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.wardrobe-character-card:hover {
    transform: translateY(-10px);
}

.wardrobe-character-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: transparent;
    min-height: 200px;
    max-height: 300px;
    /* Fallback for browsers that support aspect-ratio */
    aspect-ratio: 1;
}

.wardrobe-character-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: transparent;
    border-radius: 10px 10px 0 0;
}

.wardrobe-character-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.wardrobe-character-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.wardrobe-character-name {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.wardrobe-character-role {
    color: #f39c12;
    font-weight: 600;
    margin-bottom: 1rem;
}

.wardrobe-character-description {
    color: #7f8c8d;
    line-height: 1.6;
}

.wardrobe-character-upcoming {
    opacity: 0.7;
    cursor: default;
}

.wardrobe-character-upcoming:hover {
    transform: none;
}

/* Character Modal Styles */
.wardrobe-character-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.wardrobe-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.wardrobe-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.wardrobe-modal-close:hover {
    color: #f39c12;
}

.wardrobe-modal-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.wardrobe-modal-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 2rem;
    border: 4px solid #f39c12;
}

.wardrobe-modal-info h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.wardrobe-modal-role {
    color: #f39c12;
    font-weight: 600;
    font-size: 1.1rem;
}

.wardrobe-modal-body {
    padding: 2rem;
}

.wardrobe-modal-body h3 {
    font-family: 'Cinzel', serif;
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.wardrobe-modal-body h3:first-child {
    margin-top: 0;
}

.wardrobe-modal-body p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Info Cards */
.wardrobe-info-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.wardrobe-info-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.wardrobe-info-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.wardrobe-info-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.wardrobe-stat {
    text-align: center;
}

.wardrobe-stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: bold;
    color: #f39c12;
}

.wardrobe-stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Active Navigation */
.wardrobe-nav-active {
    color: #f39c12 !important;
}

.wardrobe-nav-active::after {
    width: 100% !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wardrobe-nav-menu {
        display: none;
    }
    
    .wardrobe-nav-toggle {
        display: flex;
    }
    
    .wardrobe-hero {
        flex-direction: column;
        text-align: center;
        background-attachment: scroll; /* Better performance on mobile */
        padding: 2rem 0;
        min-height: 100vh;
    }
    
    .wardrobe-hero-content {
        flex: 1;
        max-width: 100%;
        padding: 2rem 1rem;
        margin: 0 auto;
    }
    
    .wardrobe-hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .wardrobe-hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .wardrobe-hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .wardrobe-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .wardrobe-latest {
        padding: 4rem 0;
    }
    
    .wardrobe-chapter-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .wardrobe-chapter-content {
        padding: 1.5rem;
        margin: 0;
    }
    
    .wardrobe-chapter-content h3 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .wardrobe-chapter-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .wardrobe-chapter-img {
        height: 200px;
        width: 100%;
    }
    
    .wardrobe-features {
        padding: 4rem 0;
    }
    
    .wardrobe-features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .wardrobe-feature-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .wardrobe-feature-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .wardrobe-feature-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .wardrobe-magic-circle {
        width: 200px;
        height: 200px;
    }
    
    .wardrobe-magic-circle::before {
        width: 130px;
        height: 130px;
    }
    
    .wardrobe-magic-circle::after {
        width: 70px;
        height: 70px;
    }
    
    .wardrobe-chapters-list {
        padding: 4rem 0;
    }
    
    .wardrobe-chapters-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .wardrobe-chapter-card {
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .wardrobe-chapter-thumbnail {
        padding-bottom: 50%; /* Slightly taller on mobile */
        width: 100%;
    }
    
    .wardrobe-chapter-info {
        padding: 1.5rem;
    }
    
    .wardrobe-chapter-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .wardrobe-chapter-summary {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .wardrobe-chapter-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .wardrobe-chapter-date {
        font-size: 0.9rem;
    }
    
    .wardrobe-chapter-status {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .wardrobe-chapter-nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Additional mobile improvements */
    .wardrobe-container {
        padding: 0 1rem;
    }
    
    .wardrobe-section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
        padding: 1rem 1.5rem;
    }
    
    .wardrobe-page-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .wardrobe-page-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Prevent text overflow */
    .wardrobe-chapter-content p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .wardrobe-chapter-summary {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Button improvements */
    .wardrobe-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .wardrobe-hero-actions .wardrobe-btn {
        margin-bottom: 1rem;
    }
    
    .wardrobe-hero-actions .wardrobe-btn:last-child {
        margin-bottom: 0;
    }
    
    .wardrobe-modal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .wardrobe-modal-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .wardrobe-info-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wardrobe-character-thumbnail {
        min-height: 150px;
        max-height: 250px;
        padding-bottom: 100%; /* Maintain square aspect ratio on mobile */
    }
    
    .wardrobe-page-title {
        font-size: 2.5rem;
    }
    
    .wardrobe-section-title {
        font-size: 2rem;
        padding: 0.8rem 1.5rem;
    }
    
    .wardrobe-chapter-reader-title {
        font-size: 2rem;
        padding: 0.8rem 1.5rem;
    }
    
    .wardrobe-chapter-text {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
}
