* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.opening-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeOut 1.5s ease-in-out forwards;
    animation-delay: 2.2s;
}

.circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    border-radius: 50%;
    animation: pulse 0.2s ease-in-out infinite;
    position: absolute;
    z-index: 1;
}

.countdown {
    position: relative;
    text-align: center;
    z-index: 2;
}

.count {
    font-size: 120px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 20px rgba(106, 17, 203, 0.8);
    animation: countScale 0.2s ease-in-out infinite alternate;
}

.welcome-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: #fff;
    opacity: 0;
    text-shadow: 0 0 20px rgba(37, 117, 252, 0.8);
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

@keyframes countScale {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

header {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.search-box {
    margin-top: 1rem;
}

.search-box input {
    padding: 0.5rem 1rem;
    width: 300px;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input:focus {
    border-color: #6a11cb;
}

.search-box button {
    padding: 0.5rem 1.5rem;
    margin-left: 0.5rem;
    border: none;
    border-radius: 25px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-box button:hover {
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.category {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.category h2 {
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.link-card {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.link-card img {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .search-box input {
        width: 200px;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .category {
        padding: 1rem;
    }
} 