/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Inter', sans-serif;
}

/* Page background (all the way behind) */
.page-background {
    background-color: #c1121f; /* deep red */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Card */
.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: rgba(255, 250, 200, 0.85); /* creamy yellow */
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo */
.yugo-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.yugo-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.yugo-logo img:hover {
    transform: scale(1.05);
}

/* Event Date */
.event-date {
    color: #c1121f; /* red */
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 400;
}

/* Form */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.team-group {
    display: flex;
    gap: 12px;
}

.input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.input-wrapper.small {
    flex: 0 0 30%;
}

.input-wrapper input {
    padding: 18px 16px 8px 16px; /* extra top padding to prevent label overlap */
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-wrapper label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: #333;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-wrapper input:focus + label,
.input-wrapper input:not(:placeholder-shown) + label {
    top: 4px;
    font-size: 13px;
    color: #c1121f; /* red */
}

/* Focus border */
.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c1121f;
    transition: width 0.3s;
}

.input-wrapper input:focus ~ .focus-border {
    width: 100%;
}

/* Button */
.btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    border: none;
    background-color: #c1121f;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Partners */
.partners {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.partners img {
    max-width: 180px;
    width: 100%;
    height: auto;
}

.partners img:first-child {
    max-width: 270px; /* Radio Titograd bigger */
}

/* Subtle Text */
.subtle-text {
    margin-top: 24px;
    font-size: 0.875rem;
    color: #555;
    text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 24px;
    }

    .event-date {
        font-size: 1.25rem;
    }

    .partners img:first-child {
        max-width: 180px;
    }
}
