:root {
    --primary-color: #8A2BE2;
    --secondary-color: #4B0082;
    --accent-color: #9400D3;
    --text-color: #FFFFFF;
    --background-dark: #0A0A0A;
    --background-darker: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-dark);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Loader Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease-in-out 2.5s forwards;
}

.loader-content h1 {
    font-size: 4rem;
    color: var(--primary-color);
    animation: glow 2s ease-in-out infinite;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: #1a1a1a;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 100%;
    background: var(--primary-color);
    animation: loading 2s ease-in-out infinite;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.nav-links a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.nav-links .download-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.nav-links .download-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.4);
}

@media (max-width: 768px) {
    nav {
        padding: 8px 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .nav-links .download-btn {
        padding: 4px 12px;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(13, 13, 13, 0.97) 0%,
        rgba(30, 15, 45, 0.97) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(75, 0, 130, 0.15) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    text-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(138, 43, 226, 0.3),
        0 15px 35px rgba(138, 43, 226, 0.2);
    animation: heroTitleGlow 3s ease-in-out infinite;
}

.hero h1::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color),
        transparent);
    transform: translateX(-50%);
}

.hero p {
    font-size: 1.5rem;
    margin: 30px auto;
    max-width: 800px;
    color: #fff;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    position: relative;
}

.hero-cta {
    text-decoration: none;
    margin-top: 40px;
    display: inline-block;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(45deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 100%);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        0 10px 30px rgba(138, 43, 226, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 15px 40px rgba(138, 43, 226, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05) 50%,
        transparent 50%,
        transparent);
    z-index: 1;
    background-size: 250% 250%;
    animation: shine 3s linear infinite;
}

@keyframes heroTitleGlow {
    0%, 100% {
        text-shadow: 
            0 2px 5px rgba(0, 0, 0, 0.3),
            0 5px 15px rgba(138, 43, 226, 0.3),
            0 15px 35px rgba(138, 43, 226, 0.2);
    }
    50% {
        text-shadow: 
            0 2px 5px rgba(0, 0, 0, 0.3),
            0 5px 25px rgba(138, 43, 226, 0.5),
            0 15px 50px rgba(138, 43, 226, 0.4);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

/* Story Section */
.story {
    padding: 100px 20px;
    background: var(--background-darker);
}

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

.story h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(13, 13, 13, 0.98) 0%,
        rgba(30, 15, 45, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.05) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(75, 0, 130, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    cursor: grab;
    padding: 20px 0;
    perspective: 1500px;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding: 20px 0;
    transform-style: preserve-3d;
}

.gallery-item {
    min-width: 500px;
    height: 340px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    overflow: hidden;
}

.gallery-item-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.3;
    transform: scale(0.85) translateY(20px) translateZ(0);
    background: rgba(0, 0, 0, 0.2);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    filter: brightness(0.9) contrast(1.1);
}

.gallery-item-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    filter: blur(20px);
    transform: scale(0.9) translateZ(-50px);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.active .gallery-item-inner {
    opacity: 1;
    transform: scale(1) translateY(0) translateZ(50px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 15px 45px rgba(138, 43, 226, 0.2);
}

.gallery-item.active img,
.gallery-item.active video {
    filter: brightness(1) contrast(1.05);
}

.gallery-item-lighting {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(138, 43, 226, 0.1) 50%,
        transparent 75%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.gallery-item.active .gallery-item-lighting {
    opacity: 1;
}

.gallery-item:not(.active) {
    opacity: 0.5;
    transform: scale(0.7) translateX(calc(var(--shift) * 250px));
}

.gallery-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        rgba(13, 13, 13, 0.95) 0%,
        transparent 15%,
        transparent 85%,
        rgba(13, 13, 13, 0.95) 100%);
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 768px) {
    .gallery {
        padding: 60px 0;
    }

    .gallery h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .gallery-container {
        max-width: 100%;
        padding: 10px;
    }

    .gallery-item {
        min-width: 280px;
        height: 280px;
    }

    .gallery-item:not(.active) {
        transform: scale(0.7) translateX(calc(var(--shift) * 150px));
    }
}

/* Download Section */
.download {
    padding: 80px 20px;
    background: linear-gradient(135deg, 
        rgba(13, 13, 13, 0.95) 0%, 
        rgba(30, 15, 45, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.05) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(75, 0, 130, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
                 0 4px 8px rgba(138, 43, 226, 0.2);
}

.download-button {
    display: inline-block;
    padding: 20px 60px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(45deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 100%);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        0 10px 30px rgba(138, 43, 226, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 15px 40px rgba(138, 43, 226, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.download-button:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(138, 43, 226, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.download-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05) 50%,
        transparent 50%,
        transparent);
    z-index: 1;
    background-size: 250% 250%;
    animation: shine 3s linear infinite;
}

.download-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        transparent,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.download-button:hover::after {
    transform: translateX(100%);
}

.download-button i {
    margin-right: 10px;
    font-size: 1.4rem;
    vertical-align: middle;
    transform: translateY(-1px);
}

@keyframes shine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 768px) {
    .download {
        padding: 60px 20px;
    }

    .download h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .download-button {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

/* FAQ Section */
.faq {
    padding: 100px 20px;
    background: var(--background-dark);
}

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

.faq h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question:hover {
    background: rgba(138, 43, 226, 0.1);
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-color);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-toggle i {
    color: var(--primary-color);
}

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

.faq-answer p {
    padding: 20px;
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active {
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.2);
}

/* Footer */
footer {
    padding: 50px 20px;
    background: var(--background-darker);
}

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

.social-links {
    margin-bottom: 30px;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
    }
    50% {
        text-shadow: 0 0 40px rgba(138, 43, 226, 0.8);
    }
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(250%);
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

a, button {
    text-decoration: none;
    color: inherit;
}

.nav-link,
.hero-cta,
.download-button,
.faq-toggle,
.social-links a {
    text-decoration: none;
}

.footer a {
    text-decoration: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}
