/* Vig Calculator Optimized Styles */
:root {
    --vig-primary: #3b82f6; /* Blue 500 */
    --vig-primary-dark: #2563eb;
    --vig-bg: #0f172a; /* Slate 900 */
    --vig-card-bg: #1e293b; /* Slate 800 */
    --vig-text: #f8fafc;
    --vig-text-muted: #94a3b8;
    --vig-border: rgba(255, 255, 255, 0.08);
}

.vig-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    padding: 0 1rem;
}

.vig-header {
    text-align: center;
    margin-bottom: 3rem;
}

.vig-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.vig-subtitle {
    color: var(--vig-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Calculator Card */
.vig-card {
    background: var(--vig-card-bg);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--vig-border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Inputs */
.vig-inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    z-index: 2;
}

.vig-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.vig-input-group label {
    display: block;
    color: var(--vig-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vig-input {
    width: 100%;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vig-input:focus {
    outline: none;
    border-color: var(--vig-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.vig-btn {
    background: linear-gradient(135deg, var(--vig-primary) 0%, var(--vig-primary-dark) 100%);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
}

.vig-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

/* Results */
.vig-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.vig-score-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: conic-gradient(var(--vig-primary) 0%, #334155 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    transition: background 1s ease-out;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

.vig-score-circle::before {
    content: '';
    position: absolute;
    width: 190px;
    height: 190px;
    background: var(--vig-card-bg);
    border-radius: 50%;
}

.vig-score-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vig-score-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    letter-spacing: -0.05em;
}

.vig-score-label {
    font-size: 0.9rem;
    color: var(--vig-text-muted);
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.vig-breakdown {
    width: 100%;
    margin-top: 1rem;
}

.vig-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
}

.vig-label {
    color: var(--vig-text-muted);
}

.vig-val {
    color: white;
    font-weight: 600;
    font-family: 'SF Mono', monospace;
}

/* Info Section */
.vig-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.vig-text-block h2 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.vig-text-block p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.vig-info-card {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 1.5rem;
    border-radius: 16px;
    transition: transform 0.2s, border-color 0.2s;
    margin-bottom: 1.5rem;
}

.vig-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--vig-primary);
}

.vig-info-title {
    color: var(--vig-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.vig-info-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .vig-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    .vig-content-wrapper {
        grid-template-columns: 1fr;
    }
    .vig-score-circle {
        width: 180px;
        height: 180px;
    }
    .vig-score-circle::before {
        width: 150px;
        height: 150px;
    }
    .vig-score-value {
        font-size: 2.5rem;
    }
}
