/* =========================================
   MClauncher Website - Dynamic Light & Minimalist
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;800&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #030303;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Light Background */
.light {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    animation: floatLight 15s infinite ease-in-out alternate;
    opacity: 0.4;
    pointer-events: none;
}

.light-1 {
    width: 600px;
    height: 600px;
    background: #ffffff;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.light-2 {
    width: 500px;
    height: 500px;
    background: #a0a0a0;
    bottom: -150px;
    right: 10vw;
    animation-delay: -5s;
    animation-duration: 20s;
}

.light-3 {
    width: 400px;
    height: 400px;
    background: #505050;
    top: 30%;
    left: 40%;
    animation-delay: -10s;
    animation-duration: 25s;
}

@keyframes floatLight {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 50px) scale(1.1); }
    100% { transform: translate(-50px, 100px) scale(0.9); }
}

.page-content {
    position: relative;
    z-index: 10;
    padding-bottom: 100px; /* space for bottom nav */
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

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

/* Hero Section */
.hero .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 600px;
    opacity: 0;
    animation: fadeRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo {
    color: #ffffff;
    margin-bottom: 30px;
    opacity: 0.9;
}

.title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 48px;
    font-weight: 400;
}

/* Download Button */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 20px 40px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-download:hover {
    background: #e0e0e0;
    transform: scale(1.05);
}

.btn-download:active {
    transform: scale(0.98);
    background: #d0d0d0;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.version-info {
    margin-top: 40px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}

.top-bar > * {
    pointer-events: auto;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    padding: 8px 16px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff64;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,255,100,0.5);
    animation: pulse 2s infinite;
}

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

.copy-ip-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
}

.copy-ip-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.copy-ip-btn:active {
    transform: translateY(0);
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 80px;
    right: 5vw;
    background: #ffffff;
    color: #000;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateX(150%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.toast.show {
    transform: translateX(0);
}

/* Additional Buttons */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 19px 32px;
    border-radius: 100px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #5865F2; /* Discord color */
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 16px 40px;
    border-radius: 100px;
    transition: all 0.3s;
}

.btn-discord:hover {
    background: #4752C4;
    transform: scale(1.05);
}

/* Typography & Titles for content sections */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Steps Container */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
}

.step {
    display: flex;
    gap: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 30px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 10px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 40px 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* FAQ Styles */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
}

.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: background 0.3s;
}

.faq-item:hover {
    background: rgba(255,255,255,0.04);
}

.faq-item summary {
    padding: 24px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 30px 30px 30px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* Enhanced Bottom Nav Pill */
.bottom-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 22, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    display: flex;
    padding: 8px;
    gap: 5px;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.nav-item svg {
    transition: transform 0.3s;
}

.nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    background: #ffffff;
    color: #000000;
}

.nav-item.active svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .nav-text {
        display: none; /* Hide text on small screens, show icons only */
    }
    .nav-item {
        padding: 12px;
    }
    .title {
        font-size: 3rem;
    }
}

@keyframes fadeRight {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}
