* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@font-face {
    font-family: "Edwardian Script";
    src: url(./fontes/Edwardian\ Script\ ITC\ Regular.ttf);
}

.hero-section {
    background: linear-gradient(135deg, #ff0000 0%, #510000 100%);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    width: min(360px, 90vw);
    color: white;
    text-align: center;
    padding: 40px 30px;
    overflow: hidden;
    transition: height 0.75s ease, box-shadow 0.75s ease;
    height: 120px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section.aberta {
    height: 430px;
    cursor: default;
}

.logo {
    font-family: "Edwardian Script";
    font-size: 50px;
    margin-right: 5.5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #fff;
    transition: transform 0.5s ease;
}

.hero-section.aberta .logo {
    transform: translateY(-10px);
    transition: transform 0.75s ease;
}

.logo-tag { color: #fff; }
.logo-text { color: #fff; }

.form-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    pointer-events: none;
    margin-top: 20px;
    width: 100%;
}
.hero-section.aberta .form-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

h2 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 18px;
}

input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: none;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

input:focus {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.7);
}

button {
    margin-top: 50px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #fff;
    color: #ff0000;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.05s ease, box-shadow 0.25s ease;
}

button:hover {
    background-color: #ececec;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.register-link {
    margin-top: 16px;
    font-size: 14px;
}

.register-link a {
    color: #d3caff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #fff;
}

@media (max-width: 400px) {
    .hero-section {
        padding: 32px 18px;
    }

    .logo {
        font-size: 26px;
    }

    h2 {
        font-size: 16px;
    }

    button {
        font-size: 13px;
    }
}
