/* LGS Specific Styles */

.lgs-container {
    padding-bottom: 5rem;
}

.lgs-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.lgs-badge {
    background: linear-gradient(90deg, #FF9F1C, #FFBF69);
    color: #000;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-weight: 800;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.4);
}

.lgs-hero h1 {
    font-size: 2.5rem;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.lgs-countdown-box {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cd-unit {
    background: #1E293B;
    border: 1px solid #334155;
    padding: 1rem;
    border-radius: 1rem;
    min-width: 80px;
    text-align: center;
}

.cd-val {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FF9F1C;
    line-height: 1;
}

.cd-lbl {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* Grid Layout */
.lgs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.lgs-card {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: 1.5rem;
    padding: 2rem;
}

.lgs-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Score Calculator */
.subject-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.subject-row label {
    flex: 1;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

.subject-row input {
    width: 60px;
    padding: 0.5rem;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    color: #fff;
    text-align: center;
}

.subject-row input:focus {
    border-color: #FF9F1C;
    outline: none;
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    background: #FF9F1C;
    color: #000;
}

.btn-block:hover {
    background: #FFBF69;
}

.score-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 159, 28, 0.1);
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 159, 28, 0.3);
}

.score-result.hidden {
    display: none;
}

.main-score {
    font-size: 3rem;
    font-weight: 800;
    color: #FF9F1C;
    line-height: 1;
}

.score-label {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Topic Tracker */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-badge {
    background: #1E293B;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    color: #FF9F1C;
    font-weight: 700;
}

.subject-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid #334155;
    color: #94a3b8;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    white-space: nowrap;
}

.tab-btn.active {
    background: #334155;
    color: #fff;
    border-color: #334155;
}

.topic-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #1E293B;
    cursor: pointer;
    transition: background 0.2s;
}

.topic-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.topic-check {
    width: 20px;
    height: 20px;
    border: 2px solid #334155;
    border-radius: 4px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
}

.topic-item.completed .topic-check {
    background: #10B981;
    border-color: #10B981;
    color: #fff;
}

.topic-name {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.topic-item.completed .topic-name {
    text-decoration: line-through;
    color: #64748b;
}