/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;900&display=swap');

#gdr-wrapper {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    max-width: 480px;
    margin: 40px auto;
}

/* Glassmorphism Card */
.gdr-glass-card {
    background: rgba(20, 20, 25, 0.95);
    /* Very Dark Grey */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Glow Effect at top */
.gdr-glass-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: #00ff88;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.gdr-header h2 {
    margin: 0;
    font-size: 2rem;
    background: -webkit-linear-gradient(#fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gdr-header p {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Inputs */
.gdr-inputs {
    margin-top: 25px;
    text-align: left;
}

.gdr-group {
    margin-bottom: 15px;
}

.gdr-group label {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 5px;
    display: block;
    font-weight: 700;
}

.gdr-input-wrapper {
    position: relative;
}

.gdr-input-wrapper span {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ff88;
    /* Neon Green */
    font-weight: bold;
}

.gdr-input-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 35px;
    background: #2a2a30;
    border: 1px solid #333;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: 0.3s;
}

.gdr-input-wrapper input:focus {
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

/* Button */
#gdr-analyze-btn {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    background: #00ff88;
    color: #000;
    font-weight: 900;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    transition: 0.2s;
}

#gdr-analyze-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

/* Results */
.gdr-result-hidden {
    display: none;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
    animation: slideUp 0.5s ease;
}

.gdr-score-circle {
    width: 120px;
    margin: 0 auto 15px;
    position: relative;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: #333;
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease-out;
}

.percentage {
    fill: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: bold;
    font-size: 0.5em;
    text-anchor: middle;
}

.gdr-label {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: -10px;
}

#gdr-verdict {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #fff;
}

.gdr-actions {
    margin-top: 20px;
}

.gdr-btn-buy {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.gdr-btn-buy:hover {
    background: #fff;
    color: #000;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Colors for scores */
.score-high .circle {
    stroke: #00ff88;
}

.score-mid .circle {
    stroke: #ffff00;
}

.score-low .circle {
    stroke: #ff0055;
}

.score-high #gdr-verdict {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.score-low #gdr-verdict {
    color: #ff0055;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}