/* Study/Practice Selector Page Styles */

.selector-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.selector-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #120f2d;
}

/* Mode Card */
.mode-card {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 3px solid transparent;
    font-size: 1rem;
}

.mode-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Study Mode Card */
.mode-card.study-mode {
    border-color: #17a2b8;
}

.mode-card.study-mode:hover {
    border-color: #138496;
    box-shadow: 0 15px 50px rgba(23, 162, 184, 0.3);
}

/* Practice Mode Card */
.mode-card.practice-mode {
    border-color: #28a745;
}

.mode-card.practice-mode:hover {
    border-color: #218838;
    box-shadow: 0 15px 50px rgba(40, 167, 69, 0.3);
}

/* Mode Icon */
.mode-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    transition: all 0.3s ease;
}

.study-mode .mode-icon {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.4);
}

.practice-mode .mode-icon {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.mode-card:hover .mode-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Mode Title */
.mode-title {
    font-size: rem;
    font-weight: 700;
    color: #120f2d;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Mode Description */
.mode-description {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
    flex-grow: 1;
}

/* Mode Features */
.mode-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.mode-features li {
    padding: 0.8rem 0;
    color: #333;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.mode-features li:last-child {
    border-bottom: none;
}

/* Buttons */
.btn-study {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-study:hover {
    background: linear-gradient(135deg, #138496 0%, #117a8b 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(23, 162, 184, 0.4);
}

.btn-practice {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-practice:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

/* Tablet and below (992px) */
@media (max-width: 992px) {
    .selector-section h1 {
        font-size: 2.5rem;
    }

    .mode-card {
        padding: 2rem;
    }

    .mode-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .mode-title {
        font-size: 1.8rem;
    }

    .mode-description {
        font-size: 1rem;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .selector-section {
        padding-top: 0 !important;
        padding-bottom: 1rem !important;
    }

    .selector-section>.container {
        padding-top: 10 !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        padding-bottom: 1rem !important;
    }

    .selector-section h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem !important;
    }

    /* Reduce space between header and content */
    .text-center.mb-5 {
        margin-bottom: 1rem !important;
    }

    .mode-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .mode-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .mode-title {
        font-size: 1.5rem;
    }

    .mode-description {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .mode-features li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }

    .btn-study,
    .btn-practice {
        font-size: 1rem;
        padding: 0.8rem;
        margin-top: 0 !important;
    }
}