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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

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

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.site-name {
    font-size: 2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0;
}

.site-name:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

.header-nav a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
}

.header-nav a:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    color: #2c3e50;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-dropdown-menu a:hover {
    background: #f8f9fa;
    color: #667eea;
}

.nav-dropdown-menu a::after {
    display: none;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.mobile-nav.active {
    max-height: 500px;
    padding: 1rem 0;
}

.mobile-nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: background 0.2s;
    border-left: 3px solid transparent;
}

.mobile-nav a:hover {
    background: #f8f9fa;
    border-left-color: #667eea;
    color: #667eea;
}

main {
    min-height: calc(100vh - 200px);
    padding-bottom: 2rem;
}

/* Home Page Styles */
.home-page {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

/* Editor's Pick Section */
.editors-pick-section {
    margin-bottom: 4rem;
}

.editors-pick-header {
    margin-bottom: 2.5rem;
}

.editors-pick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.editor-pick-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.editor-pick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.editor-pick-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.editor-pick-card:hover::before {
    opacity: 1;
}

.editor-pick-badge {
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    border-radius: 16px 16px 0 0;
}

.editor-pick-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.editor-pick-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.editor-pick-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.editor-pick-read-more {
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.editor-pick-card:hover .editor-pick-read-more {
    color: #764ba2;
    transform: translateX(5px);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: white;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-card:hover::before {
    opacity: 1;
}

.category-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.category-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.category-count {
    font-size: 0.95rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border-color: #667eea;
}

.article-card-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-card-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.5;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.article-card-category {
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 600;
}

/* Article Page Styles */
.article-page {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-top: 1rem;
    animation: fadeIn 0.5s ease-in;
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-article-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

.category-article-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.category-article-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.category-article-item p {
    color: #666;
    font-size: 0.95rem;
}

article {
    background-color: #fff;
    padding: 0;
}

article h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.2;
}

article p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

article h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #34495e;
    font-weight: 700;
}

article ul, article ol {
    margin-left: 1.5rem;
    margin-bottom: 1.2rem;
}

article li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.article-disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin-top: 3rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-disclaimer p {
    margin: 0;
    color: #856404;
}

.article-disclaimer strong {
    color: #856404;
}

/* Static Page Styles */
.static-page {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-top: 1rem;
    animation: fadeIn 0.5s ease-in;
}

.static-page h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 1rem;
}

.static-page h2 {
    font-size: 1.8rem;
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.static-page h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.static-page p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.static-page ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.static-page li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Footer Styles */
.footer {
    margin-top: 4rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 3rem 0 1.5rem;
    border-radius: 12px 12px 0 0;
}

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

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-disclaimer {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #667eea;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ecf0f1;
    margin: 0;
}

.footer-disclaimer strong {
    color: #fff;
}

.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        padding: 1rem 0;
    }
    
    .header-content {
        position: relative;
    }
    
    .site-name {
        font-size: 1.5rem;
    }
    
    .header-nav {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .editors-pick-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .editor-pick-card {
        border-radius: 12px;
    }
    
    .editor-pick-content {
        padding: 1.5rem;
    }
    
    .editor-pick-title {
        font-size: 1.3rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-emoji {
        font-size: 2.5rem;
    }
    
    .category-name {
        font-size: 1.2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .article-card {
        padding: 1.25rem;
    }
    
    .article-page {
        padding: 1.5rem;
        margin-top: 0.5rem;
    }
    
    article {
        padding: 0;
    }
    
    article h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    article p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    article h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }
    
    article li {
        font-size: 1rem;
    }
    
    .static-page {
        padding: 1.5rem;
    }
    
    .static-page h1 {
        font-size: 1.8rem;
    }
    
    .static-page h2 {
        font-size: 1.4rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-disclaimer {
        padding: 1.25rem;
        font-size: 0.85rem;
    }
    
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .category-card {
        padding: 1.25rem;
    }
    
    .category-emoji {
        font-size: 2rem;
    }
    
    .article-page {
        padding: 1rem;
    }
    
    article h1 {
        font-size: 1.5rem;
    }
    
    article p, article li {
        font-size: 0.95rem;
    }
    
    article h2 {
        font-size: 1.25rem;
    }
    
    .static-page {
        padding: 1rem;
    }
    
    .static-page h1 {
        font-size: 1.5rem;
    }
    
    .static-page h2 {
        font-size: 1.25rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-disclaimer {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

