/* Base Styles */
:root {
    --primary: #6366f1;
    --primary-dark: #7628dd;
    --secondary: #10b981;
    --dark: #0f172a;
    --darker: #0a0f1f;
    --light: #f8fafc;
    --gray: #94a3b8;
    --dark-gray: #334155;
}
::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

#cursor {
    position: fixed;
    top: 0;
    transition: 0.1s;
    border-radius: 100%;
    box-shadow: 0 0 400px 80px #2079fff1;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: var(--primary);
    text-decoration: none;
}

#lodaer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #0a0f1f; */
    backdrop-filter: blur(100px);
    z-index: 1000;
    transition: 1s ease-in-out;
}
#lodaer .logobg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    object-fit: cover;
    object-position: top;
    mix-blend-mode: lighten;
    aspect-ratio: 16/13;
    transition: 1s ease-in-out;
}

/* Background & Grid Overlay */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, #0f172a 0%, #0a0f1f 70%);
    z-index: -2;
}
.grid_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
            rgba(99, 102, 241, 0.1) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    opacity: 0.5;
}

/* Header Styles */
.header {
    position: fixed;
    top: 20px;
    border-radius: 50px;
    width: calc(100% - 40px);
    padding: 10px;
    margin: 0 20px;
    z-index: 10;
    background: #0f172a9c;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #ffffff25;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--light);
    font-weight: 500;
    position: relative;
}
.nav a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
    text-shadow: 0 4px 20px var(--primary);
}

.header_actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social_icon {
    font-size: 1.25rem;
    color: var(--light);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social_icon:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--primary);
}

.donate_btn {
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.donate_btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(99, 102, 241, 0.1) 0%,
        transparent 70%
    );
    z-index: -1;
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero .logobg {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    object-fit: cover;
    object-position: top;
    mix-blend-mode: lighten;
    opacity: 0.3;
    z-index: -1;
    aspect-ratio: 16/10.5;
}

.hero .container {
    transform: translateY(50%);
    transition: all 1s ease-in-out;
    max-width: 800px;
    text-align: center;
}
.hero .cta_buttons,
.hero .hero_description,
.hero .hero_title {
    transition: all 1s ease-in-out;
    transform: translateY(50%);
}

.hero_title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(90deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero_title span {
    display: block;
}

.gradient_text {
    background: linear-gradient(90deg, #6366f1 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero_description {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta_buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn_primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn_primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.btn_secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn_secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

/* Features Section */
.FeaturesSection {
    height: 100vh;
    padding-top: 80px;
}
.FeaturesSection .container {
    height: 85%;
}
.FeaturesSection h2 {
    margin: 0;
}
.FeaturesGrid {
    display: flex;
    height: 100%;
}

.feature {
    background: #ffffff0d;
    border: 1px solid #ffffff1a;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    padding: 2rem;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* First feature - larger size */
.FeaturesGrid .left {
    width: 30%;
    padding: 1rem;
}

.FeaturesGrid .right {
    width: 70%;
    height: 100%;
    padding: 0 1rem;
}

.FeaturesGrid .right .top {
    width: 100%;
    height: 50%;
    display: flex;
    padding: 1rem;
    justify-content: space-between;
}
.FeaturesGrid .right .top .feature {
    width: 48%;
    height: 100%;
}
.FeaturesGrid .right .top .feature:nth-child(2):hover {
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}
.FeaturesGrid .right .bottom .feature {
    border: none;
    background: #6366f1aa;
    transition: 0.5s ease-in-out;
}
.FeaturesGrid .right .bottom .feature:hover {
    box-shadow: 0 10px 30px #00000033;
    background: linear-gradient(90deg, #6366f1aa 0%, #ffffff0d 100%);
}

.FeaturesGrid .right .bottom {
    width: 100%;
    height: 50%;
    padding: 1rem;
}

.feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px #00000033;
    background: #ffffff0d;
    border-color: #ffffff1a;
}
.feature .light {
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.1s;
    border-radius: 100%;
    box-shadow: 0 0 200px 100px #7520ff;
    transition: 1s;
}
.feature:hover .light {
    left: 100%;
}
.feature i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}
.feature .fa-arrow-right {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.feature:hover .fa-arrow-right {
    transform: translateX(5px);
    opacity: 1;
}
.feature h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}
.feature p {
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}
/* For the special card with stars */
.feature.feature-highlight {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.1) 0%,
        rgba(99, 102, 241, 0.05) 100%
    );
    border: 1px dashed var(--primary);
}
.feature.feature-highlight::after {
    content: "★ ★ ★";
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--primary);
    font-size: 1.2rem;
    letter-spacing: 2px;
    transition: 0.5s ease-in-out;
    opacity: 0;
}
.feature:hover.feature-highlight::after {
    transform: scale(1.1);
    opacity: 1;
}

@media (max-width: 768px) {
    .FeaturesGrid {
        flex-direction: column;
    }
    .feature {
        padding: 1rem;
    }
    .feature h3 {
        font-size: 1rem;
        margin-bottom: 0;
    }
    .feature i {
        font-size: 1.5rem;
    }
    .FeaturesGrid .left {
        width: 100%;
        height: 30%;
        padding: 0rem;
    }
    .FeaturesGrid .right {
        width: 100%;
        height: 70%;
        padding: 0rem;
    }
    .FeaturesGrid .right .top {
        padding: 1rem 0;
    }
    .FeaturesGrid .right .bottom {
        padding: 0rem;
    }
}

/* Screenshots Section */
#Screenshots {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

#Screenshots .container {
    scale: 0.8;
    position: relative;
    top: -10%;
}
#Screenshots .container h2 {
    scale: 1.2;
}

.screenshots-slider {
    width: 100%;
    padding: 2rem 0 6rem;
    position: relative;
    margin: auto;
}

.swiper {
    overflow: initial;
}

/* 3D Coverflow Styles */
.swiper-3d {
    perspective: 1200px;
}

.swiper-3d .swiper-slide,
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
    border-radius: 20px;
    background: transparent;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s;
    transform-style: preserve-3d;
    width: 300px;
    aspect-ratio: 9/16;
}

.swiper-slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1a1a2e;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Active slide styling */
.swiper-slide-active .swiper-slide-content {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Pagination */
.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #6366f1;
    transform: scale(1.2);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .screenshots-slider {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .screenshots-slider {
        width: 120%;
    }
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading State */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    grid-column: 1 / -1;
    text-align: center;
}

.loading_spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1.5rem;
}

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

/* Error Message */
.error_message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.error_message i {
    font-size: 2.5rem;
    color: #ef4444;
    margin-bottom: 1rem;
    display: block;
}

.error_message p {
    margin-bottom: 1.5rem;
    color: var(--light);
}

.btn_retry {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn_retry:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn_sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn_donate {
    background: rgba(99, 102, 241, 0.1);
    color: var(--light);
    border: 1px solid var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn_donate:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn_donate i {
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero_title {
        font-size: 3.5rem;
    }
    #lodaer .logobg {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .nav,
    .donate_btn {
        display: none;
    }
    .hero_title {
        font-size: 2.75rem;
    }
    .hero_description {
        font-size: 1.1rem;
    }
    .hero .logobg {
        width: 150%;
        top: 50%;
    }

    .cta_buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }
}
