:root {
    --primary-gradient: linear-gradient(135deg, #00f5d4 0%, #00b4d8 50%, #7b2cbf 100%);
    --secondary-gradient: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    --accent-color: #7b2cbf;
    --text-dark: #1a1a2e;
    --text-light: #4a4a6a;
    --text-muted: #8a8a9a;
    --bg-light: #f8f9fa;
    --bg-card: #ffffff;
    --border-color: #e8e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

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

header {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    transition: color var(--transition-fast);
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: width var(--transition-fast);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 30px;
    padding: 10px 20px;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.search-box:focus-within {
    border-color: #00b4d8;
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.2);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-dark);
    font-size: 14px;
    width: 200px;
    padding: 5px;
    font-family: inherit;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    background: var(--primary-gradient);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 245, 212, 0.4);
}

main {
    padding: 30px 0;
}

.hero-section {
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    margin-bottom: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

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

.hero-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-title a {
    color: white;
    text-decoration: none;
}

.hero-summary {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 600px;
}

.hero-meta {
    display: flex;
    gap: 25px;
    font-size: 14px;
    opacity: 0.8;
}

.hero-readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--text-dark);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all var(--transition-fast);
}

.hero-readmore:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.featured-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.featured-main {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.featured-main:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.featured-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-main-content {
    padding: 25px;
}

.featured-main-category {
    display: inline-block;
    background: var(--secondary-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-main-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.featured-main-title a {
    color: inherit;
    text-decoration: none;
}

.featured-main-summary {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 18px;
}

.featured-main-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-side-item {
    display: flex;
    gap: 15px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.featured-side-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.featured-side-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.featured-side-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-side-category {
    display: inline-block;
    background: rgba(123, 44, 191, 0.1);
    color: var(--accent-color);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    align-self: flex-start;
}

.featured-side-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.featured-side-title a {
    color: inherit;
    text-decoration: none;
}

.featured-side-time {
    font-size: 12px;
    color: var(--text-muted);
}

.latest-section {
    background: var(--bg-card);
    padding: 40px 20px;
    margin-bottom: 40px;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.latest-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.latest-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.latest-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.latest-content {
    padding: 20px;
}

.latest-category {
    display: inline-block;
    background: linear-gradient(135deg, #00f5d4 0%, #00b4d8 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 12px;
}

.latest-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.latest-title a {
    color: inherit;
    text-decoration: none;
}

.latest-summary {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.latest-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.maylike-section {
    margin-bottom: 40px;
}

.maylike-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.maylike-scroll::-webkit-scrollbar {
    height: 6px;
}

.maylike-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.maylike-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.maylike-card {
    flex-shrink: 0;
    width: 280px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.maylike-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.maylike-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.maylike-content {
    padding: 18px;
}

.maylike-category {
    display: inline-block;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

.maylike-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.maylike-title a {
    color: inherit;
    text-decoration: none;
}

.article-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--accent-color);
}

.detail-category {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.detail-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.detail-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.detail-author {
    color: var(--text-dark);
    font-weight: 600;
}

.detail-image {
    width: 100%;
    max-height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: var(--shadow-md);
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-light);
}

.detail-content p {
    margin-bottom: 25px;
}

.detail-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.detail-content blockquote {
    border-left: 4px solid;
    border-image: var(--primary-gradient) 1;
    padding: 20px 25px;
    margin: 30px 0;
    background: var(--bg-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    font-size: 18px;
    color: var(--text-dark);
}

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

.search-header {
    margin-bottom: 40px;
}

.search-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.search-header p {
    font-size: 16px;
    color: var(--text-muted);
}

.search-query {
    color: var(--accent-color);
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.no-results p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.no-results a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

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

.page-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.page-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 35px 0 15px;
    color: var(--text-dark);
}

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 12px;
    color: var(--text-dark);
}

.page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 18px;
}

.page-content ul,
.page-content ol {
    margin-left: 30px;
    margin-bottom: 18px;
}

.page-content li {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-content strong {
    color: var(--text-dark);
}

.page-content a {
    color: var(--accent-color);
    text-decoration: none;
}

footer {
    background: var(--text-dark);
    color: white;
    padding: 50px 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

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

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .search-box input {
        width: 150px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-main-image {
        height: 220px;
    }

    .latest-grid {
        grid-template-columns: 1fr;
    }

    .maylike-card {
        width: 250px;
    }

    .detail-title {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        order: 2;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .maylike-card {
        width: 220px;
    }

    .detail-title {
        font-size: 24px;
    }
}