/* =========================================
   OLYMPIAD REDESIGN (Instructions & Advantages)
   ========================================= */

/* --- GENERAL SPACING --- */
.olympiad-instructions-section,
.olympiad-advantages-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-title {
    margin-bottom: 48px;
    text-align: center;
}

/* --- INSTRUCTIONS (STEPPER) --- */
.olympiad-instructions-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
    /* Align tops */
}

@media (max-width: 992px) {
    .olympiad-instructions-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.olympiad-instructions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.instruction-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.instruction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #6E45E2;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--color-accent-light);
    /* Beige */
    color: var(--color-accent);
    /* Gold Text */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: none;
}

.step-content {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2D3748;
    line-height: 1.5;
}

/* Download Button Accent */
.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--color-accent-light);
    /* Beige */
    /* Brand Color */
    /* Solid color */
    color: var(--color-accent);
    /* Gold Text */
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 32px;
    transition: all 0.3s ease;
    width: 100%;
    border: none;
}

.btn-accent:hover {
    background: #e6d3b0;
    /* Slightly darker beige */
    /* Lighter hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 146, 42, 0.2);
    color: var(--color-accent-hover);
}

.btn-accent svg {
    width: 24px;
    height: 24px;
}

/* --- ADVANTAGES (GRID FIX) --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    /* Air between cards */
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.advantage-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    /* For absolute icon positioning */
    overflow: hidden;
    height: 100%;
    min-height: 180px;
    /* Ensure space */
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Icon positioning - Bottom Right (Classic) */
.advantage-icon {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    /* Beige */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    /* Gold */
    margin: 0;
}

.advantage-icon svg {
    width: 24px;
    height: 24px;
}

/* Ustaz special styling */
.advantage-icon.text-icon {
    width: auto;
    padding: 8px 16px;
    font-weight: 800;
    background: rgba(255, 215, 0, 0.15);
    color: #D4AF37;
    bottom: 24px;
    right: 24px;
}

.advantage-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 12px;
    line-height: 1.4;
    padding-right: 24px;
    /* Avoid text hitting right edge potentially */
}

.advantage-card p {
    font-size: 0.95rem;
    color: #4A5568;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 40px;
    /* Ensure text doesn't overlap icon */
}

/* --- VIDEO PLAYER --- */
.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid #fff;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/pattern-grid.png') opacity(0.1);
    /* Optional texture */
}

.play-button-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.video-placeholder:hover .play-button-large {
    transform: scale(1.1);
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.play-button-large svg {
    width: 32px;
    height: 32px;
    fill: #fff;
    margin-left: 4px;
}

.video-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 2;
    pointer-events: none;
}