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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
    color: #333;
}

/* header styles */
#top {
    background: linear-gradient(90deg, #ff9933 0%, #ffb366 50%, #ff9933 100%);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo-box {
    display: flex;
    align-items: center;
}

.mandala-logo {
    width: 60px;
    height: 60px;
    position: relative;
}

.mandala-center {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.mandala-petal {
    width: 8px;
    height: 20px;
    background: rgba(255,255,255,0.7);
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform-origin: center;
}

.mandala-petal:nth-child(2) { transform: translate(-50%, -50%) rotate(0deg) translateY(-20px); }
.mandala-petal:nth-child(3) { transform: translate(-50%, -50%) rotate(60deg) translateY(-20px); }
.mandala-petal:nth-child(4) { transform: translate(-50%, -50%) rotate(120deg) translateY(-20px); }
.mandala-petal:nth-child(5) { transform: translate(-50%, -50%) rotate(180deg) translateY(-20px); }
.mandala-petal:nth-child(6) { transform: translate(-50%, -50%) rotate(240deg) translateY(-20px); }
.mandala-petal:nth-child(7) { transform: translate(-50%, -50%) rotate(300deg) translateY(-20px); }

.menu-container {
    display: flex;
    gap: 30px;
}

.nav-item a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-item a:hover {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* hero section */
.hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.hero-mandala {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,153,51,0.3) 0%, rgba(255,182,102,0.2) 30%, rgba(255,153,51,0.1) 60%, transparent 100%);
    border-radius: 50%;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-text-box {
    position: relative;
    z-index: 1;
}

.hero-text-box h1 {
    font-size: 48px;
    color: #d35400;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-text-box p {
    font-size: 22px;
    color: #e67e22;
}

/* main content */
#main {
    min-height: 100vh;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-wrapper h2 {
    font-size: 36px;
    color: #d35400;
    margin-bottom: 40px;
    text-align: center;
}

.news-grid-container {
    display: flex;
    gap: 30px;
}

.column-left, .column-right {
    flex: 1;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 2px solid transparent;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #ff9933;
    box-shadow: 0 8px 20px rgba(255,153,51,0.3);
}

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

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.card-content h3 a {
    color: #d35400;
    text-decoration: none;
    transition: color 0.3s;
}

.card-content h3 a:hover {
    color: #ff9933;
}

.card-content p {
    color: #666;
    line-height: 1.6;
}

/* footer */
#bottom {
    background: linear-gradient(180deg, #d35400 0%, #e67e22 100%);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-pattern {
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        #fff 0px,
        #fff 5px,
        transparent 5px,
        transparent 10px,
        #fff 10px,
        #fff 12px,
        transparent 12px,
        transparent 20px
    );
    margin-bottom: 30px;
}

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

.footer-content-box {
    display: flex;
    gap: 60px;
    justify-content: center;
}

.footer-section {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-section p {
    color: rgba(255,255,255,0.9);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* article page styles */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 42px;
    color: #d35400;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    color: #999;
    font-size: 14px;
}

.article-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-bottom: 30px;
    border-radius: 12px;
}

.article-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-content h2 {
    font-size: 32px;
    color: #d35400;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content h3 {
    font-size: 24px;
    color: #e67e22;
    margin-top: 25px;
    margin-bottom: 12px;
}

.article-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
    font-size: 17px;
}

.article-content a {
    color: #ff9933;
    text-decoration: underline;
}

.article-content ul, .article-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.related-articles {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
    border-radius: 12px;
}

.related-articles h3 {
    font-size: 28px;
    color: #d35400;
    margin-bottom: 20px;
}

.related-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-links a {
    color: #e67e22;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    transition: all 0.3s;
}

.related-links a:hover {
    background: #ff9933;
    color: #fff;
}

@media (max-width: 768px) {
    .news-grid-container {
        flex-direction: column;
    }

    .menu-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-text-box h1 {
        font-size: 32px;
    }

    .article-content {
        padding: 20px;
    }
}