@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


:root {
    --primary-color: #225AEA;
    --text-color: #434C69;
    --background-color: #ffffff;
    --secondary-color: #1a46b8;
    --border-color: rgba(67, 76, 105, 0.1);
}

html, body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
    /* margin-bottom: 10px; */
    background: linear-gradient(180deg, rgba(34, 90, 234, 0.05) 0%, rgba(34, 90, 234, 0) 100%);
    border-radius: 24px;
}

.header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 1rem; */
    /* margin-bottom: 2rem; */
}

.animated-title {
    font-size: 4rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    width: 100%;
    height: 6rem;
    /* cursor: pointer; */
    transition: transform 0.3s ease;
}

.animated-title:hover {
    transform: scale(1.05) rotate(1deg);
}

.animated-title::before {
    content: 'Aidenas gėjus';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(10px) rotate(-1deg);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.animated-title:hover .title-text {
    opacity: 0;
    transform: translateY(-10px);
}

.animated-title:hover::before {
    opacity: 1;
    transform: translateY(0);
}
.title-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: var(--text-color);
    letter-spacing: -0.01em;
}


.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(34, 90, 234, 0.05) 0%, rgba(34, 90, 234, 0.02) 100%);
    border-radius: 24px;
}

img {
    width: 100%;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(67, 76, 105, 0.1);
    border: 1px solid var(--border-color);
}

img:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 15px 30px rgba(34, 90, 234, 0.15);
    border-color: var(--primary-color);
}

.secret-code-section {
    padding: 3rem 0;
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(34, 90, 234, 0.05) 0%, rgba(34, 90, 234, 0.02) 100%);
    border-radius: 24px;
    text-align: center;
}

.secret-input {
    width: 100%;
    max-width: 300px;
    padding: 16px 24px;
    border: 2px solid var(--border-color);
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    background-color: rgba(67, 76, 105, 0.02);
}

.secret-input::placeholder {
    text-transform: none;
}

.secret-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 90, 234, 0.2);
}

.hidden-text, .hidden-image, .hidden-video {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-width: 100%;
    width: 100%;
    margin: 1rem auto;
    display: block;
}

.hidden-video {
    max-height: 500px;
    border-radius: 12px;
}
.hidden-text.visible, .hidden-image.visible, .hidden-video.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}


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

    .animated-title {
        font-size: 2.5rem;
        height: 4rem;
    }

    .title-text {
        font-size: 2.5rem;
    }

    .header-container {
        padding: 2rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .image-grid {
        grid-template-columns: repeat(4, 80%);
        grid-auto-flow: column;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        gap: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .image-grid img {
        scroll-snap-align: center;
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        object-fit: cover;
    }
}