/* Review Modal Styles */
.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.review-modal.active {
    visibility: visible;
    opacity: 1;
}

.review-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.review-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #1a1a1a;
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
    border: 1px solid #333;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.review-modal.active .review-modal__content {
    transform: translate(-50%, -50%) scale(1);
}

.review-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.review-modal__close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.review-modal__header {
    text-align: center;
    margin-bottom: 32px;
}

.review-modal__title {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.review-modal__subtitle {
    font-size: 16px;
    color: #999;
    margin: 0;
    line-height: 1.5;
}

.review-modal__platforms {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-modal__platform {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 1px solid #333;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.review-modal__platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.review-modal__platform:hover {
    transform: translateY(-2px);
    border-color: #ff6b35;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.review-modal__platform:hover::before {
    left: 100%;
}

.review-modal__platform:active {
    transform: translateY(0);
}

.review-modal__platform-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-right: 16px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.review-modal__platform-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.review-modal__platform-info {
    flex: 1;
}

.review-modal__platform-name {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.review-modal__platform-desc {
    font-size: 14px;
    color: #999;
    margin: 0;
    line-height: 1.4;
}

.review-modal__platform-arrow {
    flex-shrink: 0;
    color: #666;
    transition: all 0.3s ease;
    margin-left: 16px;
}

.review-modal__platform:hover .review-modal__platform-arrow {
    color: #ff6b35;
    transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .review-modal__content {
        padding: 32px 24px;
        width: 95%;
        max-width: none;
        border-radius: 20px;
    }
    
    .review-modal__title {
        font-size: 24px;
    }
    
    .review-modal__subtitle {
        font-size: 14px;
    }
    
    .review-modal__platform {
        padding: 16px 20px;
    }
    
    .review-modal__platform-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .review-modal__platform-name {
        font-size: 16px;
    }
    
    .review-modal__platform-desc {
        font-size: 13px;
    }
    
    .review-modal__close {
        top: 16px;
        right: 16px;
        padding: 6px;
    }
}

/* Animation for modal entrance */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translateY(0);
    }
}

.review-modal.active .review-modal__content {
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Scrollbar styling for modal content */
.review-modal__content::-webkit-scrollbar {
    width: 6px;
}

.review-modal__content::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 3px;
}

.review-modal__content::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

.review-modal__content::-webkit-scrollbar-thumb:hover {
    background: #666;
}