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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    background-color: #fafafa;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(141, 182, 58, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(230, 162, 60, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(141, 182, 58, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #fafafa 0%, #f5f7f0 100%);
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    min-height: 100vh;
    justify-content: center;
}

/* Logo */
.logo-container {
    margin-bottom: 2.5rem;
}

.logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(141, 182, 58, 0.15) 0%, rgba(230, 162, 60, 0.15) 100%);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #4a6b2a;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #8db63a;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Slogan */
.slogan {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    color: #2d3a1f;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.slogan-highlight {
    background: linear-gradient(135deg, #8db63a 0%, #e6a23c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Access Button */
.access-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    color: #5a7034;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.access-button:hover {
    background: rgba(141, 182, 58, 0.1);
    color: #4a6b2a;
}

.lock-icon,
.arrow-icon {
    width: 16px;
    height: 16px;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 2rem;
    color: #8a9a7a;
    font-size: 0.8rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 58, 31, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.modal {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(45, 58, 31, 0.2);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3a1f;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Input Container */
.input-container {
    position: relative;
    margin-bottom: 1rem;
}

.code-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 1px solid #d4dcc8;
    border-radius: 12px;
    font-size: 1rem;
    color: #2d3a1f;
    background: #f8faf5;
    transition: all 0.2s ease;
}

.code-input:focus {
    outline: none;
    border-color: #8db63a;
    box-shadow: 0 0 0 3px rgba(141, 182, 58, 0.15);
    background: white;
}

.code-input::placeholder {
    color: #a0b090;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #8a9a7a;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #5a7034;
}

.eye-icon,
.eye-off-icon {
    width: 20px;
    height: 20px;
}

.hidden {
    display: none;
}

/* Error Message */
.error-message {
    color: #d9534f;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* Buttons */
.enter-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8db63a 0%, #a5c94a 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
}

.enter-button:hover {
    background: linear-gradient(135deg, #7aa32e 0%, #96ba3b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(141, 182, 58, 0.3);
}

.enter-button:active {
    transform: translateY(0);
}

.cancel-button {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    color: #8a9a7a;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cancel-button:hover {
    color: #5a7034;
}

/* Responsive */
@media (max-width: 640px) {
    .logo {
        height: 80px;
    }

    .slogan {
        font-size: 1.5rem;
    }

    .container {
        padding: 1.5rem;
    }

    .modal {
        padding: 1.5rem;
        margin: 1rem;
    }
}
