/* ==========================================================================
   MINECRAFT LANDING PAGE CSS - HIGH-END MODERN AESTHETIC
   ========================================================================== */

/* Design System Variables */
:root {
    --bg-color: #0b0c10;
    --card-bg: rgba(18, 20, 26, 0.65);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary-glow: #66fcf1;
    --primary-glow-rgb: 102, 252, 241;
    --secondary-glow: #45a29e;
    --accent-lime: #39ff14;
    --accent-gold: #f5a623;
    --text-primary: #ffffff;
    --text-secondary: #c5c6c7;
    --font-heading: 'Outfit', sans-serif;
    --font-pixel: 'Press Start 2P', monospace;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Core Layout */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cinematic Interactive Background Container */
#bg-image {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120vw;
    height: 125vh;
    background-image: url('background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
    transform: translate3d(0, 0, 0) scale(1.05);
    filter: blur(0px);
    will-change: transform, filter;
}

/* Scroll Reveal System */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
                transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Background Overlay & Effects */
.bg-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(11, 12, 16, 0.4) 0%, rgba(11, 12, 16, 0.92) 80%);
    z-index: -1;
    pointer-events: none;
}

/* Particle Systems */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    bottom: -10px;
    background-color: rgba(102, 252, 241, 0.35);
    border-radius: 2px;
    animation: floatUp 15s linear infinite;
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.6);
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Centered Container */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    position: relative;
    z-index: 1;
}

/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.logo-pixel {
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-glow);
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8), 0 0 10px rgba(102, 252, 241, 0.4);
    letter-spacing: 2px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.25);
    border-radius: 50px;
    padding: 8px 18px;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.1);
    transition: var(--transition-smooth);
}

.status-pulse {
    width: 10px;
    height: 10px;
    background-color: var(--accent-lime);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px var(--accent-lime);
}

.status-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-lime);
    border-radius: 50%;
    animation: pulse 1.8s infinite ease-out;
}

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

.status-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-lime);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 800px;
    margin: 20px auto 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.accent-text {
    background: linear-gradient(135deg, var(--primary-glow) 0%, var(--secondary-glow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 12px rgba(102, 252, 241, 0.2));
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    font-weight: 300;
    line-height: 1.65;
}

/* Hero Action Elements */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    margin-top: 15px;
}

/* IP Widget styles */
.ip-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.ip-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
}

.ip-widget:hover::before {
    left: 100%;
}

.ip-widget:hover {
    border-color: rgba(102, 252, 241, 0.4);
    box-shadow: 0 12px 35px rgba(102, 252, 241, 0.15);
    transform: translateY(-2px);
}

.ip-widget:active {
    transform: translateY(1px);
}

.ip-label {
    font-family: var(--font-pixel);
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.ip-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.ip-copy-btn {
    background: transparent;
    border: none;
    color: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.ip-widget:hover .ip-copy-btn {
    transform: scale(1.1);
    color: #ffffff;
}

.ip-widget.copied {
    border-color: var(--accent-lime);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.ip-widget.copied .ip-value {
    color: var(--accent-lime);
}

.ip-widget.copied .ip-copy-btn {
    color: var(--accent-lime);
    transform: scale(1.1);
}

/* Download CTA Button */
.download-btn {
    display: block;
    position: relative;
    border-radius: 12px;
    padding: 20px 35px;
    color: #0b0c10;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    transition: var(--transition-smooth);
    background: linear-gradient(135deg, var(--primary-glow) 0%, var(--secondary-glow) 100%);
    box-shadow: 0 15px 35px rgba(102, 252, 241, 0.3);
    z-index: 1;
}

.download-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.download-icon {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(102, 252, 241, 0.45);
}

.download-btn:hover .download-icon {
    transform: translateY(3px);
}

.download-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(102, 252, 241, 0.25);
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: var(--transition-smooth);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(102, 252, 241, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(102, 252, 241, 0.05);
}

.feature-icon {
    font-size: 2.2rem;
    background: rgba(102, 252, 241, 0.08);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(102, 252, 241, 0.2);
    margin-bottom: 5px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Quick Start Timeline */
.quick-start {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
    border-radius: 2px;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
}

.step-item {
    display: flex;
    gap: 30px;
    position: relative;
}

.step-number {
    width: 52px;
    height: 52px;
    background: rgba(18, 20, 26, 0.9);
    border: 2px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary-glow);
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.step-item:hover .step-number {
    border-color: var(--primary-glow);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.3);
    color: #ffffff;
    background: var(--primary-glow-rgb);
    transform: scale(1.05);
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 8px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-text a {
    color: var(--primary-glow);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.step-text a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(102, 252, 241, 0.6);
}

/* Footer style */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.copyright {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

/* Toast System (Alert Notifications) */
.toast {
    position: fixed;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 20, 26, 0.95);
    border: 1px solid var(--primary-glow);
    color: var(--text-primary);
    padding: 16px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 1000;
    pointer-events: none;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    opacity: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(102, 252, 241, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast::before {
    content: '✓';
    color: var(--accent-lime);
    font-weight: bold;
    font-size: 1.1rem;
}

.toast.show {
    bottom: 30px;
    opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        gap: 35px;
        margin: 20px auto;
    }

    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-bottom: 15px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .quick-start {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .steps-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-item {
        gap: 20px;
    }
}
