/* Main content layout */
.content-container {
    max-width: 1000px;
    margin: 1.5rem auto; /* Reduced top margin */
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

.content-container-kofi {
    max-width: 1000px;
    margin: 1.5rem auto; /* Centers the container itself horizontally */
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    display: flex; /* Enable Flexbox for the container */
    justify-content: center; /* Center items horizontally */
    /* align-items: center; /* Uncomment this to center items vertically if needed */
}

/* Header styling */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: rgba(37, 37, 37, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-logo {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #53fc5e; /* Using your kick color as accent */
}

.nav-page-title {
    color: var(--wolv-light-blue);
    font-weight: 600;
    font-size: 1.4rem;
    margin-left: 1rem;
    display: flex;
    align-items: center;
}


/* Article styling */
.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #aaa;
    padding-bottom: 0.5rem;
}

.article-content {
    padding-top: 0;
}

.article-content {
    line-height: 1.7;
    color: #e6e6e6;
}

.article-content h2 {
    margin-top: 0rem;
    font-size: 1.8rem;
    color: white;
}

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

/* Code block styling */
.code-block {
    margin: 1.5rem 0;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 6px;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: rgba(30, 30, 30, 0.9);
    color: #aaa;
    font-family: monospace;
    font-size: 0.9rem;
}

.copy-button {
    background-color: transparent;
    border: 1px solid #555;
    color: #ddd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background-color: rgba(83, 252, 94, 0.2); /* Kick color with opacity */
    border-color: var(--kick-color);
    color: white;
}

pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
}

code {
    font-family: 'Consolas', 'Monaco', monospace;
    color: #e0e0e0;
    line-height: 1.5;
    tab-size: 4;
}

figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

/* Footer styling */
.site-footer {
    background-color: rgba(10, 10, 10, 0.9);
    padding: 1.5rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    font-size: 0.9rem;
    color: #777;
}

/* Content index page styles */
.page-header {
    /* margin-bottom: 2rem; */
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    /* margin-bottom: 0.5rem; */
}

/* Articles grid and cards - 2 per row */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.article-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    height: 100%;
}


.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(149, 216, 255, 0.4);
}

/* Image styling */
.article-figure {
    margin: 2rem 0;
    text-align: center;
}

.article-image {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 1.5rem 1.5rem 0.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-title {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
    color: white;
}

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

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #777;
    margin-top: auto;
    padding-top: 0.75rem;
}

.article-date {
    color: #666666;
}

.article-categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: flex-end;
}

.article-category {
    background-color: rgba(83, 252, 94, 0.2);
    color: var(--kick-color);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.75rem;
    display: inline-block;
    white-space: nowrap;
}

.card-content {
    display: flex;
    height: 100%;
}

.card-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-right: 1rem;
    justify-content: space-between;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.card-description {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: auto;
    flex-grow: 1;
}

.card-category {
    background-color: rgba(83, 252, 94, 0.2);
    color: var(--kick-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 500;
    display: inline-block;
    align-self: flex-start;
    margin-top: 1rem;
}

.card-image-container {
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-box-art {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    max-height: 160px;
}

.card-content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
    color: white;
}

.card-content p {
    color: #bbb;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #777;
}

/* Floating section style for all sections */
.floating-section {
    background-color: rgba(30, 30, 30, 0.6);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    margin-bottom: 1rem;
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.floating-section:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

/* Main header section */
.main-header-section {
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.main-header-section h1 {
    margin: 0;
}

/* Section container styles */
.section-container {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--wolv-light-blue);
}

/* Guides grid and cards - 4 per row */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.guide-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 8px;
    padding: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    /* height: 100%; */
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.4);
    background-color: rgba(40, 40, 40, 0.8);
}

.guide-content {
    display: flex;
    height: 100%;
}

.guide-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-right: 1rem;
    justify-content: space-between;
}

.guide-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.guide-description {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: auto;
    flex-grow: 1;
}

.guide-category {
    background-color: rgba(83, 252, 94, 0.2);
    color: var(--kick-color);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.75rem;
    display: inline-block;
    white-space: nowrap;
    margin: 0;
}

.guide-image-container {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-box-art {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    max-height: 120px;
}

/* Responsive adjustments */
@media (max-width: 700px) {
    .site-header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .header-logo {
        margin-bottom: 1rem;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .guides-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-content {
        flex-direction: column;
    }
    
    .guide-image-container {
        width: 100%;
        margin-top: 1rem;
    }
    
    .guide-text {
        padding-right: 0;
    }
}

/* R2modman profiles page specific styles */

/* Game selector styles */
.game-selector {
    margin-top: 0;
    margin-bottom: 1rem;
}

.game-selector h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.game-icons-container {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0;
    scrollbar-width: thin;
}

.game-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease, border 0.3s ease;
    opacity: 0.7;
    min-width: 100px;
    border: 2px solid transparent;
    padding: 5px;
    border-radius: 8px;
}

.game-icon img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
}

.game-icon:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.game-icon:hover img {
    border: 2px dashed var(--wolv-light-blue);
}
.game-icon span {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.game-icon.active {
    opacity: 1;
}

.game-icon.active img {
    box-shadow: 0 4px 12px rgba(83, 252, 94, 0.5);
    border: 2px solid var(--kick-color);
}

/* Profile section styles */
.profiles-container {
    margin-top: 1rem;
}

.content-article {
    margin-bottom: 1rem;
}

.game-profiles {
    margin-bottom: 3rem;
}

.game-profiles-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--wolv-light-blue);
}

.profile-card {
    display: flex;
    flex-direction: column;
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(149, 216, 255, 0.2);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 1.2rem;
    margin: 0;
    color: white;
    flex: 1;
}

.profile-description {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    width: 100%;
}

/* Text highlight classes for profile descriptions */
.profile-description .highlight {
    color: var(--kick-color);
    font-weight: 600;
}

.profile-description .important {
    color: var(--youtube-color);
    font-weight: 600;
}

.profile-description .feature {
    color: var(--wolv-light-blue);
    font-weight: 500;
}

.profile-description b,
.profile-description strong {
    color: white;
    font-weight: 600;
}

.profile-meta {
    font-size: 0.8rem;
    color: #777;
    margin-top: auto;
}

.profile-code-container {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    min-width: 250px;
}

.profile-code {
    font-family: monospace;
    color: var(--kick-color);
    margin-right: 1rem;
    user-select: all;
}

/* New styles for the link button alternative */
.profile-link-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
}

.profile-link-button {
    display: inline-block;
    background-color: var(--kick-dark);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    min-width: 120px;
}

.profile-link-button:hover {
    background-color: var(--kick-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Profile description links styling */
.profile-article-link {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: auto;
    align-self: flex-start;
}

.profile-article-link:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.profile-article-text {
    font-family: monospace;
    color: var(--wolv-light-blue);
    margin-right: 0.5rem;
}

.profile-article-icon {
    margin-left: 0.5rem;
    stroke: var(--wolv-light-blue);
    width: 18px;
    height: 18px;
}

/* Footer width fix */
#footer-placeholder {
    width: 100%;
}

.site-footer {
    width: 100%;
    box-sizing: border-box;
}

/* Ensure page-wrapper properly contains the footer */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .profile-code-container {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        justify-content: space-between;
    }
}

/* r2modman How To guide styles */
.guide-steps {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.guide-steps li {
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.guide-image-box {
    background-color: rgba(20, 20, 20, 0.6);
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--wolv-light-blue);
    padding: 1rem;
    display: inline-block;
    text-align: left;
}

.guide-image-box:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 12px 24px rgba(149, 216, 255, 0.3);
}

.guide-image {
    max-width: 800px;
    height: auto;
    display: block;
    border-radius: 8px;
}

.image-caption {
    padding: 1rem;
    color: #bbb;
    font-size: 0.9rem;
    text-align: center;
}

.section-container {
    margin-bottom: 2rem;
}

.additional-help {
    margin-top: 3rem;
    text-align: center;
}

/* Text highlight classes for the guide */
.article-content .highlight {
    color: var(--accent-yellow-light);
    font-weight: 600;
}

.article-content .important {
    color: var(--youtube-color);
    font-weight: 600;
}

.article-content .feature {
    color: var(--wolv-light-blue);
    font-weight: 500;
}

/* Scrollspy Navigation */
.scrollspy-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 100;
    border: 1px solid rgba(169, 202, 228, 0.2);
}

.scrollspy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.scrollspy-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    display: block;
}

.scrollspy-link:hover {
    color: var(--wolv-light-blue);
    background-color: rgba(50, 50, 50, 0.7);
}

.scrollspy-link.active {
    color: var(--wolv-light-blue);
    font-weight: 600;
    background-color: rgba(50, 50, 50, 0.7);
    box-shadow: 0 2px 4px rgba(169, 202, 228, 0.3);
}

/* Hide scrollspy on small screens */
@media (max-width: 1200px) {
    .scrollspy-nav {
        display: none;
    }
}