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

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f3ff;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile responsive - minimal padding */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
}

/* Header */
.vampire-header {
    background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(107, 70, 193, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb {
    color: #fff;
    font-size: 14px;
}

.breadcrumb a {
    color: #FFD700;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    color: #fff;
}

/* Main Content */
.vampire-main {
    padding: 40px 0;
    background: #fff;
}

/* Title Section */
.title-section {
    text-align: center;
    margin-bottom: 60px;
}

.main-title {
    font-size: 32px;
    color: #6B46C1;
    margin-bottom: 30px;
    line-height: 1.4;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.title-bat {
    margin: 0 15px;
    animation: float 3s ease-in-out infinite;
}

.title-bat:first-child {
    animation-delay: 0s;
}

.title-bat:last-child {
    animation-delay: 0.5s;
}

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

/* Images */
.main-image, .champion-image {
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
}

.main-image img, .champion-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

figcaption {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

/* Section Styles */
.section-title {
    font-size: 28px;
    color: #6B46C1;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background: linear-gradient(to bottom, #F5B800, #FFD700);
}

.section-subtitle {
    font-size: 20px;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Article Info Box */
.article-info {
    background: linear-gradient(135deg, #f8f5ff 0%, #fff9e6 100%);
    border: 2px solid #8B5CF6;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
}

.info-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.info-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #555;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 13px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 42"><path fill="%236B46C1" d="M27.52,8.58c-.01,4.28.05,6.86-3.63,6.85s-5.94-9.03-5.31-11.41C8.64,7.77,1.39,10.42,1.39,10.42c0,0,11.48,4.03,4.6,11.83,9.2-.93,9.78,4.78,10.9,8.77,8.84-2.98,12.04,4.18,14.8,8.53,4.76-7.98,8.87-10.72,14.95-8.43.94-7.19,4.83-10.52,10.97-8.73-4.38-7.56-2.32-9.94,4.68-12.21-15.06-5.29-17.93-6.35-17.93-6.35,0,0,1.27,10.19-5.23,11.46-4.24.68-3.37-6.84-3.37-6.84,0,0-2.26,2.26-3.88,1.3-1.7.75-4.35-1.16-4.35-1.16Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.info-note {
    margin-top: 15px;
    padding: 15px;
    background: #FFD700;
    border-radius: 5px;
    color: #333;
    font-weight: 500;
}

/* Table of Contents */
.toc-section {
    background: #f8f5ff;
    border: 2px solid #8B5CF6;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
}

.toc-title {
    font-size: 24px;
    color: #6B46C1;
    margin-bottom: 20px;
    text-align: center;
}

.toc-list {
    list-style: decimal;
    padding-left: 30px;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list a {
    color: #6B46C1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.toc-list a:hover {
    color: #F5B800;
    text-decoration: underline;
}

.toc-sublist {
    list-style: disc;
    padding-left: 20px;
    margin-top: 5px;
}

/* Volume Link Button */
.link-button-wrapper {
    text-align: center;
    margin: 30px 0;
}

.volume-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F5B800 0%, #FFD700 100%);
    color: #6B46C1;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(245, 184, 0, 0.3);
    transition: all 0.3s ease;
}

.volume-link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 184, 0, 0.4);
}

.button-icon {
    margin-right: 10px;
    font-size: 20px;
}

.button-arrow {
    margin-left: 10px;
}

/* Volume Articles */
.volume-article {
    background: #fff;
    border: 2px solid #8B5CF6;
    border-radius: 15px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

.volume-header {
    background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.volume-number {
    background: #FFD700;
    color: #6B46C1;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 18px;
    white-space: nowrap;
}

.volume-catchphrase {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.volume-content {
    display: flex;
    gap: 30px;
    padding: 30px;
}

@media (max-width: 768px) {
    .volume-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
}

.volume-cover {
    flex-shrink: 0;
    text-align: center;
}

.volume-cover img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.release-date {
    margin-top: 15px;
    background: #F5B800;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
}

.date-label {
    display: block;
    font-size: 12px;
    color: #6B46C1;
}

.date-value {
    display: block;
    font-weight: bold;
    color: #333;
}

.volume-details {
    flex-grow: 1;
}

.detail-heading {
    color: #6B46C1;
    font-size: 18px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #FFD700;
}

.volume-summary p, .volume-extra p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Character Section */
.character-section {
    background: #f8f5ff;
    padding: 30px;
    border-top: 2px solid #8B5CF6;
}

.character-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

@media (max-width: 768px) {
    .character-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

.character-item {
    background: #fff;
    border: 1px solid #8B5CF6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.character-item a {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #6B46C1;
    font-size: 14px;
    font-weight: 500;
}

.character-item:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.2);
}

.character-item img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    object-fit: cover;
    border-radius: 4px;
}

/* Summary Section */
.summary-section {
    background: linear-gradient(135deg, #f8f5ff 0%, #fff9e6 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.summary-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
}

/* Info Table */
.info-table-wrapper {
    overflow-x: auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.info-table th {
    background: #6B46C1;
    color: #fff;
    padding: 15px;
    text-align: left;
    white-space: nowrap;
}

.info-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.info-table tr:nth-child(even) td {
    background: #f8f5ff;
}

.external-link {
    color: #F5B800;
    text-decoration: none;
    transition: color 0.3s ease;
}

.external-link:hover {
    color: #6B46C1;
    text-decoration: underline;
}

/* Footer */
.vampire-footer {
    background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%);
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-text, .footer-update, .footer-source {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-decoration {
    margin-top: 20px;
}

.footer-bat {
    margin: 0 10px;
    animation: float 3s ease-in-out infinite;
}

.footer-bat:nth-child(1) { animation-delay: 0s; }
.footer-bat:nth-child(2) { animation-delay: 0.5s; }
.footer-bat:nth-child(3) { animation-delay: 1s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 24px;
    }

    .title-bat {
        width: 30px;
        height: 20px;
        margin: 0 10px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .volume-header {
        flex-direction: column;
        text-align: center;
    }

    .character-item a {
        font-size: 12px;
        padding: 8px;
    }

    .info-table th, .info-table td {
        padding: 10px;
        font-size: 14px;
    }
}

/* Related Articles Section */
.related-articles-section {
    background: #f8f5ff;
    padding: 60px 0;
    margin-top: 40px;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .related-articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

.related-article {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
    border-color: #8B5CF6;
}

.related-link {
    text-decoration: none;
    display: block;
}

.related-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article:hover .related-image img {
    transform: scale(1.1);
}

.related-title {
    padding: 20px;
    font-size: 16px;
    color: #6B46C1;
    font-weight: bold;
    line-height: 1.5;
    background: linear-gradient(to bottom, #fff 0%, #f8f5ff 100%);
    min-height: 80px;
    display: flex;
    align-items: center;
}

.related-article:hover .related-title {
    background: linear-gradient(to bottom, #FFD700 0%, #F5B800 100%);
    color: #6B46C1;
}

/* Bat decoration for related section */
.related-articles-section .section-title::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 20px;
    margin-left: 15px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 42"><path fill="%23F5B800" d="M27.52,8.58c-.01,4.28.05,6.86-3.63,6.85s-5.94-9.03-5.31-11.41C8.64,7.77,1.39,10.42,1.39,10.42c0,0,11.48,4.03,4.6,11.83,9.2-.93,9.78,4.78,10.9,8.77,8.84-2.98,12.04,4.18,14.8,8.53,4.76-7.98,8.87-10.72,14.95-8.43.94-7.19,4.83-10.52,10.97-8.73-4.38-7.56-2.32-9.94,4.68-12.21-15.06-5.29-17.93-6.35-17.93-6.35,0,0,1.27,10.19-5.23,11.46-4.24.68-3.37-6.84-3.37-6.84,0,0-2.26,2.26-3.88,1.3-1.7.75-4.35-1.16-4.35-1.16Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
