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

body {
    font-family: 'Fredoka', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a0933 50%, #0d1b3d 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Starfield Canvas */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Greeting Section */
.greeting-section {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.greeting-text {
    font-size: 3.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.name-text {
    font-size: 2rem;
    font-weight: 500;
    color: #e0e7ff;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

/* Search Container */
.search-container {
    width: 100%;
    max-width: 700px;
    margin: 2rem 0 3rem 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 1.2rem 4rem 1.2rem 1.5rem;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(99, 102, 241, 0.1);
}

.search-input::placeholder {
    color: rgba(226, 232, 240, 0.5);
}

.search-input:focus {
    border-color: #6366f1;
    box-shadow: 0 4px 30px rgba(99, 102, 241, 0.4),
                0 0 50px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.search-button {
    position: absolute;
    right: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.search-button:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.search-button:active {
    transform: scale(0.95) rotate(10deg);
}

/* Website Links */
.website-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.website-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    text-decoration: none;
    color: #e0e7ff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.website-link:hover {
    transform: translateY(-8px);
    border-color: #6366f1;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    background: rgba(15, 23, 42, 0.7);
}

.link-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.website-link:hover .link-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.6);
}

.link-icon svg {
    color: white;
}

.website-link span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.social-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    color: #e0e7ff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: #6366f1;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.3);
}

.social-icon svg {
    transition: all 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* 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 Design */
@media (max-width: 768px) {
    .greeting-text {
        font-size: 2.5rem;
    }

    .name-text {
        font-size: 1.5rem;
    }

    .search-input {
        font-size: 1rem;
        padding: 1rem 3.5rem 1rem 1.2rem;
    }

    .search-button {
        width: 42px;
        height: 42px;
    }

    .website-links {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .website-link {
        padding: 1.5rem 1rem;
    }

    .link-icon {
        width: 50px;
        height: 50px;
    }

    .social-links {
        gap: 1rem;
    }

    .social-icon {
        width: 48px;
        height: 48px;
    }
}

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

    .greeting-text {
        font-size: 2rem;
    }

    .name-text {
        font-size: 1.2rem;
    }

    .website-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
