:root {
    --primary-pink: #ff75c3;
    --primary-purple: #9b51e0;
    --bg-gradient: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    --card-bg: rgba(255, 255, 255, 0.4);
    --card-hover: rgba(255, 255, 255, 0.6);
    --text-main: #333;
    --text-muted: #666;
    --white: #ffffff;
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    min-height: 100vh;
    background: var(--bg-gradient);
    color: var(--text-main);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Background Animated Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: move 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-pink);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: var(--primary-purple);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #ffa7d1;
    top: 40%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 50px) scale(1.1);
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 40px 0;
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    justify-content: center;
    width: 100%;
}

.header-logo {
    height: 110px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

#current-time {
    font-weight: 600;
    color: var(--primary-purple);
    background: rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 50px;
}

.welcome-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Search Bar */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
}

#search-input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
    outline: none;
}

#search-input:focus {
    border-color: var(--primary-pink);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px 0 rgba(255, 117, 195, 0.2);
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.link-card {
    text-decoration: none;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.link-card::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: 0.5s;
}

.link-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: var(--primary-pink);
}

.link-card:hover::before {
    left: 100%;
}

.card-icon {
    background: var(--white);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-pink);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.arrow {
    margin-left: auto;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.link-card:hover .arrow {
    transform: translateX(5px);
    color: var(--primary-purple);
    opacity: 1;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 30px 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-section h2 {
        font-size: 2rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    header .container {
        flex-direction: column;
        gap: 20px;
    }
}