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

html, body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #0a0e27;
    color: #ffffff;
    overflow: hidden !important;
    line-height: 1.6;
    width: 100% !important;
    height: 100% !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    overflow: hidden;
    touch-action: none;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 212, 255, 0.6);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.particle:nth-child(2n) {
    background: rgba(78, 205, 196, 0.6);
    animation-duration: 10s;
}

.particle:nth-child(3n) {
    background: rgba(255, 107, 107, 0.6);
    animation-duration: 12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    25% {
        transform: translateY(-200px) translateX(50px);
    }
    75% {
        transform: translateY(-100px) translateX(-50px);
    }
}

.container {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    min-height: 100vh !important;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden !important;
    position: relative !important;
    touch-action: none;
}

.welcome-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 50px;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
    width: 100%;
    box-sizing: border-box;
    max-height: calc(100vh - 80px);
    overflow: hidden !important;
    touch-action: none;
}

.welcome-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    animation: slideInUp 1s ease-out;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.logo-large {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    animation: bounceIn 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 20px;
    box-sizing: border-box;
}

.logo-large img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    margin: 0;
    padding: 0;
    background: none;
}

.brand-title {
    font-size: 56px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #00D4FF 0%, #4ECDC4 50%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    animation: glow 2s ease-in-out infinite alternate;
    line-height: 1.2;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 30px rgba(78, 205, 196, 0.4);
    }
}

.brand-slogan {
    font-size: 20px;
    color: #b0b8d4;
    font-weight: 500;
    animation: fadeIn 1s ease-out 0.2s both;
    margin: 0;
    line-height: 1.4;
}

.welcome-description {
    max-width: 550px;
    font-size: 16px;
    color: #8a93b2;
    line-height: 1.8;
    animation: fadeIn 1s ease-out 0.4s both;
    padding: 0 20px;
    margin: 0;
}

.welcome-cta {
    animation: fadeIn 1s ease-out 0.6s both;
}

.enter-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background: linear-gradient(135deg, #00D4FF 0%, #4ECDC4 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    animation: pulse 2s infinite;
    border: none;
    cursor: pointer;
    touch-action: auto !important;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.enter-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.5);
}

.enter-button:active {
    transform: translateY(0) scale(0.98);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(0, 212, 255, 0.5);
    }
}

.enter-button svg {
    transition: transform 0.3s ease;
}

.enter-button:hover svg {
    transform: translateX(5px);
}

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

.footer {
    padding: 30px 0;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer p {
    font-size: 12px;
    color: #8a93b2;
    margin: 0;
    line-height: 1.4;
}

.icp-info {
    font-size: 12px;
    color: #8a93b2;
    margin-top: 8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-info:hover {
    color: #00D4FF;
}

.social-links {
    display: flex;
    gap: 16px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
    touch-action: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease-out;
    box-sizing: border-box;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #8a93b2;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-body {
    margin-bottom: 25px;
    color: #b0b8d4;
    line-height: 1.8;
}

.modal-body p {
    margin: 0 0 12px 0;
    font-size: 14px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

.modal-button {
    background: linear-gradient(135deg, #00D4FF 0%, #4ECDC4 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    touch-action: auto;
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.modal-button:active {
    transform: translateY(0);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(.9, .9, .9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(.97, .97, .97);
    }
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .welcome-description {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    
    .welcome-content {
        gap: 50px;
        padding: 30px 16px;
    }
    
    .brand-title {
        font-size: 44px;
        letter-spacing: -1.5px;
    }
    
    .brand-slogan {
        font-size: 18px;
    }
    
    .logo-large {
        width: 180px;
        height: 180px;
        padding: 15px;
    }
    
    .welcome-description {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .enter-button {
        padding: 18px 40px;
        font-size: 20px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .brand-slogan {
        font-size: 16px;
    }
    
    .logo-large {
        width: 160px;
        height: 160px;
        padding: 15px;
        border-radius: 20px;
    }
    
    .welcome-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .enter-button {
        padding: 16px 36px;
        font-size: 18px;
    }
    
    .welcome-content {
        gap: 40px;
    }
    
    .logo-large img {
        border-radius: 12px;
    }

}