/* START: Complete updated file grantaura-eligibility-tool.css */

/* --- Main Container --- */
#getool-container {
    background-color: var(--grantaura-primary-dark, #472D6F);
    background-image: radial-gradient(circle at top left, hsla(var(--grantaura-primary-hsl), 0.5), transparent 40%),
                      radial-gradient(circle at bottom right, hsla(var(--grantaura-secondary-hsl), 0.3), transparent 40%);
    border-radius: var(--grantaura-border-radius-xl, 16px);
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border: 1px solid hsla(var(--grantaura-primary-light-hsl), 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    font-family: 'Poppins', sans-serif;
    color: var(--grantaura-gray-200, #E5E7EB);
    opacity: 0;
    transform: translateY(20px);
    animation: getool-container-fade-in 0.6s 0.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
@keyframes getool-container-fade-in { to { opacity: 1; transform: translateY(0); } }

#getool-background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    height: 250%;
    background: radial-gradient(circle, hsla(var(--grantaura-secondary-hsl), 0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

#getool-screen-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
}

.getool-screen {
    width: 100%;
    text-align: center;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}
@keyframes getool-screen-fade-out-up { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-20px); } }
@keyframes getool-screen-fade-in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- Shared Elements --- */
.getool-icon {
    font-size: 2.5rem;
    color: var(--grantaura-secondary);
    margin-bottom: var(--grantaura-spacing-sm);
    text-shadow: 0 0 15px hsla(var(--grantaura-secondary-hsl), 0.5);
    animation: getool-icon-float 3s infinite ease-in-out;
}
@keyframes getool-icon-float { 50% { transform: translateY(-10px); } }

.getool-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--grantaura-white) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    margin: 0 0 var(--grantaura-spacing-xs) 0;
    line-height: 1.2;
}
.getool-message {
    font-size: 1rem;
    color: var(--grantaura-gray-200) !important;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto var(--grantaura-spacing-md) auto;
}

/* --- Intro Screen --- */
.getool-start-btn {
    display: inline-flex; align-items: center; gap: 0.75rem;
    background: var(--grantaura-secondary) !important; color: var(--grantaura-primary-dark) !important;
    padding: 0.9rem 2rem !important; border-radius: 50px !important;
    font-size: 1.1rem !important; font-weight: 700 !important; border: none !important;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px hsla(var(--grantaura-secondary-hsl), 0.25);
}
.getool-start-btn:hover { transform: translateY(-4px) scale(1.05) !important; box-shadow: 0 12px 25px hsla(var(--grantaura-secondary-hsl), 0.3) !important; }
.getool-start-btn i { transition: transform 0.3s ease; }
.getool-start-btn:hover i { transform: translateX(5px); }

/* --- Quiz Screen --- */
#getool-progress-bar-container {
    width: 100%;
    height: 10px;
    background-color: hsla(var(--grantaura-primary-light-hsl), 0.2);
    border-radius: 50px;
    position: relative;
    margin-bottom: 2rem;
}
#getool-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--grantaura-secondary);
    border-radius: 50px;
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 0 10px hsla(var(--grantaura-secondary-hsl), 0.7);
}
#getool-progress-text {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grantaura-gray-200) !important;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

#getool-main-content {
    position: relative;
    width: 100%;
}

.getool-question-wrapper {
    width: 100%;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}
.getool-question-wrapper.getool-fade-out { animation-name: getool-screen-fade-out-up; }
.getool-question-wrapper.getool-fade-in { animation-name: getool-screen-fade-in-up; }

.getool-question-title {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    font-weight: 600;
    color: var(--grantaura-white) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    margin: 0 0 var(--grantaura-spacing-md) 0;
    line-height: 1.4;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.getool-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grantaura-spacing-sm);
}
@media (min-width: 600px) {
    .getool-options-grid[data-option-count="2"] {
        grid-template-columns: 1fr 1fr;
    }
}

.getool-option-btn {
    background-color: hsla(var(--grantaura-primary-light-hsl), 0.25) !important;
    color: var(--grantaura-white) !important;
    border: 1px solid hsla(var(--grantaura-white-hsl), 0.2) !important;
    padding: var(--grantaura-spacing-sm) !important;
    border-radius: var(--grantaura-border-radius-lg) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.getool-option-btn:hover {
    transform: translateY(-4px);
    border-color: hsla(var(--grantaura-secondary-hsl), 0.8) !important;
    background-color: hsla(var(--grantaura-secondary-hsl), 0.25) !important;
}
.getool-option-btn.getool-selected { pointer-events: none; }
.getool-option-btn.getool-correct { border-color: hsla(var(--grantaura-success-hsl), 0.8) !important; background-color: hsla(var(--grantaura-success-hsl), 0.25) !important; font-weight: 600 !important; }
.getool-option-btn.getool-incorrect { border-color: hsla(var(--grantaura-danger-hsl), 0.8) !important; background-color: hsla(var(--grantaura-danger-hsl), 0.25) !important; animation: getool-shake 0.5s; }
@keyframes getool-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* --- Results Screen --- */
.getool-result-icon.success { color: var(--grantaura-success); }
.getool-result-icon.failure { color: var(--grantaura-danger); }
/* END: Complete updated file grantaura-eligibility-tool.css */