body {
    margin: 0;
    padding: 0;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(45deg, #ed7459, #6b9c7e);
    color: #f4f4f4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
}

.topbar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.login-link {
    color: #f4f4f4;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    background: rgba(0, 0, 0, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

.login-link:hover {
    transform: translateY(-1px);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.login-link:active {
    transform: translateY(1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

img {
    max-width: 1200px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 700px;
    white-space: nowrap;
}

p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.socials a {
    font-size: 1.7rem;
    color: #f4f4f4;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.75rem;
    background: rgba(0, 0, 0, 0.07);
    min-width: 180px;
    max-width: 260px;
    border: 3px solid white;
    border-radius: 999px;
}

.socials a:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
    text-decoration: underline;
}

.socials a:active {
    transform: translateY(0px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

.heart-section {
    margin-top: 1.5rem;
    text-align: center;
    max-width: 500px;
}

.heart-text {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.heart-button {
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    background: #ff4b6e;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.heart-button:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.heart-button:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.heart-thanks {
    height: 1.2em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.8rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

.heart-count {
    margin-top: 0.6rem;
    font-size: 0.95rem;
    opacity: 0.95;
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    align-items: baseline;
}

.heart-count-number {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.floating-heart {
    position: fixed;
    font-size: 1.6rem;
    pointer-events: none;
    animation: floatUp 1.4s ease-out forwards;
    z-index: 9999;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }
    15% {
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-120px) scale(1.6);
    }
}

.contact-email {
    margin-top: auto;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    padding: 0 1rem;
    text-align: center;
}

.login-page {
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 2rem;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 2.25rem 2.25rem 2rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-align: left;
}

.login-card h1 {
    margin: 0 0 0.5rem;
    font-size: 1.6rem;
}

.login-card .login-subtitle {
    margin: 0 0 1.75rem;
    opacity: 0.9;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.login-field label {
    font-weight: 700;
    font-size: 0.95rem;
}

.login-field input {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fdfdfd;
    font-size: 1rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.login-field input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.login-field input:focus {
    outline: none;
    border-color: #ffbda7;
    box-shadow: 0 0 0 3px rgba(255, 189, 167, 0.3);
}

.login-submit {
    border: none;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    background: linear-gradient(135deg, #ff8da8, #ff4b6e);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.3);
}

.login-submit:active {
    transform: translateY(1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
}

.login-meta {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.9;
}

.meta-link {
    color: #ffe1d7;
    font-weight: 700;
}

.meta-link:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .content {
        padding: 1.75rem 1.25rem;
    }

    h1 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        white-space: normal;
    }

    p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .socials a {
        width: 100%;
        max-width: 320px;
        font-size: 1.7rem;
        padding: 0.7rem 1.2rem;
    }

    .heart-text {
        font-size: 1rem;
    }

    .heart-button {
        font-size: 0.95rem;
    }

    .topbar {
        top: 0.75rem;
        right: 0.75rem;
    }

    .login-link {
        padding: 0.45rem 1rem;
        font-size: 0.9rem;
    }

    .login-card {
        padding: 1.8rem 1.6rem 1.5rem;
    }
}

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

    img {
        max-width: 90%;
        margin-bottom: 1.5rem;
    }

    h1 {
        font-size: 1.15rem;
    }

    .socials {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .socials a {
        font-size: 1.7rem;
    }

    .heart-text {
        font-size: 0.95rem;
    }

    .contact-email {
        font-size: 0.9rem;
    }

    .login-page {
        padding: 2.5rem 1rem 1.5rem;
    }

    .login-card {
        padding: 1.6rem 1.35rem 1.3rem;
    }
}
