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

:root {
    --orange: #DC662D;
    --orange-light: #ff7a3d;
    --primary-green: #2d5016;
    --light-green: #4a7c2c;
    --accent-green: #6fb93e;
    --dark-green: #1a2e15;
    --dark-bg: #0a0e0a;
    --light-bg: #1a1f1a;
    --text-light: #e8f5e9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e0a 0%, #1a1f1a 50%, #0d1a0d 100%);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.main-header {
    background: rgba(26, 31, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(111, 185, 62, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.brand-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(220, 102, 45, 0.4);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.brand-name:hover {
    text-shadow: 0 0 30px rgba(220, 102, 45, 0.6);
    transform: scale(1.05);
}

.header-button {
    padding: 0.7rem 1.8rem;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(220, 102, 45, 0.3);
}

.header-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 102, 45, 0.5);
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
}

/* Article Page */
.article-page {
    padding: 3rem 0;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-category {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.article-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--light-green), var(--accent-green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(111, 185, 62, 0.3);
    margin-bottom: 3rem;
}

/* Content Sections */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-section {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }
.content-section:nth-child(4) { animation-delay: 0.4s; }
.content-section:nth-child(5) { animation-delay: 0.5s; }
.content-section:nth-child(6) { animation-delay: 0.6s; }
.content-section:nth-child(7) { animation-delay: 0.7s; }
.content-section:nth-child(8) { animation-delay: 0.8s; }

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

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.content-section h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--light-green);
}

.content-section p {
    margin-bottom: 1.2rem;
    color: rgba(232, 245, 233, 0.9);
}

.content-section ul,
.content-section ol {
    margin: 1rem 0 1.5rem 2rem;
    color: rgba(232, 245, 233, 0.9);
}

.content-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Special Boxes */
.highlight-box,
.warning-box,
.tip-box {
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.highlight-box {
    background: rgba(111, 185, 62, 0.1);
    border-color: var(--accent-green);
    border-left-width: 5px;
}

.warning-box {
    background: rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
    border-left-width: 5px;
}

.tip-box {
    background: rgba(111, 185, 62, 0.1);
    border-color: var(--accent-green);
    border-left-width: 5px;
}

/* Lighting Types Cards */
.lighting-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.type-card {
    background: rgba(26, 31, 26, 0.6);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(111, 185, 62, 0.2);
    transition: all 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(111, 185, 62, 0.2);
}

.type-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--orange);
}

.recommendation {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(111, 185, 62, 0.15);
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--accent-green);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(26, 31, 26, 0.6);
    border-radius: 15px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
}

thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: white;
}

tbody tr {
    border-bottom: 1px solid rgba(111, 185, 62, 0.2);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody td {
    padding: 1rem;
    color: rgba(232, 245, 233, 0.9);
}

tbody tr:hover {
    background: rgba(111, 185, 62, 0.1);
}

/* Formula Box */
.formula-box {
    background: rgba(111, 185, 62, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    border: 2px solid var(--accent-green);
}

.formula-box p {
    font-size: 1.2rem;
    margin: 0.8rem 0;
    color: var(--text-light);
}

.power-examples {
    list-style: none;
    margin-left: 0;
}

.power-examples li {
    background: rgba(26, 31, 26, 0.6);
    padding: 1rem;
    margin: 0.8rem 0;
    border-radius: 10px;
    border-left: 4px solid var(--accent-green);
}

/* Mistakes List */
.mistakes-list {
    margin: 2rem 0;
}

.mistake-item {
    background: rgba(26, 31, 26, 0.6);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 15px;
    border-left: 4px solid #ff6b35;
}

.mistake-item h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

/* Conclusion */
.conclusion-box {
    background: rgba(26, 31, 26, 0.8);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--accent-green);
}

.conclusion-box h3 {
    color: var(--accent-green);
    margin-bottom: 1.5rem;
}

.conclusion-box ol {
    margin-left: 1.5rem;
}

.conclusion-box li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.final-tip {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(220, 102, 45, 0.1);
    border-radius: 15px;
    border: 2px solid var(--orange);
}

/* Article Navigation */
.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 4rem 0 2rem;
    flex-wrap: wrap;
}

.nav-btn {
    flex: 1;
    min-width: 200px;
    padding: 1rem 2rem;
    background: rgba(26, 31, 26, 0.8);
    color: var(--accent-green);
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(111, 185, 62, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-btn:hover {
    border-color: var(--accent-green);
    background: rgba(111, 185, 62, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(111, 185, 62, 0.3);
}

/* Footer */
footer {
    background: rgba(10, 14, 10, 0.8);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(111, 185, 62, 0.2);
    margin-top: 4rem;
}

footer p {
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.disclaimer {
    font-size: 0.9rem;
    color: #ff6b35;
    padding: 1rem;
    border: 1px solid #ff6b35;
    border-radius: 10px;
    background: rgba(255, 107, 53, 0.05);
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .brand-name {
        font-size: 1.5rem;
    }

    .header-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .section-icon {
        width: 40px;
        height: 40px;
    }

    .lighting-types {
        grid-template-columns: 1fr;
    }

    .article-navigation {
        flex-direction: column;
    }

    .nav-btn {
        min-width: 100%;
    }

    .container {
        padding: 0 1rem;
    }

    table {
        font-size: 0.9rem;
    }

    thead th,
    tbody td {
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    .article-content {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.3rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
    }

    table {
        font-size: 0.8rem;
    }

    thead th,
    tbody td {
        padding: 0.5rem;
    }
}
