/* styles.css*/
@keyframes pulseOnline {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@keyframes pulseOffline {
    0% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(248, 113, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); }
}

/* Server Status Indicator */
.server-status-indicator {
    height: 1rem;
    width: 1rem;
    border-radius: 9999px;
    margin-right: 0.75rem;
}

.server-status-indicator.online {
    background-color: rgb(74, 222, 128);
    animation: pulseOnline 2s infinite;
}

.server-status-indicator.offline {
    background-color: rgb(248, 113, 113);
    animation: pulseOffline 2s infinite;
}

/* Connect Button */
.connect-button {
    background-color: rgb(22, 163, 74);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.connect-button:hover {
    background-color: rgb(21, 128, 61);
}

/* Section Titles */
.section-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: rgb(251, 146, 60);
    margin-bottom: 1.5rem;
}

.subsection-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: rgb(253, 186, 116);
    margin-bottom: 1rem;
    border-bottom-width: 1px;
    border-color: rgb(251, 146, 60);
    padding-bottom: 0.5rem;
}

/* Staff Cards */
.staff-card {
    background-color: rgb(31, 41, 55);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    transition: background-color 0.3s ease;
}

.staff-card:hover {
    background-color: rgb(55, 65, 81);
}

.staff-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    margin-right: 1rem;
    border-width: 2px;
}

.staff-avatar.admin {
    border-color: rgb(251, 146, 60);
}

.staff-avatar.moderator {
    width: 3rem;
    height: 3rem;
    border-color: rgb(96, 165, 250);
    margin-right: 0.75rem;
}

.staff-name {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.staff-name.admin {
    color: rgb(253, 186, 116);
}

.staff-name.moderator {
    color: rgb(147, 197, 253);
}

.staff-role {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(209, 213, 219);
}

.staff-social {
    display: flex;
    margin-top: 0.25rem;
}

/* Helper Cards */
.helper-card {
    background-color: rgb(31, 41, 55);
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.helper-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    margin-right: 0.5rem;
    border-width: 2px;
    border-color: rgb(192, 132, 252);
}

.helper-name {
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(216, 180, 254);
}

/* Community Links */
.community-links {
    background-color: rgb(31, 41, 55);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.community-card {
    background-color: rgb(55, 65, 81);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.community-card:hover {
    background-color: rgb(75, 85, 99);
}

.community-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.community-card.discord .community-icon {
    color: rgb(129, 140, 248);
}

.community-card.steam .community-icon {
    color: rgb(96, 165, 250);
}

.community-card.donations .community-icon {
    color: rgb(74, 222, 128);
}

.community-card-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.community-card-description {
    color: rgb(209, 213, 219);
    margin-bottom: 1rem;
}

.community-button {
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    color: white;
}

.community-button.discord {
    background-color: rgb(79, 70, 229);
}

.community-button.discord:hover {
    background-color: rgb(67, 56, 202);
}

.community-button.steam {
    background-color: rgb(37, 99, 235);
}

.community-button.steam:hover {
    background-color: rgb(29, 78, 216);
}

.community-button.donations {
    background-color: rgb(22, 163, 74);
}

.community-button.donations:hover {
    background-color: rgb(21, 128, 61);
}

/* News Cards */
.news-card {
    background-color: rgb(31, 41, 55);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .news-card {
        flex-direction: row;
    }
}

.news-date {
    background-color: rgb(249, 115, 22);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .news-date {
        width: 33.333333%;
    }
}

.news-day {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    color: white;
}

.news-month-year {
    margin-left: 0.75rem;
    color: white;
}

.news-month {
    display: block;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}

.news-year {
    display: block;
}

.news-content {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .news-content {
        width: 66.666667%;
    }
}

.news-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.news-description {
    color: rgb(209, 213, 219);
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(156, 163, 175);
}

.news-author {
    margin-left: 0.25rem;
}

/* Comments Section */
.comment-form-container {
    background-color: rgb(31, 41, 55);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    margin-bottom: 1.5rem;
}

.comment-form-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: rgb(209, 213, 219);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: rgb(55, 65, 81);
    border: 1px solid rgb(75, 85, 99);
    border-radius: 0.375rem;
    color: rgb(243, 244, 246);
    outline: none;
}

.form-input:focus {
    border-color: rgb(251, 146, 60);
    box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.5);
}

.submit-button {
    background-color: rgb(249, 115, 22);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.submit-button:hover {
    background-color: rgb(234, 88, 12);
}

.comments-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment {
    background-color: rgb(31, 41, 55);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
}

.comment:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.comment-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    margin-right: 1rem;
    border-width: 2px;
    border-color: rgb(251, 146, 60);
}

.comment-avatar.staff {
    width: 2.5rem;
    height: 2.5rem;
    border-color: rgb(96, 165, 250);
    margin-right: 0.75rem;
}

.comment-author {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.comment-author.staff {
    color: rgb(96, 165, 250);
}

.staff-badge {
    font-size: 0.75rem;
    line-height: 1rem;
    background-color: rgb(59, 130, 246);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    margin-left: 0.25rem;
}

.comment-date {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(156, 163, 175);
    margin-bottom: 0.5rem;
}

.comment-text {
    color: rgb(209, 213, 219);
}

.comment-actions {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(156, 163, 175);
}

.comment-action {
    transition: color 0.2s ease;
}

.comment-action:hover {
    color: rgb(251, 146, 60);
}

.comment-reply {
    background-color: rgb(55, 65, 81);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    margin-left: 2rem;
}

/* Footer */
.site-footer {
    background-color: rgb(31, 41, 55);
    padding: 2rem 0;
}

.footer-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-brand {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-brand {
        margin-bottom: 0;
    }
}

.footer-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: rgb(251, 146, 60);
}

.footer-subtitle {
    color: rgb(156, 163, 175);
}

.footer-social {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    line-height: 2rem;
}

.social-icon {
    color: rgb(156, 163, 175);
    transition: color 0.2s ease;
}

.social-icon.steam:hover {
    color: rgb(96, 165, 250);
}

.social-icon.discord:hover {
    color: rgb(129, 140, 248);
}

.social-icon.youtube:hover {
    color: rgb(239, 68, 68);
}

.social-icon.twitch:hover {
    color: rgb(219, 39, 119);
}

.footer-copyright {
    border-top-width: 1px;
    border-color: rgb(75, 85, 99);
    padding-top: 1.5rem;
    text-align: center;
    color: rgb(156, 163, 175);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.footer-copyright p:last-child {
    margin-top: 0.5rem;
}

.bg-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-custom {
    background-image: url('../assets/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

