/* Steam Support Page Styles */

/* Support Header */
.support-header {
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.support-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #66c0f4;
    margin-bottom: 20px;
}

.support-header p {
    font-size: 20px;
    color: #c7d5e0;
    max-width: 600px;
    margin: 0 auto;
}

/* Support Search */
.support-search {
    padding: 40px 0;
    background: #1b2838;
}

.search-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.search-container h2 {
    color: #66c0f4;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
}

.support-search-bar {
    display: flex;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.support-search-bar input {
    flex: 1;
    background: #2a475e;
    border: none;
    padding: 15px 20px;
    color: #c7d5e0;
    font-size: 16px;
}

.support-search-bar input::placeholder {
    color: #8f98a0;
}

.support-search-bar .search-btn {
    background: #66c0f4;
    color: #1b2838;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.support-search-bar .search-btn:hover {
    background: #5c7e10;
}

.popular-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    color: #8f98a0;
    font-size: 14px;
}

.popular-topics span {
    color: #c7d5e0;
    font-weight: 500;
}

.popular-topics a {
    color: #66c0f4;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 15px;
    background: #2a475e;
    transition: all 0.3s ease;
}

.popular-topics a:hover {
    background: #66c0f4;
    color: #1b2838;
}

/* Support Categories */
.support-categories {
    padding: 60px 0;
    background: #2a475e;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: #1b2838;
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.category-icon {
    font-size: 48px;
    color: #66c0f4;
    margin-bottom: 20px;
    text-align: center;
}

.category-card h3 {
    color: #c7d5e0;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.category-card p {
    color: #8f98a0;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.category-card ul {
    list-style: none;
    padding: 0;
}

.category-card ul li {
    margin-bottom: 12px;
}

.category-card ul li a {
    color: #66c0f4;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.category-card ul li a::before {
    content: '→';
    color: #8f98a0;
    font-weight: bold;
}

.category-card ul li a:hover {
    color: #5c7e10;
}

/* Quick Help */
.quick-help {
    padding: 60px 0;
    background: #1b2838;
}

.quick-help h2 {
    text-align: center;
    color: #66c0f4;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
}

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

.help-item {
    background: #2a475e;
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.help-item h3 {
    color: #66c0f4;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.help-item p {
    color: #c7d5e0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.help-item ol {
    color: #8f98a0;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
    padding-left: 20px;
}

.help-item ol li {
    margin-bottom: 8px;
}

.help-btn {
    background: #5c7e10;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.help-btn:hover {
    background: #6b8f12;
}

/* Contact Options */
.contact-options {
    padding: 60px 0;
    background: #2a475e;
}

.contact-options h2 {
    text-align: center;
    color: #66c0f4;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
}

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

.contact-card {
    background: #1b2838;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    font-size: 48px;
    color: #66c0f4;
    margin-bottom: 20px;
}

.contact-card h3 {
    color: #c7d5e0;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-card p {
    color: #8f98a0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-btn {
    background: #66c0f4;
    color: #1b2838;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #5c7e10;
    color: white;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #1b2838;
}

.faq-section h2 {
    text-align: center;
    color: #66c0f4;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #2a475e;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #316282;
}

.faq-question h3 {
    color: #c7d5e0;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: #66c0f4;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: #8f98a0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Support Resources */
.support-resources {
    padding: 60px 0;
    background: #2a475e;
}

.support-resources h2 {
    text-align: center;
    color: #66c0f4;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
}

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

.resource-card {
    background: #1b2838;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.resource-card h3 {
    color: #c7d5e0;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.resource-card p {
    color: #8f98a0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.resource-link {
    color: #66c0f4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid #66c0f4;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: #66c0f4;
    color: #1b2838;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .help-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .support-header h1 {
        font-size: 36px;
    }
    
    .support-header p {
        font-size: 16px;
    }
    
    .search-container h2 {
        font-size: 24px;
    }
    
    .support-search-bar {
        flex-direction: column;
    }
    
    .support-search-bar input {
        border-radius: 8px 8px 0 0;
    }
    
    .support-search-bar .search-btn {
        border-radius: 0 0 8px 8px;
    }
    
    .popular-topics {
        flex-direction: column;
        align-items: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .support-header h1 {
        font-size: 28px;
    }
    
    .support-header p {
        font-size: 14px;
    }
    
    .search-container h2 {
        font-size: 20px;
    }
    
    .support-search-bar input,
    .support-search-bar .search-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .category-card,
    .help-item,
    .contact-card,
    .resource-card {
        padding: 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
}

/* Animations */
.category-card,
.help-item,
.contact-card,
.resource-card {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

.help-item:nth-child(1) { animation-delay: 0.7s; }
.help-item:nth-child(2) { animation-delay: 0.8s; }
.help-item:nth-child(3) { animation-delay: 0.9s; }
.help-item:nth-child(4) { animation-delay: 1.0s; }

.contact-card:nth-child(1) { animation-delay: 1.1s; }
.contact-card:nth-child(2) { animation-delay: 1.2s; }
.contact-card:nth-child(3) { animation-delay: 1.3s; }
.contact-card:nth-child(4) { animation-delay: 1.4s; }

.resource-card:nth-child(1) { animation-delay: 1.5s; }
.resource-card:nth-child(2) { animation-delay: 1.6s; }
.resource-card:nth-child(3) { animation-delay: 1.7s; }
.resource-card:nth-child(4) { animation-delay: 1.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Animations */
.faq-item {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.faq-item:nth-child(1) { animation-delay: 0.2s; }
.faq-item:nth-child(2) { animation-delay: 0.4s; }
.faq-item:nth-child(3) { animation-delay: 0.6s; }
.faq-item:nth-child(4) { animation-delay: 0.8s; }
.faq-item:nth-child(5) { animation-delay: 1.0s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.category-card:hover .category-icon,
.contact-card:hover .contact-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.help-item:hover h3 {
    color: #66c0f4;
    transition: color 0.3s ease;
}

/* Loading States */
.support-content.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    color: #66c0f4;
    font-size: 24px;
}
