/**
 * More Links Styles
 * 
 * Styled similar to next navigation button, but smaller.
 * Max 3 items per row on desktop.
 */

/* ===== Arrow Guide for More Links ===== */
.more-links-arrow-guide {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
    transform: rotate(-45deg);
} 

.more-links-arrow-guide .arrow-svg {
    position: relative
}

.more-links-arrow-guide img {
    display: block;
    width: 80px;
    height: auto;
    animation: gentleBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Bounce Animation */
@keyframes gentleBounce {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        opacity: 0.9; 
    }
    50% { 
        transform: translateY(-2px) scale(1.02); 
        opacity: 1; 
    }
}

/* ===== More Links Container ===== */
.single-more-links {
    margin: 40px 0;
    position: relative;
}

.single-more-links__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

/* ===== More Links Item ===== */
.single-more-links__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, #00a86b 0%, #00c984 100%);
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 14px 18px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.single-more-links__item:hover {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

.single-more-links__item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shine 4s ease-in-out infinite;
}

/* ===== Content ===== */
.single-more-links__content {
    flex: 1;
    min-width: 0;
    margin-right: 12px;
}

.single-more-links__title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
}

/* ===== Icon ===== */
.single-more-links__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.single-more-links__item:hover .single-more-links__icon {
    background: rgba(255, 255, 255, 0.3);
}

.single-more-links__icon i {
    font-size: 14px;
    color: #ffffff;
}

/* ===== Animations ===== */
@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* ===== Responsive ===== */
/* Tablet (768px+) */
@media (min-width: 768px) {
    .single-more-links__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
    .more-links-arrow-guide {
        top: -120px;
        left: 210px;
    }
    
    .more-links-arrow-guide img {
        width: 120px;
    }
    
    .single-more-links__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .single-more-links__item {
        padding: 16px 20px;
    }
    
    .single-more-links__title {
        font-size: 0.95rem;
    }
    
    .single-more-links__icon {
        width: 36px;
        height: 36px;
    }
    
    .single-more-links__icon i {
        font-size: 16px;
    }
}

