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

:root {
    --blue-primary: #0066ff;
    --blue-glow: #00a8ff;
    --blue-dark: #003380;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --text-primary: #ffffff;
    --text-secondary: #8892a0;
    --text-muted: #4a5568;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 3rem;
}

/* Animated particle background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--blue-glow);
    border-radius: 50%;
    opacity: 0;
    animation: float 15s infinite;
}

@keyframes float {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* Logo Section */
.logo-section {
    text-align: center;
    z-index: 1;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.logo-blue {
    color: var(--blue-glow);
    text-shadow:
        0 0 10px var(--blue-glow),
        0 0 20px var(--blue-primary),
        0 0 40px var(--blue-dark);
}

.logo-blocks {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    z-index: 1;
}

.countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.time-block {
    background: var(--bg-card);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    min-width: 90px;
    position: relative;
    overflow: hidden;
}

.time-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
}

.time-value {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--blue-glow);
    text-shadow: 0 0 20px var(--blue-primary);
}

.time-unit {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.time-separator {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: var(--blue-primary);
    opacity: 0.5;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0.2;
    }
}

.launch-date {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Subscribe Section */
.subscribe-section {
    text-align: center;
    z-index: 1;
    max-width: 500px;
    width: 100%;
}

.subscribe-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.subscribe-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.subscribe-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.subscribe-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.subscribe-form input::placeholder {
    color: var(--text-muted);
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--blue-glow);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.2);
}

.subscribe-form button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-glow));
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.subscribe-form button:hover::before {
    left: 100%;
}

.subscribe-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.subscribe-status {
    margin-top: 1rem;
    font-size: 0.875rem;
    min-height: 1.5em;
}

.subscribe-status.success {
    color: #00ff88;
}

.subscribe-status.error {
    color: #ff4444;
}

.live-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }
}

/* Social Section */
.social-section {
    text-align: center;
    z-index: 1;
}

.social-section h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    border-color: var(--blue-glow);
    color: var(--blue-glow);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.social-link[data-platform="discord"]:hover {
    border-color: #5865F2;
    color: #5865F2;
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

.social-link[data-platform="telegram"]:hover {
    border-color: #0088cc;
    color: #0088cc;
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3);
}

.social-link[data-platform="twitter"]:hover {
    border-color: #1DA1F2;
    color: #1DA1F2;
    box-shadow: 0 10px 20px rgba(29, 161, 242, 0.3);
}

.social-link[data-platform="youtube"]:hover {
    border-color: #FF0000;
    color: #FF0000;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

/* Tagline Styles */
.tagline-main {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    animation: pulse-glow 3s ease-in-out infinite;
}

.tagline-sub {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--blue-glow);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 0 20px var(--blue-primary);
}

/* Features Section */
.features-section {
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    padding: 2rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-glow));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: var(--blue-glow);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-glow));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* Manifesto Section */
.manifesto-section {
    z-index: 1;
    max-width: 800px;
    width: 100%;
    padding: 2rem 0;
}

.manifesto-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 168, 255, 0.05));
    border: 2px solid var(--blue-primary);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.manifesto-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.1) 0%, transparent 50%);
    animation: rotate-glow 20s linear infinite;
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.manifesto-card h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.manifesto-card h2 .highlight {
    color: var(--blue-glow);
    text-shadow: 0 0 20px var(--blue-primary);
}

.manifesto-card > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
}

.manifesto-card > p strong {
    color: var(--text-primary);
}

.manifesto-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
}

.manifesto-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.manifesto-item .check {
    color: #00ff88;
    font-size: 1.25rem;
    font-weight: bold;
}

/* Whitepaper Section */
.whitepaper-section {
    z-index: 1;
    padding: 1rem 0;
}

.whitepaper-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--blue-glow);
    border-radius: 12px;
    color: var(--blue-glow);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whitepaper-btn svg {
    width: 24px;
    height: 24px;
}

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

.whitepaper-btn:hover {
    background: var(--blue-glow);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(0, 168, 255, 0.5);
    transform: translateY(-2px);
}

.whitepaper-btn:hover::before {
    left: 100%;
}

/* Feature card variants */
.feature-metaverse .feature-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.feature-nursicat .feature-icon {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
}

.feature-icon-nursicat {
    font-size: 1.5rem;
}

.feature-nursicat:hover {
    border-color: #ff6b9d;
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.15);
}

.feature-nursicat:hover::before {
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
}

.feature-metaverse:hover {
    border-color: #9b59b6;
    box-shadow: 0 20px 40px rgba(155, 89, 182, 0.15);
}

.feature-metaverse:hover::before {
    background: linear-gradient(90deg, #9b59b6, #8e44ad);
}

/* GitHub Social Link */
.social-link[data-platform="github"]:hover {
    border-color: #f0f0f0;
    color: #f0f0f0;
    box-shadow: 0 10px 20px rgba(240, 240, 240, 0.2);
}

/* Footer */
.footer {
    z-index: 1;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer p {
    margin-bottom: 0.25rem;
}

.footer-sub {
    font-size: 0.75rem;
    color: var(--blue-glow);
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 1.5rem;
        gap: 2rem;
    }

    .time-block {
        min-width: 70px;
        padding: 1rem 0.75rem;
    }

    .time-separator {
        font-size: 1.5rem;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input {
        min-width: 100%;
    }

    .subscribe-form button {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .manifesto-card {
        padding: 2rem 1.5rem;
    }

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

    .whitepaper-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Glowing border animation for the page */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--blue-dark),
        var(--blue-glow),
        var(--blue-dark),
        transparent
    );
    animation: border-glow 3s linear infinite;
}

@keyframes border-glow {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

body::before {
    background-size: 200% 100%;
}
