@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

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

html, body {
    min-height: 100vh;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #1a2a6c 0%, #b21f1f 50%, #fdbb2d 100%);
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-x: hidden;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 720px;
    width: 100%;
    text-align: center;
}

h1, button {
    font-family: 'Montserrat', sans-serif;
}

.paper-plane {
    position: fixed;
    top: 20%;
    left: -10%;
    width: 80px;
    height: 80px;
    z-index: 1;
    opacity: 0.85;
    animation: fly 14s linear infinite;
    pointer-events: none;
}

@keyframes fly {
    0% {
        left: -10%;
        top: 20%;
        transform: rotate(0deg) translateY(0);
    }
    25% {
        top: 15%;
        transform: rotate(8deg) translateY(-15px);
    }
    50% {
        top: 25%;
        transform: rotate(-5deg) translateY(10px);
    }
    75% {
        top: 18%;
        transform: rotate(12deg) translateY(-8px);
    }
    100% {
        left: 110%;
        top: 20%;
        transform: rotate(0deg) translateY(0);
    }
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.tagline {
    margin-bottom: 2.5rem;
}

.tagline p {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    font-style: italic;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.subscribe {
    margin-bottom: 2rem;
}

.subscribe-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.subscribe-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.subscribe-form input {
    flex: 1 1 260px;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.subscribe-form input:focus {
    border-color: rgba(255, 255, 255, 0.9);
}

.subscribe-form button {
    padding: 0.9rem 1.6rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 126, 95, 0.35);
}

.form-message {
    font-size: 0.95rem;
    min-height: 1.5em;
    opacity: 0;
    transition: opacity 0.3s;
}

.form-message.visible {
    opacity: 1;
}

.contact {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact a {
    color: #ffd9b3;
    text-decoration: none;
    font-weight: 600;
}

.contact a:hover {
    text-decoration: underline;
}

.social p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #ffffff;
    transition: background 0.2s, transform 0.2s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 480px) {
    .time-box {
        padding: 0.8rem 1rem;
        min-width: 70px;
    }

    .time-box .number {
        font-size: 1.6rem;
    }

    .subscribe-form button {
        width: 100%;
    }
}
