/* Base Styles */
body {
    background-color: #121212;
    color: #ddd;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
		min-width:900px;
}

a {
    color: #6aa9ff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Header */
.site-header {
    background-color: #1c1c1c;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9em;
    padding: 10px 20px;
    color: #aaa;
}

/* Main Content Layout */
.main-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Headings */
h2 {
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-top: 30px;
}
h3 {
    border-left: 4px solid #6aa9ff;
    padding-left: 8px;
    margin-top: 20px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #333;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #222;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 4px;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 15px;
    font-size: 0.8em;
    color: #888;
    margin-top: 40px;
}

/* Explore Grid */
.explore-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.explore-card {
    background-color: #1c1c1c;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 20px;
    width: calc(50% - 10px);
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.explore-card:hover {
    background-color: #252525;
    transform: scale(1.02);
}

.explore-card h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #6aa9ff;
}

.explore-card p {
    margin: 0;
    color: #bbb;
}

@media (max-width: 768px) {
    .explore-card {
        width: 100%;
    }
}

/* Character Intro and Specialization */
.intro-cards, .spec-grid, .evolution-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.intro-cards .card, .spec-grid .card, .evolution-grid .card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    flex: 1 1 calc(25% - 15px);
    box-sizing: border-box;
    text-align: center;
    color: #ccc;
}

.evolution-grid .card {
    flex: 1 1 calc(50% - 15px);
    text-align: left;
}

.evolution-grid .card img {
    float: right;
    width: 80px;
    height: auto;
    margin-left: 15px;
}

.card ul, .card ol {
    text-align: left;
    margin-top: 8px;
    margin-bottom: 0;
    padding-left: 20px;
}

.card a {
    color: #99c8ff;
}

.card a:hover {
    text-decoration: underline;
}

/* Horizontal Rule Styles */
hr {
    border: none;
    border-top: 1px solid #333;
    margin: 40px 0;
    opacity: 0.3;
}

hr.spacer {
    border: none;
    height: 40px;
}

hr.end {
    border: none;
    margin: 40px auto;
    text-align: center;
    position: relative;
    height: 15px;
    background: #333;
}

hr.end::after {
    content: "End Section";
    color: #666;
    background-color: #121212;
    padding: 0 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
}

/* Stat Details */
.stat-details {
    margin-top: 30px;
}

.stat-details img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 20px;
}

.stat-block {
    margin-bottom: 30px;
}

.stat-block h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #eee;
}

.stat-block .stat-base {
    font-size: 0.9em;
    color: #aaa;
}

.effect-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.effect-card {
    background-color: #1c1c1c;
    border: 1px solid #333;
    padding: 10px;
    flex: 1 1 calc(25% - 15px);
    border-radius: 5px;
    box-sizing: border-box;
}

.effect-card strong {
    color: #6aa9ff;
}

.effect-card p {
    margin: 5px 0 0 0;
    color: #bbb;
}

@media (max-width: 768px) {
    .effect-card {
        flex: 1 1 100%;
    }
}

.breadcrumb {
    width: 100%;
    padding: 10px 0;
    font-size: 0.9rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.breadcrumb::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.breadcrumb ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 10px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #bbb;
}

.breadcrumb li::after {
    content: "›";
    margin: 0 8px;
    color: #555;
}

.breadcrumb li:last-child::after {
    content: "";
}

.breadcrumb a {
    text-decoration: none;
    color: #ddd;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #aaa;
    font-weight: bold;
}