:root {
    --bg-1color: #2d5016;
    --bg-2color: #4a7c29;
    --primary-green: #2d5016;
    --secondary-green: #4a7c29;
    --light-green: #7ba05b;
    --accent-green: #9bc53d;
    --bg-green: #f0f8e8;
}

body {
    overflow: hidden;
}

.welcome-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: url('../img/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    overflow: hidden;
}

.welcome-screen.slide-up {
    transform: translateY(-100%);
}

.welcome-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin: 4rem 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    max-height: 350px;
    align-self: center;
}

.app-logo {
    width: 120px;
    height: 120px;
    background: rgba(155, 197, 61, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(155, 197, 61, 0.3);
}

.app-logo i {
    font-size: 60px;
    color: #9bc53d;
}

.welcome-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.initiative-text {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 0;
    font-style: italic;
    letter-spacing: 0.5px;
}

.continue-button {
    width: 85%;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.95);
    color: #2d5016;
    border: none;
    border-radius: 50px;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    display: block;
    margin: 0 auto;
}

.continue-button:hover {
    background: #ffffff;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.continue-button:active {
    transform: translateY(-2px) scale(1.01);
}

.button-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem 4rem;
}

.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.form-overlay.active {
    opacity: 1;
    visibility: visible;
}

.form-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: 540px;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    padding: 2rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1001;
    max-height: 80vh;
    overflow-y: auto;
}

.form-container.active {
    transform: translateX(-50%) translateY(0);
}

.form-handle {
    width: 40px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 0 auto 2rem;
    cursor: pointer;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: #666666;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #9bc53d;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(155, 197, 61, 0.15);
}

.form-input::placeholder {
    color: #999999;
}

.submit-button {
    width: 100%;
    background: #2d5016;
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 1rem;
    box-shadow: 0 8px 32px rgba(45, 80, 22, 0.3);
    letter-spacing: 0.5px;
}

.submit-button:hover {
    background: #4a7c29;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(45, 80, 22, 0.4);
}

.submit-button:active {
    transform: translateY(-2px) scale(1.01);
}

.submit-button:disabled {
    background: rgba(74, 124, 41, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(74, 124, 41, 0.2);
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(155, 197, 61, 0.6);
    border-radius: 50%;
    animation: float-particle 10s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 3s; }
.particle:nth-child(3) { left: 60%; animation-delay: 6s; }
.particle:nth-child(4) { left: 80%; animation-delay: 9s; }

@keyframes float-particle {
    0%, 100% { 
        transform: translateY(100vh) scale(0); 
        opacity: 0; 
    }
    10% { 
        opacity: 1; 
        transform: translateY(80vh) scale(1); 
    }
    90% { 
        opacity: 1; 
        transform: translateY(-20vh) scale(1); 
    }
}

@media only screen and (max-width: 960px) {
    .main-container {
        max-width: 100vw;
        border-radius: 0;
    }
    
    .welcome-content {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .welcome-title {
        font-size: 28px;
    }
}