:root {
    --primary-dark: #1a2b3c;
    --primary-blue: #2c5282;
    --accent-teal: #38b2ac;
    --accent-gold: #d69e2e;
    --light-bg: #f7fafc;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
    overflow-x: hidden;
}
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2d3748 100%);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    letter-spacing: -1px;
    transition: var(--transition);
}
.logo:hover {
    transform: scale(1.05);
}
.search-form {
    display: flex;
    flex: 0 1 400px;
    margin: 0 2rem;
}
.search-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    transition: var(--transition);
}
.search-form input:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(56, 178, 172, 0.1);
}
.search-form button {
    background: linear-gradient(to right, var(--primary-blue), var(--accent-teal));
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: var(--transition);
}
.search-form button:hover {
    background: linear-gradient(to right, var(--accent-teal), var(--primary-blue));
}
.nav-desktop {
    display: flex;
    gap: 2rem;
}
.nav-desktop a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}
.nav-desktop a:hover {
    color: white;
}
.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}
.nav-desktop a:hover::after {
    width: 100%;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-nav {
    display: none;
    background: var(--primary-dark);
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-md);
}
.mobile-nav.active {
    display: block;
}
.mobile-nav a {
    display: block;
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.mobile-nav a:hover {
    background: rgba(255,255,255,0.05);
    color: white;
    padding-left: 1.5rem;
}
.breadcrumb {
    background: #edf2f7;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}
.breadcrumb a:hover {
    color: var(--accent-teal);
    text-decoration: underline;
}
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin: 2rem 0;
}
.article-content {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}
.article-header {
    margin-bottom: 2.5rem;
    border-bottom: 3px solid var(--accent-teal);
    padding-bottom: 1.5rem;
}
.article-header h1 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.article-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section {
    margin: 3rem 0;
    scroll-margin-top: 100px;
}
.section h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.section h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.class-card {
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.class-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-teal);
}
.class-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.melee-icon { color: #e53e3e; }
.ranger-icon { color: #3182ce; }
.mage-icon { color: #805ad5; }
.summoner-icon { color: #38a169; }
.rogue-icon { color: #d69e2e; }
.tier-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.tier-table th, .tier-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.tier-table th {
    background: linear-gradient(to right, var(--primary-blue), var(--accent-teal));
    color: white;
    font-weight: 600;
}
.tier-table tr:hover {
    background: #f7fafc;
}
.highlight-box {
    background: linear-gradient(135deg, #e6fffa, #ebf8ff);
    border-left: 4px solid var(--accent-teal);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}
.hero-image {
    width: 100%;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.hero-image:hover {
    transform: scale(1.01);
}
.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}
.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.sidebar-widget h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-gold);
}
.quick-nav ul {
    list-style: none;
}
.quick-nav li {
    margin-bottom: 0.75rem;
}
.quick-nav a {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    transition: var(--transition);
}
.quick-nav a:hover {
    background: #edf2f7;
    color: var(--primary-blue);
    transform: translateX(5px);
}
.interaction-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: var(--shadow-sm);
}
.rating-system {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.stars {
    display: flex;
    gap: 0.5rem;
    font-size: 2rem;
    color: #e2e8f0;
    cursor: pointer;
}
.stars .active {
    color: var(--accent-gold);
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}
.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(56, 178, 172, 0.1);
}
.submit-btn {
    background: linear-gradient(to right, var(--primary-blue), var(--accent-teal));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}
.submit-btn:hover {
    background: linear-gradient(to right, var(--accent-teal), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.web-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}
.web-link {
    background: #f7fafc;
    padding: 1.25rem;
    border-radius: 8px;
    transition: var(--transition);
}
.web-link:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.web-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: block;
    transition: var(--transition);
}
.web-link a:hover {
    color: var(--accent-teal);
    text-decoration: underline;
}
.site-footer {
    background: var(--primary-dark);
    color: #cbd5e0;
    padding: 3rem 0 1.5rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-teal);
}
.footer-section ul {
    list-style: none;
}
.footer-section li {
    margin-bottom: 0.75rem;
}
.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: var(--transition);
}
.footer-section a:hover {
    color: white;
    padding-left: 5px;
}
.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #a0aec0;
}
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    .search-form {
        order: 3;
        flex: 1 1 100%;
        margin: 1rem 0 0;
    }
    .nav-desktop {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .article-header h1 {
        font-size: 2.2rem;
    }
    .class-grid {
        grid-template-columns: 1fr;
    }
    .web-links {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .tier-table {
        display: block;
        overflow-x: auto;
    }
}
@media (max-width: 480px) {
    .article-content {
        padding: 1.5rem;
    }
    .section h2 {
        font-size: 1.75rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .sidebar {
        grid-template-columns: 1fr;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.section, .class-card, .sidebar-widget {
    animation: fadeIn 0.6s ease-out;
}
@media print {
    .site-header, .sidebar, .interaction-section, .site-footer {
        display: none;
    }
    .main-content {
        grid-template-columns: 1fr;
    }
    body {
        color: black;
        background: white;
    }
    .article-content {
        box-shadow: none;
        padding: 0;
    }
}
