/* ==================== */
/* CSS Variables */
/* ==================== */
:root {
    --primary-color: #2c5f2d;
    --secondary-color: #1a3c1b;
    --accent-color: #ffc107;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-dark: #1a1a1a;
    --border-color: #ddd;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --max-width: 1200px;
}

/* ==================== */
/* Reset & Base Styles */
/* ==================== */
* {
    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: var(--text-primary);
    background-color: var(--bg-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ==================== */
/* Container */
/* ==================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== */
/* Header */
/* ==================== */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo:hover h1 {
    opacity: 0.9;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.main-nav a:hover {
    border-bottom-color: var(--accent-color);
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==================== */
/* Main Content */
/* ==================== */
.main-content {
    background: var(--bg-primary);
    min-height: 60vh;
    padding: 3rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Quick Links */
.quick-links {
    margin-bottom: 3rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Updates Section */
.updates {
    padding: 2rem 0;
}

.updates h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.update-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.update-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.update-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.update-item p {
    color: var(--text-secondary);
}

/* ==================== */
/* Footer */
/* ==================== */
.site-footer {
    background: var(--bg-dark);
    color: #ccc;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* ==================== */
/* Responsive Design */
/* ==================== */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .main-nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .main-nav {
        order: 3;
        width: 100%;
    }

    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ==================== */
/* Content Sections */
/* ==================== */
.content-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

/* ==================== */
/* Item Cards */
/* ==================== */
.item-grid,
.creature-grid,
.zone-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.item-card,
.creature-card,
.zone-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item-card:hover,
.creature-card:hover,
.zone-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.item-icon,
.creature-icon,
.zone-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.item-card h4,
.creature-card h4,
.zone-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.item-card p,
.creature-card p,
.zone-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.creature-card.hostile {
    border: 2px solid #e74c3c;
}

.creature-card.boss {
    border: 2px solid #9b59b6;
}

.zone-details {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.zone-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* ==================== */
/* Guide Cards */
/* ==================== */
.guide-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.guide-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
    transition: box-shadow 0.2s ease;
}

.guide-card:hover {
    box-shadow: var(--shadow);
}

.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.guide-header h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    flex: 1;
}

.guide-difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.guide-difficulty.easy {
    background: #27ae60;
    color: white;
}

.guide-difficulty.medium {
    background: #f39c12;
    color: white;
}

.guide-difficulty.hard {
    background: #e74c3c;
    color: white;
}

.guide-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.guide-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

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

/* ==================== */
/* About Section */
/* ==================== */
.about-section {
    padding: 2rem 0;
    margin-bottom: 3rem;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius);
}

.about-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-section > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==================== */
/* Offer Section */
/* ==================== */
.offer-section {
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.offer-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.offer-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-top: 4px solid var(--primary-color);
}

.offer-card h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.offer-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==================== */
/* FAQ Section */
/* ==================== */
.faq-section {
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.faq-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.faq-item {
    background: var(--bg-secondary);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    border-left: 3px solid var(--primary-color);
}

.faq-item h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}
