/* Blog-specific styles */
.blog-list {
    padding: 4rem 0;
    background: #111;
}

.blog-list h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

.blog-post {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.post-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.post-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-date, .post-updated {
    margin-right: 1rem;
}

.read-more {
    color: #64ffda;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    color: #4fd3b3;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.current {
    color: #64ffda;
    font-weight: 600;
}

/* Blog detail styles */
.blog-detail {
    padding: 4rem 0;
    background: #111;
}

.post-header h1 {
    color: #64ffda;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-navigation {
    text-align: center;
    margin-top: 3rem;
}

/* Support styles */
.support-home {
    padding: 4rem 0;
    background: #111;
}

.support-home h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: #64ffda;
}

.support-card h3 {
    color: #64ffda;
    margin-bottom: 1rem;
}

.support-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

/* Contact form styles */
.contact-form {
    padding: 4rem 0;
    background: #111;
}

.contact-form h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

.support-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #64ffda;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #333;
    border-radius: 6px;
    background: #1a1a1a;
    color: #e0e0e0;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50;
    color: #4caf50;
}

/* FAQ styles */
.faq {
    padding: 4rem 0;
    background: #111;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

.faq-item {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 1px solid #333;
}

.faq-question {
    color: #64ffda;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-answer {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Recent posts on home page */
.recent-posts {
    padding: 4rem 0;
    background: #0d1421;
}

.recent-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

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

.post-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: #64ffda;
}

.post-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.post-card h3 a {
    color: #64ffda;
    text-decoration: none;
    font-size: 1.2rem;
}

.post-card h3 a:hover {
    color: #4fd3b3;
}

.post-card p {
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.post-card .post-date {
    color: #888;
    font-size: 0.9rem;
}

.text-center {
    text-align: center;
}

/* Documentation styles */
.docs {
    padding: 4rem 0;
    background: #111;
}

.docs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #64ffda;
}

.docs-header {
    margin-bottom: 2rem;
}

.back-link {
    color: #64ffda;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.back-link:hover {
    color: #4fd3b3;
}

.docs-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.docs-nav {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    height: fit-content;
}

.docs-nav h3 {
    color: #64ffda;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.2rem;
}

.docs-nav h3:first-child {
    margin-top: 0;
}

.docs-nav ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.docs-nav li {
    margin-bottom: 0.5rem;
}

.docs-nav a {
    color: #b0b0b0;
    text-decoration: none;
    padding: 0.5rem;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.docs-nav a:hover {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
}

.docs-content {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #333;
}

.docs-content h3 {
    color: #64ffda;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.docs-content h3:first-child {
    margin-top: 0;
}

.docs-content h4 {
    color: #64ffda;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.2rem;
}

.docs-content h5 {
    color: #64ffda;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.docs-content p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.docs-content ul, .docs-content ol {
    color: #b0b0b0;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.docs-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.feature-highlight {
    background: rgba(100, 255, 218, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    margin: 1.5rem 0;
}

.quick-links {
    margin-top: 2rem;
}

.link-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.link-buttons .btn {
    padding: 0.75rem 1.5rem;
}

/* Code blocks */
.code-block {
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    color: #64ffda;
    font-family: 'Courier New', monospace;
}

.code-block code {
    color: #64ffda;
    font-family: 'Courier New', monospace;
}

/* Controls and key styling */
kbd {
    background: #333;
    color: #64ffda;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #555;
    font-family: monospace;
    font-size: 0.9rem;
}

.controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.control-section {
    background: rgba(100, 255, 218, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.key-map {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.key-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.key-row span {
    color: #b0b0b0;
}

.numpad-visual {
    text-align: center;
}

.numpad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 150px;
    margin: 1rem auto;
}

.numkey {
    background: #333;
    color: #64ffda;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #555;
    text-align: center;
    font-family: monospace;
}

/* Attributes and skills */
.attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.attribute-card {
    background: rgba(100, 255, 218, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.attribute-card h4 {
    color: #64ffda;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.skills-category {
    margin: 2rem 0;
}

.skill-item {
    background: rgba(100, 255, 218, 0.05);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    margin-bottom: 1rem;
}

.skill-item h5 {
    color: #64ffda;
    margin-bottom: 0.5rem;
}

.skill-item p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Combat system styling */
.damage-states {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.damage-level {
    background: rgba(100, 255, 218, 0.05);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.damage-level h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

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

.body-part {
    background: rgba(100, 255, 218, 0.05);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.body-part h4 {
    color: #64ffda;
    margin-bottom: 1rem;
}

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

.skill-combat {
    background: rgba(100, 255, 218, 0.05);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.skill-combat h5 {
    color: #64ffda;
    margin-bottom: 1rem;
}

/* Tips and strategies */
.tips {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.tips h4 {
    color: #ffc107;
    margin-bottom: 1rem;
}

.development-info, .build-strategies {
    margin: 2rem 0;
}

.build-strategies h4 {
    color: #64ffda;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.build-strategies h4:first-child {
    margin-top: 0;
}

.next-steps {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.next-steps h3 {
    color: #64ffda;
    margin-bottom: 1rem;
    margin-top: 0;
}

.next-steps a {
    color: #64ffda;
    text-decoration: none;
}

.next-steps a:hover {
    color: #4fd3b3;
    text-decoration: underline;
}

/* ASCII examples */
.ascii-example {
    background: #000;
    border: 2px solid #64ffda;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: center;
}

.ascii-example pre {
    color: #64ffda;
    font-family: 'Courier New', monospace;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.5);
}

.ascii-example p {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin: 0;
}

/* Blog Post Content Styling */
.post-content {
    padding: 2rem;
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Typography for post content */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #64ffda;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.post-content h1 {
    font-size: 2rem;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

.post-content h2 {
    font-size: 1.7rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.3rem;
}

.post-content h3 {
    font-size: 1.4rem;
}

.post-content h4 {
    font-size: 1.2rem;
}

.post-content p {
    margin-bottom: 1.2rem;
}

.post-content a {
    color: #64ffda;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.post-content a:hover {
    border-bottom-color: #64ffda;
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.3);
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: #b0b0b0;
}

.post-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(100, 255, 218, 0.05);
    border-left: 4px solid #64ffda;
    border-radius: 0 4px 4px 0;
    color: #b0b0b0;
    font-style: italic;
}

.post-content pre {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.post-content code {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #e0e0e0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.post-content th,
.post-content td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.post-content th {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    font-weight: 600;
}

.post-content tr:hover {
    background: rgba(100, 255, 218, 0.05);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1rem 0;
    border: 1px solid #333;
}

.post-content hr {
    border: none;
    height: 1px;
    background: #333;
    margin: 2rem 0;
}

.post-navigation {
    text-align: center;
    margin-top: 2rem;
}


@media screen and (max-width: 768px) {
    .post-content {
        font-size: 1rem;
        padding: 1.5rem;
    }

    .post-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .post-header h1 {
        font-size: 1.8rem;
    }

    .post-content h1 {
        font-size: 1.6rem;
    }

    .post-content h2 {
        font-size: 1.4rem;
    }

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

    .post-content pre,
    .post-content table {
        font-size: 0.8rem;
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .link-buttons {
        flex-direction: column;
    }
}
