/* Section Wrapper */
.glass-options-section {
    padding: 100px 0;
    background: var(--secondery-color);
    position: relative;
    overflow: hidden;
}

.glass-options-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg, rgba(25, 35, 36, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-subtitle {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
    padding: 0 25px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--accent-color);
}

.section-subtitle::before {
    left: 0;
}

.section-subtitle::after {
    right: 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.section-description {
    font-size: 18px;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.8;
}

/* Category Section */
.category-section {
    margin-bottom: 80px;
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-title-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
    padding: 20px 35px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

.category-title-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
}

.category-title-bar:hover::before {
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white-color);
    box-shadow: 0 4px 12px rgba(46, 89, 149, 0.3);
    flex-shrink: 0;
}

.category-title-bar h3 {
    color: var(--white-color);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}


/* Glass Grid */
.glass-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Glass Card */
.glass-card {
    background: var(--white-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eee;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* border-radius: 12px; */
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* Card Image Wrapper */
.card-image-wrapper {
    height: 300px;
    /* Increased height for bigger impact */
    background: var(--divider-color);
    position: relative;
    overflow: hidden;
}

/* Ensure image-anime works correctly inside our card */
.glass-card .image-anime {
    width: 100%;
    height: 100%;
    display: block;
}

.glass-card .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Badge positioning */
.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white-color);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    /* border-radius: 4px; */
}

/* Card Content */
.card-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title i {
    color: var(--accent-color);
    font-size: 20px;
}

.card-subtitle {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.7;
}

/* Specs List */
.specs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.specs-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: var(--text-color);
    border-bottom: 1px solid var(--divider-color);
    transition: all 0.3s ease;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 11px;
    color: var(--accent-color);
    font-size: 14px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specs-list li:hover {
    padding-left: 35px;
    color: var(--primary-color);
}

.specs-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Badge Group */
.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
}

.badge-item {
    background: var(--accent-color);
    color: var(--white-color);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(46, 89, 149, 0.3);
    transition: all 0.3s ease;
    cursor: default;
}

.badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 89, 149, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .glass-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet/small desktop */
    }
}

@media (max-width: 768px) {
    .glass-options-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-description {
        font-size: 16px;
    }

    .category-title-bar {
        padding: 18px 25px;
    }

    .category-title-bar h3 {
        font-size: 22px;
    }

    .category-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .glass-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        gap: 25px;
    }

    .card-image-wrapper {
        height: 250px;
    }
}


@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .category-title-bar {
        padding: 15px 20px;
    }

    .category-title-bar h3 {
        font-size: 20px;
    }

    .card-content {
        padding: 22px;
    }

    .card-title {
        font-size: 20px;
    }
}