* {
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}
header {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #FFFFFF;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.logo {
    width: 100px;
    height: auto;
    margin-right: 15px;
    border-radius: 5px;
}
header h1 {
    margin: 0;
    font-size: 1.8em;
    flex: 1;
    text-align: center;
    transition: transform 0.3s ease;
}
header h1:hover {
    transform: scale(1.05);
}
nav {
    background-color: #8B0000;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
nav li {
    margin: 5px 15px;
}
nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #FFD700;
}
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}
section.article-card {
    background-color: #F9F9F9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}
section.article-card:hover {
    transform: translateY(-5px);
}
h2 {
    color: #8B0000;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}
p {
    font-size: 1em;
    margin-bottom: 20px;
}
.button {
    background-color: #8B0000;
    color: #FFFFFF;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.button:hover {
    background-color: #A52A2A;
    transform: scale(1.05);
}
.slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
}
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    max-width: 90%;
    word-wrap: break-word;
}
.slide-content h3 {
    font-size: 2.2em;
    margin: 0;
    font-weight: 700;
}
.slide-content p {
    font-size: 1.2em;
    margin: 10px 0;
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}
.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #FFFFFF;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: background-color 0.3s ease;
}
.dot.active {
    opacity: 1;
    background-color: #FFD700;
}
footer {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #FFFFFF;
    padding: 20px 15px;
    width: 100%;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}
.footer-info {
    font-size: 0.9em;
    margin: 10px 0;
}
.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 5px;
}
.footer-links a:hover {
    color: #FFD700;
}
.age-restrict {
    background-color: #FFFFFF;
    color: #8B0000;
    border: 1px solid #8B0000;
    border-radius: 50%;
    padding: 5px 10px;
    font-weight: bold;
    display: inline-block;
    margin-left: 10px;
}
/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .logo {
        width: 80px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    header h1 {
        font-size: 1.4em;
    }
    nav {
        padding: 8px;
    }
    nav li {
        margin: 5px 10px;
    }
    main {
        padding: 0 10px;
        margin: 10px auto;
    }
    section.article-card {
        padding: 15px;
    }
    h2 {
        font-size: 1.4em;
    }
    .slider {
        height: 300px;
    }
    .slide-content h3 {
        font-size: 1.6em;
    }
    .slide-content p {
        font-size: 1em;
    }
    .button {
        padding: 10px 20px;
    }
    .dot {
        width: 12px;
        height: 12px;
    }
    .footer-logo {
        width: 120px;
    }
}
@media (max-width: 480px) {
    header h1 {
        font-size: 1.2em;
    }
    nav a {
        font-size: 0.9em;
    }
    p {
        font-size: 0.9em;
    }
    .slider {
        height: 200px;
    }
    .slide-content h3 {
        font-size: 1.3em;
    }
    .slide-content p {
        font-size: 0.9em;
    }
    .footer-info {
        font-size: 0.8em;
    }
    .footer-links a {
        margin: 0 3px;
    }
}
@media (max-width: 320px) {
    .logo {
        width: 60px;
    }
    header h1 {
        font-size: 1em;
    }
    .slider {
        height: 180px;
    }
    .slide-content h3 {
        font-size: 1.1em;
    }
    .slide-content p {
        font-size: 0.8em;
    }
}