* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
}

.container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    /* margin-bottom: 40px; */
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 32px;
    font-weight: 700;
}

.logo-image {
    width: 200px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.redirect-card {
    background: white;
    border-radius: 24px;
    padding: 50px 45px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.redirect-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #5b49d2, #8B5CF6, #EC4899);
}

.icon-container {
    margin-bottom: 35px;
}

.redirect-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #5b49d2, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 2s infinite;
    box-shadow: 0 10px 30px rgba(91, 73, 210, 0.3);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    font-size: 20px;
    color: #5b49d2;
    font-weight: 600;
    margin-bottom: 30px;
}

.description {
    margin-bottom: 35px;
}

.main-heading {
    font-size: 22px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 20px;
    line-height: 1.4;
}

.join-text {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 15px;
}

.english-notice {
    font-size: 16px;
    color: #5b49d2;
    font-weight: 500;
    font-style: italic;
    background: #f8f9ff;
    padding: 12px 20px;
    border-radius: 10px;
    border-left: 4px solid #5b49d2;
    margin-top: 15px;
}

.progress-container {
    margin-bottom: 35px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #f3f4f6;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
}

.progress-bar.loading-state {
    background: linear-gradient(90deg, #e5e7eb, #f3f4f6, #e5e7eb);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5b49d2, #8B5CF6);
    border-radius: 5px;
    animation: progress 20s linear;
    width: 0%;
}

@keyframes progress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes loading {

    0%,
    100% {
        width: 0%;
        left: 0;
        background: linear-gradient(90deg, #5b49d2, #8B5CF6);
    }

    50% {
        width: 100%;
        left: 0;
        background: linear-gradient(90deg, #8B5CF6, #5b49d2);
    }
}

.progress-text {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.3s ease;
}

#countdown {
    color: #5b49d2;
    font-weight: 700;
    font-size: 16px;
}

.action-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 180px;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: #5b49d2;
    color: white;
    box-shadow: 0 4px 15px rgba(91, 73, 210, 0.3);
}

.btn-primary:hover {
    background: #4a3bb8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 73, 210, 0.4);
}

.btn-secondary {
    background: #f9fafb;
    color: #111111;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
    border-color: #d1d5db;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
    justify-items: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 28px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-item span {
    font-size: 13px;
    color: #111111;
    font-weight: 500;
    text-align: center;
}

.footer {
    text-align: center;
    margin-top: 35px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        max-width: 95%;
    }

    .redirect-card {
        padding: 35px 25px;
    }

    .title {
        font-size: 28px;
        max-width: 400px;
    }

    .main-heading {
        font-size: 18px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .logo {
        font-size: 28px;
    }

    .logo-image {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 24px;
        max-width: 300px;
    }

    .main-heading {
        font-size: 16px;
    }

    .logo {
        font-size: 24px;
    }

    .logo-image {
        width: 50px;
        height: 50px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
    }
}