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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(200, 30, 30, 0.4);
    border-radius: 50%;
    animation: float linear infinite;
}

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

.container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* Logo */
.logo-wrapper {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease;
}

.logo {
    max-width: 350px;
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(200, 30, 30, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Title */
.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #c81e1e, #ff4444, #c81e1e);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.subtitle {
    font-size: 1.15rem;
    color: #999;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Progress Bar */
.progress-section {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 0.2s both;
}

.progress-bar-container {
    width: 100%;
    max-width: 500px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 14px;
    margin: 0 auto 10px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8b0000, #c81e1e, #ff4444);
    border-radius: 14px;
    transition: width 2s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    position: relative;
    box-shadow: 0 0 20px rgba(200, 30, 30, 0.4);
}

.progress-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.progress-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

/* Feature Cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.feature-card {
    background: linear-gradient(145deg, #111111, #1a1a1a);
    border: 1px solid #222;
    border-radius: 16px;
    padding: 35px 25px;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease var(--delay) both;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #c81e1e;
    box-shadow: 0 15px 40px rgba(200, 30, 30, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    color: #c81e1e;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #eee;
}

.feature-card p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
}

/* Countdown */
.countdown-section {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 0.6s both;
}

.countdown-section h2 {
    font-size: 1.4rem;
    color: #ccc;
    margin-bottom: 25px;
}

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

.countdown-item {
    background: linear-gradient(145deg, #141414, #1c1c1c);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px 25px;
    min-width: 90px;
    transition: border-color 0.3s;
}

.countdown-item:hover {
    border-color: #c81e1e;
}

.countdown-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #c81e1e;
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-top: -10px;
}

/* Notify Form */
.notify-section {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 0.8s both;
}

.notify-section h2 {
    font-size: 1.4rem;
    color: #ccc;
    margin-bottom: 10px;
}

.notify-section > p {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 20px;
}

.notify-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 480px;
    margin: 0 auto;
}

.notify-form input {
    flex: 1;
    min-width: 220px;
    padding: 14px 20px;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.notify-form input:focus {
    border-color: #c81e1e;
}

.notify-form button {
    padding: 14px 30px;
    background: linear-gradient(135deg, #8b0000, #c81e1e);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.notify-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 30, 30, 0.4);
}

.notify-success {
    display: none;
    color: #4caf50;
    margin-top: 15px;
    font-size: 0.95rem;
}

.notify-success.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Code Animation */
.code-animation {
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
    text-align: left;
    overflow: hidden;
    max-height: 200px;
    animation: fadeInUp 1s ease 1s both;
}

.code-animation pre {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #4caf50;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Footer */
footer {
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    animation: fadeInUp 1s ease 1.2s both;
}

footer p {
    font-size: 0.85rem;
    color: #555;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 15px 18px;
    }

    .countdown-number {
        font-size: 1.6rem;
    }

    .countdown-separator {
        font-size: 1.4rem;
    }

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

    .logo {
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
    }

    .title {
        font-size: 1.4rem;
    }

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

    .notify-form input,
    .notify-form button {
        width: 100%;
    }
}
