

:root {
    --primary-purple: #6B46C1;
    --primary-blue: #3B82F6;
    /* Adjusted primary-pink for less red neon effect */
    --primary-pink: #A06EB9; /* More purple/muted pink */
    --primary-cyan: #06B6D4;
    --dark-bg: #0F0C1F;
    --darker-bg: #0A0614;
    --text-light: #E2E8F0;
    --text-dim: #94A3B8;
    --accent-glow: #8B5CF6;
}


.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at center, #1a0f2e 0%, #0a0612 70%);
}


@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.nebula-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.2) 0%, rgba(63, 10, 114, 0) 70%);
    pointer-events: none; /* Allows clicks to pass through */
}

/* ==================================== */
/* Utility Classes                     */
/* ==================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1; /* Ensure content is above backgrounds */
}

.content-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.alt-bg {
    background: rgba(10, 6, 20, 0.4); /* Slightly darker transparent background */
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4); /* Subtle inner shadow */
}

.section-title {
    
    font-size: 3rem;
    color: var(--primary-cyan); /* Kept cyan, as it's not red neon */
    text-align: center;
    margin-bottom: 4rem;
    /* Reduced text-shadow for less glow */
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.text-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    /* Reduced box-shadow for less glow */
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.1); /* Subtle border */
    color: var(--text-light);
}

.btn-group {
    text-align: center;
    margin-top: 3rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.primary-btn {
    background: var(--primary-blue);
    color: var(--text-light);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3); /* Subtle blue glow */
    margin-right: 1rem;
}

.primary-btn:hover {
    background: #5B9BF6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2); /* Subtle cyan glow */
}

.secondary-btn:hover {
    background: var(--primary-cyan);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}

/* ==================================== */
/* Hero Section Styles         */
/* ==================================== */
.hero-project {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--text-light);
    padding: 0 1rem;
    z-index: 0; /* Below nav */
}

.project-content {
    max-width: 800px;
    z-index: 2;
    padding-top: 80px; /* Adjust for fixed nav */
}

.project-title {
    
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    /* Reduced text-shadow for less glow */
}

.project-subtitle {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==================================== */
/* About Project Section       */
/* ==================================== */
.project-details {
    margin-top: 4rem;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image-block {
    position: relative;
    flex-shrink: 0;
    margin-bottom: 2rem; /* Add some space on smaller screens */
    width: 400px; /* Base width */
    height: 400px; /* Base height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Standard shadow */
}

.about-image-glow {
    position: absolute;
    width: 80%; /* Adjusted for more subtle glow */
    height: 80%; /* Adjusted for more subtle glow */
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px); /* Reduced blur for less glow */
    z-index: 1;
    opacity: 0.4; /* Reduced opacity */
    animation: pulse-glow 3s infinite alternate; /* More subtle pulse */
}

@keyframes pulse-glow {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.about-text {
    flex-grow: 1;
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-text p:first-child {
    margin-top: 0;
}

.about-text p:last-child {
    margin-bottom: 0;
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-8px);
    /* background: rgba(139, 92, 246, 0.2); */
    border-color: var(--primary-cyan);
  }

  .language-card:hover {
        transform: translateY(-5px); /* Slightly less pronounced hover */
        /* background: rgba(139, 92, 246, 0.15);  */
        border-color: var(--primary-cyan); /* Kept cyan border */
    }

    .world-map:hover {
        transform: scale(1.01); /* Slightly less pronounced hover */
    }

    .qa-item:hover, .fact-item:hover {
        transform: translateY(-4px); /* Slightly less pronounced hover */
        background: rgba(139, 92, 246, 0.15); /* Slightly less opaque hover background */
        border-color: var(--primary-cyan); /* Changed hover border to cyan */
    }

    .fact-item .fact-image:hover {
        transform: scale(1.005); /* Very subtle hover */
    }    


}


/* ==================================== */
/* Characters Section          */
/* ==================================== */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}


.service-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.service-card h3 {
    
    color: var(--primary-cyan);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    /* Reduced text-shadow */
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.2);
}

.service-card p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

.character-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    /* Reduced box-shadow for character images */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    border: 3px solid var(--primary-cyan); /* Kept cyan border */
}


/* ==================================== */
/* NEW SECTIONS STYLES         */
/* ==================================== */

/* Section Content Layouts */
.section-content {
    margin-top: 2rem;
}

/* Where to read/watch section */
.comics-title {
    
    /* Changed color from primary-pink to primary-cyan for less red neon */
    color: var(--primary-cyan);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    /* Reduced text-shadow for less glow */
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.2);
}

.language-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.language-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    /* Reduced box-shadow for less glow */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}


.language-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 1rem;
    /* Reduced box-shadow */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--primary-cyan);
}

.language-name {
    
    color: var(--text-light);
    font-size: 1.2rem;
}

/* World Politics section */
.world-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 3rem;
    align-items: center; /* Align items to the start vertically */
    margin-bottom: 3rem;
}

.world-map {
    max-width: 85%; /* Adjusted for flex layout */
    height: auto;
    margin-left: 90px;
    border-radius: 15px;
    /* Reduced glow intensity */
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2), 0 0 30px rgba(6, 182, 212, 0.1); /* Subtle cyan glow */
    transition: transform 0.3s ease-in-out;
}


.world-info {
    flex-grow: 1;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    /* Reduced inner shadow */
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.15);
}

.world-info p {
    margin-bottom: 0.8rem;
}

.world-info strong {
    color: var(--primary-cyan);
}

/* Q&A and Facts sections */
.qa-list, .facts-list {
    display: grid;
    gap: 2rem;
}

.qa-item, .fact-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 2rem;
    /* Reduced box-shadow for less glow */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}


.qa-question, .fact-title {
    
    color: var(--primary-cyan); /* Kept cyan, not red neon */
    font-size: 1.4rem;
    margin-bottom: 1rem;
    /* Reduced text-shadow for less glow */
    text-shadow: 0 0 5px rgba(6, 182, 212, 0.2);
}

.qa-item p, .fact-item p {
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* Spoiler text */
.spoiler {
    color: transparent;
    background-color: var(--text-dim);
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    display: inline-block;
}

.spoiler:hover {
    color: var(--text-light);
    background-color: transparent;
}

/* Fact Images */
.fact-item .fact-image {
    max-width: 100%; /* Ensure images fit within their container */
    height: auto;
    border-radius: 10px;
    margin-top: 1rem;
    /* Reduced box-shadow */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}


/* ==================================== */
/* Responsive Styles           */
/* ==================================== */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .project-title {
        font-size: 3rem;
    }

    .project-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-flex {
        flex-direction: column;
        gap: 2rem;
    }
    .about-image-block {
        margin-bottom: 0;
        width: 100%; /* Take full width */
        height: auto; /* Auto height */
        max-width: 350px; /* Limit max width */
    }
    .about-image {
        width: 100%;
        height: auto;
    }
    .about-image-glow {
        width: 70%; /* Adjust glow size for smaller images */
        height: 70%;
        filter: blur(40px); /* Reduced blur */
    }
    .about-text {
        padding: 1.5rem; /* Adjusted padding */
    }

    .character-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .world-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .world-map {
        max-width: 80%; /* Larger on tablet/mobile */
        margin-bottom: 1rem;
        margin-left: 0px;
    }

    .world-info {
        padding: 1.5rem;
    }

    .language-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 600px) {

    .project-title {
        font-size: 1.9rem;
    }

    .project-subtitle {
        font-size: 1rem;
    }

    .btn-group {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px; 
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .primary-btn {
        margin-right: 0.5rem;
        margin-bottom: 10px;
    }

    .primary-btn.two {
        margin-left: 80px;
    }


    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .about-image-block {
        max-width: 280px; /* Further limit max width */
    }

    .about-text {
        font-size: 1rem;
        padding: 1rem;
    }

    .character-grid {
        grid-template-columns: 1fr; /* Stack on very small screens */
    }

    .comics-title {
        font-size: 1.4rem;
    }

    .language-cards {
        grid-template-columns: 1fr; /* Stack on very small screens */
    }

    .qa-question, .fact-title {
        font-size: 1.2rem;
    }

    .qa-item, .fact-item {
        padding: 1.5rem;
    }

    .world-map {
        max-width: 95%;
    }
}