:root {
    --bg-color: #160338;
    --text-color: #e0e0e0;
    --accent-color: #8a2be2;
    /* BlueViolet */
    --accent-glow: rgba(138, 43, 226, 0.4);
    --secondary-glow: rgba(0, 255, 127, 0.2);
    /* SpringGreenish */

    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.1);

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 50% 50%, #2a0a55 0%, #160338 100%);
    background-size: 200% 200%;
    animation: gradientPulse 15s ease infinite;
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

@keyframes gradientPulse {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Background Effects */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Behind particles */
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-glow);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 50px);
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    width: 100%;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: fadeDown 1s ease-out;
}

.main-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    /* Blend mode helps if the logo has a black background */
    mix-blend-mode: screen;
    /* Fallback if it's transparent: standard display */
}

/* If the user meant the logo needs a specific bg to blend, 
   we might need to remove mix-blend-mode or adjust body bg.
   For now, assuming black bg on logo or transparent.
   If transparent, mix-blend-mode screen might make it disappear if dark, 
   so let's check JS or play it safe.
   Actually, 'screen' is risky if logo is dark. 
   Let's try 'normal' first but add a wrapper to handle 'blending'.
*/
.main-logo {
    mix-blend-mode: normal;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.3));
}

.subtitle {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    animation: fadeUp 1s ease-out 0.2s backwards;
}

.description-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeUp 1s ease-out 0.4s backwards;
}

.description-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cccccc;
}

/* Links Section */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: row;
    /* Side by side */
    gap: 1rem;
    animation: fadeUp 1s ease-out 0.6s backwards;
}

.community-card {
    flex: 1;
    /* Equal width */
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.community-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-3px);
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(138, 43, 226, 0.1);
}

.card-icon-wrapper {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: #fff;
}

.card-content p {
    font-size: 0.85rem;
    color: #aaa;
}

.card-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.community-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Specific button styles if needed, e.g. brand colors on hover */
.whatsapp:hover .card-arrow {
    color: #25D366;
}

.discord:hover .card-arrow {
    color: #5865F2;
}

/* Q&A Section */
.qa-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeUp 1s ease-out 0.8s backwards;
}

.section-title {
    font-family: var(--font-heading);
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.qa-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.qa-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.qa-header:hover {
    background: var(--card-hover-bg);
}

.qa-question {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.qa-icon {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.qa-item.active .qa-icon {
    transform: rotate(180deg);
}

.qa-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.qa-item.active .qa-content {
    padding-bottom: 1.5rem;
    /* max-height is handled by JS for smooth animation */
}

.qa-answer {
    line-height: 1.6;
    color: #cccccc;
    font-size: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* QR Code Section */
.qr-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    animation: fadeUp 1s ease-out 1s backwards;
}

.qr-container {
    background: #fff;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: transform 0.3s ease;
}

.qr-container:hover {
    transform: scale(1.05);
}

.qr-code {
    width: 150px;
    height: 150px;
    display: block;
}

.qr-label {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

/* Footer */
.site-footer {
    margin-top: auto;
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    animation: fadeIn 2s ease-out 1s backwards;
}

/* Animations */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }

    .links-section {
        flex-direction: column;
        /* Stack on mobile */
    }

    .orb-1,
    .orb-2 {
        opacity: 0.2;
    }

    .main-logo {
        max-width: 200px;
    }
}