/* QQfun Satellite Website - Main Stylesheet */

:root {
    --primary-dark: #1a0d3d;
    --primary-purple: #4a148c;
    --accent-yellow: #ffd700;
    --accent-red: #ff1744;
    --accent-orange: #ff6f00;
    --text-light: #ffffff;
    --text-secondary: #e0e0e0;
    --border-gold: #ffd700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a0d3d 0%, #2d1b4e 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background: linear-gradient(90deg, #1a0d3d 0%, #4a148c 50%, #1a0d3d 100%);
    border-bottom: 3px solid var(--accent-yellow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--accent-yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-yellow);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.container {
    background: rgba(74, 20, 140, 0.2);
    border: 2px solid var(--accent-yellow);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.1);
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.breadcrumb span {
    color: var(--text-secondary);
}

/* Headings */
h1 {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 2rem;
    color: var(--accent-yellow);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-red);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Paragraphs */
p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Links */
a {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-yellow);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-orange) 100%);
    border-color: var(--accent-red);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(255, 23, 68, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
}

.btn-secondary:hover {
    background: var(--accent-yellow);
    color: #000;
}

/* Game Cards */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.game-card {
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.4) 0%, rgba(138, 43, 226, 0.2) 100%);
    border: 2px solid var(--accent-yellow);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-color: var(--accent-orange);
}

.game-card-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-content {
    padding: 1rem;
}

.game-card-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.game-card-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.game-card-info strong {
    color: var(--accent-orange);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(74, 20, 140, 0.1);
    border: 1px solid var(--accent-yellow);
}

th {
    background: linear-gradient(90deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    color: #000;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
}

td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--accent-yellow);
    color: var(--text-secondary);
}

tr:hover {
    background: rgba(255, 215, 0, 0.1);
}

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

.faq-item {
    background: rgba(74, 20, 140, 0.2);
    border-left: 4px solid var(--accent-yellow);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.faq-question {
    color: var(--accent-yellow);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-orange);
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    margin-top: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-answer.active {
    display: block;
}

.faq-toggle.active {
    transform: rotate(180deg);
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.2) 0%, rgba(255, 111, 0, 0.2) 100%);
    border: 2px solid var(--accent-red);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-yellow);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

.download-icon {
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #1a0d3d 0%, #4a148c 50%, #1a0d3d 100%);
    border-top: 3px solid var(--accent-yellow);
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-yellow);
    color: #000;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        justify-content: center;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    main {
        padding: 1rem;
    }

    .container {
        padding: 1rem;
    }

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

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    h2 {
        font-size: 1.2rem;
    }

    nav ul {
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }

    .game-card-image {
        height: 100px;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .container {
        padding: 0.75rem;
    }

    main {
        padding: 0.75rem;
    }
}

/* Schema Markup Styles */
.schema-hidden {
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-yellow {
    color: var(--accent-yellow);
}

.text-orange {
    color: var(--accent-orange);
}

.text-red {
    color: var(--accent-red);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
