/* ============================================
   Hello Craft - Modern Cute Minecraft SMP
   Theme: Soft, Pastel, Cute, Minimal, Modern
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0b1020;
    --primary-pink: #ff69b4;
    --primary-dark: #e0569b;
    --neon-pink: #ec4899;
    --neon-pink-dark: #db2777;
    --soft-shadow: rgba(255, 105, 180, 0.35);
}

body {
    font-family: 'Poppins', system-ui, sans-serif;
    overflow-x: hidden;
    background: #0b1020;
    color: white;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes aurora {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeBlur {
    from { opacity: 0; filter: blur(10px); }
    to { opacity: 1; filter: blur(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(0.8) rotate(180deg); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes neon-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(236, 72, 153, 0.3), 0 0 60px rgba(236, 72, 153, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(236, 72, 153, 0.5), 0 0 80px rgba(236, 72, 153, 0.2);
    }
}

@keyframes cloudDrift {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes modalScaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.fade-in-up {
    animation: fadeUp 0.6s ease-out forwards;
    opacity: 0;
}

.fade-blur {
    animation: fadeBlur 0.8s ease-out forwards;
}

.float-soft {
    animation: float 3s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.neon-text {
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.5), 0 0 40px rgba(236, 72, 153, 0.2);
}

.neon-glow {
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3), 0 0 60px rgba(236, 72, 153, 0.1);
    animation: neon-glow 3s ease-in-out infinite;
}

.neon-glow-soft {
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
}

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */

.background-effects {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: aurora 8s ease-in-out infinite;
}

.aurora-blob-1 {
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 105, 180, 0.15);
}

.aurora-blob-2 {
    top: 50%;
    right: -10%;
    width: 550px;
    height: 550px;
    background: rgba(255, 182, 193, 0.12);
    animation-delay: 2s;
}

.aurora-blob-3 {
    bottom: 10%;
    left: 25%;
    width: 500px;
    height: 500px;
    background: rgba(255, 192, 203, 0.1);
    animation-delay: 4s;
}

.pixel-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255,182,193,0.8), transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent);
    background-size: 200% 200%;
    animation: cloudDrift 60s linear infinite;
}

.bg-gradient-radial {
    background: radial-gradient(circle at top, #ffb7e2 0, #0b1020 40%, #020308 100%);
    opacity: 0.9;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.kawaii-header {
    background: rgba(15, 10, 25, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(236, 72, 153, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.logo-wrapper {
    position: relative;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: scale(1.1);
}

.logo-text {
    color: white;
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 9999px;
}

.nav-link:hover {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.05);
}

.nav-link-mobile {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.nav-link-mobile:hover {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.05);
}

.kawaii-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3), 
                0 0 60px rgba(236, 72, 153, 0.1);
}

.kawaii-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.5), 
                0 0 80px rgba(236, 72, 153, 0.2);
}

.glass-badge {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.shadow-cute {
    box-shadow: 0 18px 40px rgba(255, 105, 180, 0.35);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-title {
    line-height: 1.1;
}

.floating-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.heart-float, .sparkle-float, .star-float {
    position: absolute;
    font-size: 24px;
    opacity: 0.2;
}

.heart-1 { top: 15%; left: 10%; animation: float 3s ease-in-out infinite; }
.heart-2 { top: 25%; right: 12%; animation: float 3s ease-in-out infinite 1.5s; }
.heart-3 { bottom: 30%; left: 8%; animation: float 3s ease-in-out infinite 1s; }

.sparkle-1 { top: 20%; right: 25%; animation: sparkle 2s ease-in-out infinite; }
.sparkle-2 { top: 40%; left: 20%; animation: sparkle 2s ease-in-out infinite 0.5s; }
.sparkle-3 { bottom: 35%; right: 30%; animation: sparkle 2s ease-in-out infinite 1s; }

.star-1 { top: 50%; left: 5%; animation: sparkle 2s ease-in-out infinite 0.3s; }
.star-2 { bottom: 20%; right: 15%; animation: sparkle 2s ease-in-out infinite 0.8s; }

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ec4899, #db2777, #be185d);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(236, 72, 153, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #f472b6, #ec4899, #db2777);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

.heart-icon {
    font-size: 16px;
    transition: transform 0.3s;
}

.btn-primary:hover .heart-icon {
    transform: scale(1.2);
}

.btn-download-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(219, 39, 119, 0.25));
    border: 2px solid rgba(236, 72, 153, 0.6);
    color: #ec4899;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.2);
}

.btn-download-hero:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.35), rgba(219, 39, 119, 0.35));
    border-color: rgba(236, 72, 153, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.35);
}

.btn-download-hero svg {
    transition: transform 0.3s ease;
}

.btn-download-hero:hover svg {
    transform: translateY(3px);
}

.server-ip-display {
    display: flex;
    flex-direction: column;
}

/* ============================================
   STATS & CARDS
   ============================================ */

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 18px;
    font-weight: 800;
    color: #ffc0cb;
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 192, 203, 0.7);
}

.preview-card {
    position: relative;
    padding: 16px;
    border-radius: 16px;
}

.glass-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.glow-orb-1 {
    top: -24px;
    left: -8px;
    width: 80px;
    height: 80px;
    background: rgba(255, 105, 180, 0.3);
}

.glow-orb-2 {
    bottom: -32px;
    right: -16px;
    width: 96px;
    height: 96px;
    background: rgba(52, 211, 153, 0.25);
}

.video-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 6px;
    color: #ffc0cb;
}

.feature-badge {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 6px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.feature-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    padding: 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(219, 39, 119, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(236, 72, 153, 0.3));
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(219, 39, 119, 0.25));
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(236, 72, 153, 0.25);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

.gallery-image-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-caption {
    padding: 12px;
    font-size: 11px;
    color: rgba(255, 192, 203, 0.85);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-item {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(236, 72, 153, 0.2);
}

.faq-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    color: #ffc0cb;
    transition: transform 0.2s;
    font-size: 12px;
}

.faq-item[aria-expanded="true"] .faq-icon {
    transform: rotate(90deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 16px;
    font-size: 11px;
    color: rgba(255, 192, 203, 0.85);
}

.faq-content.open {
    max-height: 500px;
    padding-bottom: 12px;
}

/* ============================================
   MODALS
   ============================================ */

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-panel {
    position: relative;
    width: 100%;
    max-width: 28rem;
    border-radius: 24px;
    padding: 32px;
    background: linear-gradient(145deg, rgba(20, 15, 35, 0.90) 0%, rgba(25, 18, 40, 0.85) 50%, rgba(20, 15, 35, 0.90) 100%);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(236, 72, 153, 0.2);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(236, 72, 153, 0.15);
    animation: modalScaleIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ec4899;
    transform: scale(1.1);
}

.modal-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    opacity: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sparkle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(236, 72, 153, 0.4));
}

.sparkle-1 {
    top: -12px;
    left: -12px;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle-2 {
    bottom: -8px;
    right: -8px;
    animation: float 3s ease-in-out infinite;
}

.sparkle-3 {
    top: 32px;
    right: -12px;
    animation: sparkle 2s ease-in-out infinite 0.5s;
}

.modal-icon {
    margin: 0 auto 20px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ec4899, #db2777);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3), 0 0 60px rgba(236, 72, 153, 0.1);
}

.btn-download-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ec4899, #db2777, #be185d);
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(236, 72, 153, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-download-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #f472b6, #ec4899, #db2777);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-download-primary:hover {
    transform: scale(1.02);
}

.btn-download-primary:hover::before {
    opacity: 1;
}

.btn-download-primary > * {
    position: relative;
    z-index: 1;
}

.btn-download-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.25);
    font-size: 16px;
    font-weight: 700;
    cursor: not-allowed;
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.lightbox-container {
    position: relative;
    max-width: 48rem;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    padding: 12px;
    animation: modalScaleIn 0.3s ease-out;
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-caption {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 192, 203, 0.9);
    padding: 0 8px;
}

/* ============================================
   TOP LOADER
   ============================================ */

#top-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff69b4, #ff1493, #ff69b4);
    z-index: 10000;
    transition: opacity 0.4s;
    opacity: 0;
}

/* ============================================
   NOTIFICATION
   ============================================ */

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10000;
    animation: fadeUp 0.3s ease-out;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 14px 24px;
        font-size: 13px;
    }
    
    .feature-card {
        padding: 14px;
    }
    
    .modal-panel {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}
