* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

.header {
    background-color: #1a1a2e;
    padding: 20px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 28px;
    margin: 0;
}

.logo a {
    color: #fff;
    text-decoration: none;
}

.main-nav {
    flex: 1;
    margin: 0 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e94560;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-login {
    background-color: #fff;
    color: #1a1a2e;
}

.btn-login:hover {
    background-color: #f0f0f0;
}

.btn-register {
    background-color: #e94560;
    color: #fff;
}

.btn-register:hover {
    background-color: #d63d53;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.banner-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.banner-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.banner-prev,
.banner-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(233, 69, 96, 0.8);
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #e94560;
}

.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    background-color: #e94560;
    color: #fff;
}

.btn-primary:hover {
    background-color: #d63d53;
}

.btn-secondary {
    background-color: #fff;
    color: #1a1a2e;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

.information-section {
    padding: 60px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.info-item h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
    font-size: 24px;
}

.info-item p {
    color: #666;
    line-height: 1.8;
}

.content-section {
    padding: 60px 0;
    background-color: #fff;
}

.content-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

.products-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-item h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
    font-size: 22px;
}

.product-item p {
    color: #666;
    line-height: 1.6;
}

.advantages-section {
    padding: 60px 0;
    background-color: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.advantage-item h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
    font-size: 20px;
}

.advantage-item p {
    color: #666;
    line-height: 1.8;
}

.guide-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.guide-steps {
    max-width: 900px;
    margin: 0 auto;
}

.guide-step {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.guide-step h3 {
    color: #1a1a2e;
    margin-bottom: 15px;
    font-size: 22px;
}

.guide-step p {
    color: #666;
    line-height: 1.8;
}

.article-list-section {
    padding: 60px 0;
    background-color: #fff;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.article-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.article-item:hover {
    transform: translateY(-5px);
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.article-content h3 a {
    color: #1a1a2e;
    text-decoration: none;
}

.article-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: #e94560;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #e94560;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #999;
}

.main-content {
    padding: 60px 0;
}

.page-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-image {
    margin: 30px 0;
    text-align: center;
}

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

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner-overlay h1 {
    color: #fff;
    font-size: 42px;
    text-align: center;
    padding: 0 20px;
}

.posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.post-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.post-item:hover {
    transform: translateY(-5px);
}

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-content h2 {
    margin-bottom: 15px;
    font-size: 24px;
}

.post-content h2 a {
    color: #1a1a2e;
    text-decoration: none;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #999;
    font-size: 14px;
}

.post-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
}

.page-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-content h1 {
    color: #1a1a2e;
    margin-bottom: 30px;
    font-size: 36px;
}

.page-content h2 {
    color: #1a1a2e;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 28px;
}

.page-content h3 {
    color: #1a1a2e;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
}

.page-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.single-post {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-header h1 {
    color: #1a1a2e;
    margin-bottom: 20px;
    font-size: 36px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    color: #999;
    font-size: 14px;
}

.post-content {
    color: #555;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 20px;
}

.post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-tags {
    color: #999;
}

.post-tags span {
    color: #1a1a2e;
    font-weight: 600;
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav {
        margin: 0;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-menu li {
        margin: 5px 10px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}
/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e94560;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.4);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #d63d53;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(233, 69, 96, 0.5);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
