/* Modern CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #067EB0 0%, #0A5A7A 100%);
    color: #ffffff;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #FFF600;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6600;
    text-decoration: underline;
}

a:visited {
    color: #FFCC00;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.site-header {
    text-align: center;
    padding: 1rem 0;
}

.hero-image {
    max-width: 700px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.main-nav {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    margin: 1rem 0;
    padding: 0.5rem;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 246, 0, 0.2);
    color: #FFF600;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 246, 0, 0.3);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.content-layout.single-column {
    display: block;
}

.content-layout.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.page-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #FFA500;
    font-weight: 600;
}

/* Content Sections */
.section-title {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: #FFF600;
    margin-bottom: 1rem;
    font-weight: 700;
}

.announcement {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.announcement-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.cover-image {
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.cover-image:hover {
    transform: scale(1.05);
}

.news {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #FFF600;
}

.news-title {
    color: #FFF600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Sidebar */
.content-sidebar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-widget {
    text-align: center;
}

.widget-image {
    margin: 0 auto 1rem;
    border-radius: 8px;
}

.widget-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.widget-link {
    display: block;
    padding: 0.75rem;
    background: rgba(255, 246, 0, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.widget-link:hover {
    background: rgba(255, 246, 0, 0.2);
    transform: translateY(-2px);
}

/* Ad Container */
.ad-container {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid,
    .content-layout.two-column {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .announcement-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        max-width: 200px;
    }
    
    .container {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem 0;
    }
    
    .announcement,
    .news,
    .content-sidebar {
        padding: 1rem;
    }
    
    .page-header {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .nav-list,
    .ad-container {
        display: none;
    }
}

/* Character-specific styles */
.characters-intro {
    font-style: italic;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
}

.character-profile {
    margin-bottom: 3rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.character-name {
    color: #FFF600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.character-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.character-image {
    margin: 0;
}

.character-image--left {
    grid-column: 1;
    justify-self: start;
}

.character-image--right {
    grid-column: 2;
    justify-self: end;
    grid-row: 1;
}

.character-image--right + .character-dialogue {
    grid-column: 1;
    grid-row: 1;
}

.character-image img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    max-width: 200px;
    height: auto;
}

.character-dialogue p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.character-dialogue strong {
    color: #FFF600;
}

@media (max-width: 768px) {
    .character-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .character-image--right {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
    }
    
    .character-image--right + .character-dialogue {
        grid-column: 1;
        grid-row: 2;
    }
    
    .character-image {
        justify-self: center !important;
        margin-bottom: 1rem;
    }
}

/* Story-specific styles */
.story-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.story-tagline {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 246, 0, 0.1);
    border-left: 4px solid #FFF600;
    border-radius: 8px;
    text-align: center;
}

.story-tagline strong {
    color: #FFF600;
    font-size: 1.25rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .story-content {
        padding: 1rem;
    }
    
    .story-content p {
        font-size: 1rem;
    }
    
    .story-tagline {
        padding: 1rem;
    }
    
    .story-tagline strong {
        font-size: 1.1rem;
    }
}

/* FOOTER */
.site-footer {
    margin-top: 3rem;
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.footer-content {
    text-align: center;
}

.footer-nav {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-nav a {
    color: #ffffff;
    margin: 0 0.25rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}