/* 
   Ultra-Premium Luna Craft Styles 
   Deepened dropshadows, Sakura FX, Enhanced Glassmorphism.
*/

:root {
    /* Color Palette Extended */
    --c-pink-light: #fff0f5;
    --c-pink-base: #ffd6e0;
    --c-pink-dark: #ffb3c6;
    --c-accent: #ff8fab;
    --c-accent-dark: #fb6f92;
    --c-purple-tint: #f5e6fa;
    /* Extra dreamy tint */

    --text-main: #4a2139;
    --text-muted: #8e5c7b;

    /* Easing */
    --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-liquid: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Extreme Premium Glass */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: 1px solid rgba(255, 255, 255, 0.85);
    --glass-shadow: 0 15px 45px -10px rgba(251, 111, 146, 0.25);
    --glass-highlight: inset 0 2px 20px rgba(255, 255, 255, 0.7);
}

/* Scroll Optimization */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--c-pink-light);
    color: var(--text-main);
    overflow-x: hidden;
    font-family: 'Nunito', sans-serif;
    position: relative;
}

/* Sakura Petals FX */
#sakura-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.sakura-petal {
    position: absolute;
    top: -10%;
    width: 15px;
    height: 18px;
    background: radial-gradient(circle at top left, #fff, var(--c-accent));
    border-radius: 50% 0 50% 50%;
    box-shadow: 0 2px 5px rgba(251, 111, 146, 0.2);
    animation: fall linear forwards, sway 2s ease-in-out infinite alternate;
}

@keyframes fall {
    to {
        top: 110%;
        transform: rotate(720deg);
    }
}

@keyframes sway {
    0% {
        margin-left: 0;
    }

    100% {
        margin-left: 50px;
    }
}

::selection {
    background: var(--c-accent);
    color: white;
}

/* Helpers */
.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.font-nunito {
    font-family: 'Nunito', sans-serif;
}

.text-center {
    text-align: center;
}

.text-solid {
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.text-muted {
    color: var(--text-muted);
    font-weight: 600;
}

.mt-4 {
    margin-top: 2rem;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4%;
}

/* Background Mesh Gradient - Very Smooth, Large Slow Moving */
.bg-gradient-mesh {
    position: fixed;
    inset: -50%;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 214, 224, 0.8) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(245, 230, 250, 0.8) 0%, transparent 40%),
        /* Purple tint */
        radial-gradient(circle at 30% 90%, rgba(255, 240, 245, 0.9) 0%, transparent 60%);
    background-size: 200% 200%;
    animation: liquidMesh 20s ease-in-out infinite alternate;
    pointer-events: none;
    filter: blur(80px);
}

@keyframes liquidMesh {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10%, -10%) scale(1.1);
    }
}

/* Premium Glass Structure */
.glass-premium {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    border-radius: 32px;
    transition: all 0.6s var(--ease-liquid);
}

/* Glass Interactive Effect */
.glass-interactive:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(251, 111, 146, 0.35), inset 0 5px 30px rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.85);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -15px rgba(251, 111, 146, 0.4), var(--glass-highlight);
}

/* Typography Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--c-accent-dark), #ff5e78);
    background-clip: text;
    /* standard property for linter! */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: filter 0.4s;
}

.hover-glow:hover {
    filter: drop-shadow(0 0 15px rgba(251, 111, 146, 0.6));
}

/* Liquid Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2.5rem;
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1250px;
    border-radius: 60px;
    z-index: 1000;
}

.navbar.scrolled {
    top: 15px;
    padding: 0.7rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(251, 111, 146, 0.25);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img-wrapper {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s var(--ease-bounce);
}

.logo:hover .logo-img-wrapper {
    transform: rotate(-15deg) scale(1.1);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo h1 {
    font-size: 1.8rem;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.15rem;
    position: relative;
    padding: 0.5rem 0;
    opacity: 0.8;
    transition: opacity 0.4s var(--ease-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--c-accent-dark);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 25px;
    height: 4px;
    background: var(--c-accent);
    border-radius: 4px;
    transition: transform 0.4s var(--ease-bounce);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    transform: translateX(-50%) scaleX(1);
}

/* Ultimate Glowing Buttons */
.btn-icon-img {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

.btn {
    border: none;
    border-radius: 50px;
    padding: 1.2rem 2.8rem;
    font-size: 1.2rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.5s var(--ease-liquid);
    position: relative;
    overflow: hidden;
}

.btn-main {
    background: linear-gradient(135deg, var(--c-accent-dark), #ff5e78);
    color: white;
    box-shadow: 0 10px 30px rgba(251, 111, 146, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.btn-alt {
    background: white;
    color: var(--c-accent-dark);
    box-shadow: 0 10px 30px rgba(251, 111, 146, 0.2);
    border: 2px solid var(--c-pink-base);
}

.btn-premium {
    padding: 1rem 2.2rem;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 25px rgba(251, 111, 146, 0.35);
}

.btn:hover {
    transform: translateY(-6px);
}

.shadow-glow:hover {
    box-shadow: 0 20px 45px rgba(251, 111, 146, 0.6), inset 0 2px 5px rgba(255, 255, 255, 0.3);
    /* Ultra glow */
}

.btn-premium:hover {
    background: linear-gradient(135deg, var(--c-accent-dark), var(--c-accent));
    border-color: white;
}

.btn-alt:hover {
    border-color: var(--c-accent-dark);
}

.btn:active {
    transform: translateY(0) scale(0.97);
}

.glass-reflex {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: buttonShine 4s infinite;
}

@keyframes buttonShine {
    0% {
        left: -100%;
        top: -100%;
    }

    20%,
    100% {
        left: 150%;
        top: 150%;
    }
}


/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 180px 4% 80px;
    gap: 5rem;
    position: relative;
}

.hero-content {
    flex: 1.3;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    font-family: 'Nunito';
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: var(--text-main);
}

.pulse-hover:hover {
    box-shadow: 0 10px 25px rgba(251, 111, 146, 0.3), var(--glass-highlight);
    transform: scale(1.05);
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #68d391;
    border-radius: 50%;
    box-shadow: 0 0 15px #68d391;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 5rem;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 1.8rem;
}

.hero-desc {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-muted);
    max-width: 95%;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* Stats Box */
.server-stats {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.stat-item {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    position: relative;
}

.stat-img-wrapper {
    position: absolute;
    top: -20px;
    background: white;
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(-10deg);
    transition: transform 0.4s var(--ease-bounce);
}

.stat-icon-img {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
}

.stat-item:hover .stat-img-wrapper {
    transform: rotate(10deg) scale(1.2);
}

.stat-val {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-top: 20px;
}

.stat-name {
    font-size: 1.1rem;
    color: var(--c-accent-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual Box */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-frame {
    padding: 15px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 35px 70px rgba(74, 33, 57, 0.15);
}

.hero-main-img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    background: transparent;
    object-fit: cover;
    z-index: 2;
    display: block;
}

.img-float {
    animation: liquidFloat 6s ease-in-out infinite alternate;
}

.visual-halo {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, var(--c-pink-base) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    animation: haloPulse 8s ease-in-out infinite alternate;
}

@keyframes liquidFloat {
    0% {
        transform: translateY(0) rotate(-2deg);
    }

    100% {
        transform: translateY(-30px) rotate(3deg);
    }
}

@keyframes haloPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Features Layout */
.features-section {
    padding: 120px 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--c-accent-dark);
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.feature-box {
    padding: 3.5rem 3rem;
    text-align: center;
}

.f-icon {
    font-size: 4rem;
    margin-bottom: 1.8rem;
    display: inline-block;
    transition: transform 0.6s var(--ease-bounce);
}

.f-icon-img {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

.feature-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-main);
}

.feature-box p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.float-icon {
    animation: liquidFloat 4s ease-in-out infinite alternate;
}

/* Visual World Showcase */
.world-section {
    padding: 80px 0 120px;
}

.layout-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

.world-showcase {
    padding: 5rem;
    border-radius: 40px;
}

.world-text {
    flex: 1.1;
}

.world-text h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.world-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-list-icon {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
}

.benefit-list li {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.world-img-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 35px;
    border: 12px solid white;
    box-shadow: 0 35px 70px rgba(251, 111, 146, 0.3);
}

.liquid-img {
    width: 100%;
    height: auto;
    transform: scale(1.08);
    transition: transform 1.5s var(--ease-liquid);
    object-fit: cover;
    display: block;
}

.world-showcase:hover .liquid-img {
    transform: scale(1);
}

/* FAQ Section (NEW) */
.faq-section {
    padding: 80px 0 150px;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    padding: 10px;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s var(--ease-liquid);
}

.faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.faq-btn .arrow {
    font-size: 1.5rem;
    transition: transform 0.4s var(--ease-bounce);
    color: var(--c-accent-dark);
}

.faq-content {
    max-height: 0;
    opacity: 0;
    padding: 0 2rem;
    transition: all 0.6s var(--ease-liquid);
    overflow: hidden;
}

.faq-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.7;
    padding-bottom: 1.5rem;
    font-weight: 600;
}

.faq-item.active {
    box-shadow: 0 20px 40px rgba(251, 111, 146, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.faq-item.active .faq-btn .arrow {
    transform: rotate(180deg);
}

.faq-item.active .faq-content {
    max-height: 200px;
    opacity: 1;
}

/* Footer Liquid */
.footer-inner {
    padding: 5rem;
    border-radius: 40px;
}

.f-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.img-frame-small {
    background: white;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.f-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
}

.f-brand h3 {
    font-size: 2rem;
    line-height: 1;
}

.f-socials {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.4s var(--ease-liquid);
    display: inline-block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    background: white;
    transform: translateY(-8px);
    color: var(--c-accent-dark);
    box-shadow: 0 15px 35px rgba(251, 143, 171, 0.3);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    font-size: 1.1rem;
}

/* Liquid Reveal System */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.2s var(--ease-liquid), transform 1.2s var(--ease-liquid);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.header-in {
    animation: dropIn 1s var(--ease-liquid) forwards;
}

@keyframes dropIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -40px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Ultra Smooth Cursor System (No Lag) */
#liquid-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--text-main);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    /* Pos handled in JS for 0 delay */
}

#liquid-cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(74, 33, 57, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease-liquid), height 0.35s var(--ease-liquid), border-color 0.3s, background-color 0.3s;
}

body.hovering #liquid-cursor {
    opacity: 0;
}

body.hovering #liquid-cursor-ring {
    width: 55px;
    height: 55px;
    border-color: var(--c-accent-dark);
    background: rgba(251, 111, 146, 0.1);
    backdrop-filter: blur(2px);
}

@media (max-width: 968px) {
    body {
        cursor: auto;
    }

    /* Normal cursor for touch screens */
    #liquid-cursor,
    #liquid-cursor-ring {
        display: none !important;
    }

    .hero-section,
    .world-showcase.layout-split {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-actions,
    .server-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .footer-top.layout-split {
        flex-direction: column;
        text-align: center;
    }
}